rubberband 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 << "/_all" if options[:index] && options[:index].empty?
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]
@@ -1,3 +1,3 @@
1
1
  module ElasticSearch
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
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
- - Grant Rodgers
7
+ authors:
8
+ - Grant Rodgers
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-09-10 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: faraday
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 0.8.0
24
- type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: multi_json
28
- prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
35
- type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
- prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
46
- type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
- prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: "2.0"
57
- type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: simplecov
61
- prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 0.3.8
68
- type: :development
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: mocha
72
- prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: 0.9.0
79
- type: :development
80
- version_requirements: *id006
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
- - grantr@gmail.com
111
+ email:
112
+ - grantr@gmail.com
84
113
  executables: []
85
-
86
114
  extensions: []
87
-
88
- extra_rdoc_files:
89
- - LICENSE
90
- - README.md
91
- files:
92
- - .autotest
93
- - .gitignore
94
- - .rspec
95
- - .travis.yml
96
- - CONTRIBUTORS
97
- - Gemfile
98
- - LICENSE
99
- - README.md
100
- - Rakefile
101
- - TODO
102
- - lib/elasticsearch.rb
103
- - lib/elasticsearch/client.rb
104
- - lib/elasticsearch/client/abstract_client.rb
105
- - lib/elasticsearch/client/admin_cluster.rb
106
- - lib/elasticsearch/client/admin_index.rb
107
- - lib/elasticsearch/client/auto_discovering_client.rb
108
- - lib/elasticsearch/client/default_scope.rb
109
- - lib/elasticsearch/client/hits.rb
110
- - lib/elasticsearch/client/index.rb
111
- - lib/elasticsearch/client/retrying_client.rb
112
- - lib/elasticsearch/encoding.rb
113
- - lib/elasticsearch/encoding/base.rb
114
- - lib/elasticsearch/encoding/json.rb
115
- - lib/elasticsearch/transport.rb
116
- - lib/elasticsearch/transport/base.rb
117
- - lib/elasticsearch/transport/base_protocol.rb
118
- - lib/elasticsearch/transport/http.rb
119
- - lib/elasticsearch/transport/memcached.rb
120
- - lib/elasticsearch/transport/thrift.rb
121
- - lib/elasticsearch/transport/thrift/elasticsearch_constants.rb
122
- - lib/elasticsearch/transport/thrift/elasticsearch_types.rb
123
- - lib/elasticsearch/transport/thrift/rest.rb
124
- - lib/elasticsearch/version.rb
125
- - lib/rubberband.rb
126
- - rubberband.gemspec
127
- - spec/admin_spec.rb
128
- - spec/bulk_spec.rb
129
- - spec/connect_spec.rb
130
- - spec/hits_spec.rb
131
- - spec/http_spec.rb
132
- - spec/index_spec.rb
133
- - spec/retrying_client_spec.rb
134
- - spec/spec_helper.rb
135
- - spec/support/counting_client.rb
136
- - spec/support/counting_retrying_client.rb
137
- - spec/support/dummy_transport.rb
138
- - spec/support/exception_client.rb
139
- - spec/support/timeout_retrying_client.rb
140
- - spec/type_spec.rb
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
- - Apache v2
170
+ licenses:
171
+ - Apache v2
145
172
  post_install_message:
146
173
  rdoc_options: []
147
-
148
- require_paths:
149
- - lib
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
- - !ruby/object:Gem::Version
155
- version: "0"
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
- - !ruby/object:Gem::Version
161
- version: "0"
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.15
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
- - spec/admin_spec.rb
171
- - spec/bulk_spec.rb
172
- - spec/connect_spec.rb
173
- - spec/hits_spec.rb
174
- - spec/http_spec.rb
175
- - spec/index_spec.rb
176
- - spec/retrying_client_spec.rb
177
- - spec/spec_helper.rb
178
- - spec/support/counting_client.rb
179
- - spec/support/counting_retrying_client.rb
180
- - spec/support/dummy_transport.rb
181
- - spec/support/exception_client.rb
182
- - spec/support/timeout_retrying_client.rb
183
- - spec/type_spec.rb
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: