Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (43 sloc) 1.24 KB
source 'http://rubygems.org'
gemspec
# gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master' if ENV['CI']
branch = ENV['TRAVIS_PULL_REQUEST_BRANCH'] || ENV['TRAVIS_BRANCH']
slug = ENV['TRAVIS_PULL_REQUEST_SLUG'] || ENV['TRAVIS_REPO_SLUG']
if branch
if `curl --head https://github.com/#{slug}-core/tree/#{branch} | head -1` =~ /200 OK/
gem 'neo4j-core', github: "#{slug}-core", branch: branch
else
gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master'
end
elsif ENV['USE_LOCAL_CORE']
gem 'neo4j-core', path: '../neo4j-core'
else
gem 'neo4j-core'
end
# gem 'active_attr', github: 'neo4jrb/active_attr', branch: 'performance'
# gem 'active_attr', path: '../active_attr'
gem 'listen', '< 3.1'
if RUBY_VERSION.to_f < 2.2
gem 'activemodel', '~> 4.2'
gem 'activesupport', '~> 4.2'
gem 'railties', '~> 4.2'
end
group 'test' do
gem 'coveralls', require: false
if RUBY_VERSION.to_f < 2.0
gem 'term-ansicolor', '< 1.4'
gem 'tins', '< 1.7'
gem 'overcommit', '< 0.35.0'
else
gem 'overcommit'
end
gem 'codecov', require: false
gem 'simplecov', require: false
gem 'simplecov-html', require: false
gem 'rspec', '~> 3.4'
gem 'its'
gem 'test-unit'
gem 'colored'
gem 'dotenv'
gem 'timecop'
end