solr_wrapper 0.14.2 → 0.15.0

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: e193e8dddad4fbf0cc71dfac3d804ed512365926
4
- data.tar.gz: 549e546982fa947bcb91924370adbef503a73406
3
+ metadata.gz: 9950ef7e06d96d351e3a3ecbcf98c7cff0b0d089
4
+ data.tar.gz: ed92365b20dcaeee35568a3d418c530591748642
5
5
  SHA512:
6
- metadata.gz: 0b38499e3b53ac515efd53db94aacf8ff4114015c6485e1cf1b3111beb596d57ce694a38e9fc36b4f9a43cf2f20479aa6e0711884533e0dabeca371a58b1a023
7
- data.tar.gz: 93a343f6b731a1e9c5b3da08ce8b3929510f993a75fcc8da552551d61be6e046afbb8df3f176dd42ab21f0411305b2649a13e64aefc3242e0678344bd28b24f3
6
+ metadata.gz: 65fa2844dc9ed1a39ae2e2384c7211535d4edb0c6a327a1d1db1377e35f0599e491cf986d2039a37a1bbf98b58240adabc194120e4262e4d215277c11cec4049
7
+ data.tar.gz: 13b96435a5e0d3865e5d05dc26d9981d69b5f4f838fe87cd463c068ec3c29ac94f605f625cc0d5ec53c9baa081c85974e4b6e74d589d410274cd2490f58bca08
data/README.md CHANGED
@@ -44,7 +44,7 @@ SolrWrapper.wrap port: 8983,
44
44
  | ignore_md5sum | (Boolean) |
45
45
  | solr_options | (Hash) |
46
46
  | env | (Hash) |
47
- | preserve | (Boolean) Preserves the data in you collection between startups |
47
+ | persist | (Boolean) Preserves the data in you collection between startups |
48
48
 
49
49
  ```ruby
50
50
  solr.with_collection(name: 'collection_name', dir: 'path_to_solr_configs')
data/exe/solr_wrapper CHANGED
@@ -111,6 +111,8 @@ instance.wrap do |conn|
111
111
  begin
112
112
  conn.wait
113
113
  rescue Interrupt
114
+ Signal.trap("SIGTERM") {"IGNORE"}
115
+ Signal.trap("SIGINT") {"IGNORE"}
114
116
  $stderr.puts "Solr is shutting down."
115
117
  end
116
118
  end
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.14.2'
2
+ VERSION = '0.15.0'
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.14.2
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-11 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  requirements: []
204
204
  rubyforge_project:
205
- rubygems_version: 2.6.4
205
+ rubygems_version: 2.5.1
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Solr 5 service wrapper