lib/pod/command/keys/set.rb in cocoapods-keys-1.1.0 vs lib/pod/command/keys/set.rb in cocoapods-keys-1.2.0
- old
+ new
@@ -4,10 +4,12 @@
module Pod
class Command
class Keys
class Set < Keys
+ include Config::Mixin
+
self.summary = "A set values for keys."
self.description = <<-DESC
Save a environment key to be added to your project on the next pod install.
@@ -41,10 +43,10 @@
keyring.keys << @key_name.gsub("-", "_")
CocoaPodsKeys::KeyringLiberator.save_keyring keyring
keyring.save @key_name, @key_value
- puts "Saved #{@key_name} to #{keyring.name}."
+ puts "Saved #{@key_name} to #{keyring.name}." unless config.silent?
end
def current_keyring
current_dir = Dir.getwd
keyring = CocoaPodsKeys::KeyringLiberator.get_keyring current_dir