lib/rubocop/extension/generator/generator.rb in rubocop-extension-generator-0.2.1 vs lib/rubocop/extension/generator/generator.rb in rubocop-extension-generator-0.2.2
- old
+ new
@@ -138,9 +138,11 @@
patch 'Gemfile', /\z/, <<~RUBY
gem 'rspec'
RUBY
+ patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
+
puts
puts <<~MESSAGE
It's done! You can start developing a new extension of RuboCop in #{root_path}.
For the next step, you can use the cop generator.