lib/pod/command/keys/set.rb in cocoapods-keys-0.5.2 vs lib/pod/command/keys/set.rb in cocoapods-keys-0.6.0
- old
+ new
@@ -18,10 +18,10 @@
self.arguments = [CLAide::Argument.new('key', true),
CLAide::Argument.new('value', true),
CLAide::Argument.new('project_name', false)]
def initialize(argv)
- @key_name = argv.shift_argument
+ @key_name = argv.shift_argument.gsub("-", "_")
@key_value = argv.shift_argument
@project_name = argv.shift_argument
super
end