lib/gemsmith/generators/bundler_audit.rb in gemsmith-13.1.0 vs lib/gemsmith/generators/bundler_audit.rb in gemsmith-13.2.0
- old
+ new
@@ -3,10 +3,10 @@
module Gemsmith
module Generators
# Generates Bundler Audit support.
class BundlerAudit < Base
def run
- return unless configuration.dig(:generate, :bundler_audit)
+ return unless configuration.dig :generate, :bundler_audit
cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+bundler\/audit.+)
cli.uncomment_lines "#{gem_name}/Rakefile", /Bundler\:\:Audit.+/
end
end