amocrm 0.5.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66acee276094f8c7ad6f9967fa8dbb719e724e11b594481e9213fc6b8392e46f
4
- data.tar.gz: db9ee940b0c22fa31e7d66d45a650f659af433809a181144f37bf7d8f5562442
3
+ metadata.gz: cfef5e79dcdf0b387cb55e51c8aa72af1482503df4ac088bd02a2cf3714adf66
4
+ data.tar.gz: '09f72bffa2406af1cb560be1c0a01d157bf110bc72adf4eb507f66450cd17ec6'
5
5
  SHA512:
6
- metadata.gz: 61bc0137157d30bedfbd13d6c4f17c37cac9f9c8bc4170074694d5b31686f8223362fdb942d4ac340f25deaa21caf47152280f3412b168e2177e360ec8ffee45
7
- data.tar.gz: bc62370d449f64aca43c42de080e402fb03134b61079d8a7f4c080b42ab26fac8042dc1b4c5d2489cb6d6f2c597feeeabdb35057a9adc526c99f0914806d5ab3
6
+ metadata.gz: c1778d45d3212d8dccf9c972b69e46af80cb95d99c03752d31a259c4c19bee47e38da967afadffec58b484de0e63bf471a454c4d0c9ff43487583ce0610d5c69
7
+ data.tar.gz: f48f6549f3a156b3775aa3b65244e94a10ca978e22dc3a5028bf9bc40bac6074c38b81c10247f36712b570d29e11ba4d6ff43e16c7aac6cd41521d521e35eb95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 0.5.1 (2026-02-06)
4
12
 
5
13
  Full Changelog: [v0.5.0...v0.5.1](https://github.com/Hexlet/amocrm-ruby/compare/v0.5.0...v0.5.1)
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.1"
18
+ gem "amocrm", "~> 0.5.2"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Amocrm
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
@@ -296,7 +296,7 @@ module Amocrm
296
296
  end
297
297
 
298
298
  JSON_CONTENT =
299
- T.let(%r{^application/(?:vnd(?:\.[^.]+)*\+)?json(?!l)}, Regexp)
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.1
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-06 00:00:00.000000000 Z
11
+ date: 2026-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi