solr_wrapper 0.8.0 → 0.8.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: 26e84bf462a67bf41bcc28be718464861ce482d8
4
- data.tar.gz: c38874bc575bfe27d3481ea5e6b61d8f9da28ca1
3
+ metadata.gz: 43fa2562de12dc7692414d1bc094f342dbe846cf
4
+ data.tar.gz: 15ae728b8f1baccf48c276350ef64ca27e456ee2
5
5
  SHA512:
6
- metadata.gz: 28ade5c8d559625c6d584202ecdd9ce5ca0bc55d2e49fe3bfe3480629df45e766311986cf8d0a1ba80d2f1b3826094c18014c8e2dd3e754702067391d726846f
7
- data.tar.gz: fc164fb6434984bd6c6f05964a2755b08c71c303480542dea0da5149dc0c3e60d79eb61c74afaafb8aa44a591baba8a728bb4420f34ca91055918b7ee38c064a
6
+ metadata.gz: cd6541cc7fc59996be5a5cb9d78ff29bbe7b6c365780586934250401cd37b8a98ec8e4cc85cd7645bbe8c6873681ab438caf84bc7571553580466c18a82f3938
7
+ data.tar.gz: 4222c7863f4baf0ff5f63f963ff46e4f2cb624272885cc5cd97103f96bb3a7c61996009fe38e0833fe8681fb9819ff7901273a08c4529f3a2366396703b96fad
@@ -50,6 +50,10 @@ module SolrWrapper
50
50
  config.url
51
51
  end
52
52
 
53
+ def instance_dir
54
+ config.instance_dir
55
+ end
56
+
53
57
  def version
54
58
  config.version
55
59
  end
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
@@ -71,6 +71,11 @@ describe SolrWrapper::Instance do
71
71
  it { is_expected.to eq 'http://127.0.0.1:8983/solr/' }
72
72
  end
73
73
 
74
+ describe "#instance_dir" do
75
+ subject { solr_instance.instance_dir }
76
+ it { is_expected.to start_with Dir.tmpdir }
77
+ end
78
+
74
79
  describe "#version" do
75
80
  subject { solr_instance.version }
76
81
  it { is_expected.to eq '6.0.0' }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer