amocrm 0.5.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de81b8e9eea16505e62605261294414cfeaa34a64c106fb7b32e8ed7440c86f7
4
- data.tar.gz: 1e3c5480c2421d6fd2a64b1cd86c961bd483ecb7b7d958f4b8a41d676d195467
3
+ metadata.gz: 66acee276094f8c7ad6f9967fa8dbb719e724e11b594481e9213fc6b8392e46f
4
+ data.tar.gz: db9ee940b0c22fa31e7d66d45a650f659af433809a181144f37bf7d8f5562442
5
5
  SHA512:
6
- metadata.gz: d93f496737acc252f1abc66a149628830023bade36389bf68c93cb6523ecc4e95c72912c33314365bf200376256bcbdf99e6db2a160a9b9ea62da223c38d5918
7
- data.tar.gz: caed3f26edffb1727290ca3421975633a424b1872e865934e819871c6087eb77dd2ceb3d5ddae4155ee77cbd1b9cd00b77b66196e2f0206e8b2fcde2ced8a588
6
+ metadata.gz: 61bc0137157d30bedfbd13d6c4f17c37cac9f9c8bc4170074694d5b31686f8223362fdb942d4ac340f25deaa21caf47152280f3412b168e2177e360ec8ffee45
7
+ data.tar.gz: bc62370d449f64aca43c42de080e402fb03134b61079d8a7f4c080b42ab26fac8042dc1b4c5d2489cb6d6f2c597feeeabdb35057a9adc526c99f0914806d5ab3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1 (2026-02-06)
4
+
5
+ Full Changelog: [v0.5.0...v0.5.1](https://github.com/Hexlet/amocrm-ruby/compare/v0.5.0...v0.5.1)
6
+
3
7
  ## 0.5.0 (2026-02-06)
4
8
 
5
9
  Full Changelog: [v0.4.0...v0.5.0](https://github.com/Hexlet/amocrm-ruby/compare/v0.4.0...v0.5.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "amocrm", "~> 0.5.0"
18
+ gem "amocrm", "~> 0.5.1"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -272,7 +272,9 @@ module Amocrm
272
272
  #
273
273
  # @return [Hash{String=>Array<String>}]
274
274
  def decode_query(query)
275
- CGI.parse(query.to_s)
275
+ URI.decode_www_form(query.to_s).each_with_object(Hash.new { _1[_2] = [] }) do |(key, value), acc|
276
+ acc[key] << value
277
+ end
276
278
  end
277
279
 
278
280
  # @api private
@@ -485,7 +487,7 @@ module Amocrm
485
487
  end
486
488
 
487
489
  # @type [Regexp]
488
- JSON_CONTENT = %r{^application/(?:vnd(?:\.[^.]+)*\+)?json(?!l)}
490
+ JSON_CONTENT = %r{^application/(?:[a-z0-9.-]+\+)?json(?!l)}
489
491
  # @type [Regexp]
490
492
  JSONL_CONTENT = %r{^application/(:?x-(?:n|l)djson)|(:?(?:x-)?jsonl)}
491
493
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Amocrm
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amocrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amocrm