Skip to content

Commit

Permalink
Bumped neo4j-core to 3.0.0.alpha.19
Browse files Browse the repository at this point in the history
Neo4j::Transaction should work better now, #398
  • Loading branch information
andreasronge committed Aug 14, 2014
1 parent 1209891 commit 4750fb1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -3,7 +3,7 @@ source 'http://rubygems.org'
gemspec

#gem 'neo4j-core', :path => '../neo4j-core'
gem 'neo4j-core', :git => 'https://github.com/andreasronge/neo4j-core.git'
#gem 'neo4j-core', :git => 'https://github.com/andreasronge/neo4j-core.git'
#gem 'orm_adapter', :path => '../orm_adapter'

gem 'coveralls', require: false
Expand Down
2 changes: 1 addition & 1 deletion neo4j.gemspec
Expand Up @@ -34,7 +34,7 @@ It comes included with the Apache Lucene document database.
s.add_dependency("activesupport", "~> 4")
s.add_dependency("railties", "~> 4")
s.add_dependency('active_attr', "~> 0.8")
s.add_dependency("neo4j-core", "= 3.0.0.alpha.18")
s.add_dependency("neo4j-core", "= 3.0.0.alpha.19")

if RUBY_PLATFORM =~ /java/
s.add_dependency("neo4j-community", '~> 2.0')
Expand Down
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -65,6 +65,12 @@ def delete_db
curr_session || create_session
end

c.after(:each) do
if Neo4j::Transaction.current
puts "WARNING forgot to close transaction"
Neo4j::Transaction.current.close
end
end

end

0 comments on commit 4750fb1

Please sign in to comment.