waistband 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/waistband/client.rb +2 -0
- data/lib/waistband/version.rb +1 -1
- data/spec/lib/index_multi_connection_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjFjYjExMGYzNDE5ZWY0ZWVhMTM2OTY4MWQ2NTljYzg4NjM2MzQ1OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTQ1ZTM0NzNmNWVjYmJkMmVmNTM5NzhmOTE3MjE1Yjk3MDVlMDIxMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDk2NmYzYThhZDc4ZWEwNTM1M2I0OTQ2MmJhNTM3YjAxMTAwZjU2YzU3MWRj
|
10
|
+
NzlhM2VhZTk0NGRkZDZmZGRiNGM0ZDFkNGU3MTAxZTVmNTgxMDc0ZTQ1YTZh
|
11
|
+
OWI0YTRmNDljN2FiNTg0MzE1NmZlYzNlZmNjZDFiYjI3NDU1MmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWYwNjZiODQyZTgyZDI5OGRiY2NhOTg5ZmJmYjBlNjg2ZjkxZmMzNDI1M2E3
|
14
|
+
ODI0N2NkNmY1NjFjNjc2Y2I3MWUxNjUzZmQ4ODNhZDFmYTEyMzgyYjBjYTlm
|
15
|
+
MzYwNWJiMTQ0MGQ5NjAyMmI5YmMwMmI4MmYyMTI5MjEyNTAzMGE=
|
data/lib/waistband/client.rb
CHANGED
data/lib/waistband/version.rb
CHANGED
@@ -15,6 +15,10 @@ describe Waistband::Index do
|
|
15
15
|
expect(client.send(:config_hash)[:hosts]).to eql([{"host"=>"127.0.0.1", "port"=>9200, "protocol"=>"http"}])
|
16
16
|
end
|
17
17
|
|
18
|
+
it "exposes servers correctly" do
|
19
|
+
expect(client.servers).to eql({"server1"=>{"host"=>"127.0.0.1", "port"=>9200, "protocol"=>"http"}})
|
20
|
+
end
|
21
|
+
|
18
22
|
it "works" do
|
19
23
|
index.delete
|
20
24
|
index.create
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waistband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Jairala
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|