lib/key_master.rb in cocoapods-keys-1.4.0 vs lib/key_master.rb in cocoapods-keys-1.5.0
- old
+ new
@@ -9,9 +9,12 @@
def initialize(keyring, time = Time.now)
@time = time
@keys = keyring.camel_cased_keys
@name = keyring.code_name.capitalize + 'Keys'
+ if /^\d/.match(@name)
+ @name = '_' + @name
+ end
@used_indexes = Set.new
@indexed_keys = {}
@data = generate_data
@interface = generate_interface