es 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/es/client.rb +2 -2
- data/lib/es/version.rb +1 -1
- data/spec/es/client_spec.rb +1 -1
- metadata +2 -2
data/lib/es/client.rb
CHANGED
data/lib/es/version.rb
CHANGED
data/spec/es/client_spec.rb
CHANGED
@@ -22,7 +22,7 @@ describe ES::Client do
|
|
22
22
|
|
23
23
|
it 'serializes data for .bulk' do
|
24
24
|
requests = [1, 2, 3]
|
25
|
-
client.should_receive(:bulk).with("1\n2\n3", 'an_index').and_return(raw_response)
|
25
|
+
client.should_receive(:bulk).with("1\n2\n3\n", 'an_index').and_return(raw_response)
|
26
26
|
|
27
27
|
subject.bulk(requests, 'an_index').should == response
|
28
28
|
end
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: es
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jan Suchal
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oj
|