aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ruby-rspec-its-remove-rspec-gemspec.patch
blob: 901eb88d2119b07f856a80819be886a0b7f24315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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