algolia 2.0.0.pre.beta.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.dockerignore +38 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +23 -0
- data/DOCKER_README.MD +89 -0
- data/Dockerfile +7 -0
- data/README.md +22 -10
- data/SECURITY.md +3 -0
- data/algolia.gemspec +6 -6
- data/lib/algolia/config/base_config.rb +7 -7
- data/lib/algolia/helpers.rb +5 -3
- data/lib/algolia/search_client.rb +3 -3
- data/lib/algolia/search_index.rb +1 -1
- data/lib/algolia/transport/request_options.rb +1 -1
- data/lib/algolia/transport/transport.rb +2 -5
- data/lib/algolia/version.rb +1 -1
- data/test/algolia/unit/helpers_test.rb +20 -1
- data/upgrade_guide.md +1 -1
- metadata +22 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40d3c378e402c5b99ccc924d79c5c9872d6737b1eaae852351b550a591d09ad9
|
4
|
+
data.tar.gz: 70d32a655666b9058f9c764d77051d03527abbbc52b0217320b03fe5cb1db78e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22fc03fda8e648f7dea09eb475462ea3f6502cceba01b8860c31e2c5c98a2556191f235907bd7fbd0d9e9d45ed5b9692cc791f7f9dada888fa022c33e766697d
|
7
|
+
data.tar.gz: a8f099bd900239517cc13b91928272450947a528979d29b1aa9b455dd25703415aaa9ef2bdd0970f3a1ed657a709e2445c586d78707b726a2089da06260aabdf
|
data/.dockerignore
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# rspec failure tracking
|
2
|
+
.rspec_status
|
3
|
+
|
4
|
+
## MAC OS
|
5
|
+
.DS_Store
|
6
|
+
.idea/
|
7
|
+
|
8
|
+
## TEXTMATE
|
9
|
+
*.tmproj
|
10
|
+
tmtags
|
11
|
+
|
12
|
+
## EMACS
|
13
|
+
*~
|
14
|
+
\#*
|
15
|
+
.\#*
|
16
|
+
|
17
|
+
## VIM
|
18
|
+
*.swp
|
19
|
+
|
20
|
+
## PROJECT::GENERAL
|
21
|
+
coverage
|
22
|
+
rdoc
|
23
|
+
pkg
|
24
|
+
.rvmrc
|
25
|
+
/.bundle/
|
26
|
+
/.yardoc
|
27
|
+
/_yardoc/
|
28
|
+
/coverage/
|
29
|
+
/doc/
|
30
|
+
/pkg/
|
31
|
+
/spec/reports/
|
32
|
+
/tmp/
|
33
|
+
|
34
|
+
## PROJECT::SPECIFIC
|
35
|
+
spec/integration_spec_conf.rb
|
36
|
+
data.sqlite3
|
37
|
+
|
38
|
+
debug.log
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# ChangeLog
|
2
|
+
|
3
|
+
## [Unreleased](https://github.com/algolia/algoliasearch-client-ruby/compare/2.0.3...master)
|
4
|
+
|
5
|
+
## [2.0.3](https://github.com/algolia/algoliasearch-client-ruby/compare/2.0.2...2.0.3) (2020-11-24)
|
6
|
+
|
7
|
+
### Chore
|
8
|
+
- Containerize the repo
|
9
|
+
|
10
|
+
## [2.0.2](https://github.com/algolia/algoliasearch-client-ruby/compare/2.0.1...2.0.2) (2020-11-09)
|
11
|
+
|
12
|
+
### Fix
|
13
|
+
- Don't mutate index name on stripping
|
14
|
+
|
15
|
+
## [2.0.1](https://github.com/algolia/algoliasearch-client-ruby/compare/2.0.0...2.0.1) (2020-11-02)
|
16
|
+
|
17
|
+
### Fix
|
18
|
+
- Simplify merge of headers in `Transport` class
|
19
|
+
- `deserialize_settings` function to take into account `symbolize_keys` parameter
|
20
|
+
|
21
|
+
## [2.0.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/2.0.0) (2020-10-27)
|
22
|
+
|
23
|
+
* Initial release of v2
|
data/DOCKER_README.MD
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
In this page you will find our recommended way of installing Docker on your machine.
|
2
|
+
This guide is made for OSX users.
|
3
|
+
|
4
|
+
## Install docker
|
5
|
+
|
6
|
+
First install Docker using [Homebrew](https://brew.sh/)
|
7
|
+
```
|
8
|
+
$ brew install docker
|
9
|
+
```
|
10
|
+
|
11
|
+
You can then install [Docker Desktop](https://docs.docker.com/get-docker/) if you wish, or use `docker-machine`. As we prefer the second option, we will only document this one.
|
12
|
+
|
13
|
+
## Setup your docker
|
14
|
+
|
15
|
+
Install `docker-machine`
|
16
|
+
```
|
17
|
+
$ brew install docker-machine
|
18
|
+
```
|
19
|
+
|
20
|
+
Then install [VirtualBox](https://www.virtualbox.org/) with [Homebrew Cask](https://github.com/Homebrew/homebrew-cask) to get a driver for your Docker machine
|
21
|
+
```
|
22
|
+
$ brew cask install virtualbox
|
23
|
+
```
|
24
|
+
|
25
|
+
You may need to enter your password and authorize the application in your `System Settings` > `Security & Privacy`.
|
26
|
+
|
27
|
+
Create now a new machine, set it up as default and connect your shell to it (here we use zsh. The commands should anyway be displayed in each steps' output)
|
28
|
+
|
29
|
+
```
|
30
|
+
$ docker-machine create --driver virtualbox default
|
31
|
+
$ docker-machine env default
|
32
|
+
$ eval "$(docker-machine env default)"
|
33
|
+
```
|
34
|
+
|
35
|
+
Now you're all setup to use our provided Docker image!
|
36
|
+
|
37
|
+
## Build the image
|
38
|
+
|
39
|
+
```bash
|
40
|
+
docker build -t algolia-ruby .
|
41
|
+
```
|
42
|
+
|
43
|
+
## Run the image
|
44
|
+
|
45
|
+
You need to provide few environment variables at runtime to be able to run the [Common Test Suite](https://github.com/algolia/algoliasearch-client-specs/tree/master/common-test-suite).
|
46
|
+
You can set them up directly in the command:
|
47
|
+
|
48
|
+
```bash
|
49
|
+
docker run -it --rm --env ALGOLIA_APP_ID=XXXXXX [...] -v $PWD:/app -w /app algolia-ruby bash
|
50
|
+
```
|
51
|
+
|
52
|
+
However, we advise you to export them in your `.bashrc` or `.zshrc`. That way, you can use [Docker's shorten syntax](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file) to set your variables.
|
53
|
+
|
54
|
+
```bash
|
55
|
+
### For external contributors, only the following env variables should be enough
|
56
|
+
docker run -it --rm --env ALGOLIA_APPLICATION_ID_1 \
|
57
|
+
--env ALGOLIA_ADMIN_KEY_1 \
|
58
|
+
--env ALGOLIA_SEARCH_KEY_1 \
|
59
|
+
-v $PWD:/app -w /app algolia-ruby bash
|
60
|
+
|
61
|
+
### This is needed only to run the full test suite
|
62
|
+
docker run -it --rm --env ALGOLIA_APPLICATION_ID_1 \
|
63
|
+
--env ALGOLIA_ADMIN_KEY_1 \
|
64
|
+
--env ALGOLIA_SEARCH_KEY_1 \
|
65
|
+
--env ALGOLIA_APPLICATION_ID_2 \
|
66
|
+
--env ALGOLIA_ADMIN_KEY_2 \
|
67
|
+
--env ALGOLIA_APPLICATION_ID_MCM \
|
68
|
+
--env ALGOLIA_ADMIN_KEY_MCM \
|
69
|
+
-v $PWD:/app -w /app algolia-ruby bash
|
70
|
+
```
|
71
|
+
|
72
|
+
Once your container is running, any changes you make in your IDE are directly reflected in the container.
|
73
|
+
|
74
|
+
To launch the tests, you can use one of the following commands
|
75
|
+
```shell script
|
76
|
+
# run only the unit tests
|
77
|
+
bundle exec rake test:unit
|
78
|
+
|
79
|
+
# run only the integration tests
|
80
|
+
bundle exec rake test:integration
|
81
|
+
|
82
|
+
# run the whole test suite
|
83
|
+
bundle exec rake test:all
|
84
|
+
|
85
|
+
# run a single test
|
86
|
+
bundle exec rake test TEST=/full/path/to/test.rb TESTOPTS="--name=test_name"
|
87
|
+
```
|
88
|
+
|
89
|
+
Feel free to contact us if you have any questions.
|
data/Dockerfile
ADDED
data/README.md
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your Ruby project</h4>
|
7
7
|
|
8
8
|
<p align="center">
|
9
|
-
<a href="https://circleci.com/gh/algolia/algoliasearch-client-ruby
|
10
|
-
<a href="https://rubygems.org/gems/
|
11
|
-
<a href="https://rubygems.org/gems/
|
9
|
+
<a href="https://circleci.com/gh/algolia/algoliasearch-client-ruby"><img src="https://circleci.com/gh/algolia/algoliasearch-client-ruby.svg?style=shield" alt="CircleCI" /></a>
|
10
|
+
<a href="https://rubygems.org/gems/algolia"><img src="https://badge.fury.io/rb/algolia.svg" alt="Gem Version"></a>
|
11
|
+
<a href="https://rubygems.org/gems/algolia"><img src="https://img.shields.io/badge/licence-MIT-blue.svg" alt="License"></a>
|
12
12
|
</p>
|
13
13
|
</p>
|
14
14
|
|
@@ -18,39 +18,51 @@
|
|
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
|
|
24
25
|
## ✨ Features
|
25
26
|
|
26
27
|
- Thin & minimal low-level HTTP client to interact with Algolia's API
|
27
|
-
- Supports Ruby `^
|
28
|
+
- Supports Ruby `^2.2`.
|
28
29
|
|
29
30
|
## 💡 Getting Started
|
30
31
|
|
31
32
|
First, install Algolia Ruby API Client via the [RubyGems](https://rubygems.org/) package manager:
|
32
33
|
```bash
|
33
|
-
gem install
|
34
|
+
gem install algolia
|
34
35
|
```
|
35
36
|
|
36
37
|
Then, create objects on your index:
|
37
38
|
|
38
39
|
|
39
40
|
```ruby
|
40
|
-
Algolia.
|
41
|
-
|
42
|
-
index = Algolia::Index.new('your_index_name')
|
41
|
+
client = Algolia::Search::Client.create('YourApplicationID', 'YourAPIKey')
|
42
|
+
index = client.init_index('your_index_name')
|
43
43
|
|
44
|
-
index.save_objects([objectID:
|
44
|
+
index.save_objects([objectID: 1, name: 'Foo'])
|
45
45
|
```
|
46
46
|
|
47
47
|
Finally, you may begin searching a object using the `search` method:
|
48
48
|
```ruby
|
49
|
-
objects = index.search('
|
49
|
+
objects = index.search('Foo')
|
50
50
|
```
|
51
51
|
|
52
52
|
For full documentation, visit the **[Algolia Ruby API Client](https://www.algolia.com/doc/api-client/getting-started/install/ruby/)**.
|
53
53
|
|
54
|
+
## ❓ Troubleshooting
|
55
|
+
|
56
|
+
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.
|
57
|
+
|
58
|
+
## Upgrade from V1 to V2
|
59
|
+
|
60
|
+
If you were using the v1 and wish to update to v2, please follow our [Upgrade Guide](upgrade_guide.md)
|
61
|
+
|
62
|
+
## Use the Dockerfile
|
63
|
+
|
64
|
+
If you want to contribute to this project without installing all its dependencies, you can use our Docker image. Please check our [dedicated guide](DOCKER_README.MD) to learn more.
|
65
|
+
|
54
66
|
## 📄 License
|
55
67
|
|
56
68
|
Algolia Ruby API Client is an open-sourced software licensed under the [MIT license](LICENSE.md).
|
data/SECURITY.md
ADDED
data/algolia.gemspec
CHANGED
@@ -12,14 +12,14 @@ Gem::Specification.new do |spec|
|
|
12
12
|
|
13
13
|
spec.date = Date.today
|
14
14
|
spec.licenses = ['MIT']
|
15
|
-
spec.summary = 'A simple Ruby client for the algolia.com REST API
|
16
|
-
spec.description = '
|
17
|
-
spec.homepage = 'https://github.com/algolia/algoliasearch-client-ruby
|
15
|
+
spec.summary = 'A simple Ruby client for the algolia.com REST API'
|
16
|
+
spec.description = 'A simple Ruby client for the algolia.com REST API'
|
17
|
+
spec.homepage = 'https://github.com/algolia/algoliasearch-client-ruby'
|
18
18
|
|
19
19
|
spec.metadata = {
|
20
20
|
'bug_tracker_uri' => 'https://github.com/algolia/algoliasearch-client-ruby/issues',
|
21
|
-
'documentation_uri' => '
|
22
|
-
'source_code_uri' => 'https://github.com/algolia/algoliasearch-client-ruby
|
21
|
+
'documentation_uri' => 'https://www.algolia.com/doc/api-client/getting-started/install/ruby',
|
22
|
+
'source_code_uri' => 'https://github.com/algolia/algoliasearch-client-ruby'
|
23
23
|
}
|
24
24
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency 'rake'
|
36
36
|
spec.add_development_dependency 'rubocop', '<= 0.82.0'
|
37
37
|
|
38
|
-
spec.add_dependency 'faraday', '
|
38
|
+
spec.add_dependency 'faraday', ['>= 0.15', '< 2.0']
|
39
39
|
spec.add_dependency 'multi_json', '~> 1.0'
|
40
40
|
spec.add_dependency 'net-http-persistent'
|
41
41
|
|
@@ -3,7 +3,7 @@ require 'faraday'
|
|
3
3
|
module Algolia
|
4
4
|
class BaseConfig
|
5
5
|
attr_accessor :app_id, :api_key, :headers, :batch_size, :read_timeout, :write_timeout, :connect_timeout, :compression_type,
|
6
|
-
:symbolize_keys
|
6
|
+
:symbolize_keys, :use_latest_settings
|
7
7
|
|
8
8
|
#
|
9
9
|
# @option options [String] :application_id
|
@@ -28,12 +28,12 @@ module Algolia
|
|
28
28
|
'User-Agent' => UserAgent.value
|
29
29
|
}
|
30
30
|
|
31
|
-
@batch_size
|
32
|
-
@read_timeout
|
33
|
-
@write_timeout
|
34
|
-
@connect_timeout
|
35
|
-
@compression_type
|
36
|
-
@symbolize_keys
|
31
|
+
@batch_size = opts[:batch_size] || Defaults::BATCH_SIZE
|
32
|
+
@read_timeout = opts[:read_timeout] || Defaults::READ_TIMEOUT
|
33
|
+
@write_timeout = opts[:write_timeout] || Defaults::WRITE_TIMEOUT
|
34
|
+
@connect_timeout = opts[:connect_timeout] || Defaults::CONNECT_TIMEOUT
|
35
|
+
@compression_type = opts[:compression_type] || Defaults::NONE_ENCODING
|
36
|
+
@symbolize_keys = opts.has_key?(:symbolize_keys) ? opts[:symbolize_keys] : true
|
37
37
|
end
|
38
38
|
|
39
39
|
def set_extra_header(key, value)
|
data/lib/algolia/helpers.rb
CHANGED
@@ -52,8 +52,8 @@ module Helpers
|
|
52
52
|
|
53
53
|
# Support to convert old settings to their new names
|
54
54
|
#
|
55
|
-
def deserialize_settings(data)
|
56
|
-
settings =
|
55
|
+
def deserialize_settings(data, symbolize_keys)
|
56
|
+
settings = data
|
57
57
|
keys = {
|
58
58
|
attributesToIndex: 'searchableAttributes',
|
59
59
|
numericAttributesToIndex: 'numericAttributesForFiltering',
|
@@ -61,8 +61,10 @@ module Helpers
|
|
61
61
|
}
|
62
62
|
|
63
63
|
keys.each do |deprecated_key, current_key|
|
64
|
+
deprecated_key = symbolize_keys ? deprecated_key : deprecated_key.to_s
|
64
65
|
if settings.has_key?(deprecated_key)
|
65
|
-
|
66
|
+
key = symbolize_keys ? current_key.to_sym : current_key.to_s
|
67
|
+
settings[key] = settings.delete(deprecated_key)
|
66
68
|
end
|
67
69
|
end
|
68
70
|
|
@@ -90,11 +90,11 @@ module Algolia
|
|
90
90
|
# @return [Index] new Index instance
|
91
91
|
#
|
92
92
|
def init_index(index_name)
|
93
|
-
index_name.strip
|
94
|
-
if
|
93
|
+
stripped_index_name = index_name.strip
|
94
|
+
if stripped_index_name.empty?
|
95
95
|
raise AlgoliaError, 'Please provide a valid index name'
|
96
96
|
end
|
97
|
-
Index.new(
|
97
|
+
Index.new(stripped_index_name, @transporter, @config)
|
98
98
|
end
|
99
99
|
|
100
100
|
# List all indexes of the client
|
data/lib/algolia/search_index.rb
CHANGED
@@ -976,7 +976,7 @@ module Algolia
|
|
976
976
|
def get_settings(opts = {})
|
977
977
|
response = @transporter.read(:GET, path_encode('/1/indexes/%s/settings', @name) + handle_params({ getVersion: 2 }), {}, opts)
|
978
978
|
|
979
|
-
deserialize_settings(response)
|
979
|
+
deserialize_settings(response, @config.symbolize_keys)
|
980
980
|
end
|
981
981
|
|
982
982
|
# Update some index settings. Only specified settings are overridden
|
@@ -127,15 +127,12 @@ module Algolia
|
|
127
127
|
|
128
128
|
# Generates headers from config headers and optional parameters
|
129
129
|
#
|
130
|
-
# @
|
130
|
+
# @param request_options [RequestOptions]
|
131
131
|
#
|
132
132
|
# @return [Hash] merged headers
|
133
133
|
#
|
134
134
|
def generate_headers(request_options = {})
|
135
|
-
headers
|
136
|
-
extra_headers = request_options.headers || {}
|
137
|
-
@config.headers.each { |key, val| headers[key.to_s] = val }
|
138
|
-
extra_headers.each { |key, val| headers[key.to_s] = val }
|
135
|
+
headers = @config.headers.merge(request_options.headers)
|
139
136
|
if request_options.compression_type == Defaults::GZIP_ENCODING
|
140
137
|
headers['Accept-Encoding'] = Defaults::GZIP_ENCODING
|
141
138
|
end
|
data/lib/algolia/version.rb
CHANGED
@@ -18,7 +18,26 @@ class HelpersTest
|
|
18
18
|
replicas: %w(index1 index2)
|
19
19
|
}
|
20
20
|
|
21
|
-
deserialized_settings = deserialize_settings(old_settings)
|
21
|
+
deserialized_settings = deserialize_settings(old_settings, true)
|
22
|
+
assert_equal new_settings, deserialized_settings
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_deserialize_settings_with_string
|
26
|
+
old_settings = {
|
27
|
+
'attributesToIndex' => %w(attr1 attr2),
|
28
|
+
'numericAttributesToIndex' => %w(attr1 attr2),
|
29
|
+
'slaves' => %w(index1 index2),
|
30
|
+
'minWordSizefor1Typo' => 1
|
31
|
+
}
|
32
|
+
|
33
|
+
new_settings = {
|
34
|
+
'searchableAttributes' => %w(attr1 attr2),
|
35
|
+
'numericAttributesForFiltering' => %w(attr1 attr2),
|
36
|
+
'replicas' => %w(index1 index2),
|
37
|
+
'minWordSizefor1Typo' => 1
|
38
|
+
}
|
39
|
+
|
40
|
+
deserialized_settings = deserialize_settings(old_settings, false)
|
22
41
|
assert_equal new_settings, deserialized_settings
|
23
42
|
end
|
24
43
|
end
|
data/upgrade_guide.md
CHANGED
@@ -229,7 +229,7 @@ client.search_user_ids('query', {clusterName: 'my-cluster', hitPerPage: 12, page
|
|
229
229
|
#### `pending_mappings`
|
230
230
|
New method to check the status of your clusters' migration or user creation.
|
231
231
|
```ruby
|
232
|
-
client.
|
232
|
+
client.pending_mappings?({ retrieveMappings: true })
|
233
233
|
```
|
234
234
|
|
235
235
|
#### `get_logs`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,16 +56,22 @@ dependencies:
|
|
56
56
|
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.15'
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '2.0'
|
62
65
|
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
68
71
|
version: '0.15'
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '2.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: multi_json
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,8 +184,7 @@ dependencies:
|
|
178
184
|
- - ">="
|
179
185
|
- !ruby/object:Gem::Version
|
180
186
|
version: '0'
|
181
|
-
description:
|
182
|
-
Please keep on using the algoliasearch gem in the meantime.
|
187
|
+
description: A simple Ruby client for the algolia.com REST API
|
183
188
|
email:
|
184
189
|
- support@algolia.com
|
185
190
|
executables: []
|
@@ -187,16 +192,21 @@ extensions: []
|
|
187
192
|
extra_rdoc_files: []
|
188
193
|
files:
|
189
194
|
- ".circleci/config.yml"
|
195
|
+
- ".dockerignore"
|
190
196
|
- ".github/ISSUE_TEMPLATE.md"
|
191
197
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
192
198
|
- ".gitignore"
|
193
199
|
- ".rubocop.yml"
|
194
200
|
- ".rubocop_todo.yml"
|
201
|
+
- CHANGELOG.md
|
195
202
|
- CODE_OF_CONDUCT.md
|
203
|
+
- DOCKER_README.MD
|
204
|
+
- Dockerfile
|
196
205
|
- Gemfile
|
197
206
|
- LICENSE
|
198
207
|
- README.md
|
199
208
|
- Rakefile
|
209
|
+
- SECURITY.md
|
200
210
|
- Steepfile
|
201
211
|
- algolia.gemspec
|
202
212
|
- bin/console
|
@@ -271,13 +281,13 @@ files:
|
|
271
281
|
- test/algolia/unit/user_agent_test.rb
|
272
282
|
- test/test_helper.rb
|
273
283
|
- upgrade_guide.md
|
274
|
-
homepage: https://github.com/algolia/algoliasearch-client-ruby
|
284
|
+
homepage: https://github.com/algolia/algoliasearch-client-ruby
|
275
285
|
licenses:
|
276
286
|
- MIT
|
277
287
|
metadata:
|
278
288
|
bug_tracker_uri: https://github.com/algolia/algoliasearch-client-ruby/issues
|
279
|
-
documentation_uri:
|
280
|
-
source_code_uri: https://github.com/algolia/algoliasearch-client-ruby
|
289
|
+
documentation_uri: https://www.algolia.com/doc/api-client/getting-started/install/ruby
|
290
|
+
source_code_uri: https://github.com/algolia/algoliasearch-client-ruby
|
281
291
|
post_install_message:
|
282
292
|
rdoc_options: []
|
283
293
|
require_paths:
|
@@ -289,14 +299,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
289
299
|
version: '0'
|
290
300
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
301
|
requirements:
|
292
|
-
- - "
|
302
|
+
- - ">="
|
293
303
|
- !ruby/object:Gem::Version
|
294
|
-
version:
|
304
|
+
version: '0'
|
295
305
|
requirements: []
|
296
306
|
rubygems_version: 3.0.3
|
297
307
|
signing_key:
|
298
308
|
specification_version: 4
|
299
|
-
summary: A simple Ruby client for the algolia.com REST API
|
309
|
+
summary: A simple Ruby client for the algolia.com REST API
|
300
310
|
test_files:
|
301
311
|
- test/algolia/integration/account_client_test.rb
|
302
312
|
- test/algolia/integration/analytics_client_test.rb
|