safety-pin 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,4 +42,5 @@ ENV["HOST"] = host
42
42
  ENV["USERNAME"] = username
43
43
  ENV["PASSWORD"] = password
44
44
 
45
- exec "irb -r './console_loader' --simple-prompt"
45
+ path = File.expand_path("../console_loader", File.dirname(__FILE__))
46
+ exec "irb -r '#{path}' --simple-prompt"
@@ -1,14 +1,13 @@
1
- $: << File.dirname(__FILE__)
2
-
3
1
  raise "Platform is #{RUBY_PLATFORM}, must be java. Please run using JRuby: http://jruby.org/" unless RUBY_PLATFORM == "java"
4
2
 
5
3
  require 'java'
6
- Dir.glob("**/*.jar").each {|jar| require jar }
7
- require 'safety_pin/jcr'
8
- require 'safety_pin/node'
9
- require 'safety_pin/node_blueprint'
10
- require 'safety_pin/query'
11
- require 'safety_pin/query/where_condition'
4
+ Dir.glob("#{File.dirname(__FILE__)}/**/*.jar").each {|jar| require jar }
5
+
6
+ require_relative 'safety_pin/jcr'
7
+ require_relative 'safety_pin/node'
8
+ require_relative 'safety_pin/node_blueprint'
9
+ require_relative 'safety_pin/query'
10
+ require_relative 'safety_pin/query/where_condition'
12
11
 
13
12
  module SafetyPin
14
13
  end
@@ -1,3 +1,3 @@
1
1
  module SafetyPin
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safety-pin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: