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.
- data/bin/safety-pin +2 -1
- data/lib/safety_pin.rb +7 -8
- data/lib/safety_pin/version.rb +1 -1
- metadata +1 -1
data/bin/safety-pin
CHANGED
data/lib/safety_pin.rb
CHANGED
@@ -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("
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
data/lib/safety_pin/version.rb
CHANGED