solr_sail 0.0.2-java → 0.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,7 +4,7 @@ From zero to search in the flash of a gem.
4
4
 
5
5
  ## Install
6
6
 
7
- ### For Ruby
7
+ ### For JRuby
8
8
 
9
9
  gem install solr_sail
10
10
 
@@ -50,7 +50,7 @@ To change the directory of the Solr home, you can pass _--solr_home_ or _-h_:
50
50
 
51
51
  solrsail start -h new/path/to/solr
52
52
 
53
- ### From Ruby
53
+ ### For JRuby
54
54
 
55
55
  #### Setup Solr
56
56
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,3 +1,11 @@
1
1
  module SolrSail
2
- VERSION = IO.read("VERSION").strip
2
+
3
+ # Load VERSION file to VERSION var
4
+ if File.exists?( File.expand_path("#{File.dirname(__FILE__)}/../VERSION") )
5
+ VERSION = IO.read(File.expand_path("#{File.dirname(__FILE__)}/../VERSION")).strip
6
+
7
+ # VERSION file not found in gem dir, assume running from checkout
8
+ else
9
+ VERSION = IO.read(File.expand_path("VERSION")).strip
10
+ end
3
11
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>com.tobedevoured</groupId>
6
6
  <artifactId>solr_sail</artifactId>
7
- <version>0.0.2</version>
7
+ <version>0.0.3</version>
8
8
  <packaging>jar</packaging>
9
9
 
10
10
  <name>Solr Sail</name>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: solr_sail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: java
7
7
  authors:
8
8
  - Michael Guymon
@@ -122,7 +122,7 @@ files:
122
122
  - lib/solr_sail/cli.rb
123
123
  - lib/solr_sail/version.rb
124
124
  - pom.xml
125
- - solr_sail-0.0.2.jar
125
+ - solr_sail-0.0.3.jar
126
126
  homepage: http://github.com/mguymon/solr_sail
127
127
  licenses:
128
128
  - MIT