Sha256: 260310b9bdffd1f4947cc24e5f33b825599e37cbc4daf4071342df3ad8ca661f

Contents?: true

Size: 624 Bytes

Versions: 17

Compression:

Stored size: 624 Bytes

Contents

#!/usr/bin/env jruby
require File.expand_path(File.dirname(__FILE__) + "/../lib/orientdb")

if ARGV.include?('test:db')
  GEM_ROOT  = File.expand_path(File.join(File.dirname(__FILE__), '..'))
  TEMP_DIR  = Dir.pwd + '/tmp'

  TEST_DB_PATH = "#{TEMP_DIR}/databases/db_#{rand(999) + 1}"

  puts ">> GEM_ROOT     : #{GEM_ROOT}"
  puts ">> TEST_DB PATH : #{TEST_DB_PATH}"

  require 'fileutils'
  FileUtils.remove_dir "#{TEMP_DIR}/databases" rescue nil
  FileUtils.mkdir_p TEST_DB_PATH
  DB = OrientDB::DocumentDatabase.new("local:#{TEST_DB_PATH}/test").create
end

include OrientDB

require 'irb'
ARGV.clear
IRB.start(__FILE__)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
orientdb-1.7.8-java bin/orientdb_console
orientdb-1.6.3-java bin/orientdb_console
orientdb-1.5.0-java bin/orientdb_console
orientdb-1.3.0-java bin/orientdb_console
orientdb-1.2.0-java bin/orientdb_console
orientdb-1.2.0 bin/orientdb_console
orientdb-0.0.25-jruby bin/orientdb_console
orientdb-0.0.24-jruby bin/orientdb_console
orientdb-0.0.23-jruby bin/orientdb_console
orientdb-0.0.22-jruby bin/orientdb_console
orientdb-0.0.21-jruby bin/orientdb_console
orientdb-0.0.20-jruby bin/orientdb_console
orientdb-0.0.19-jruby bin/orientdb_console
orientdb-0.0.17-jruby bin/orientdb_console
orientdb-0.0.16-jruby bin/orientdb_console
orientdb-0.0.15-jruby bin/orientdb_console
orientdb-0.0.14-jruby bin/orientdb_console