Browse Source

[ruby] Use Bundler 2.6.2 (#9703)

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.
Petrik de Heus 4 months ago
parent
commit
24a7351efa

+ 2 - 1
frameworks/Ruby/agoo/Gemfile.lock

@@ -13,6 +13,7 @@ GEM
 
 
 PLATFORMS
 PLATFORMS
   ruby
   ruby
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   agoo
   agoo
@@ -22,4 +23,4 @@ DEPENDENCIES
   rack
   rack
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.10
+   2.6.2

+ 93 - 0
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

+ 2 - 1
frameworks/Ruby/hanami/Gemfile.lock

@@ -161,6 +161,7 @@ GEM
 PLATFORMS
 PLATFORMS
   ruby
   ruby
   x86_64-darwin-23
   x86_64-darwin-23
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   dry-types (~> 1.0, >= 1.6.1)
   dry-types (~> 1.0, >= 1.6.1)
@@ -177,4 +178,4 @@ DEPENDENCIES
   rom-sql (~> 3.6)
   rom-sql (~> 3.6)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.16
+   2.6.2

+ 149 - 0
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

+ 2 - 1
frameworks/Ruby/rack-sequel/Gemfile.lock

@@ -31,6 +31,7 @@ GEM
 PLATFORMS
 PLATFORMS
   ruby
   ruby
   x86_64-darwin-22
   x86_64-darwin-22
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   base64
   base64
@@ -45,4 +46,4 @@ DEPENDENCIES
   unicorn (~> 6.1)
   unicorn (~> 6.1)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.10
+   2.6.2

+ 3 - 0
frameworks/Ruby/rack/Gemfile

@@ -2,6 +2,9 @@
 
 
 source 'https://rubygems.org'
 source 'https://rubygems.org'
 
 
+# Show platform so we can set in the Gemfile
+puts "Platform: #{Gem::Platform.local}"
+
 gem 'rack', '~> 3.0'
 gem 'rack', '~> 3.0'
 gem 'connection_pool', '~> 2.4'
 gem 'connection_pool', '~> 2.4'
 gem 'jdbc-postgres', '~> 42.2', platforms: :jruby, require: 'jdbc/postgres'
 gem 'jdbc-postgres', '~> 42.2', platforms: :jruby, require: 'jdbc/postgres'

+ 1 - 1
frameworks/Ruby/rack/Gemfile.lock

@@ -149,4 +149,4 @@ DEPENDENCIES
   unicorn (~> 6.1)
   unicorn (~> 6.1)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.11
+   2.6.2

+ 1 - 1
frameworks/Ruby/rage-sequel/Gemfile.lock

@@ -34,4 +34,4 @@ DEPENDENCIES
   sequel_pg (~> 1.6)
   sequel_pg (~> 1.6)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.6
+   2.6.2

+ 1 - 1
frameworks/Ruby/rails/Gemfile.lock

@@ -288,4 +288,4 @@ DEPENDENCIES
   tzinfo-data
   tzinfo-data
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.16
+   2.6.2

+ 2 - 1
frameworks/Ruby/roda-sequel/Gemfile.lock

@@ -29,6 +29,7 @@ GEM
 PLATFORMS
 PLATFORMS
   ruby
   ruby
   x86_64-darwin-22
   x86_64-darwin-22
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   base64
   base64
@@ -45,4 +46,4 @@ DEPENDENCIES
   unicorn (~> 6.1)
   unicorn (~> 6.1)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.10
+   2.6.2

+ 2 - 1
frameworks/Ruby/sinatra-sequel/Gemfile.lock

@@ -51,6 +51,7 @@ GEM
 PLATFORMS
 PLATFORMS
   ruby
   ruby
   x86_64-darwin-23
   x86_64-darwin-23
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   iodine (~> 0.7)
   iodine (~> 0.7)
@@ -65,4 +66,4 @@ DEPENDENCIES
   unicorn (~> 6.1)
   unicorn (~> 6.1)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.16
+   2.6.2

+ 2 - 1
frameworks/Ruby/sinatra/Gemfile.lock

@@ -78,6 +78,7 @@ GEM
 PLATFORMS
 PLATFORMS
   ruby
   ruby
   x86_64-darwin-23
   x86_64-darwin-23
+  x86_64-linux
 
 
 DEPENDENCIES
 DEPENDENCIES
   activerecord (~> 8.0)
   activerecord (~> 8.0)
@@ -93,4 +94,4 @@ DEPENDENCIES
   unicorn (~> 6.1)
   unicorn (~> 6.1)
 
 
 BUNDLED WITH
 BUNDLED WITH
-   2.5.16
+   2.6.2