Skip to content

Commit

Permalink
Merge pull request #568 from rspec/use-maint-branch-3-0
Browse files Browse the repository at this point in the history
Use maint branch 3 0
  • Loading branch information
myronmarston committed Jun 9, 2014
2 parents 0218e8b + eb5019b commit 40bcf8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -2,12 +2,13 @@ source "https://rubygems.org"

gemspec

branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
%w[rspec rspec-core rspec-mocks rspec-support].each do |lib|
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
gem lib, :path => library_path
else
gem lib, :git => "git://github.com/rspec/#{lib}.git"
gem lib, :git => "git://github.com/rspec/#{lib}.git", :branch => branch
end
end

Expand Down

0 comments on commit 40bcf8b

Please sign in to comment.