solr_wrapper 0.13.1 → 0.13.2

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: 99f4f21c83ffdbf5806d404b14832e4246ba8552
4
- data.tar.gz: 0c147272d39019c77189b76ac0e206d6c591ece2
3
+ metadata.gz: 144bd1cb3f82253c8f8087f4eacf2d28eead0dc2
4
+ data.tar.gz: 12c08521281d856eea0bdb2bcc0facda073313b1
5
5
  SHA512:
6
- metadata.gz: 11690c982a117f8a048e2a3625a079512e122c77e2068c4fe72721ac221e6a51f99b4592159fa395cce62e915f0bb6195dc31b79dbe8fda380f020d8d294d306
7
- data.tar.gz: 0ac83a288c79341f6043b1dfe42618192a64626801a44064f8dec1b016304b4d34b88ea9dce8e00eb7cc7d52e5e644acf2672326c15ed5c7abf7d324a62367dd
6
+ metadata.gz: f8f0b4e93e6a5f5c5dcbc3fee67ce1875d3c5a36fd0c4dea4c9fa80f3c1c39ebcebb920c24ad31b3c5ea471b139b9dabf81bba4195aada4098e4c3d45e0d2eaa
7
+ data.tar.gz: e2eb48930e2e95ad2f3e1d045ccf6490dcd0f13c800161b316daffd2e02f656e9a33326f47ab47b8d871ded04ea1772340db9690201ca00e45f0a1fbfe4606cf
@@ -55,7 +55,7 @@ module SolrWrapper
55
55
  end
56
56
 
57
57
  def default_download_dir
58
- if defined?(Rails) && Rails.root
58
+ if defined?(Rails) && Rails.respond_to?(:root) && Rails.root
59
59
  File.join(Rails.root, 'tmp')
60
60
  else
61
61
  Dir.tmpdir
@@ -123,7 +123,7 @@ module SolrWrapper
123
123
  archive_download_url
124
124
  end
125
125
  end
126
- rescue SocketError, Faraday::Error
126
+ rescue Errno::ECONNRESET, SocketError, Faraday::Error
127
127
  archive_download_url
128
128
  end
129
129
 
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.13.1'
2
+ VERSION = '0.13.2'
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.13.1
4
+ version: 0.13.2
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-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  requirements: []
203
203
  rubyforge_project:
204
- rubygems_version: 2.5.1
204
+ rubygems_version: 2.6.4
205
205
  signing_key:
206
206
  specification_version: 4
207
207
  summary: Solr 5 service wrapper
@@ -220,4 +220,3 @@ test_files:
220
220
  - spec/lib/solr_wrapper/instance_spec.rb
221
221
  - spec/lib/solr_wrapper_spec.rb
222
222
  - spec/spec_helper.rb
223
- has_rdoc: