lib/key_master.rb in cocoapods-keys-1.6.0 vs lib/key_master.rb in cocoapods-keys-1.6.1
- old
+ new
@@ -9,10 +9,10 @@
def initialize(keyring, time = Time.now)
@time = time
@keys = keyring.camel_cased_keys
@name = keyring.code_name.capitalize + 'Keys'
- if /^\d/.match(@name)
+ if /^\d/ =~ @name
@name = '_' + @name
end
@used_indexes = Set.new
@indexed_keys = {}