rubberband 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/elasticsearch/transport/base_protocol.rb +1 -1
- data/lib/elasticsearch/version.rb +1 -1
- metadata +190 -164
@@ -228,7 +228,7 @@ module ElasticSearch
|
|
228
228
|
def generate_uri(options)
|
229
229
|
path = ""
|
230
230
|
path << "/#{Array(options[:index]).collect { |i| escape(i.downcase) }.join(",")}" if options[:index] && !options[:index].empty?
|
231
|
-
path << "
|
231
|
+
path << "/*" if options[:index] && options[:index].empty?
|
232
232
|
path << "/#{Array(options[:type]).collect { |t| escape(t) }.join(",")}" if options[:type] && !options[:type].empty?
|
233
233
|
path << "/#{Array(options[:id]).collect { |id| escape(id) }.join(",")}" if options[:id] && !options[:id].to_s.empty?
|
234
234
|
path << "/#{options[:op]}" if options[:op]
|
metadata
CHANGED
@@ -1,183 +1,209 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubberband
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.5
|
4
5
|
prerelease:
|
5
|
-
version: 0.9.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Grant Rodgers
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
12
|
+
date: 2012-09-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: faraday
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: multi_json
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: simplecov
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.3.8
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.3.8
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: mocha
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.9.0
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.9.0
|
81
110
|
description: An ElasticSearch client with ThriftClient-like failover handling.
|
82
|
-
email:
|
83
|
-
|
111
|
+
email:
|
112
|
+
- grantr@gmail.com
|
84
113
|
executables: []
|
85
|
-
|
86
114
|
extensions: []
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
- vendor/elasticsearch/elasticsearch.thrift
|
115
|
+
extra_rdoc_files:
|
116
|
+
- LICENSE
|
117
|
+
- README.md
|
118
|
+
files:
|
119
|
+
- .autotest
|
120
|
+
- .gitignore
|
121
|
+
- .rspec
|
122
|
+
- .travis.yml
|
123
|
+
- CONTRIBUTORS
|
124
|
+
- Gemfile
|
125
|
+
- LICENSE
|
126
|
+
- README.md
|
127
|
+
- Rakefile
|
128
|
+
- TODO
|
129
|
+
- lib/elasticsearch.rb
|
130
|
+
- lib/elasticsearch/client.rb
|
131
|
+
- lib/elasticsearch/client/abstract_client.rb
|
132
|
+
- lib/elasticsearch/client/admin_cluster.rb
|
133
|
+
- lib/elasticsearch/client/admin_index.rb
|
134
|
+
- lib/elasticsearch/client/auto_discovering_client.rb
|
135
|
+
- lib/elasticsearch/client/default_scope.rb
|
136
|
+
- lib/elasticsearch/client/hits.rb
|
137
|
+
- lib/elasticsearch/client/index.rb
|
138
|
+
- lib/elasticsearch/client/retrying_client.rb
|
139
|
+
- lib/elasticsearch/encoding.rb
|
140
|
+
- lib/elasticsearch/encoding/base.rb
|
141
|
+
- lib/elasticsearch/encoding/json.rb
|
142
|
+
- lib/elasticsearch/transport.rb
|
143
|
+
- lib/elasticsearch/transport/base.rb
|
144
|
+
- lib/elasticsearch/transport/base_protocol.rb
|
145
|
+
- lib/elasticsearch/transport/http.rb
|
146
|
+
- lib/elasticsearch/transport/memcached.rb
|
147
|
+
- lib/elasticsearch/transport/thrift.rb
|
148
|
+
- lib/elasticsearch/transport/thrift/elasticsearch_constants.rb
|
149
|
+
- lib/elasticsearch/transport/thrift/elasticsearch_types.rb
|
150
|
+
- lib/elasticsearch/transport/thrift/rest.rb
|
151
|
+
- lib/elasticsearch/version.rb
|
152
|
+
- lib/rubberband.rb
|
153
|
+
- rubberband.gemspec
|
154
|
+
- spec/admin_spec.rb
|
155
|
+
- spec/bulk_spec.rb
|
156
|
+
- spec/connect_spec.rb
|
157
|
+
- spec/hits_spec.rb
|
158
|
+
- spec/http_spec.rb
|
159
|
+
- spec/index_spec.rb
|
160
|
+
- spec/retrying_client_spec.rb
|
161
|
+
- spec/spec_helper.rb
|
162
|
+
- spec/support/counting_client.rb
|
163
|
+
- spec/support/counting_retrying_client.rb
|
164
|
+
- spec/support/dummy_transport.rb
|
165
|
+
- spec/support/exception_client.rb
|
166
|
+
- spec/support/timeout_retrying_client.rb
|
167
|
+
- spec/type_spec.rb
|
168
|
+
- vendor/elasticsearch/elasticsearch.thrift
|
142
169
|
homepage: http://github.com/grantr/rubberband
|
143
|
-
licenses:
|
144
|
-
|
170
|
+
licenses:
|
171
|
+
- Apache v2
|
145
172
|
post_install_message:
|
146
173
|
rdoc_options: []
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
require_paths:
|
175
|
+
- lib
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
177
|
none: false
|
152
|
-
requirements:
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
183
|
none: false
|
158
|
-
requirements:
|
159
|
-
|
160
|
-
|
161
|
-
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
162
188
|
requirements: []
|
163
|
-
|
164
189
|
rubyforge_project: rubberband
|
165
|
-
rubygems_version: 1.8.
|
190
|
+
rubygems_version: 1.8.23
|
166
191
|
signing_key:
|
167
192
|
specification_version: 3
|
168
193
|
summary: An ElasticSearch client with ThriftClient-like failover handling.
|
169
|
-
test_files:
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
194
|
+
test_files:
|
195
|
+
- spec/admin_spec.rb
|
196
|
+
- spec/bulk_spec.rb
|
197
|
+
- spec/connect_spec.rb
|
198
|
+
- spec/hits_spec.rb
|
199
|
+
- spec/http_spec.rb
|
200
|
+
- spec/index_spec.rb
|
201
|
+
- spec/retrying_client_spec.rb
|
202
|
+
- spec/spec_helper.rb
|
203
|
+
- spec/support/counting_client.rb
|
204
|
+
- spec/support/counting_retrying_client.rb
|
205
|
+
- spec/support/dummy_transport.rb
|
206
|
+
- spec/support/exception_client.rb
|
207
|
+
- spec/support/timeout_retrying_client.rb
|
208
|
+
- spec/type_spec.rb
|
209
|
+
has_rdoc:
|