From fe21e83c40c026e40cf4efba13ef3a1b9154d44e Mon Sep 17 00:00:00 2001 From: alex501212 Date: Fri, 23 Aug 2024 11:08:29 +0100 Subject: [PATCH 1/3] updated ruby gems for ruby3 --- configs/components/rubygem-aws-partitions.rb | 4 ++-- configs/components/rubygem-aws-sdk-core.rb | 4 ++-- configs/components/rubygem-aws-sdk-ec2.rb | 4 ++-- configs/components/rubygem-concurrent-ruby.rb | 1 + configs/components/rubygem-getoptlong.rb | 4 ++-- configs/components/rubygem-highline.rb | 14 +++++--------- configs/components/rubygem-minitar.rb | 4 ++-- configs/components/rubygem-nori.rb | 9 +++++++-- configs/components/rubygem-public_suffix.rb | 11 ++++++++--- configs/components/rubygem-winrm.rb | 9 +++++++-- 10 files changed, 38 insertions(+), 26 deletions(-) diff --git a/configs/components/rubygem-aws-partitions.rb b/configs/components/rubygem-aws-partitions.rb index 6551c9e68..02c4f7073 100644 --- a/configs/components/rubygem-aws-partitions.rb +++ b/configs/components/rubygem-aws-partitions.rb @@ -1,6 +1,6 @@ component "rubygem-aws-partitions" do |pkg, settings, platform| - pkg.version "1.960.0" - pkg.md5sum "c8b0c649c7a00c79e0af4272debbd8f9" + pkg.version "1.963.0" + pkg.md5sum "0d6e7affa0c506b848b23ba996977267" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-aws-sdk-core.rb b/configs/components/rubygem-aws-sdk-core.rb index 757bf232a..e6b283713 100644 --- a/configs/components/rubygem-aws-sdk-core.rb +++ b/configs/components/rubygem-aws-sdk-core.rb @@ -1,6 +1,6 @@ component "rubygem-aws-sdk-core" do |pkg, settings, platform| - pkg.version "3.201.3" - pkg.md5sum "4513d88fdfb723a7395290c3d54f9019" + pkg.version "3.201.4" + pkg.md5sum "3601b6fc8e1e45060c2f5dabb5d5f067" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-aws-sdk-ec2.rb b/configs/components/rubygem-aws-sdk-ec2.rb index 66d303907..4d8b1bf59 100644 --- a/configs/components/rubygem-aws-sdk-ec2.rb +++ b/configs/components/rubygem-aws-sdk-ec2.rb @@ -1,6 +1,6 @@ component "rubygem-aws-sdk-ec2" do |pkg, settings, platform| - pkg.version "1.467.0" - pkg.md5sum "4b8f90993610214036a661e2ed9506ac" + pkg.version "1.469.0" + pkg.md5sum "e9aac12389dbd547207f662cb1b1f05b" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-concurrent-ruby.rb b/configs/components/rubygem-concurrent-ruby.rb index 259900bc5..0904b1575 100644 --- a/configs/components/rubygem-concurrent-ruby.rb +++ b/configs/components/rubygem-concurrent-ruby.rb @@ -3,6 +3,7 @@ version = settings[:rubygem_concurrent_ruby_version] || '1.2.3' pkg.version version + # leaving temporarily for ruby 3.2.4 for the gem update on 12/08/2024 case version when '1.2.3' pkg.sha256sum '82fdd3f8a0816e28d513e637bb2b90a45d7b982bdf4f3a0511722d2e495801e2' diff --git a/configs/components/rubygem-getoptlong.rb b/configs/components/rubygem-getoptlong.rb index cc0cee2e1..07a426204 100644 --- a/configs/components/rubygem-getoptlong.rb +++ b/configs/components/rubygem-getoptlong.rb @@ -1,6 +1,6 @@ component 'rubygem-getoptlong' do |pkg, settings, platform| - pkg.version '0.2.0' - pkg.md5sum '91760bf343765c5d3f08cb5393d90487' + pkg.version '0.2.1' + pkg.md5sum 'ded8176bd043e45b082c05872fc513c3' instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-highline.rb b/configs/components/rubygem-highline.rb index 9e9d14172..b9100a4f1 100644 --- a/configs/components/rubygem-highline.rb +++ b/configs/components/rubygem-highline.rb @@ -1,14 +1,10 @@ component 'rubygem-highline' do |pkg, settings, _platform| - version = settings[:rubygem_highline_version] || '2.1.0' - pkg.version version - - case version - when '2.1.0' - pkg.md5sum '4209083bda845d47dcc05b7ab23f25fd' - when '3.0.1' - pkg.sha256sum 'ca18b218fd581b1fae832f89bfeaf2b34d3a93429c44fd4411042ffce286f009' + if settings[:ruby_version].to_f >= 3.2 + pkg.version '3.1.0' + pkg.md5sum 'ab3fa9d21304bf9ee9403ffca3d653d0' else - raise "rubygem-highline version #{version} has not been configured; Cannot continue." + pkg.version '2.1.0' + pkg.md5sum '4209083bda845d47dcc05b7ab23f25fd' end instance_eval File.read('configs/components/_base-rubygem.rb') diff --git a/configs/components/rubygem-minitar.rb b/configs/components/rubygem-minitar.rb index a0d98419f..d4fbcd5d1 100644 --- a/configs/components/rubygem-minitar.rb +++ b/configs/components/rubygem-minitar.rb @@ -1,6 +1,6 @@ component 'rubygem-minitar' do |pkg, settings, platform| - pkg.version '0.9' - pkg.md5sum '4ab2c278183c9a83f3ad97066c381d84' + pkg.version '0.12' + pkg.md5sum '359d7e38c9afefb82e97a7f301e8c98a' instance_eval File.read('configs/components/_base-rubygem.rb') end \ No newline at end of file diff --git a/configs/components/rubygem-nori.rb b/configs/components/rubygem-nori.rb index eb98f4d53..e7f041766 100644 --- a/configs/components/rubygem-nori.rb +++ b/configs/components/rubygem-nori.rb @@ -1,6 +1,11 @@ component 'rubygem-nori' do |pkg, settings, platform| - pkg.version '2.6.0' - pkg.md5sum 'dc9c83026c10a3eb7093b9c8208c84f7' + if settings[:ruby_version].to_f >= 3.2 + pkg.version '2.7.1' + pkg.md5sum '83952a081b5e86d5aa62943ca9ccf312' + else + pkg.version '2.6.0' + pkg.md5sum 'dc9c83026c10a3eb7093b9c8208c84f7' + end instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-public_suffix.rb b/configs/components/rubygem-public_suffix.rb index 92ce7c369..674674dab 100644 --- a/configs/components/rubygem-public_suffix.rb +++ b/configs/components/rubygem-public_suffix.rb @@ -1,6 +1,11 @@ -component 'rubygem-public_suffix' do |pkg, _settings, _platform| - pkg.version '5.1.1' - pkg.md5sum '0895274ce1ffdadffcd979ced832b851' +component 'rubygem-public_suffix' do |pkg, settings, platform| + if settings[:ruby_version].to_f >= 3.2 + pkg.version '6.0.1' + pkg.md5sum '12ec93094a3467364c8c6ee5a6e8325a' + else + pkg.version '5.1.1' + pkg.md5sum '0895274ce1ffdadffcd979ced832b851' + end instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-winrm.rb b/configs/components/rubygem-winrm.rb index 912e9125d..1421386c1 100644 --- a/configs/components/rubygem-winrm.rb +++ b/configs/components/rubygem-winrm.rb @@ -1,6 +1,11 @@ component 'rubygem-winrm' do |pkg, settings, platform| - pkg.version '2.3.6' - pkg.md5sum 'a99f8e81343f61caa441eb1397a1c6ae' + if settings[:ruby_version].to_f >= 3.2 + pkg.version '2.3.9' + pkg.md5sum '3ee81372528048b8305334ab6f36b4e9' + else + pkg.version '2.3.6' + pkg.md5sum 'a99f8e81343f61caa441eb1397a1c6ae' + end instance_eval File.read('configs/components/_base-rubygem.rb') end From 68df29c861d6dcbc0965eb1500f930bdd8c28ae9 Mon Sep 17 00:00:00 2001 From: alex501212 Date: Fri, 23 Aug 2024 11:22:18 +0100 Subject: [PATCH 2/3] removed unnecessary comment --- configs/components/rubygem-concurrent-ruby.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/components/rubygem-concurrent-ruby.rb b/configs/components/rubygem-concurrent-ruby.rb index 0904b1575..259900bc5 100644 --- a/configs/components/rubygem-concurrent-ruby.rb +++ b/configs/components/rubygem-concurrent-ruby.rb @@ -3,7 +3,6 @@ version = settings[:rubygem_concurrent_ruby_version] || '1.2.3' pkg.version version - # leaving temporarily for ruby 3.2.4 for the gem update on 12/08/2024 case version when '1.2.3' pkg.sha256sum '82fdd3f8a0816e28d513e637bb2b90a45d7b982bdf4f3a0511722d2e495801e2' From 1f04d3aacb66b9421f2154dcb9cda72ba92aa5f6 Mon Sep 17 00:00:00 2001 From: alex501212 Date: Thu, 17 Oct 2024 14:20:08 +0100 Subject: [PATCH 3/3] updated gems --- configs/components/rubygem-aws-partitions.rb | 4 ++-- configs/components/rubygem-aws-sdk-core.rb | 4 ++-- configs/components/rubygem-aws-sdk-ec2.rb | 4 ++-- configs/components/rubygem-aws-sigv4.rb | 4 ++-- configs/components/rubygem-facter.rb | 4 ++-- configs/components/rubygem-faraday_middleware.rb | 4 ++-- configs/components/rubygem-json-schema.rb | 4 ++-- configs/components/rubygem-minitar.rb | 4 ++-- configs/components/rubygem-net-http-persistent.rb | 4 ++-- configs/components/rubygem-pathspec.rb | 9 +++++++-- configs/components/rubygem-rexml.rb | 4 ++-- configs/components/rubygem-unicode-display_width.rb | 4 ++-- 12 files changed, 29 insertions(+), 24 deletions(-) diff --git a/configs/components/rubygem-aws-partitions.rb b/configs/components/rubygem-aws-partitions.rb index 02c4f7073..04d124801 100644 --- a/configs/components/rubygem-aws-partitions.rb +++ b/configs/components/rubygem-aws-partitions.rb @@ -1,6 +1,6 @@ component "rubygem-aws-partitions" do |pkg, settings, platform| - pkg.version "1.963.0" - pkg.md5sum "0d6e7affa0c506b848b23ba996977267" + pkg.version "1.989.0" + pkg.md5sum "42f902bac67b87a13561d6599b0b17e3" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-aws-sdk-core.rb b/configs/components/rubygem-aws-sdk-core.rb index e6b283713..6935ba093 100644 --- a/configs/components/rubygem-aws-sdk-core.rb +++ b/configs/components/rubygem-aws-sdk-core.rb @@ -1,6 +1,6 @@ component "rubygem-aws-sdk-core" do |pkg, settings, platform| - pkg.version "3.201.4" - pkg.md5sum "3601b6fc8e1e45060c2f5dabb5d5f067" + pkg.version "3.209.1" + pkg.md5sum "7444e5ca941b52a4487c502bf0e80bd9" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-aws-sdk-ec2.rb b/configs/components/rubygem-aws-sdk-ec2.rb index 4d8b1bf59..a08e5183c 100644 --- a/configs/components/rubygem-aws-sdk-ec2.rb +++ b/configs/components/rubygem-aws-sdk-ec2.rb @@ -1,6 +1,6 @@ component "rubygem-aws-sdk-ec2" do |pkg, settings, platform| - pkg.version "1.469.0" - pkg.md5sum "e9aac12389dbd547207f662cb1b1f05b" + pkg.version "1.481.0" + pkg.md5sum "bbe900b317e117849d7a440dd1f1e12b" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-aws-sigv4.rb b/configs/components/rubygem-aws-sigv4.rb index fb44246d2..58ad24605 100644 --- a/configs/components/rubygem-aws-sigv4.rb +++ b/configs/components/rubygem-aws-sigv4.rb @@ -1,6 +1,6 @@ component "rubygem-aws-sigv4" do |pkg, settings, platform| - pkg.version "1.9.1" - pkg.md5sum "3b9757f618ad2c151c73462cb5061a6f" + pkg.version "1.10.0" + pkg.md5sum "f9875621945414c4ee48113a3cb7076e" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-facter.rb b/configs/components/rubygem-facter.rb index e1b77202a..fa86039a2 100644 --- a/configs/components/rubygem-facter.rb +++ b/configs/components/rubygem-facter.rb @@ -1,6 +1,6 @@ component 'rubygem-facter' do |pkg, settings, platform| - pkg.version '4.8.0' - pkg.md5sum 'fdcdbd04cb3aaee32c39e79a5ea05478' + pkg.version '4.9.0' + pkg.md5sum '708c7a868ef9622a629480e677674c93' instance_eval File.read('configs/components/_base-rubygem.rb') end \ No newline at end of file diff --git a/configs/components/rubygem-faraday_middleware.rb b/configs/components/rubygem-faraday_middleware.rb index b0b2247d1..3657de05e 100644 --- a/configs/components/rubygem-faraday_middleware.rb +++ b/configs/components/rubygem-faraday_middleware.rb @@ -1,6 +1,6 @@ component 'rubygem-faraday_middleware' do |pkg, settings, platform| - pkg.version '1.2.0' - pkg.md5sum 'e4e21d7a623046f9c23657c74d5cf7de' + pkg.version '1.2.1' + pkg.md5sum 'c1093335f486314a2a68757cafebdaab' instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-json-schema.rb b/configs/components/rubygem-json-schema.rb index f2fe5ceee..83374a1b1 100644 --- a/configs/components/rubygem-json-schema.rb +++ b/configs/components/rubygem-json-schema.rb @@ -1,6 +1,6 @@ component "rubygem-json-schema" do |pkg, settings, platform| - pkg.version "4.3.1" - pkg.sha256sum "d5e68dc32b94408d0b06ad04f9382ccbb6fe5a44910e066f8547f56c471a7825" + pkg.version "5.0.1" + pkg.sha256sum "bef71a82c600a42594911553522e143f7634affc198ed507ef3ded2f920a74a9" instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-minitar.rb b/configs/components/rubygem-minitar.rb index d4fbcd5d1..08fea4ae0 100644 --- a/configs/components/rubygem-minitar.rb +++ b/configs/components/rubygem-minitar.rb @@ -1,6 +1,6 @@ component 'rubygem-minitar' do |pkg, settings, platform| - pkg.version '0.12' - pkg.md5sum '359d7e38c9afefb82e97a7f301e8c98a' + pkg.version '0.12.1' + pkg.md5sum '975dee1dadeb26a2a01105802c3172ab' instance_eval File.read('configs/components/_base-rubygem.rb') end \ No newline at end of file diff --git a/configs/components/rubygem-net-http-persistent.rb b/configs/components/rubygem-net-http-persistent.rb index f6726bec9..d5bc61eea 100644 --- a/configs/components/rubygem-net-http-persistent.rb +++ b/configs/components/rubygem-net-http-persistent.rb @@ -1,6 +1,6 @@ component 'rubygem-net-http-persistent' do |pkg, settings, platform| - pkg.version '4.0.2' - pkg.md5sum 'fe6e3e668a45be1f78886ef48ca4137b' + pkg.version '4.0.4' + pkg.md5sum '96df0d7f9801e167827a77dbf44cabf5' instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-pathspec.rb b/configs/components/rubygem-pathspec.rb index 14788e169..f3e047441 100644 --- a/configs/components/rubygem-pathspec.rb +++ b/configs/components/rubygem-pathspec.rb @@ -1,6 +1,11 @@ component "rubygem-pathspec" do |pkg, settings, platform| - pkg.version "1.1.3" - pkg.sha256sum "c4e7ff4c4019499488874e21c37a1e2473d5123cfce6f13ecb07f42c0f8c5d23" + if settings[:ruby_version].to_f >= 3.1 + pkg.version "2.1.0" + pkg.sha256sum "89e186d2aeb8b8237b2ad8ed04bf47907b7acd475afff290d3f271b5f84c4d24" + else + pkg.version "1.1.3" + pkg.sha256sum "c4e7ff4c4019499488874e21c37a1e2473d5123cfce6f13ecb07f42c0f8c5d23" + end instance_eval File.read('configs/components/_base-rubygem.rb') end diff --git a/configs/components/rubygem-rexml.rb b/configs/components/rubygem-rexml.rb index e4042fd9c..37ca0705a 100644 --- a/configs/components/rubygem-rexml.rb +++ b/configs/components/rubygem-rexml.rb @@ -1,6 +1,6 @@ component 'rubygem-rexml' do |pkg, settings, platform| - pkg.version '3.3.6' - pkg.md5sum 'be54ad1a5f661ebf9824bf6ca36e50eb' + pkg.version '3.3.8' + pkg.md5sum '111bbda9878bcf60da37175970d0a65e' settings["#{pkg.get_name}_remove_older_versions".to_sym] = true diff --git a/configs/components/rubygem-unicode-display_width.rb b/configs/components/rubygem-unicode-display_width.rb index 74220b5ef..f8196527c 100644 --- a/configs/components/rubygem-unicode-display_width.rb +++ b/configs/components/rubygem-unicode-display_width.rb @@ -1,6 +1,6 @@ component 'rubygem-unicode-display_width' do |pkg, settings, platform| - pkg.version '2.5.0' - pkg.md5sum 'a0e1e5582472a84a27bd26e1a08d3b5d' + pkg.version '2.6.0' + pkg.md5sum '77e719750e6acdd2dbbc9ee10b8b2cbe' instance_eval File.read('configs/components/_base-rubygem.rb') end