gibbon 4.0.1 → 4.1.0

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: 421fe35f5c093158bac5d59d0a684325e8b77888257b6758fd805d9c86608520
4
- data.tar.gz: cd15c1fa018171363d7fe32c6dddbe14e14985ed02ca1cbdcb313240e39c1640
3
+ metadata.gz: 436a4854363f5450432eba62cf6dc7c214872eda807d2da8c6a26189898c39dd
4
+ data.tar.gz: cf8885a3ced45944a4857b72c3b5361bd9a3529e2b5314884307b9b6b98edff0
5
5
  SHA512:
6
- metadata.gz: 0da6bfbdd8f9bff5ffbeac3943f3c3f571204b9a38869dfa2e75cba7bc1ba2863aa7dcdcb82e3167b54ed9dd0222d118a7b74606b2d7d8f92ec8fc8681529d24
7
- data.tar.gz: 0ff34fa92007f022b7faf7368cf1285ed995efa43e964b0328928e8c466bc1661d0cdc0a32f0fed612e4cb5d54deaba74dfdfecae5dc264e4215ddb4bfc39ddf
6
+ metadata.gz: dc714f8a5d5782b42fbafd96c88b3e09922a3fb12ce07d3689365ceb71b84f86baa40be5ae5a5743f130128092b3cf0e0f81498f0ea05a1e6d9965879b0ce4a5
7
+ data.tar.gz: c53724a213f8b63976250f2c18ca7643e0057eeeb4102101a9d2c1eb810acbc9c52b88a66ee8599c3be09d7f47714c4f9c618e6b64ec28f307adc937fa09d299
@@ -8,7 +8,7 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: ['3.1', '3.2', '3.3', '3.4', '4.0']
11
+ ruby: ['3.2', '3.3', '3.4', '4.0']
12
12
  steps:
13
13
  - uses: actions/checkout@v5
14
14
  - uses: ruby/setup-ruby@v1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [4.1.0] - 2026-11-02
2
+ - Require Ruby 3.2+ (drops support for EOL Ruby 3.1)
3
+ - Require `multi_json` 1.21.2+, whose JSON adapter supports `json` 3.x, and remove the `json < 3.0` constraint added in 4.0.1
4
+ - Update CI matrix to Ruby 3.2 through 4.0
5
+
1
6
  ## [4.0.1] - 2026-10-23
2
7
  - Honor explicit `false` instance overrides for `symbolize_keys` and `debug`, while preserving class defaults for omitted options and `nil`.
3
8
  - Constrain `json` to versions below 3.0 to preserve compatibility with the `multi_json` adapter available on Ruby 3.1.
data/README.markdown CHANGED
@@ -24,7 +24,7 @@ gem "gibbon"
24
24
 
25
25
  ## Requirements
26
26
 
27
- * **Ruby 3.1 or newer.** Gibbon 4.0 dropped support for Ruby 2.4 through 3.0.
27
+ * **Ruby 3.2 or newer.** Gibbon 4.1 dropped support for Ruby 3.1; Gibbon 4.0 dropped support for Ruby 2.4 through 3.0.
28
28
  * A MailChimp account and API key. You can see your API keys [here](https://admin.mailchimp.com/account/api).
29
29
 
30
30
  Gibbon depends on [Faraday](https://github.com/lostisland/faraday) (both 1.x and 2.x are supported) and [MultiJson](https://github.com/intridea/multi_json). Connections to MailChimp negotiate TLS 1.2 or newer.
@@ -508,6 +508,13 @@ Gibbon also raises `Gibbon::MailChimpError` when a *successful* response body is
508
508
 
509
509
  Full release history lives in the [CHANGELOG](CHANGELOG.md). The breaking changes are summarized here.
510
510
 
511
+ ### Upgrading to 4.1
512
+
513
+ Gibbon 4.1 contains no API changes. It changes what it runs on:
514
+
515
+ * **Ruby 3.2 or newer is required.** Ruby 3.1 is EOL and is no longer supported. If you are on Ruby 3.1, stay on Gibbon 4.0.1.
516
+ * **MultiJson 1.21.2 or newer is required**, and Gibbon no longer constrains the `json` gem. This lets you use `json` 3.x.
517
+
511
518
  ### Upgrading to 4.0
512
519
 
513
520
  Gibbon 4.0 contains no API changes. It changes what it runs on:
data/gibbon.gemspec CHANGED
@@ -23,13 +23,11 @@ Gem::Specification.new do |s|
23
23
  s.files = `git ls-files`.split("\n")
24
24
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
25
  s.require_paths = ["lib"]
26
- s.required_ruby_version = '>= 3.1.0'
26
+ s.required_ruby_version = '>= 3.2.0'
27
27
 
28
28
  s.add_dependency('faraday', '>= 1.0')
29
- s.add_dependency('multi_json', '>= 1.11.0')
30
- # Ruby 3.1 uses multi_json <= 1.19.1, whose JSON adapter passes options
31
- # positionally. JSON 3 requires keyword arguments.
32
- s.add_dependency('json', '< 3.0')
29
+ # 1.21.2 is the first release whose JSON adapter supports json 3.x.
30
+ s.add_dependency('multi_json', '>= 1.21.2')
33
31
 
34
32
  s.add_development_dependency 'rake'
35
33
  s.add_development_dependency "rspec", "~> 3.13"
@@ -1,4 +1,4 @@
1
1
  module Gibbon
2
2
  # The released version of the gem.
3
- VERSION = "4.0.1"
3
+ VERSION = "4.1.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gibbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amro Mousa
@@ -29,28 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.11.0
32
+ version: 1.21.2
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 1.11.0
40
- - !ruby/object:Gem::Dependency
41
- name: json
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: '3.0'
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "<"
52
- - !ruby/object:Gem::Version
53
- version: '3.0'
39
+ version: 1.21.2
54
40
  - !ruby/object:Gem::Dependency
55
41
  name: rake
56
42
  requirement: !ruby/object:Gem::Requirement
@@ -159,14 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
145
  requirements:
160
146
  - - ">="
161
147
  - !ruby/object:Gem::Version
162
- version: 3.1.0
148
+ version: 3.2.0
163
149
  required_rubygems_version: !ruby/object:Gem::Requirement
164
150
  requirements:
165
151
  - - ">="
166
152
  - !ruby/object:Gem::Version
167
153
  version: '0'
168
154
  requirements: []
169
- rubygems_version: 4.0.20
155
+ rubygems_version: 4.0.23
170
156
  specification_version: 4
171
157
  summary: A wrapper for MailChimp API 3.0
172
158
  test_files: []