[DRE-commits] [ruby-ice-nine] 01/02: split patches
Jonas Genannt
jonas at brachium-system.net
Tue Mar 4 18:03:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-ice-nine.
commit 328bbe798a5b96d0cfc631552633f06e5609950a
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Tue Mar 4 19:00:38 2014 +0100
split patches
---
debian/patches/remove_devtools.patch | 52 -----------------------
debian/patches/remove_it_should_behave_like.patch | 23 ++++++++++
debian/patches/series | 3 +-
debian/patches/spec_helper_devtools.patch | 15 +++++++
4 files changed, 40 insertions(+), 53 deletions(-)
diff --git a/debian/patches/remove_devtools.patch b/debian/patches/remove_devtools.patch
deleted file mode 100644
index c425ff7..0000000
--- a/debian/patches/remove_devtools.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Description: remove devtools dependency. devtools gem is not available in Debian
-Author: Jonas Genannt <jonas.genannt at capi2name.de>
-Forward: not-needed
-
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -1,27 +1,6 @@
- # encoding: utf-8
-
--if ENV['COVERAGE'] == 'true'
-- require 'simplecov'
-- require 'coveralls'
--
-- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
-- SimpleCov::Formatter::HTMLFormatter,
-- Coveralls::SimpleCov::Formatter
-- ]
--
-- SimpleCov.start do
-- command_name 'spec:unit'
--
-- add_filter 'config'
-- add_filter 'spec'
-- add_filter 'vendor'
--
-- minimum_coverage 100
-- end
--end
--
- require 'ice_nine'
--require 'devtools/spec_helper'
-
- RSpec.configure do |config|
- config.expect_with :rspec do |expect_with|
---- a/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
-+++ b/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
-@@ -17,5 +17,5 @@
- end
- end
-
-- it_should_behave_like 'IceNine.deep_freeze'
-+ #it_should_behave_like 'IceNine.deep_freeze'
- end
---- a/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
-+++ b/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
-@@ -17,5 +17,5 @@
- end
- end
-
-- it_should_behave_like 'IceNine.deep_freeze'
-+ #it_should_behave_like 'IceNine.deep_freeze'
- end
diff --git a/debian/patches/remove_it_should_behave_like.patch b/debian/patches/remove_it_should_behave_like.patch
new file mode 100644
index 0000000..df08b86
--- /dev/null
+++ b/debian/patches/remove_it_should_behave_like.patch
@@ -0,0 +1,23 @@
+Description: remove it_should_behave_like because of missing shared examples
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Forward: yes
+Bug: https://github.com/dkubb/ice_nine/issues/15
+
+--- a/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
++++ b/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
+@@ -17,5 +17,5 @@
+ end
+ end
+
+- it_should_behave_like 'IceNine.deep_freeze'
++ #it_should_behave_like 'IceNine.deep_freeze'
+ end
+--- a/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
++++ b/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
+@@ -17,5 +17,5 @@
+ end
+ end
+
+- it_should_behave_like 'IceNine.deep_freeze'
++ #it_should_behave_like 'IceNine.deep_freeze'
+ end
diff --git a/debian/patches/series b/debian/patches/series
index f67c657..6b662be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
-remove_devtools.patch
+spec_helper_devtools.patch
+remove_it_should_behave_like.patch
diff --git a/debian/patches/spec_helper_devtools.patch b/debian/patches/spec_helper_devtools.patch
new file mode 100644
index 0000000..32215d5
--- /dev/null
+++ b/debian/patches/spec_helper_devtools.patch
@@ -0,0 +1,15 @@
+Description: remove usage of devtools from spec_helper. It's not yet available
+ in Debian
+Author: Jonas Genannt <jonas.gennant at capi2name.de>
+Forwarded: not-needed
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -21,7 +21,6 @@
+ end
+
+ require 'ice_nine'
+-require 'devtools/spec_helper'
+
+ RSpec.configure do |config|
+ config.expect_with :rspec do |expect_with|
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ice-nine.git
More information about the Pkg-ruby-extras-commits
mailing list