lib/keyring.rb in cocoapods-keys-0.6.2 vs lib/keyring.rb in cocoapods-keys-0.9.0
- old
+ new
@@ -17,10 +17,10 @@
def to_hash
{ "keys" => @keys, "path" => @path, "name" => @name }
end
def code_name
- name.split(/[^a-zA-Z0-9_-]/).map { |s| s[0].upcase + s[1..-1] }.join('')
+ name.split(/[^a-zA-Z0-9_]/).map { |s| s[0].upcase + s[1..-1] }.join('')
end
def save(key, value)
keychain = OSXKeychain.new
keychain[keychain_prefix + name, key] = value