Skip to content

Commit 0b98653

Browse files
committed
Switch git to monorepo
1 parent 4e0fa6e commit 0b98653

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

Gemfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@ source "https://rubygems.org"
22

33
gemspec
44

5-
eval_gemfile 'Gemfile-rspec-dependencies'
5+
branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
6+
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
7+
8+
library_path = File.expand_path("../../rspec/#{lib}", __FILE__)
9+
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
10+
gem lib, path: library_path, require: false
11+
else
12+
gem lib, git: "https://github.com/rspec/rspec", glob: "#{lib}/#{lib}.gemspec"
13+
end
14+
end
615

716
gem 'yard', '~> 0.9.24', require: false
817

Gemfile-rspec-dependencies

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)