lib/rubysmith/cli/parsers/build.rb in rubysmith-1.3.0 vs lib/rubysmith/cli/parsers/build.rb in rubysmith-2.0.0
- old
+ new
@@ -48,10 +48,19 @@
) do |value|
configuration.merge! build_bundler_leak: value
end
end
+ def add_caliber
+ client.on(
+ "--[no-]caliber",
+ "Add Caliber gem. #{default __method__}."
+ ) do |value|
+ configuration.merge! build_caliber: value
+ end
+ end
+
def add_console
client.on(
"--[no-]console",
"Add console script. #{default __method__}."
) do |value|
@@ -225,18 +234,9 @@
client.on(
"--[no-]rspec",
"Add RSpec gem. #{default __method__}."
) do |value|
configuration.merge! build_rspec: value
- end
- end
-
- def add_rubocop
- client.on(
- "--[no-]rubocop",
- "Add RuboCop gems. #{default __method__}."
- ) do |value|
- configuration.merge! build_rubocop: value
end
end
def add_security
client.on(