[DRE-commits] [ruby-gitlab-emoji] 03/03: refresh patches
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Dec 23 16:48:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-gitlab-emoji.
commit 6464e24f333f2448435e7e7544ad60d8a60285ed
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Dec 23 22:16:19 2015 +0530
refresh patches
---
debian/changelog | 1 +
debian/patches/rspec3-port.patch | 26 +++++++++++++++++++-------
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5ead09a..989cae7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-gitlab-emoji (0.2.1-1) UNRELEASED; urgency=medium
* New upstream release
+ * Refresh patches
-- Pirate Praveen <praveen at debian.org> Wed, 23 Dec 2015 22:08:28 +0530
diff --git a/debian/patches/rspec3-port.patch b/debian/patches/rspec3-port.patch
index 2ef1470..919c2f1 100644
--- a/debian/patches/rspec3-port.patch
+++ b/debian/patches/rspec3-port.patch
@@ -6,16 +6,26 @@ Bug: https://gitlab.com/gitlab-org/gitlab_emoji/issues/4
Last-Update: 2015-12-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/spec/gitlab_emoji_spec.rb
-+++ b/spec/gitlab_emoji_spec.rb
-@@ -5,20 +5,20 @@
+Index: ruby-gitlab-emoji/spec/gitlab_emoji_spec.rb
+===================================================================
+--- ruby-gitlab-emoji.orig/spec/gitlab_emoji_spec.rb
++++ ruby-gitlab-emoji/spec/gitlab_emoji_spec.rb
+@@ -5,27 +5,27 @@ describe Emoji do
describe 'emojis' do
let(:emojis) { Emoji.emojis }
- it { emojis.should be_a(Hash) }
-- it { emojis.size.should eq(1058) }
+ it { expect(emojis).to be_a(Hash) }
-+ it { expect(emojis.size).to be >= 1058 }
+ it { emojis.size.should eq(1619) }
+ end
+
+ describe 'emojis_by_moji' do
+ let(:emojis) { Emoji.emojis_by_moji }
+
+- it { emojis.should be_a(Hash) }
+- it { emojis.size.should eq(824) }
++ it { expect(emojis).to be_a(Hash) }
++ it { expect(emojis.size).to eq(824) }
end
describe 'emojis_names' do
@@ -34,8 +44,10 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+ it { is_expected.to eq("1F44D") }
end
end
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
+Index: ruby-gitlab-emoji/spec/spec_helper.rb
+===================================================================
+--- ruby-gitlab-emoji.orig/spec/spec_helper.rb
++++ ruby-gitlab-emoji/spec/spec_helper.rb
@@ -5,7 +5,7 @@
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gitlab-emoji.git
More information about the Pkg-ruby-extras-commits
mailing list