From 6a74b56bea95d65c89d0ea13d20c23aa87a2d731 Mon Sep 17 00:00:00 2001 From: NADEEM Mo Date: Thu, 17 Jul 2025 14:38:31 +0530 Subject: [PATCH 1/4] Added support for ruby 3.4.4 and activesupport 8.0.2 --- .github/workflows/main.yml | 2 +- .ruby-version | 2 +- ja2r.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3d4cfa..87e7acb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - activesupport: ['6.1', '7.0', '7.1', '7.2'] + activesupport: ['6.1', '7.0', '7.1', '7.2', '8.0'] ruby: ['3.1', '3.2', '3.3', '3.4'] steps: - uses: actions/checkout@v2 diff --git a/.ruby-version b/.ruby-version index 4d9d11c..f989260 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.4.2 +3.4.4 diff --git a/ja2r.gemspec b/ja2r.gemspec index 08c7a06..2a1c846 100644 --- a/ja2r.gemspec +++ b/ja2r.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE', 'README.md'] - s.add_dependency 'activesupport', '>= 6.1', '< 8.0' + s.add_dependency 'activesupport', '>= 6.1', '<= 8.0.2' s.metadata['rubygems_mfa_required'] = 'true' end From b23a2f1e4ff8e9288ad27ef5aee8c89c24b798d6 Mon Sep 17 00:00:00 2001 From: NADEEM Mo Date: Mon, 21 Jul 2025 10:22:35 +0530 Subject: [PATCH 2/4] fix: change version --- ja2r.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja2r.gemspec b/ja2r.gemspec index 2a1c846..32ae935 100644 --- a/ja2r.gemspec +++ b/ja2r.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE', 'README.md'] - s.add_dependency 'activesupport', '>= 6.1', '<= 8.0.2' + s.add_dependency 'activesupport', '>= 6.1', '< 9.0' s.metadata['rubygems_mfa_required'] = 'true' end From 5b76e5f64a5f7f2388ae12590d4f17fd4beec328 Mon Sep 17 00:00:00 2001 From: NADEEM Mo Date: Thu, 24 Jul 2025 21:27:01 +0530 Subject: [PATCH 3/4] fix: change activesupport upper bound to 8.1 --- ja2r.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja2r.gemspec b/ja2r.gemspec index 32ae935..1b36efe 100644 --- a/ja2r.gemspec +++ b/ja2r.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE', 'README.md'] - s.add_dependency 'activesupport', '>= 6.1', '< 9.0' + s.add_dependency 'activesupport', '>= 6.1', '< 8.1' s.metadata['rubygems_mfa_required'] = 'true' end From 041ef2373465007920f03ced565b37d2263eb204 Mon Sep 17 00:00:00 2001 From: NADEEM Mo Date: Mon, 28 Jul 2025 15:59:17 +0530 Subject: [PATCH 4/4] removed support for ruby 3.1 --- .github/workflows/main.yml | 2 +- .rubocop.yml | 2 +- ja2r.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87e7acb..a5bbcd4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: activesupport: ['6.1', '7.0', '7.1', '7.2', '8.0'] - ruby: ['3.1', '3.2', '3.3', '3.4'] + ruby: ['3.2', '3.3', '3.4'] steps: - uses: actions/checkout@v2 - name: Set up Ruby diff --git a/.rubocop.yml b/.rubocop.yml index b56139f..451eecf 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ AllCops: NewCops: enable - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.2 Layout/LineLength: Max: 120 diff --git a/ja2r.gemspec b/ja2r.gemspec index 1b36efe..cbad0f3 100644 --- a/ja2r.gemspec +++ b/ja2r.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/mkon/ja2r' s.summary = 'Simple JSON-API to ruby object conversion' s.license = 'MIT' - s.required_ruby_version = '>= 3.1', '< 3.5' + s.required_ruby_version = '>= 3.2', '< 3.5' s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE', 'README.md']