Sha256: 2b736839d7f7f15d1168c8442415d1bdef8689da895418b8d73eea93a18c29f3
Contents?: true
Size: 511 Bytes
Versions: 55
Compression:
Stored size: 511 Bytes
Contents
Neo4j::Community.load_test_jars! Neo4j::Session.register_db(:impermanent_db) do |*args| Neo4j::Embedded::EmbeddedImpermanentSession.new(*args) end module Neo4j module Embedded class EmbeddedImpermanentSession < EmbeddedSession def start fail Error, 'Embedded Neo4j db is already running' if running? @graph_db = Java::OrgNeo4jTest::TestGraphDatabaseFactory.new.newImpermanentDatabase Neo4j::Session._notify_listeners(:session_available, self) end end end end
Version data entries
55 entries across 55 versions & 1 rubygems