forked from neo4jrb/activegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
55 lines (47 loc) · 1.48 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
source 'http://rubygems.org'
gemspec
# gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master' if ENV['CI']
branch = ENV['NEO4J_CORE_BRANCH'] || ENV['TRAVIS_PULL_REQUEST_BRANCH'] || ENV['TRAVIS_BRANCH']
slug = !ENV['TRAVIS_PULL_REQUEST_SLUG'].to_s.empty? ? ENV['TRAVIS_PULL_REQUEST_SLUG'] : ENV['TRAVIS_REPO_SLUG']
if branch
command = "curl --head https://github.com/#{slug}-core/tree/#{branch} | head -1"
result = `#{command}`
if result =~ /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'
active_model_version = ENV['ACTIVE_MODEL_VERSION']
gem 'activemodel', "~> #{active_model_version}" if active_model_version
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