From dca56d5a6e925be07ad054510e0dada486d663c2 Mon Sep 17 00:00:00 2001 From: Petrik Date: Fri, 21 Mar 2025 21:18:22 +0100 Subject: [PATCH] [ruby] Use Bundler 2.6.2 Ruby 3.4 has Bundler 2.6.2 installed by default. Using this version should be a bit faster as it doesn't need to install another version as mentioned by the following warning: Bundler 2.6.2 is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version. This also outputs the platform for Rack. If we know the platform we can improve the Ruby build times by using precompiled binaries. --- frameworks/Ruby/agoo/Gemfile.lock | 3 +- frameworks/Ruby/grape/Gemfile.lock | 93 ++++++++++++ frameworks/Ruby/hanami/Gemfile.lock | 3 +- frameworks/Ruby/padrino/Gemfile.lock | 149 ++++++++++++++++++++ frameworks/Ruby/rack-sequel/Gemfile.lock | 3 +- frameworks/Ruby/rack/Gemfile | 3 + frameworks/Ruby/rack/Gemfile.lock | 2 +- frameworks/Ruby/rage-sequel/Gemfile.lock | 2 +- frameworks/Ruby/rails/Gemfile.lock | 2 +- frameworks/Ruby/roda-sequel/Gemfile.lock | 3 +- frameworks/Ruby/sinatra-sequel/Gemfile.lock | 3 +- frameworks/Ruby/sinatra/Gemfile.lock | 3 +- 12 files changed, 260 insertions(+), 9 deletions(-) create mode 100644 frameworks/Ruby/grape/Gemfile.lock create mode 100644 frameworks/Ruby/padrino/Gemfile.lock diff --git a/frameworks/Ruby/agoo/Gemfile.lock b/frameworks/Ruby/agoo/Gemfile.lock index 8d4a2594fdc..cf3141c5d63 100644 --- a/frameworks/Ruby/agoo/Gemfile.lock +++ b/frameworks/Ruby/agoo/Gemfile.lock @@ -13,6 +13,7 @@ GEM PLATFORMS ruby + x86_64-linux DEPENDENCIES agoo @@ -22,4 +23,4 @@ DEPENDENCIES rack BUNDLED WITH - 2.5.10 + 2.6.2 diff --git a/frameworks/Ruby/grape/Gemfile.lock b/frameworks/Ruby/grape/Gemfile.lock new file mode 100644 index 00000000000..1ccedb35a78 --- /dev/null +++ b/frameworks/Ruby/grape/Gemfile.lock @@ -0,0 +1,93 @@ +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.0.1) + activesupport (= 8.0.1) + activerecord (8.0.1) + activemodel (= 8.0.1) + activesupport (= 8.0.1) + timeout (>= 0.4.0) + activesupport (8.0.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + concurrent-ruby (1.3.5) + connection_pool (2.5.0) + drb (2.2.1) + dry-core (1.1.0) + concurrent-ruby (~> 1.0) + logger + zeitwerk (~> 2.6) + dry-inflector (1.2.0) + dry-logic (1.6.0) + bigdecimal + concurrent-ruby (~> 1.0) + dry-core (~> 1.1) + zeitwerk (~> 2.6) + dry-types (1.8.2) + bigdecimal (~> 3.0) + concurrent-ruby (~> 1.0) + dry-core (~> 1.0) + dry-inflector (~> 1.0) + dry-logic (~> 1.4) + zeitwerk (~> 2.6) + grape (2.1.1) + activesupport (>= 6) + dry-types (>= 1.1) + mustermann-grape (~> 1.1.0) + rack (>= 2) + zeitwerk + i18n (1.14.7) + concurrent-ruby (~> 1.0) + json (2.10.1) + kgio (2.11.4) + logger (1.6.6) + minitest (5.25.4) + mustermann (3.0.3) + ruby2_keywords (~> 0.0.1) + mustermann-grape (1.1.0) + mustermann (>= 1.0.0) + mysql2 (0.5.6) + nio4r (2.7.4) + puma (6.6.0) + nio4r (~> 2.0) + rack (3.1.12) + raindrops (0.20.1) + ruby2_keywords (0.0.5) + securerandom (0.4.1) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicorn (6.1.0) + kgio (~> 2.6) + raindrops (~> 0.7) + uri (1.0.3) + zeitwerk (2.7.2) + +PLATFORMS + ruby + x86_64-darwin-23 + x86_64-linux + +DEPENDENCIES + activerecord (~> 8.0.0) + grape (= 2.1.1) + json (~> 2.9) + mysql2 (= 0.5.6) + puma (~> 6.5) + unicorn (= 6.1.0) + +BUNDLED WITH + 2.6.2 diff --git a/frameworks/Ruby/hanami/Gemfile.lock b/frameworks/Ruby/hanami/Gemfile.lock index a1d3a8ff478..99f2203709c 100644 --- a/frameworks/Ruby/hanami/Gemfile.lock +++ b/frameworks/Ruby/hanami/Gemfile.lock @@ -161,6 +161,7 @@ GEM PLATFORMS ruby x86_64-darwin-23 + x86_64-linux DEPENDENCIES dry-types (~> 1.0, >= 1.6.1) @@ -177,4 +178,4 @@ DEPENDENCIES rom-sql (~> 3.6) BUNDLED WITH - 2.5.16 + 2.6.2 diff --git a/frameworks/Ruby/padrino/Gemfile.lock b/frameworks/Ruby/padrino/Gemfile.lock new file mode 100644 index 00000000000..850309a3430 --- /dev/null +++ b/frameworks/Ruby/padrino/Gemfile.lock @@ -0,0 +1,149 @@ +GIT + remote: https://github.com/padrino/padrino-framework.git + revision: 9a38042351c9f5768231e94abca87bb1592cdcfa + specs: + padrino (0.16.0.pre3) + padrino-admin (= 0.16.0.pre3) + padrino-cache (= 0.16.0.pre3) + padrino-core (= 0.16.0.pre3) + padrino-gen (= 0.16.0.pre3) + padrino-helpers (= 0.16.0.pre3) + padrino-mailer (= 0.16.0.pre3) + padrino-support (= 0.16.0.pre3) + padrino-admin (0.16.0.pre3) + padrino-core (= 0.16.0.pre3) + padrino-helpers (= 0.16.0.pre3) + padrino-cache (0.16.0.pre3) + moneta (~> 1.6) + padrino-core (= 0.16.0.pre3) + padrino-helpers (= 0.16.0.pre3) + padrino-core (0.16.0.pre3) + padrino-support (= 0.16.0.pre3) + rackup (~> 2.1) + sinatra (~> 4) + thor (~> 1.0) + padrino-gen (0.16.0.pre3) + bundler (>= 1.0, < 3) + padrino-core (= 0.16.0.pre3) + padrino-helpers (0.16.0.pre3) + i18n (>= 0.6.7, < 2) + padrino-support (= 0.16.0.pre3) + tilt (>= 1.4.1, < 3) + padrino-mailer (0.16.0.pre3) + mail (~> 2.5) + mime-types (< 4) + padrino-core (= 0.16.0.pre3) + padrino-support (0.16.0.pre3) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.0.2) + activesupport (= 8.0.2) + activerecord (8.0.2) + activemodel (= 8.0.2) + activesupport (= 8.0.2) + timeout (>= 0.4.0) + activesupport (8.0.2) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + concurrent-ruby (1.3.5) + connection_pool (2.5.0) + date (3.4.1) + drb (2.2.1) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + json (2.10.2) + kgio (2.11.4) + logger (1.6.6) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + mime-types (3.6.1) + logger + mime-types-data (~> 3.2015) + mime-types-data (3.2025.0318) + mini_mime (1.1.5) + minitest (5.25.5) + moneta (1.6.0) + mustermann (3.0.3) + ruby2_keywords (~> 0.0.1) + mysql2 (0.5.6) + net-imap (0.5.6) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.1) + net-protocol + nio4r (2.7.4) + puma (6.6.0) + nio4r (~> 2.0) + rack (3.1.12) + rack-protection (4.1.1) + base64 (>= 0.1.0) + logger (>= 1.6.0) + rack (>= 3.0.0, < 4) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rackup (2.2.1) + rack (>= 3) + raindrops (0.20.1) + ruby2_keywords (0.0.5) + securerandom (0.4.1) + sinatra (4.1.1) + logger (>= 1.6.0) + mustermann (~> 3.0) + rack (>= 3.0.0, < 4) + rack-protection (= 4.1.1) + rack-session (>= 2.0.0, < 3) + tilt (~> 2.0) + slim (2.0.3) + temple (~> 0.6.6) + tilt (>= 1.3.3, < 2.1) + temple (0.6.10) + thor (1.3.2) + tilt (2.0.11) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicorn (6.1.0) + kgio (~> 2.6) + raindrops (~> 0.7) + uri (1.0.3) + +PLATFORMS + ruby + x86_64-darwin-23 + x86_64-linux + +DEPENDENCIES + activerecord (>= 7.1) + json + mysql2 (> 0.5) + padrino! + puma (~> 6.4) + rack + slim (= 2.0.3) + unicorn (~> 6.1) + +BUNDLED WITH + 2.6.2 diff --git a/frameworks/Ruby/rack-sequel/Gemfile.lock b/frameworks/Ruby/rack-sequel/Gemfile.lock index 0913e9cca6d..cd3ddd3e3ff 100644 --- a/frameworks/Ruby/rack-sequel/Gemfile.lock +++ b/frameworks/Ruby/rack-sequel/Gemfile.lock @@ -31,6 +31,7 @@ GEM PLATFORMS ruby x86_64-darwin-22 + x86_64-linux DEPENDENCIES base64 @@ -45,4 +46,4 @@ DEPENDENCIES unicorn (~> 6.1) BUNDLED WITH - 2.5.10 + 2.6.2 diff --git a/frameworks/Ruby/rack/Gemfile b/frameworks/Ruby/rack/Gemfile index c1288cb2cda..fa5548c1098 100644 --- a/frameworks/Ruby/rack/Gemfile +++ b/frameworks/Ruby/rack/Gemfile @@ -2,6 +2,9 @@ source 'https://rubygems.org' +# Show platform so we can set in the Gemfile +puts "Platform: #{Gem::Platform.local}" + gem 'rack', '~> 3.0' gem 'connection_pool', '~> 2.4' gem 'jdbc-postgres', '~> 42.2', platforms: :jruby, require: 'jdbc/postgres' diff --git a/frameworks/Ruby/rack/Gemfile.lock b/frameworks/Ruby/rack/Gemfile.lock index 66efa44e788..26be8052593 100644 --- a/frameworks/Ruby/rack/Gemfile.lock +++ b/frameworks/Ruby/rack/Gemfile.lock @@ -149,4 +149,4 @@ DEPENDENCIES unicorn (~> 6.1) BUNDLED WITH - 2.5.11 + 2.6.2 diff --git a/frameworks/Ruby/rage-sequel/Gemfile.lock b/frameworks/Ruby/rage-sequel/Gemfile.lock index 0bb226b818b..866b6c60c06 100644 --- a/frameworks/Ruby/rage-sequel/Gemfile.lock +++ b/frameworks/Ruby/rage-sequel/Gemfile.lock @@ -34,4 +34,4 @@ DEPENDENCIES sequel_pg (~> 1.6) BUNDLED WITH - 2.5.6 + 2.6.2 diff --git a/frameworks/Ruby/rails/Gemfile.lock b/frameworks/Ruby/rails/Gemfile.lock index 2f8f40f851a..430624be3f4 100644 --- a/frameworks/Ruby/rails/Gemfile.lock +++ b/frameworks/Ruby/rails/Gemfile.lock @@ -288,4 +288,4 @@ DEPENDENCIES tzinfo-data BUNDLED WITH - 2.5.16 + 2.6.2 diff --git a/frameworks/Ruby/roda-sequel/Gemfile.lock b/frameworks/Ruby/roda-sequel/Gemfile.lock index 8c6f5bc8321..a2e9337de97 100644 --- a/frameworks/Ruby/roda-sequel/Gemfile.lock +++ b/frameworks/Ruby/roda-sequel/Gemfile.lock @@ -29,6 +29,7 @@ GEM PLATFORMS ruby x86_64-darwin-22 + x86_64-linux DEPENDENCIES base64 @@ -45,4 +46,4 @@ DEPENDENCIES unicorn (~> 6.1) BUNDLED WITH - 2.5.10 + 2.6.2 diff --git a/frameworks/Ruby/sinatra-sequel/Gemfile.lock b/frameworks/Ruby/sinatra-sequel/Gemfile.lock index 40b1cad63db..d53049e2d18 100644 --- a/frameworks/Ruby/sinatra-sequel/Gemfile.lock +++ b/frameworks/Ruby/sinatra-sequel/Gemfile.lock @@ -51,6 +51,7 @@ GEM PLATFORMS ruby x86_64-darwin-23 + x86_64-linux DEPENDENCIES iodine (~> 0.7) @@ -65,4 +66,4 @@ DEPENDENCIES unicorn (~> 6.1) BUNDLED WITH - 2.5.16 + 2.6.2 diff --git a/frameworks/Ruby/sinatra/Gemfile.lock b/frameworks/Ruby/sinatra/Gemfile.lock index 93710d657af..a6a79d096c3 100644 --- a/frameworks/Ruby/sinatra/Gemfile.lock +++ b/frameworks/Ruby/sinatra/Gemfile.lock @@ -78,6 +78,7 @@ GEM PLATFORMS ruby x86_64-darwin-23 + x86_64-linux DEPENDENCIES activerecord (~> 8.0) @@ -93,4 +94,4 @@ DEPENDENCIES unicorn (~> 6.1) BUNDLED WITH - 2.5.16 + 2.6.2