naether 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/naether.rb +12 -1
- data/{naether-0.5.9.jar → naether-0.5.10.jar} +0 -0
- data/pom.xml +1 -1
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.10
|
data/lib/naether.rb
CHANGED
@@ -12,7 +12,18 @@ class Naether
|
|
12
12
|
|
13
13
|
# Naether jar path will default to packaged in the gem
|
14
14
|
JAR_LIB = "#{File.dirname(__FILE__)}/.."
|
15
|
-
|
15
|
+
|
16
|
+
# Load VERSION file to VERSION var
|
17
|
+
if File.exists?( File.join( JAR_LIB, "VERSION" ) )
|
18
|
+
VERSION = File.open( File.join( JAR_LIB, "VERSION" ) ) {|f| f.readline }.strip
|
19
|
+
|
20
|
+
# VERSION file not found in gem dir, assume running from checkout
|
21
|
+
else
|
22
|
+
VERSION = File.open( "VERSION" ) {|f| f.readline }.strip
|
23
|
+
end
|
24
|
+
|
25
|
+
# Use the VERSION to create jar file name
|
26
|
+
JAR_PATH = "#{JAR_LIB}/naether-#{VERSION}.jar"
|
16
27
|
|
17
28
|
class << self
|
18
29
|
|
Binary file
|
data/pom.xml
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naether
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 10
|
10
|
+
version: 0.5.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Guymon
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-02-03 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|
@@ -98,7 +98,7 @@ files:
|
|
98
98
|
- lib/naether.rb
|
99
99
|
- lib/naether/bootstrap.rb
|
100
100
|
- lib/naether/java.rb
|
101
|
-
- naether-0.5.
|
101
|
+
- naether-0.5.10.jar
|
102
102
|
- pom.xml
|
103
103
|
homepage: http://github.com/mguymon/naether
|
104
104
|
licenses:
|