lib/avromatic/model_registry.rb in avromatic-0.9.0.rc4 vs lib/avromatic/model_registry.rb in avromatic-0.9.0.rc6

- old
+ new

@@ -17,9 +17,10 @@ def register(model) raise 'models with a key schema are not supported' if model.key_avro_schema name = model.avro_schema.fullname name = remove_prefix(name) + raise "'#{name}' has already been registered" if registered?(name) @hash[name] = model end def registered?(fullname) @hash.key?(fullname)