lib/avro/io.rb in avro-1.8.1 vs lib/avro/io.rb in avro-1.8.2

- old
+ new

@@ -405,9 +405,13 @@ read_record end def read_default_value(field_schema, default_value) + if default_value == :no_default + raise AvroError, "Missing data for #{field_schema} with no default" + end + # Basically a JSON Decoder? case field_schema.type_sym when :null return nil when :boolean