Sha256: 9da66fa824809df241cbae2ac97a6a1bdc1b7737b548db625f6d3a37a3d5eec7

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

source 'https://rubygems.org'

gemspec

%w[rspec rspec-core rspec-expectations rspec-mocks].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",
             :branch => ENV.fetch('BRANCH',"master")
  end
end

# only the master branch is supported on rspec-support
gem "rspec-support", :git => "git://github.com/rspec/rspec-support.git"

gem "aruba"
gem "rake",     "~> 10.0.0"

version_file = File.expand_path("../.rails-version", __FILE__)
rails_gem_args = case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp)
when /master/
 { :git => "git://github.com/rails/rails.git" }
when /stable$/
 { :git => "git://github.com/rails/rails.git", :branch => version }
when nil, false, ""
  if RUBY_VERSION < '1.9.3'
    # Rails 4+ requires 1.9.3+, so on earlier versions default to the last 3.x release.
     "3.2.17"
  else
    "4.0.4"
  end
else
  version
end

gem "activesupport", *rails_gem_args
gem "activemodel",   *rails_gem_args

if RUBY_VERSION.to_f < 2
  gem "cucumber", "~> 1.3.20"
  gem "contracts", "0.15.0" # doesn't work on Ruby 1.9.3
  gem 'json', '< 2'
  gem 'term-ansicolor',  '< 1.4.0' # used by cucumber
  gem 'tins', '~> 1.6.0' # used by term-ansicolor
else
  gem "cucumber"
end

if RUBY_VERSION < '1.9.3'
  gem 'i18n', '< 0.7.0'
end

platform :rbx do
  gem 'rubysl'
end

eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-collection_matchers-1.2.0 Gemfile