naether 0.5.9-java → 0.5.10-java

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.9
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
- JAR_PATH = "#{JAR_LIB}/naether-0.5.9.jar" #XXX: hardcoded, should be based on VERSION file
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
 
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>com.slackworks</groupId>
6
6
  <artifactId>naether</artifactId>
7
- <version>0.5.9</version>
7
+ <version>0.5.10</version>
8
8
  <packaging>jar</packaging>
9
9
  <name>naether</name>
10
10
  <url>https://github.com/mguymon/naether</url>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.9
5
+ version: 0.5.10
6
6
  platform: java
7
7
  authors:
8
8
  - Michael Guymon
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-12 00:00:00 -05:00
13
+ date: 2012-02-03 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -74,7 +74,7 @@ files:
74
74
  - lib/naether.rb
75
75
  - lib/naether/bootstrap.rb
76
76
  - lib/naether/java.rb
77
- - naether-0.5.9.jar
77
+ - naether-0.5.10.jar
78
78
  - pom.xml
79
79
  has_rdoc: true
80
80
  homepage: http://github.com/mguymon/naether