Sha256: e33e7953dab8d888ba523d1d24643f0dee59eeb1bbc6713256f1d3f69c8e078a
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 Bytes
Contents
require "neo4j-community/version" module Neo4j module Community def self.jars_root File.join("#{File.dirname(__FILE__)}", "neo4j-community", "jars") end def self.load_jars! require 'java' Dir["#{jars_root}/*.jar"].each {|jar| require jar } end # This can be used by dependent gems to verify the Database versions have no mismatch. def self.ensure_version!(other, edition) return if ::Neo4j::Community::NEO_VERSION == other raise "Mismatch of Neo4j JAR versions. Already loaded neo4j-community JAR files '#{::Neo4j::Community::NEO_VERSION}' but neo4j-#{edition}: '#{other}'." end end end Neo4j::Community.load_jars!
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neo4j-community-1.6.0.alpha.8-java | lib/neo4j-community.rb |
neo4j-community-1.6.0.alpha.6-java | lib/neo4j-community.rb |