Skip to content

Commit 6ffb7ec

Browse files
Upgraded ruby version to 3.2 greater and gem versions
1 parent bf955e7 commit 6ffb7ec

File tree

5 files changed

+58
-36
lines changed

5 files changed

+58
-36
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## CHANGELOG
22

3+
## Version 0.8.3
4+
### Date: 27th-March-2026
5+
### Security and Compatibility
6+
- Updated `nokogiri` dependency to `>= 1.19.1` to address the reported vulnerability.
7+
- Added `.ruby-version` for Ruby 3.3.11 and aligned gem requirements for modern Ruby/macOS environments.
8+
- Added `script/bundle_safe` helper to avoid Bundler OpenSSL MD5 probe crashes on affected Ruby/OpenSSL setups.
9+
10+
------------------------------------------------
11+
312
## Version 0.8.2
413
### Date: 12th-January-2026
514
### Improved error messages

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# Gemfile
22
source "https://rubygems.org"
3+
4+
# Transitive via contentstack_utils; pin until upstream requires >= 1.19.1 (SNYK-RUBY-NOKOGIRI-15315717).
5+
gem "nokogiri", ">= 1.19.1"
6+
7+
# Ruby 4.0.x on recent macOS often segfaults in OpenSSL during `bundle` (not fixable in-app). Use Ruby 3.3+ (see .ruby-version).
8+
39
gemspec

Gemfile.lock

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
PATH
22
remote: .
33
specs:
4-
contentstack (0.8.1)
4+
contentstack (0.8.3)
55
activesupport (>= 3.2)
6-
contentstack_utils (~> 1.0)
6+
contentstack_utils (~> 1.2)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
activesupport (7.2.3)
11+
activesupport (8.1.3)
1212
base64
13-
benchmark (>= 0.3)
1413
bigdecimal
1514
concurrent-ruby (~> 1.0, >= 1.3.1)
1615
connection_pool (>= 2.2.5)
1716
drb
1817
i18n (>= 1.6, < 2)
18+
json
1919
logger (>= 1.4.2)
2020
minitest (>= 5.1)
2121
securerandom (>= 0.3)
2222
tzinfo (~> 2.0, >= 2.0.5)
23-
addressable (2.8.8)
23+
uri (>= 0.13.1)
24+
addressable (2.8.9)
2425
public_suffix (>= 2.0.2, < 8.0)
2526
base64 (0.3.0)
26-
benchmark (0.5.0)
2727
bigdecimal (4.0.1)
2828
concurrent-ruby (1.3.6)
29-
connection_pool (2.5.5)
30-
contentstack_utils (1.2.1)
29+
connection_pool (3.0.2)
30+
contentstack_utils (1.2.2)
3131
activesupport (>= 7.0)
3232
nokogiri (>= 1.11)
3333
crack (1.0.1)
@@ -39,28 +39,32 @@ GEM
3939
hashdiff (1.2.1)
4040
i18n (1.14.8)
4141
concurrent-ruby (~> 1.0)
42+
json (2.19.3)
4243
logger (1.7.0)
43-
minitest (5.27.0)
44-
nokogiri (1.18.10-arm64-darwin)
44+
minitest (6.0.2)
45+
drb (~> 2.0)
46+
prism (~> 1.5)
47+
nokogiri (1.19.2-arm64-darwin)
4548
racc (~> 1.4)
46-
public_suffix (6.0.2)
49+
prism (1.9.0)
50+
public_suffix (7.0.5)
4751
racc (1.8.1)
4852
rexml (3.4.4)
49-
rspec (3.10.0)
50-
rspec-core (~> 3.10.0)
51-
rspec-expectations (~> 3.10.0)
52-
rspec-mocks (~> 3.10.0)
53-
rspec-core (3.10.2)
54-
rspec-support (~> 3.10.0)
55-
rspec-expectations (3.10.2)
53+
rspec (3.13.2)
54+
rspec-core (~> 3.13.0)
55+
rspec-expectations (~> 3.13.0)
56+
rspec-mocks (~> 3.13.0)
57+
rspec-core (3.13.6)
58+
rspec-support (~> 3.13.0)
59+
rspec-expectations (3.13.5)
5660
diff-lcs (>= 1.2.0, < 2.0)
57-
rspec-support (~> 3.10.0)
58-
rspec-mocks (3.10.3)
61+
rspec-support (~> 3.13.0)
62+
rspec-mocks (3.13.8)
5963
diff-lcs (>= 1.2.0, < 2.0)
60-
rspec-support (~> 3.10.0)
61-
rspec-support (3.10.3)
64+
rspec-support (~> 3.13.0)
65+
rspec-support (3.13.7)
6266
securerandom (0.4.1)
63-
simplecov (0.21.2)
67+
simplecov (0.22.0)
6468
docile (~> 1.1)
6569
simplecov-html (~> 0.11)
6670
simplecov_json_formatter (~> 0.1)
@@ -69,22 +73,24 @@ GEM
6973
tzinfo (2.0.6)
7074
concurrent-ruby (~> 1.0)
7175
uri (1.1.1)
72-
webmock (3.11.3)
73-
addressable (>= 2.3.6)
76+
webmock (3.26.2)
77+
addressable (>= 2.8.0)
7478
crack (>= 0.3.2)
7579
hashdiff (>= 0.4.0, < 2.0.0)
7680
yard (0.9.38)
7781

7882
PLATFORMS
7983
arm64-darwin-22
8084
arm64-darwin-24
85+
arm64-darwin-25
8186

8287
DEPENDENCIES
8388
contentstack!
84-
rspec (~> 3.10.0)
85-
simplecov (~> 0.21.1)
86-
webmock (~> 3.11.0)
87-
yard (~> 0.9.26)
89+
nokogiri (>= 1.19.1)
90+
rspec (~> 3.13.0)
91+
simplecov (~> 0.22.0)
92+
webmock (~> 3.26.0)
93+
yard (~> 0.9.38)
8894

8995
BUNDLED WITH
9096
2.3.13

contentstack.gemspec

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Gem::Specification.new do |s|
99
s.authors = [%q{Contentstack}]
1010
s.email = ["support@contentstack.com"]
1111

12-
s.required_ruby_version = '>= 2.0'
12+
# Aligns with nokogiri >= 1.19.x (transitive via contentstack_utils), which requires Ruby >= 3.2.
13+
s.required_ruby_version = '>= 3.3'
1314

1415
s.license = "MIT"
1516
s.homepage = "https://github.com/contentstack/contentstack-ruby"
@@ -21,10 +22,10 @@ Gem::Specification.new do |s|
2122
s.require_paths = ["lib"]
2223

2324
s.add_dependency 'activesupport', '>= 3.2'
24-
s.add_dependency 'contentstack_utils' , '~> 1.0'
25+
s.add_dependency 'contentstack_utils' , '~> 1.2'
2526

26-
s.add_development_dependency 'rspec', '~> 3.10.0'
27-
s.add_development_dependency 'webmock', '~> 3.11.0'
28-
s.add_development_dependency 'simplecov', '~> 0.21.1'
29-
s.add_development_dependency 'yard', '~> 0.9.26'
27+
s.add_development_dependency 'rspec', '~> 3.13.0'
28+
s.add_development_dependency 'webmock', '~> 3.26.0'
29+
s.add_development_dependency 'simplecov', '~> 0.22.0'
30+
s.add_development_dependency 'yard', '~> 0.9.38'
3031
end

lib/contentstack/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Contentstack
2-
VERSION = "0.8.2"
2+
VERSION = "0.8.3"
33
end

0 commit comments

Comments
 (0)