lib/rubysmith/cli/actions/git_hub_ci.rb in rubysmith-5.1.0 vs lib/rubysmith/cli/actions/git_hub_ci.rb in rubysmith-5.2.0
- old
+ new
@@ -1,25 +1,22 @@
# frozen_string_literal: true
-require "refinements/structs"
require "sod"
module Rubysmith
module CLI
module Actions
# Stores GitHub CI flag.
class GitHubCI < Sod::Action
include Import[:input]
- using ::Refinements::Structs
-
description "Add GitHub continuous integration."
on "--[no-]git_hub_ci"
default { Container[:configuration].build_git_hub_ci }
- def call(value = default) = input.merge!(build_git_hub_ci: value)
+ def call(value = default) = input.build_git_hub_ci = value
end
end
end
end