diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:39:32 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 09:46:23 +0000 |
commit | 503900a0d28ac5483039bf9c0b889b563248a3d5 (patch) | |
tree | 462e8fbcd387291f3253840664de8bee71f5b683 /gnu/packages/patches | |
parent | 3f50822592d276205acd0ae74c51af1db8e270f1 (diff) | |
download | gnu-guix-503900a0d28ac5483039bf9c0b889b563248a3d5.tar gnu-guix-503900a0d28ac5483039bf9c0b889b563248a3d5.tar.gz |
gnu: Enable tests for ruby-rspec-its.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/ruby-rspec-its-remove-rspec-gemspec.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-rspec-its-remove-rspec-gemspec.patch b/gnu/packages/patches/ruby-rspec-its-remove-rspec-gemspec.patch new file mode 100644 index 0000000000..901eb88d21 --- /dev/null +++ b/gnu/packages/patches/ruby-rspec-its-remove-rspec-gemspec.patch @@ -0,0 +1,22 @@ +diff --git a/Gemfile b/Gemfile +index 9786991..bec005d 100644 +--- a/Gemfile ++++ b/Gemfile +@@ -3,17 +3,6 @@ source 'https://rubygems.org' + # Specify your gem's dependencies in rspec-its.gemspec + gemspec + +-%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib| +- branch = ENV.fetch('BRANCH','3-1-maintenance') +- library_path = File.expand_path("../../#{lib}", __FILE__) +- if File.exist?(library_path) +- gem lib, :path => library_path +- else +- gem lib, :git => "git://github.com/rspec/#{lib}.git", +- :branch => branch +- end +-end +- + # test coverage + # gem 'simplecov', :require => false + |