algoliasearch 1.27.3 → 1.27.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +29 -38
- data/README.md +5 -0
- data/lib/algolia/account_client.rb +1 -1
- data/lib/algolia/version.rb +1 -1
- data/spec/account_client_spec.rb +3 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d05a0e17139977680099b2b1e1ee1e0901834ad0aeb20f8061a54d9f74def4d9
|
4
|
+
data.tar.gz: ad1178bb101f66b3dafb95d2e17f40abd6efa1593482b9d7ddd8965d73afbcf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfc4fce2c92ca1aa22a814ca43051070600be031227dda2667348eea5ae6e0392c73534b35daf6b1966e6fdb6b380a1bc60d21a4669b3da6d6e6493901ebe330
|
7
|
+
data.tar.gz: acb939243bb56bb478ee96fd842b201631d39847296a51cf39e610420b2f5abd7d523bd1141b90eef0fa2dc0f2196f7936eca5417389b0a435299b1b98043cb4
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## [1.27.4](https://github.com/algolia/algoliasearch-client-ruby/compare/1.27.3...1.27.4) (2020-09-16)
|
6
|
+
|
7
|
+
**Fixed**
|
8
|
+
|
9
|
+
* Retrieve all objects when using `copy_index` from `AccountClient` class ([399](https://github.com/algolia/algoliasearch-client-ruby/pull/399))
|
10
|
+
|
5
11
|
## [1.27.3](https://github.com/algolia/algoliasearch-client-ruby/compare/1.27.2...1.27.3) (2020-06-03)
|
6
12
|
|
7
13
|
**Fixed**
|
data/Gemfile.lock
CHANGED
@@ -8,48 +8,41 @@ PATH
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (5.2.4.3)
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>= 0.7, < 2)
|
14
|
-
minitest (~> 5.1)
|
15
|
-
tzinfo (~> 1.1)
|
16
11
|
addressable (2.7.0)
|
17
12
|
public_suffix (>= 2.0.2, < 5.0)
|
18
|
-
|
13
|
+
backports (3.18.2)
|
14
|
+
connection_pool (2.2.3)
|
19
15
|
crack (0.4.3)
|
20
16
|
safe_yaml (~> 1.0.0)
|
21
|
-
diff-lcs (1.
|
17
|
+
diff-lcs (1.4.4)
|
22
18
|
docile (1.3.2)
|
23
19
|
ethon (0.12.0)
|
24
20
|
ffi (>= 1.3.0)
|
25
|
-
faraday (
|
21
|
+
faraday (0.17.3)
|
26
22
|
multipart-post (>= 1.2, < 3)
|
27
|
-
faraday_middleware (
|
28
|
-
faraday (
|
29
|
-
ffi (1.13.
|
23
|
+
faraday_middleware (0.14.0)
|
24
|
+
faraday (>= 0.7.4, < 1.0)
|
25
|
+
ffi (1.13.1)
|
30
26
|
ffi2-generators (0.1.1)
|
31
|
-
gh (0.
|
32
|
-
|
33
|
-
|
34
|
-
faraday (~>
|
35
|
-
faraday_middleware (~> 1.0)
|
27
|
+
gh (0.14.0)
|
28
|
+
addressable
|
29
|
+
backports
|
30
|
+
faraday (~> 0.8)
|
36
31
|
multi_json (~> 1.0)
|
37
|
-
net-http-persistent (
|
32
|
+
net-http-persistent (>= 2.7)
|
38
33
|
net-http-pipeline
|
39
34
|
hashdiff (1.0.1)
|
40
|
-
highline (
|
35
|
+
highline (1.7.10)
|
41
36
|
httpclient (2.8.3)
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
addressable (~> 2.3)
|
47
|
-
minitest (5.14.1)
|
48
|
-
multi_json (1.14.1)
|
37
|
+
json (2.3.1)
|
38
|
+
launchy (2.5.0)
|
39
|
+
addressable (~> 2.7)
|
40
|
+
multi_json (1.15.0)
|
49
41
|
multipart-post (2.1.1)
|
50
|
-
net-http-persistent (
|
42
|
+
net-http-persistent (4.0.0)
|
43
|
+
connection_pool (~> 2.2)
|
51
44
|
net-http-pipeline (1.0.1)
|
52
|
-
public_suffix (4.0.
|
45
|
+
public_suffix (4.0.6)
|
53
46
|
pusher-client (0.6.2)
|
54
47
|
json
|
55
48
|
websocket (~> 1.0)
|
@@ -271,24 +264,21 @@ GEM
|
|
271
264
|
rubysl-yaml (2.1.0)
|
272
265
|
rubysl-zlib (2.0.1)
|
273
266
|
safe_yaml (1.0.5)
|
274
|
-
simplecov (0.
|
267
|
+
simplecov (0.19.0)
|
275
268
|
docile (~> 1.1)
|
276
269
|
simplecov-html (~> 0.11)
|
277
270
|
simplecov-html (0.12.2)
|
278
|
-
|
279
|
-
|
280
|
-
faraday (~>
|
281
|
-
faraday_middleware (~>
|
271
|
+
travis (1.8.13)
|
272
|
+
backports
|
273
|
+
faraday (~> 0.9)
|
274
|
+
faraday_middleware (~> 0.9, >= 0.9.1)
|
282
275
|
gh (~> 0.13)
|
283
|
-
highline (~>
|
284
|
-
|
285
|
-
launchy (~> 2.1, < 2.5.0)
|
276
|
+
highline (~> 1.6)
|
277
|
+
launchy (~> 2.1)
|
286
278
|
pusher-client (~> 0.4)
|
287
279
|
typhoeus (~> 0.6, >= 0.6.8)
|
288
280
|
typhoeus (0.8.0)
|
289
281
|
ethon (>= 0.8.0)
|
290
|
-
tzinfo (1.2.7)
|
291
|
-
thread_safe (~> 0.1)
|
292
282
|
webmock (3.8.3)
|
293
283
|
addressable (>= 2.3.6)
|
294
284
|
crack (>= 0.3.2)
|
@@ -300,6 +290,7 @@ PLATFORMS
|
|
300
290
|
|
301
291
|
DEPENDENCIES
|
302
292
|
algoliasearch!
|
293
|
+
gh (<= 0.14.0)
|
303
294
|
rake
|
304
295
|
rdoc
|
305
296
|
rspec (>= 2.5.0)
|
@@ -309,4 +300,4 @@ DEPENDENCIES
|
|
309
300
|
webmock
|
310
301
|
|
311
302
|
BUNDLED WITH
|
312
|
-
|
303
|
+
1.17.2
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
<a href="https://discourse.algolia.com" target="_blank">Community Forum</a> •
|
19
19
|
<a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> •
|
20
20
|
<a href="https://github.com/algolia/algoliasearch-client-ruby/issues" target="_blank">Report a bug</a> •
|
21
|
+
<a href="https://www.algolia.com/doc/api-client/troubleshooting/faq/ruby/" target="_blank">FAQ</a> •
|
21
22
|
<a href="https://www.algolia.com/support" target="_blank">Support</a>
|
22
23
|
</p>
|
23
24
|
|
@@ -51,6 +52,10 @@ objects = index.search('Fo')
|
|
51
52
|
|
52
53
|
For full documentation, visit the **[Algolia Ruby API Client](https://www.algolia.com/doc/api-client/getting-started/install/ruby/)**.
|
53
54
|
|
55
|
+
## ❓ Troubleshooting
|
56
|
+
|
57
|
+
Encountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/api-client/troubleshooting/faq/ruby/) where you will find answers for the most common issues and gotchas with the client.
|
58
|
+
|
54
59
|
## 📄 License
|
55
60
|
|
56
61
|
Algolia Ruby API Client is an open-sourced software licensed under the [MIT license](LICENSE.md).
|
data/lib/algolia/version.rb
CHANGED
data/spec/account_client_spec.rb
CHANGED
@@ -47,9 +47,7 @@ describe 'Account client' do
|
|
47
47
|
|
48
48
|
it 'should perform a cross app copy index and assert that destination must not exist' do
|
49
49
|
|
50
|
-
@index_1.save_objects!
|
51
|
-
{:objectID => 'one'},
|
52
|
-
])
|
50
|
+
@index_1.save_objects!(1.upto(1500).map { |i| { :objectID => i, :i => i } })
|
53
51
|
|
54
52
|
@index_1.batch_rules! ([
|
55
53
|
{
|
@@ -67,9 +65,8 @@ describe 'Account client' do
|
|
67
65
|
|
68
66
|
Algolia::AccountClient.copy_index!(@index_1, @index_3)
|
69
67
|
|
70
|
-
res = @index_3.search('')
|
71
|
-
res['nbHits'].should eq(
|
72
|
-
res['hits'][0]['objectID'].should eq('one')
|
68
|
+
res = @index_3.search('')
|
69
|
+
res['nbHits'].should eq(1500)
|
73
70
|
|
74
71
|
res = @index_3.search_rules('')['hits']
|
75
72
|
res.size.should eq(1)
|
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.27.
|
4
|
+
version: 1.27.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.0.
|
148
|
+
rubygems_version: 3.0.4
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: A simple Ruby client for the algolia.com REST API
|