algoliasearch 1.27.0 → 1.27.1
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/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/index.rb +5 -0
- data/lib/algolia/version.rb +1 -1
- data/spec/client_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aae19d372c42117c6544a94ca9ded95f57099c0a2e5f223478c114c77464f76b
|
4
|
+
data.tar.gz: 7733b7db42953625b43385f5909cd8b6562fa0a4cae1dead9c086d629f06d74f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c749292cf92f463b85a1f9b1c19d6a1d394708954e0f06a8086173f37d048344ed0272df1ccb642c0dd5a10ddb2c1549bc3c5c5b21a53d50553df1173980ad72
|
7
|
+
data.tar.gz: 78474507aeba9e2098ed5d44f970d50ef2acecc8adaa51127cbffadaa3dcf70e37e56288cc0f1f7c5d0c3ae4ee2cc7b53484c37ca98cbc6fb6fff4de7acc707a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# ChangeLog
|
2
2
|
|
3
|
+
## [1.27.1](https://github.com/algolia/algoliasearch-client-ruby/compare/1.27.0...1.27.1) (2019-09-26)
|
4
|
+
|
5
|
+
**Fixed**
|
6
|
+
|
7
|
+
* Update `Algolia::Index.exists` method to `Algolia::Index.exists?`. [364](https://github.com/algolia/algoliasearch-client-ruby/issues/364)
|
8
|
+
|
3
9
|
## [1.27.0](https://github.com/algolia/algoliasearch-client-ruby/releases/tag/1.27.0) (2019-09-16)
|
4
10
|
|
5
11
|
**Added**
|
data/Gemfile.lock
CHANGED
data/lib/algolia/index.rb
CHANGED
@@ -1295,6 +1295,11 @@ module Algolia
|
|
1295
1295
|
return true
|
1296
1296
|
end
|
1297
1297
|
|
1298
|
+
#
|
1299
|
+
# Aliases the exists method
|
1300
|
+
#
|
1301
|
+
alias :exists? :exists
|
1302
|
+
|
1298
1303
|
# Deprecated
|
1299
1304
|
alias_method :get_user_key, :get_api_key
|
1300
1305
|
alias_method :list_user_keys, :list_api_keys
|
data/lib/algolia/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
@@ -177,12 +177,12 @@ describe 'Client' do
|
|
177
177
|
|
178
178
|
it "should tell if index exists" do
|
179
179
|
@index.add_object!({ :name => "John Doe", :email => "john@doe.org" }, "1")
|
180
|
-
expect(@index.exists).to be true
|
180
|
+
expect(@index.exists?).to be true
|
181
181
|
end
|
182
182
|
|
183
183
|
it "should tell if index does not exist" do
|
184
184
|
index = Algolia::Index.new('nonexistent_index')
|
185
|
-
expect(index.exists).to be false
|
185
|
+
expect(index.exists?).to be false
|
186
186
|
end
|
187
187
|
|
188
188
|
it "should add a simple object" do
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|