lib/gemsmith/generators/bundler_audit.rb in gemsmith-14.1.2 vs lib/gemsmith/generators/bundler_audit.rb in gemsmith-14.1.3
- old
+ new
@@ -5,11 +5,11 @@
# Generates Bundler Audit support.
class BundlerAudit < Base
def run
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.+/
+ cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+bundler/audit.+)
+ cli.uncomment_lines "#{gem_name}/Rakefile", /Bundler::Audit.+/
end
end
end
end