Skip to content

Commit ae334b5

Browse files
committed
Clear conflicts and rewrite puma clause
1 parent 00a254e commit ae334b5

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Gemfile-rails-dependencies

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ when /stable$/
2020
gem_list = %w[rails railties actionmailer actionpack activerecord activesupport]
2121
gem_list << 'activejob' if version > '4-1-stable'
2222
gem_list << 'actionview' if version > '4-0-stable'
23-
if RUBY_VERSION >= "1.9.3" && RUBY_VERSION < "2.2"
24-
gem "puma", "~> 3.11.4"
25-
elsif RUBY_VERSION >= "2.2"
23+
if RUBY_VERSION >= "2.2"
2624
gem_list << 'puma' if version > '5-0-stable'
25+
elsif RUBY_VERSION >= "1.9.3"
26+
gem "puma", "~> 3.11.4"
2727
end
2828

2929
gem_list.each do |rails_gem|

example_app_generator/generate_app.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@
2323
gsub_file "Gemfile", /.*debugger.*/, ''
2424
gsub_file "Gemfile", /.*byebug.*/, "gem 'byebug', '~> 9.0.6'"
2525
gsub_file "Gemfile", /.*puma.*/, ""
26-
<<<<<<< HEAD
2726
if RUBY_VERSION < '2.2.2'
2827
gsub_file "Gemfile", /.*rdoc.*/, "gem 'rdoc', '< 6'"
2928
end
30-
=======
31-
gsub_file "Gemfile", /.*rdoc.*/, "gem 'rdoc', '< 6.0.4'"
32-
>>>>>>> Specify rdoc version when Ruby version is under 2.2 on generated_app
3329

3430
if Rails::VERSION::STRING >= '5.0.0'
3531
append_to_file('Gemfile', "gem 'rails-controller-testing', :git => 'https://github.com/rails/rails-controller-testing'\n")

0 commit comments

Comments
 (0)