lib/rubysmith/cli/parsers/build.rb in rubysmith-0.5.0 vs lib/rubysmith/cli/parsers/build.rb in rubysmith-0.6.0
- old
+ new
@@ -29,10 +29,16 @@
client.on "--min", "Use minimum/no options." do |value|
options[:build_minimum] = value
end
end
+ def add_amazing_print
+ client.on "--[no-]amazing_print", "Add Amazing Print." do |value|
+ options[:build_amazing_print] = value
+ end
+ end
+
def add_bundler_audit
client.on "--[no-]bundler-audit", "Add Bundler Audit." do |value|
options[:build_bundler_audit] = value
end
end
@@ -80,9 +86,15 @@
end
def add_reek
client.on "--[no-]reek", "Add Reek." do |value|
options[:build_reek] = value
+ end
+ end
+
+ def add_refinements
+ client.on "--[no-]refinements", "Add Refinements." do |value|
+ options[:build_refinements] = value
end
end
def add_rspec
client.on "--[no-]rspec", "Add RSpec." do |value|