Skip to content

Commit f1f8853

Browse files
authored
[ruby] Update Bundler to 2.7.0 and fix deprecation warnings (#10045)
This fixes the following warning: [DEPRECATED] Platform :mswin is deprecated. Please use platform :windows instead.
1 parent 0d77db6 commit f1f8853

File tree

18 files changed

+31
-36
lines changed

18 files changed

+31
-36
lines changed

frameworks/Ruby/agoo/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ DEPENDENCIES
2323
rack
2424

2525
BUNDLED WITH
26-
2.6.2
26+
2.7.0

frameworks/Ruby/grape/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ DEPENDENCIES
9090
unicorn (= 6.1.0)
9191

9292
BUNDLED WITH
93-
2.6.2
93+
2.7.0

frameworks/Ruby/hanami/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ DEPENDENCIES
178178
rom-sql (~> 3.6)
179179

180180
BUNDLED WITH
181-
2.6.2
181+
2.7.0

frameworks/Ruby/padrino/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ group :puma, optional: true do
1313
end
1414

1515
group :unicorn, optional: true do
16-
gem 'unicorn', '~> 6.1', platforms: [:ruby, :mswin], require: false
16+
gem 'unicorn', '~> 6.1', platforms: [:ruby, :windows], require: false
1717
end

frameworks/Ruby/padrino/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ DEPENDENCIES
146146
unicorn (~> 6.1)
147147

148148
BUNDLED WITH
149-
2.6.2
149+
2.7.0

frameworks/Ruby/rack-sequel/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ gem 'sequel', '~> 5.0'
55
gem 'rack', '~> 3.1'
66

77
group :mysql, optional: true do
8-
gem 'mysql2', '~> 0.4', platforms: [:ruby, :mswin]
8+
gem 'mysql2', '~> 0.4', platforms: [:ruby, :windows]
99
end
1010

1111
group :postgresql, optional: true do
12-
gem 'pg', '~> 1.5', platforms: [:ruby, :mswin]
12+
gem 'pg', '~> 1.5', platforms: [:ruby, :windows]
1313
gem 'sequel_pg', '~> 1.6', platforms: :ruby, require: false
1414
end
1515

frameworks/Ruby/rack-sequel/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ DEPENDENCIES
3030
sequel_pg (~> 1.6)
3131

3232
BUNDLED WITH
33-
2.6.2
33+
2.7.0

frameworks/Ruby/rack/Gemfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ gem 'rack', '~> 3.0'
99
gem 'connection_pool', '~> 2.4'
1010
gem 'jdbc-postgres', '~> 42.2', platforms: :jruby, require: 'jdbc/postgres'
1111
gem 'json', '~> 2.10'
12-
gem 'pg', '~> 1.5', platforms: %i[ruby mswin]
12+
gem 'pg', '~> 1.5', platforms: %i[ruby windows]
1313
gem 'sequel'
14-
gem 'sequel_pg', platforms: %i[ruby mswin]
14+
gem 'sequel_pg', platforms: %i[ruby windows]
1515
gem 'tzinfo-data', '1.2023.3'
1616

1717
group :falcon, optional: true do
18-
gem 'falcon', '~> 0.47', platforms: %i[ruby mswin]
18+
gem 'falcon', '~> 0.47', platforms: %i[ruby windows]
1919
end
2020

2121
group :iodine, optional: true do
22-
gem 'iodine', '~> 0.7', platforms: %i[ruby mswin]
22+
gem 'iodine', '~> 0.7', platforms: %i[ruby windows]
2323
end
2424

2525
group :passenger, optional: true do
2626
gem 'base64' # required by passenger on Ruby 3.4
2727
gem 'logger' # required by passenger on Ruby 3.5
28-
gem 'passenger', '~> 6.0', platforms: [:ruby, :mswin], require: false
28+
gem 'passenger', '~> 6.0', platforms: [:ruby, :windows], require: false
2929
end
3030

3131
group :pitchfork, optional: true do
@@ -38,10 +38,10 @@ end
3838

3939
group :unicorn, optional: true do
4040
gem 'logger' # required by unicorn on Ruby 3.5
41-
gem 'unicorn', '~> 6.1', platforms: %i[ruby mswin]
41+
gem 'unicorn', '~> 6.1', platforms: %i[ruby windows]
4242
end
4343

4444
group :development, optional: true do
4545
gem 'rack-test'
46-
gem 'rubocop', platforms: %i[ruby mswin]
46+
gem 'rubocop', platforms: %i[ruby windows]
4747
end

frameworks/Ruby/rack/Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ GEM
141141
raindrops (~> 0.7)
142142

143143
PLATFORMS
144+
arm64-darwin-24
144145
x86_64-darwin-23
145146
x86_64-linux
146147

@@ -165,4 +166,4 @@ DEPENDENCIES
165166
unicorn (~> 6.1)
166167

167168
BUNDLED WITH
168-
2.6.2
169+
2.7.0

frameworks/Ruby/rage-sequel/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ DEPENDENCIES
3636
sequel_pg (~> 1.6)
3737

3838
BUNDLED WITH
39-
2.6.2
39+
2.7.0

0 commit comments

Comments
 (0)