Gemfile in neo4j-9.6.2 vs Gemfile in neo4j-10.0.0.pre.alpha.1
- old
+ new
@@ -1,49 +1,18 @@
source 'http://rubygems.org'
gemspec
-# gem 'neo4j-core', github: 'neo4jrb/neo4j-core', branch: 'master' if ENV['CI']
+# gem 'neo4j-ruby-driver', path: '../neo4j-ruby-driver'
-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 'overcommit'
gem 'codecov', require: false
gem 'simplecov', require: false
gem 'simplecov-html', require: false
gem 'rspec', '~> 3.4'
gem 'its'