amocrm 0.5.0 → 0.5.2
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 +12 -0
- data/README.md +1 -1
- data/lib/amocrm/internal/util.rb +4 -2
- data/lib/amocrm/version.rb +1 -1
- data/rbi/amocrm/internal/util.rbi +1 -1
- 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: cfef5e79dcdf0b387cb55e51c8aa72af1482503df4ac088bd02a2cf3714adf66
|
|
4
|
+
data.tar.gz: '09f72bffa2406af1cb560be1c0a01d157bf110bc72adf4eb507f66450cd17ec6'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1778d45d3212d8dccf9c972b69e46af80cb95d99c03752d31a259c4c19bee47e38da967afadffec58b484de0e63bf471a454c4d0c9ff43487583ce0610d5c69
|
|
7
|
+
data.tar.gz: f48f6549f3a156b3775aa3b65244e94a10ca978e22dc3a5028bf9bc40bac6074c38b81c10247f36712b570d29e11ba4d6ff43e16c7aac6cd41521d521e35eb95
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.2 (2026-02-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.5.1...v0.5.2](https://github.com/Hexlet/amocrm-ruby/compare/v0.5.1...v0.5.2)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **client:** loosen json header parsing ([b2969f0](https://github.com/Hexlet/amocrm-ruby/commit/b2969f03cdd70e6690cb1b6767c8a7b453da4d49))
|
|
10
|
+
|
|
11
|
+
## 0.5.1 (2026-02-06)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.5.0...v0.5.1](https://github.com/Hexlet/amocrm-ruby/compare/v0.5.0...v0.5.1)
|
|
14
|
+
|
|
3
15
|
## 0.5.0 (2026-02-06)
|
|
4
16
|
|
|
5
17
|
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
data/lib/amocrm/internal/util.rb
CHANGED
|
@@ -272,7 +272,9 @@ module Amocrm
|
|
|
272
272
|
#
|
|
273
273
|
# @return [Hash{String=>Array<String>}]
|
|
274
274
|
def decode_query(query)
|
|
275
|
-
|
|
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/(?:
|
|
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
|
|
data/lib/amocrm/version.rb
CHANGED
|
@@ -296,7 +296,7 @@ module Amocrm
|
|
|
296
296
|
end
|
|
297
297
|
|
|
298
298
|
JSON_CONTENT =
|
|
299
|
-
T.let(%r{^application/(?:
|
|
299
|
+
T.let(%r{^application/(?:[a-zA-Z0-9.-]+\+)?json(?!l)}, Regexp)
|
|
300
300
|
JSONL_CONTENT =
|
|
301
301
|
T.let(%r{^application/(:?x-(?:n|l)djson)|(:?(?:x-)?jsonl)}, Regexp)
|
|
302
302
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amocrm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amocrm
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|