algoliasearch 1.20.0 → 1.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 042aa8d5e6c4fd28ca302c2f6599c5ef5ec347a809ad567dde393b6633cba2c3
4
- data.tar.gz: e99b0315c64bcf650d4496e2ae8a9bd7f0f12f0cb42b31e5209d6359dbe019eb
3
+ metadata.gz: 8083a5563fe5afef2385e19eb1839c13ae55099affd16c89c7c93929d7ef13fb
4
+ data.tar.gz: a46aea7d862e33079543226c6f1107a2e6c1b58a9b058c4b09e7ff2ef9e6cb5c
5
5
  SHA512:
6
- metadata.gz: f184dce817dbe9309f2d97d131ef4738d0aa72e6e8bafb907cb2b182d96f8de367982c34eebffdbbe8ece916a7685fb1b524c01468fc0583f6a09be22a5111f1
7
- data.tar.gz: d02d20d28c815d707fae14725ae5c0c1add7e056c0f2086ea18ba50d5d8f20e9cac8b06a5b35439d0ae2c13abe392e7e255c1636e9866f8cf14cdb255b5d1335
6
+ metadata.gz: 681eb34a8fac2b6f0a9aae58a7788f33f9409ca27419a1e18b92233c4c6a439ab077288540d5f8084af1471f669ade0af17219c3cd407874984a7f2f718d49a2
7
+ data.tar.gz: a4357e54487f831ff099297f58678c8ccb8e0c5e3077447cc4b7a01d524b835c009a015cfd34464a102a1f8823ce3c24653cb0f4229da7c61846e43e441ebe79
data/CHANGELOG.md ADDED
@@ -0,0 +1,329 @@
1
+ ## [1.20.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.20.1) (2018-05-15)
2
+
3
+ * Fix changelog link in gemspec (#290)
4
+ * Utils: move to changelog.md and add rake task for release (#289)
5
+
6
+ ## [1.20.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.20.0) (2018-05-07)
7
+
8
+ * Feat: deprecate api keys methods on index in favor of client ones (#286)
9
+ * Chore(gemfile): remove useless dependencies (#280)
10
+ * Fix(env): adding default env var (#279)
11
+ * Chore(travis): test against Rubinius 3 (#281)
12
+ * Fix: prevent saving a rule with an empty `objectID` (#283)
13
+
14
+ ## [1.19.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.19.2) (2018-04-03)
15
+
16
+ * Fix `Algolia.delete_index` wrong number of arguments (#277)
17
+
18
+ ## [1.19.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.19.1) (2017-12-18)
19
+
20
+ * Fix hard dependency on `hashdiff` (#262)
21
+
22
+ ## [1.19.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.19.0) (2017-12-15)
23
+
24
+ * Add request options to any method using API calls (#213)
25
+ * Add `export_synonyms` index method (#260)
26
+ * Add `export_rules` index method (#261)
27
+
28
+ ## [1.18.5](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.5) (2017-12-07)
29
+
30
+ * Fix missing requirement
31
+
32
+ ## [1.18.4](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.4) (2017-12-06)
33
+
34
+ * Remove remaining unnecessary requirements (#256)
35
+ * Remove Gemfile.lock (#257)
36
+
37
+ ## [1.18.3](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.3) (2017-12-04)
38
+
39
+ * Remove Bundler and RubyGems requirements (#253)
40
+
41
+ ## [1.18.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.2) (2017-11-28)
42
+
43
+ * Add (undocumented) gzip option to disable gzip (#240)
44
+
45
+ ## [1.18.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.1) (2017-11-15)
46
+
47
+ * Fix `get_logs` always returning type `all` (#244)
48
+ * New scopes to `copy_index` method (#243)
49
+
50
+ ## [1.18.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.18.0) (2017-11-02)
51
+
52
+ * Allow to reuse the webmocks using `Algolia::WebMock.mock!` (#256)
53
+
54
+ ## [1.17.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.17.0) (2017-10-10)
55
+
56
+ * New `delete_by` method
57
+
58
+ ## [1.16.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.16.0) (2017-09-14)
59
+
60
+ * New Query Rules API
61
+
62
+ ## [1.15.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.15.1) (2017-08-17)
63
+
64
+ * Fixed regression introduced in 1.15.0
65
+
66
+ ## [1.15.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.15.0) (2017-08-17)
67
+
68
+ * Make `delete_by_query` not `wait_task` by default (also, make it mockable)
69
+ * Add a new `delete_by_query!` doing the last `wait_task`
70
+
71
+ ## [1.14.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.14.0) (2017-07-31)
72
+
73
+ * Ability to override the underlying user-agent
74
+
75
+ ## [1.13.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.13.0) (2017-03-17)
76
+
77
+ * Add a `index.get_task_status(taskID)` method (#199)
78
+
79
+ ## [1.12.7](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.7) (2017-03-01)
80
+
81
+ * Renamed all `*_user_key` methods to `*_api_key`
82
+
83
+ ## [1.12.6](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.6) (2017-01-25)
84
+
85
+ * Upgraded `httpclient` to 2.8.3
86
+
87
+ ## [1.12.5](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.5) (2016-12-07)
88
+
89
+ * Fixed retry strategy not keeping the `current_host` first (#163)
90
+
91
+ ## [1.12.4](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.4) (2016-12-07)
92
+
93
+ * Fix DNS tests
94
+
95
+ ## [1.12.3](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.3) (2016-12-06)
96
+
97
+ * Allow for multiple clients on different app ids on the same thread
98
+
99
+ ## [1.12.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.2) (2016-12-05)
100
+
101
+ * Fix client scoped methods
102
+
103
+ ## [1.12.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.1) (2016-11-25)
104
+
105
+ * Rename `search_facet` to `search_for_facet_values`
106
+
107
+ ## [1.12.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.12.0) (2016-10-31)
108
+
109
+ * Add `search_facet`
110
+
111
+ ## [1.11.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.11.0) (2016-08-21)
112
+
113
+ * Upgraded to httpclient 2.8.1 to avoid reseting the keep-alive while changing timeouts
114
+
115
+ ## [1.10.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.10.0) (2016-07-11)
116
+
117
+ * `{get,set}_settings` now take optional custom query parameters
118
+
119
+ ## [1.9.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.9.0) (2016-06-17)
120
+
121
+ * New synonyms API
122
+
123
+ ## [1.8.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.8.1) (2016-04-14)
124
+
125
+ * Ensure we're using an absolute path for the `ca-bundle.crt` file (could fix some `OpenSSL::X509::StoreError: system lib` errors)
126
+
127
+ ## [1.8.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.8.0) (2016-04-06)
128
+
129
+ * Upgraded to `httpclient` 2.7.1 (includes ruby 2.3.0 deprecation fixes)
130
+ * Upgraded WebMock URLs
131
+
132
+ ## [1.7.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.7.0) (2016-01-09)
133
+
134
+ * New `generate_secured_api_key` embedding the filters in the resulting key
135
+
136
+ ## [1.6.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.6.1) (2015-08-01)
137
+
138
+ * Search queries are now using POST requests
139
+
140
+ ## [1.6.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.6.0) (2015-07-19)
141
+
142
+ * Ability to instantiate multiple API clients in the same process (was using a class variable before).
143
+
144
+ ## [1.5.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.5.1) (2015-07-14)
145
+
146
+ * Ability to retrieve a single page from a cursor with `browse_from`
147
+
148
+ ## [1.5.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.5.0) (2015-06-05)
149
+
150
+ * New cursor-based `browse()` implementation taking query parameters
151
+
152
+ ## [1.4.3](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.4.3) (2015-05-27)
153
+
154
+ * Do not call `WebMock.disable!` in the helper
155
+
156
+ ## [1.4.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.4,2) (2015-05-04)
157
+
158
+ * Add new methods to add/update api key
159
+ * Add batch method to target multiple indices
160
+ * Add strategy parameter for the multipleQueries
161
+ * Add new method to generate secured api key from query parameters
162
+
163
+ ## [1.4.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.4.1) (2015-04-10)
164
+
165
+ * Force the default connect/read/write/search/batch timeouts to Algolia-specific values
166
+
167
+ ## [1.4.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.4.0) (2015-03-17)
168
+
169
+ * High-available DNS: search queries are now targeting `APPID-DSN.algolia.net` first, then the main cluster using NSOne, then the main cluster using Route53.
170
+ * High-available DNS: Indexing queries are targeting `APPID.algolia.net` first, then the main cluster using NSOne, then the main cluster using Route53.
171
+
172
+ ## [1.3.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.3.1) (2014-11-29)
173
+
174
+ * Fixed wrong deployed version (1.3.0 was based on 1.2.13 instead of 1.2.14)
175
+
176
+ ## [1.3.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.3.0) (2014-11-29)
177
+
178
+ * Use `algolia.net` domain instead of `algolia.io`
179
+
180
+ ## [1.2.14](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.14) (2014-11-10)
181
+
182
+ * Force the underlying `httpclient` dependency to be >= 2.4 in the gemspec as well
183
+ * Ability to force the SSL version
184
+
185
+ ## [1.2.13](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.13) (2014-10-22)
186
+
187
+ * Fix the loop on hosts to retry when the http code is different than 200, 201, 400, 403, 404
188
+
189
+ ## [1.2.12](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.12) (2014-10-08)
190
+
191
+ * Upgrade to `httpclient` 2.4
192
+ * Do not reset the timeout on each requests
193
+
194
+ ## [1.2.11](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.11) (2014-09-14)
195
+
196
+ * Ability to update API keys
197
+
198
+ ## [1.2.10](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.10) (2014-08-22)
199
+
200
+ * Using Digest to remove "Digest::Digest is deprecated; Use Digest" warning (author: @dglancy)
201
+
202
+ ## [1.2.9](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.9) (2014-07-10)
203
+
204
+ * Expose `connect_timeout`, `receive_timeout` and `send_timeout`
205
+ * Add new `delete_by_query` method to delete all objects matching a specific query
206
+ * Add new `get_objects` method to retrieve a list of objects from a single API call
207
+ * Add a helper to perform disjunctive faceting
208
+
209
+ ## [1.2.8](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.8) (2014-03-27)
210
+
211
+ * Catch all exceptions before retrying with another host
212
+
213
+ ## [1.2.7](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.7) (2014-03-24)
214
+
215
+ * Ruby 1.8 compatibility
216
+
217
+ ## [1.2.6](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.6) (2014-03-19)
218
+
219
+ * Raise an exception if no `APPLICATION_ID` is provided
220
+ * Ability to get last API call errors
221
+ * Ability to send multiple queries using a single API call
222
+ * Secured API keys generation is now based on secured HMAC-SHA256
223
+
224
+ ## [1.2.5](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.5) (2014-02-24)
225
+
226
+ * Ability to generate secured API key from a list of tags + optional `user_token`
227
+ * Ability to specify a list of indexes targeted by the user key
228
+
229
+ ## [1.2.4](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.4) (2014-02-21)
230
+
231
+ * Add `delete_objects`
232
+
233
+ ## [1.2.3](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.3) (2014-02-10)
234
+
235
+ * `add_object`: POST request if `objectID` is `nil` OR `empty`
236
+
237
+ ## [1.2.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.2) (2014-01-11)
238
+
239
+ * Expose `batch` requests
240
+
241
+ ## [1.2.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.1) (2014-01-07)
242
+
243
+ * Removed `jeweler` since it doesn't support platform specific deps (see https://github.com/technicalpickles/jeweler/issues/170)
244
+
245
+ ## [1.2.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.2.0) (2014-01-07)
246
+
247
+ * Removed `curb` dependency and switched on `httpclient` to avoid fork-safety issue (see issue #5)
248
+
249
+ ## [1.1.18](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.18) (2014-01-06)
250
+
251
+ * Fixed batch request builder (broken since last refactoring)
252
+
253
+ ## [1.1.17](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.17) (2014-01-02)
254
+
255
+ * Ability to use IP rate limit behind a proxy forwarding the end-user's IP
256
+ * Add documentation for the new `attributeForDistinct` setting and `distinct` search parameter
257
+
258
+ ## [1.1.16](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.16) (2013-12-16)
259
+
260
+ * Add arguments type-checking
261
+ * Normalize save_object/partial_update/add_object signatures
262
+ * Force dependencies versions
263
+
264
+ ## [1.1.15](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.15) (2013-12-16)
265
+
266
+ * Embed ca-bundle.crt
267
+
268
+ ## [1.1.14](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.14) (2013-12-11)
269
+
270
+ * Added `index.add_user_key(acls, validity, rate_limit, maxApiCalls)``
271
+
272
+ ## [1.1.13](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.13) (2013-12-10)
273
+
274
+ * WebMock integration
275
+
276
+ ## [1.1.12](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.12) (2013-12-05)
277
+
278
+ * Add `browse` command
279
+
280
+ ## [1.1.11](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.11) (2013-11-29)
281
+
282
+ * Remove rubysl (rbx required dependencies)
283
+
284
+ ## [1.1.10](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.10) (2013-11-29)
285
+
286
+ * Fixed gzip handling bug
287
+
288
+ ## [1.1.9](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.9) (2013-11-28)
289
+
290
+ * Added gzip support
291
+
292
+ ## [1.1.8](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.8) (2013-11-26)
293
+
294
+ * Add `partial_update_objects` method
295
+
296
+ ## [1.1.7](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.7) (2013-11-08)
297
+
298
+ * Search params: encode array-based parameters (`tagFilters`, `facetFilters`, ...)
299
+
300
+ ## [1.1.6](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.6) (2013-11-07)
301
+
302
+ * Index: `clear` and `clear!` methods can now be used the delete the whole content of an index
303
+ * User keys: plug new `maxQueriesPerIPPerHour` and `maxHitsPerQuery` parameters
304
+
305
+ ## [1.1.5](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.5) (2013-10-17)
306
+
307
+ * Version is now part of the user-agent
308
+
309
+ ## [1.1.4](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.4) (2013-10-17)
310
+
311
+ * Fixed `wait_task` not sleeping at all
312
+
313
+ ## [1.1.3](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.3) (2013-10-15)
314
+
315
+ * Fixed thread-safety issues
316
+ * Curl sessions are now thread-local
317
+
318
+ ## [1.1.2](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.2) (2013-10-02)
319
+
320
+ * Fixed instance/class method conflict
321
+
322
+ ## [1.1.1](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.1) (2013-10-01)
323
+
324
+ * Updated documentation
325
+ * Plug copy/move index
326
+
327
+ ## [1.1.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.1.0) (2013-09-17)
328
+
329
+ * Initial import
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algoliasearch (1.20.0)
4
+ algoliasearch (1.20.1)
5
5
  httpclient (~> 2.8, >= 2.8.3)
6
6
  json (>= 1.5.1)
7
7
 
data/Rakefile CHANGED
@@ -34,14 +34,62 @@ RSpec::Core::RakeTask.new(:spec)
34
34
 
35
35
  task :default => :spec
36
36
 
37
- desc 'Bump gem version'
38
- task :semver, [:version] do |t, args|
39
- File.open(File.expand_path('../lib/algolia/version.rb', __FILE__), 'w') do |file|
40
- file.write <<~SEMVER
41
- module Algolia
42
- VERSION = "#{args[:version]}"
43
- end
44
- SEMVER
37
+ namespace :algolia do
38
+ def last_commit_date
39
+ `git log -1 --date=short --format=%cd`.chomp
40
+ end
41
+
42
+ def latest_tag
43
+ `git describe --tags --abbrev=0`.chomp
44
+ end
45
+
46
+ def changelog(git_start = latest_tag(), git_end = 'HEAD', format = '%s')
47
+ `git log --no-decorate --no-merges --pretty=format:#{format} #{git_start}..#{git_end}`
48
+ end
49
+
50
+ desc 'Write latest changes to CHANGELOG.md'
51
+ task :changelog, [:version] do |t, args|
52
+ # Filters-out commits containing some keywords and adds header
53
+ exceptions_regexp = Regexp.union(['README'])
54
+ changes = changelog.each_line
55
+ .map { |line| (exceptions_regexp === line) ? nil : "* #{line.capitalize}" }
56
+ .prepend("## [#{args[:version]}]() (#{last_commit_date})\n\n")
57
+ .append("\n\n")
58
+ .join
59
+
60
+ puts changes
61
+ puts "\n\e[31mDo you want to update the CHANGELOG.md with the text above? [y/N]\e[0m"
62
+ exit if STDIN.gets.chomp.downcase != 'y'
63
+
64
+ # Rewrite CHANGELOG.md
65
+ old_changes = File.readlines('CHANGELOG.md', 'r').join
66
+ File.open('CHANGELOG.md', 'w') { |file| file.write(changes, old_changes) }
67
+
68
+ puts 'CHANGELOG.md successfully updated'
69
+ end
70
+
71
+ desc 'Bump gem version'
72
+ task :semver, [:version] do |t, args|
73
+ File.open(File.expand_path('../lib/algolia/version.rb', __FILE__), 'w') do |file|
74
+ file.write <<~SEMVER
75
+ module Algolia
76
+ VERSION = "#{args[:version]}"
77
+ end
78
+ SEMVER
79
+ end
80
+
81
+ puts "Bumped gem version from #{latest_tag} to #{args[:version]}"
82
+ end
83
+
84
+ desc 'Release a new version of this gem'
85
+ task :release, [:version] => [:changelog, :semver] do |t, args|
86
+ `git add #{File.expand_path('../lib/algolia/version.rb', __FILE__)} CHANGELOG.md`
87
+ `git commit -m "Bump to version #{args[:version]}"`
88
+
89
+ # Invoke Bundler :release task
90
+ # https://github.com/bundler/bundler/blob/master/lib/bundler/gem_helper.rb
91
+ #
92
+ Rake::Task[:release].invoke
45
93
  end
46
94
  end
47
95
 
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.metadata = {
19
19
  "bug_tracker_uri" => "https://github.com/algolia/algoliasearch-client-ruby/issues",
20
- "changelog_uri" => "https://github.com/algolia/algoliasearch-client-ruby/blob/master/ChangeLog",
20
+ "changelog_uri" => "https://github.com/algolia/algoliasearch-client-ruby/blob/master/CHANGELOG.md",
21
21
  "documentation_uri" => "http://www.rubydoc.info/gems/algoliasearch",
22
22
  "homepage_uri" => "https://www.algolia.com/doc/api-client/ruby/getting-started/",
23
23
  "source_code_uri" => "https://github.com/algolia/algoliasearch-client-ruby"
@@ -27,14 +27,14 @@ Gem::Specification.new do |s|
27
27
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
28
28
 
29
29
  s.extra_rdoc_files = [
30
- "ChangeLog",
30
+ "CHANGELOG.md",
31
31
  "LICENSE.txt",
32
32
  "README.md"
33
33
  ]
34
34
  s.files = [
35
35
  ".rspec",
36
36
  ".travis.yml",
37
- "ChangeLog",
37
+ "CHANGELOG.md",
38
38
  "Gemfile",
39
39
  "Gemfile.lock",
40
40
  "LICENSE.txt",
@@ -1,3 +1,3 @@
1
1
  module Algolia
2
- VERSION = "1.20.0"
2
+ VERSION = "1.20.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algoliasearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-07 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -91,13 +91,13 @@ email: contact@algolia.com
91
91
  executables: []
92
92
  extensions: []
93
93
  extra_rdoc_files:
94
- - ChangeLog
94
+ - CHANGELOG.md
95
95
  - LICENSE.txt
96
96
  - README.md
97
97
  files:
98
98
  - ".rspec"
99
99
  - ".travis.yml"
100
- - ChangeLog
100
+ - CHANGELOG.md
101
101
  - Gemfile
102
102
  - Gemfile.lock
103
103
  - LICENSE.txt
@@ -122,7 +122,7 @@ licenses:
122
122
  - MIT
123
123
  metadata:
124
124
  bug_tracker_uri: https://github.com/algolia/algoliasearch-client-ruby/issues
125
- changelog_uri: https://github.com/algolia/algoliasearch-client-ruby/blob/master/ChangeLog
125
+ changelog_uri: https://github.com/algolia/algoliasearch-client-ruby/blob/master/CHANGELOG.md
126
126
  documentation_uri: http://www.rubydoc.info/gems/algoliasearch
127
127
  homepage_uri: https://www.algolia.com/doc/api-client/ruby/getting-started/
128
128
  source_code_uri: https://github.com/algolia/algoliasearch-client-ruby
data/ChangeLog DELETED
@@ -1,281 +0,0 @@
1
- 2018-05-07 1.20.0
2
- * Feat: deprecate api keys methods on index in favor of client ones (#286)
3
- * Chore(gemfile): remove useless dependencies (#280)
4
- * Fix(env): adding default env var (#279)
5
- * Chore(travis): test against rubinius 3 (#281)
6
- * Fix: prevent saving a rule with an empty objectid (#283)
7
-
8
- 2018-04-03 1.19.2
9
- * Fix Algolia.delete_index wrong number of arguments (#277)
10
-
11
- 2017-12-18 1.19.1
12
- * Fix hard dependency on `hashdiff` (#262)
13
-
14
- 2017-12-15 1.19.0
15
- * Add request options to any method using API calls (#213)
16
- * Add export_synonyms index method (#260)
17
- * Add export_rules index method (#261)
18
-
19
- 2017-12-07 1.18.5
20
- * Fix missing requirement
21
-
22
- 2017-12-06 1.18.4
23
- * Remove remaining unnecessary requirements (#256)
24
- * Remove Gemfile.lock (#257)
25
-
26
- 2017-12-04 1.18.3
27
- * Remove Bundler and RubyGems requirements (#253)
28
-
29
- 2017-11-28 1.18.2
30
- * Add (undocumented) gzip option to disable gzip (#240)
31
-
32
- 2017-11-15 1.18.1
33
- * Fix get_logs always returning type `all` (#244)
34
- * New scopes to copy_index method (#243)
35
-
36
- 2017-11-02 1.18.0
37
- * Allow to reuse the webmocks using `Algolia::WebMock.mock!` (#256)
38
-
39
- 2017-10-10 1.17.0
40
- * New delete_by method
41
-
42
- 2017-09-14 1.16.0
43
- * New Query Rules API
44
-
45
- 2017-08-17 1.15.1
46
- * Fixed regression introduced in 1.15.0
47
-
48
- 2017-08-17 1.15.0
49
- * Make delete_by_query not wait_task by default (also, make it mockable)
50
- * Add a new delete_by_query! doing the last wait_task
51
-
52
- 2017-07-31 1.14.0
53
- * Ability to override the underlying user-agent
54
-
55
- 2017-03-17 1.13.0
56
- * Add a `index.get_task_status(taskID)` method (#199)
57
-
58
- 2017-03-01 1.12.7
59
- * Renamed all `*_user_key` methods to `*_api_key`
60
-
61
- 2017-01-25 1.12.6
62
- * Upgraded `httpclient` to 2.8.3
63
-
64
- 2016-12-07 1.12.5
65
- * Fixed retry strategy not keeping the `current_host` first #163
66
-
67
- 2016-12-07 1.12.4
68
- * Fix DNS tests
69
-
70
- 2016-12-06 1.12.3
71
- * Allow for multiple clients on different app ids on the same thread
72
-
73
- 2016-12-05 1.12.2
74
- * Fix client scoped methods
75
-
76
- 2016-11-25 1.12.1
77
- * Rename `search_facet` to `search_for_facet_values`
78
-
79
- 2016-10-31 1.12.0
80
- * Add `search_facet`
81
-
82
- 2016-08-21 1.11.0
83
- * Upgraded to httpclient 2.8.1 to avoid reseting the keep-alive while changing timeouts
84
-
85
- 2016-07-11 1.10.0
86
- * `{get,set}_settings` now take optional custom query parameters
87
-
88
- 2016-06-17 1.9.0
89
- * New synonyms API
90
-
91
- 2016-04-14 1.8.1
92
- * Ensure we're using an absolute path for the `ca-bundle.crt` file (could fix some `OpenSSL::X509::StoreError: system lib` errors)
93
-
94
- 2016-04-06 1.8.0
95
- * Upgraded to httpclient 2.7.1 (includes ruby 2.3.0 deprecation fixes)
96
- * Upgraded WebMock URLs
97
-
98
- 2016-01-09 1.7.0
99
- * New generate_secured_api_key embedding the filters in the resulting key
100
-
101
- 2015-08-01 1.6.1
102
- * Search queries are now using POST requests
103
-
104
- 2015-07-19 1.6.0
105
- * Ability to instantiate multiple API clients in the same process (was using a class variable before).
106
-
107
- 2015-07-14 1.5.1
108
- * Ability to retrieve a single page from a cursor with `browse_from`
109
-
110
- 2015-06-05 1.5.0
111
- * New cursor-based browse() implementation taking query parameters
112
-
113
- 2015-05-27 1.4.3
114
- * Do not call `WebMock.disable!` in the helper
115
-
116
- 2015-05-04 1.4.2
117
- * Add new methods to add/update api key
118
- * Add batch method to target multiple indices
119
- * Add strategy parameter for the multipleQueries
120
- * Add new method to generate secured api key from query parameters
121
-
122
- 2015-04-10 1.4.1
123
- * Force the default connect/read/write/search/batch timeouts to Algolia-specific values
124
-
125
- 2015-03-17 1.4.0
126
- * High-available DNS: search queries are now targeting "APPID-DSN.algolia.net" first, then the main cluster using NSOne, then the main cluster using Route53.
127
- Indexing queries are targeting "APPID.algolia.net" first, then the main cluster using NSOne, then the main cluster using Route53.
128
-
129
- 2014-11-29 1.3.1
130
- * Fixed wrong deployed version (1.3.0 was based on 1.2.13 instead of 1.2.14)
131
-
132
- 2014-11-29 1.3.0
133
- * Use algolia.net domain instead of algolia.io
134
-
135
- 2014-11-10 1.2.14
136
- * Force the underlying httpclient dependency to be >= 2.4 in the gemspec as well
137
- * Ability to force the SSL version
138
-
139
- 2014-10-22 1.2.13
140
- * Fix the loop on hosts to retry when the http code is different than 200, 201, 400, 403, 404
141
-
142
- 2014-10-08 1.2.12
143
-
144
- * Upgrade to httpclient 2.4
145
- * Do not reset the timeout on each requests
146
-
147
- 2014-09-14 1.2.11
148
-
149
- * Ability to update API keys
150
-
151
- 2014-08-22 1.2.10
152
-
153
- * Using Digest to remove "Digest::Digest is deprecated; Use Digest" warning (author: @dglancy)
154
-
155
- 2014-07-10 1.2.9
156
-
157
- * Expose connect_timeout, receive_timeout and send_timeout
158
- * Add new 'delete_by_query' method to delete all objects matching a specific query
159
- * Add new 'get_objects' method to retrieve a list of objects from a single API call
160
- * Add a helper to perform disjunctive faceting
161
-
162
- 2014-03-27 1.2.8
163
-
164
- * Catch all exceptions before retrying with another host
165
-
166
- 2014-03-24 1.2.7
167
-
168
- * Ruby 1.8 compatibility
169
-
170
- 2014-03-19 1.2.6
171
-
172
- * Raise an exception if no APPLICATION_ID is provided
173
- * Ability to get last API call errors
174
- * Ability to send multiple queries using a single API call
175
- * Secured API keys generation is now based on secured HMAC-SHA256
176
-
177
- 2014-02-24 1.2.5
178
-
179
- * Ability to generate secured API key from a list of tags + optional user_token
180
- * Ability to specify a list of indexes targeted by the user key
181
-
182
- 2014-02-21 1.2.4
183
-
184
- * Added delete_objects
185
-
186
- 2014-02-10 1.2.3
187
-
188
- * add_object: POST request if objectID is nil OR empty
189
-
190
- 2014-01-11 1.2.2
191
-
192
- * Expose batch requests
193
-
194
- 2014-01-07 1.2.1
195
-
196
- * Removed 'jeweler' since it doesn't support platform specific deps (see https://github.com/technicalpickles/jeweler/issues/170)
197
-
198
- 2014-01-07 1.2.0
199
-
200
- * Removed 'curb' dependency and switched on 'httpclient' to avoid fork-safety issue (see issue #5)
201
-
202
- 2014-01-06 1.1.18
203
-
204
- * Fixed batch request builder (broken since last refactoring)
205
-
206
- 2014-01-02 1.1.17
207
-
208
- * Ability to use IP rate limit behind a proxy forwarding the end-user's IP
209
- * Add documentation for the new 'attributeForDistinct' setting and 'distinct' search parameter
210
-
211
- 2013-12-16 1.1.16
212
-
213
- * Add arguments type-checking
214
- * Normalize save_object/partial_update/add_object signatures
215
- * Force dependencies versions
216
-
217
- 2013-12-16 1.1.15
218
-
219
- * Embed ca-bundle.crt
220
-
221
- 2013-12-11 1.1.14
222
-
223
- * Added index.add_user_key(acls, validity, rate_limit, maxApiCalls)
224
-
225
- 2013-12-10 1.1.13
226
-
227
- * WebMock integration
228
-
229
- 2013-12-05 1.1.12
230
-
231
- * Add browse command
232
-
233
- 2013-11-29 1.1.11
234
-
235
- * Remove rubysl (rbx required dependencies)
236
-
237
- 2013-11-29 1.1.10
238
-
239
- * Fixed gzip handling bug
240
-
241
- 2013-11-28 1.1.9
242
-
243
- * Added gzip support
244
-
245
- 2013-11-26 1.1.8
246
-
247
- * Add partial_update_objects method
248
-
249
- 2013-11-08 1.1.7
250
-
251
- * Search params: encode array-based parameters (tagFilters, facetFilters, ...)
252
-
253
- 2013-11-07 1.1.6
254
-
255
- * Index: clear and clear! methods can now be used the delete the whole content of an index
256
- * User keys: plug new maxQueriesPerIPPerHour and maxHitsPerQuery parameters
257
-
258
- 2013-10-17 1.1.5
259
-
260
- * Version is now part of the user-agent
261
-
262
- 2013-10-17 1.1.4
263
-
264
- * Fixed wait_task not sleeping at all
265
-
266
- 2013-10-15 1.1.3
267
-
268
- * Fixed thread-safety issues. - Curl sessions are now thread-local
269
-
270
- 2013-10-02 1.1.2
271
-
272
- * Fixed instance/class method conflict
273
-
274
- 2013-10-01 1.1.1
275
-
276
- * Updated documentation
277
- * Plug copy/move index
278
-
279
- 2013-09-17 1.1.0
280
-
281
- * Initial import