solr_wrapper 0.21.0 → 0.22.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: ca1db30de3359d3547ec4b3a9d1a446a790a22c9
4
- data.tar.gz: d073e5ddbd0806259ae1123f0689b2f4b4f371b6
3
+ metadata.gz: 7d05b80bedc9469e834ecfe87c26ee93375bb1bd
4
+ data.tar.gz: 252421d388165fe870826c30f401119e5a3a7b16
5
5
  SHA512:
6
- metadata.gz: 77b55e5e113adc42106e27503b744807c5161d8796af4eef2cb95ee6aea86fa81aae57d52afa358f388052f809d3a93187c67a49f79fb2dddc540f1f95bac2a9
7
- data.tar.gz: 950bb23b5578d8d4e47503ca5f50e29923f5ce3b50da9ac7327a4c0f853ae9d222e73f964bde046e83257b18d02ce16c28393bfc41199acc8ca264c7a5ca5c9e
6
+ metadata.gz: c59f8afabe6af879f2dbbcc12ef754fed2c419bbe0c2b947ddff32eaa1f70660bbcea5846817895ec44b08ed1bd67c1ab725109f027114d2d1b2cdb6070d1e86
7
+ data.tar.gz: 8dd2bffb52bbeb3a5fa8e2692309ae786e1b0c966d93006c225e4f519feb3206361ba92b4e82483049645540e98d13f9cb9554f11600bfb1f0e3c41393f81abc
data/lib/solr_wrapper.rb CHANGED
@@ -8,7 +8,7 @@ require 'solr_wrapper/client'
8
8
 
9
9
  module SolrWrapper
10
10
  def self.default_solr_version
11
- '6.4.1'
11
+ '6.4.2'
12
12
  end
13
13
 
14
14
  def self.default_solr_port
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.21.0'
2
+ VERSION = '0.22.0'
3
3
  end
@@ -151,8 +151,12 @@ describe SolrWrapper::Instance do
151
151
  end
152
152
 
153
153
  describe "#version" do
154
+ before do
155
+ allow(solr_instance.config).to receive(:version).and_return('solr-version-number')
156
+ end
157
+
154
158
  subject { solr_instance.version }
155
- it { is_expected.to eq '6.4.1' }
159
+ it { is_expected.to eq 'solr-version-number' }
156
160
  end
157
161
 
158
162
  describe "#md5" do
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.21.0
4
+ version: 0.22.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: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-03-07 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.5.2
205
+ rubygems_version: 2.6.8
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Solr 5 service wrapper