solr_wrapper 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce8d8ac85d7a99148fca4876c7b9e5ce092224f7
4
- data.tar.gz: 7dc6333a599a500d996d50e03d777b86429a00e8
3
+ metadata.gz: a5c8e2a5db5ec03620cfd9cb2a0b2360e68b83b8
4
+ data.tar.gz: fdbff431444dd083a0ad040d827341852cbd003c
5
5
  SHA512:
6
- metadata.gz: ee2b2a29b6dd15c5b0e02fa11f6bef560394437b5bb3c69639e00d9ac35de9cb953f76e298b8b67f27d3209238a1fb60929293f506fdc33dd4b9d43a03c2a0f2
7
- data.tar.gz: 9ad3a192f2bf3d68ee18b4213154ec975dd7107b705e0d4e5b34827a03e02535b727725887948d495d781d900ddf4d33956d3f3fc6fe4d14a57d7296281fae06
6
+ metadata.gz: f0fd4e8f843fa255fb704b62d74a64e7f50b57712252090c40e5aa86122c79092ae1b10967b023ff61cc755120203d9bcddfaf297c1afc243951117c61b64d19
7
+ data.tar.gz: 1303b1b8280ba921c19551d951ae49e1e421fcc1390d634f6862cb8fbe580ca976796a7ed177475f299186eec841926fa0ab5f007067bfeb586a916db50695b5
data/lib/solr_wrapper.rb CHANGED
@@ -3,7 +3,7 @@ require 'solr_wrapper/instance'
3
3
 
4
4
  module SolrWrapper
5
5
  def self.default_solr_version
6
- '5.3.1'
6
+ '5.4.0'
7
7
  end
8
8
 
9
9
  def self.default_instance_options
@@ -87,6 +87,8 @@ module SolrWrapper
87
87
 
88
88
  out = exec('status').read
89
89
  out =~ /running on port #{port}/
90
+ rescue
91
+ false
90
92
  end
91
93
 
92
94
  ##
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-17 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip