Skip to content

Commit 80f6a5f

Browse files
author
David Heinemeier Hansson
committed
Style
1 parent 837b0f9 commit 80f6a5f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

railties/lib/rails/generators/rails/app/templates/Gemfile.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ gem "bootsnap", ">= 1.4.4", require: false
4444
<% if RUBY_ENGINE == "ruby" -%>
4545
group :development, :test do
4646
# See https://github.com/ruby/debug for usage.
47-
gem "debug", ">= 1.0.0", platforms: [:mri, :mingw, :x64_mingw]
47+
gem "debug", ">= 1.0.0", platforms: %i[ mri mingw x64_mingw ]
4848
end
4949

5050
<% end -%>
@@ -72,4 +72,4 @@ end
7272

7373
<%- end -%>
7474
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
75-
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
75+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

railties/lib/rails/generators/rails/plugin/templates/Gemfile.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ end
3333
<% end -%>
3434
<% if RUBY_ENGINE == "ruby" -%>
3535
# To use a debugger
36-
# gem "debug", ">= 1.0.0", group: [:development, :test], require: false
36+
# gem "debug", ">= 1.0.0", group: %i[ development test ], require: false
3737
<% end -%>
3838
<% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince|java/) -%>
3939

40-
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
40+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby]
4141
<% end -%>

0 commit comments

Comments
 (0)