lib/gemsmith/generators/reek.rb in gemsmith-13.1.0 vs lib/gemsmith/generators/reek.rb in gemsmith-13.2.0
- old
+ new
@@ -3,10 +3,10 @@
module Gemsmith
module Generators
# Generates Reek support.
class Reek < Base
def run
- return unless configuration.dig(:generate, :reek)
+ return unless configuration.dig :generate, :reek
cli.uncomment_lines "#{gem_name}/Rakefile", /require.+reek.+/
cli.uncomment_lines "#{gem_name}/Rakefile", /Reek.+/
template "%gem_name%/.reek.yml.tt"
end