solr_wrapper 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solr_wrapper/configuration.rb +1 -1
- data/lib/solr_wrapper/version.rb +1 -1
- data/lib/solr_wrapper.rb +1 -1
- data/spec/lib/solr_wrapper_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57530a891dcb0e5a17da665b949b8b941dd59ba
|
4
|
+
data.tar.gz: c572a382099a877b347e2646a5c768a1cdf60c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247b9f2dfd93ec8518b9a6d38310c6019cbe4f1e524d75078b0c116d661b4783954e0962f89d930b7686e2e6be29dc7f6f26a658a81635425240cdf4b94cefb2
|
7
|
+
data.tar.gz: 47c717d155ba07b715bd888ac3f20ee19f93c4d4fb4886857fecb73e530916323f1759a4b3da63f4cef7ec2f7dcf600dddb8c42f2e98f6cc56a97b958caca6a1
|
data/lib/solr_wrapper/version.rb
CHANGED
data/lib/solr_wrapper.rb
CHANGED
@@ -13,6 +13,14 @@ describe SolrWrapper do
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
+
describe '.instance' do
|
17
|
+
context 'without arguments' do
|
18
|
+
it 'inherits the defaults' do
|
19
|
+
expect(SolrWrapper.instance.port).to eq '8983'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
16
24
|
describe ".default_instance_options=" do
|
17
25
|
it "sets default options" do
|
18
26
|
SolrWrapper.default_instance_options = { port: '1234' }
|
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.9.
|
4
|
+
version: 0.9.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: 2016-04-
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|