algolia 2.3.3 → 2.3.4

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: '0492459cd5b8a7ddc8abba6d658c1d4c5a5c8ddedbdc16ea2a8e8395588ae1ba'
4
- data.tar.gz: e0d522ddb114dddf1fbb578b5c8a56a23d6b4a1c717aa30e4c86512a67b96d82
3
+ metadata.gz: d62b0de820a85fc4e78522751cb8ebea6aae9ed3ec3093be279b1bc8e3c8b562
4
+ data.tar.gz: 25f6506b67a2331391bcb3cb5d59cefd65265c9c07d89b0d01cf208c743c9859
5
5
  SHA512:
6
- metadata.gz: c919b2855a50b42a1a01e832e0ef4560cb852a540dee2ca969af328413e042e1b70dda29543721cdd3c823fab024da1059704d6c525a5e0d359bff5d605846d0
7
- data.tar.gz: 418cdc6b559ef6a591bacc3808fa079a5442089249f4097a84630631320d9d5d80a4e786567d706231c8a868b8ca05c306c5cd98f28615cda855275e19c31f8c
6
+ metadata.gz: 548d4e0344b4b7157d652ee0fa095735ee40d473c726c4e68149bdc0451088ea64cc1e857d369ca2e94a9ea2036ccb072e95774fc3e5fde71fc4d0d9cb07de36
7
+ data.tar.gz: 70297bf2011eeddbb2320cb44ede56fd55876268c9dc4e9edff2babb11c0b1ef5be44c18b175a59b3d4e7c1da1802c808858aa5ef715e0cd3f79a805809cf3ca
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.2..master)
4
4
 
5
- ## [2.3.2](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.2...2.3.3) (2023-11-14)
5
+ ## [2.3.4](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.3...2.3.4) (2023-11-27)
6
+ ### Fixed
7
+ - Fixes issue with index name encoding for certain characters.
8
+
9
+ ## [2.3.3](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.2...2.3.3) (2023-11-14)
6
10
  ### Fixed
7
11
  - Fixed issue with connection caching for faulty hosts that accept similar requests ([`#496`](https://github.com/algolia/algoliasearch-client-ruby/pull/496))
8
12
 
@@ -44,7 +44,7 @@ module Helpers
44
44
  def path_encode(path, *args)
45
45
  arguments = []
46
46
  args.each do |arg|
47
- arguments.push(CGI.escape(CGI.unescape(arg.to_s)))
47
+ arguments.push(CGI.escape(arg.to_s))
48
48
  end
49
49
 
50
50
  format(path, *arguments)
@@ -1,3 +1,3 @@
1
1
  module Algolia
2
- VERSION = '2.3.3'.freeze
2
+ VERSION = '2.3.4'.freeze
3
3
  end
@@ -40,6 +40,10 @@ class HelpersTest
40
40
  deserialized_settings = deserialize_settings(old_settings, false)
41
41
  assert_equal new_settings, deserialized_settings
42
42
  end
43
+
44
+ def test_path_encode
45
+ assert_equal path_encode('/1/indexes/%s/settings', 'premium+ some_name'), '/1/indexes/premium%2B+some_name/settings'
46
+ end
43
47
  end
44
48
 
45
49
  describe 'test hash_includes_subset' do
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.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -333,7 +333,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
333
  - !ruby/object:Gem::Version
334
334
  version: '0'
335
335
  requirements: []
336
- rubygems_version: 3.2.15
336
+ rubygems_version: 3.0.3.1
337
337
  signing_key:
338
338
  specification_version: 4
339
339
  summary: A simple Ruby client for the algolia.com REST API