algoliasearch 1.27.0 → 1.27.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: 9036ce666897c7cfb05a637b80ffcebc26a08560ac655bca29f0bbaa631aa2e6
4
- data.tar.gz: 39a1e847147a3d9f08fa529045abaec8725d95c7cb4f8a496646c0b2dd25f9d4
3
+ metadata.gz: aae19d372c42117c6544a94ca9ded95f57099c0a2e5f223478c114c77464f76b
4
+ data.tar.gz: 7733b7db42953625b43385f5909cd8b6562fa0a4cae1dead9c086d629f06d74f
5
5
  SHA512:
6
- metadata.gz: db1d480cc1aa22bf2c2ea547740ab905440928dab50680afb21998bffa9b6ffd29aef6dda35a0263bf5c4a61c398a7d6e260c045efe636fc1a0dbc781dd15b44
7
- data.tar.gz: 22e70e7d376ca9ef5fca68e13b381eedd854afef4d315a2d2e18c6c2b64562e2d1952d8a17dad309171bc33dc489728004cbf9bc668fd39fc6d4e81a18bc2aa8
6
+ metadata.gz: c749292cf92f463b85a1f9b1c19d6a1d394708954e0f06a8086173f37d048344ed0272df1ccb642c0dd5a10ddb2c1549bc3c5c5b21a53d50553df1173980ad72
7
+ data.tar.gz: 78474507aeba9e2098ed5d44f970d50ef2acecc8adaa51127cbffadaa3dcf70e37e56288cc0f1f7c5d0c3ae4ee2cc7b53484c37ca98cbc6fb6fff4de7acc707a
@@ -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**
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algoliasearch (1.26.1)
4
+ algoliasearch (1.27.0)
5
5
  httpclient (~> 2.8, >= 2.8.3)
6
6
  json (>= 1.5.1)
7
7
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Algolia
2
- VERSION = "1.27.0"
2
+ VERSION = "1.27.1"
3
3
  end
@@ -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.0
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-16 00:00:00.000000000 Z
11
+ date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient