lib/avro/schema.rb in avro-salsify-fork-1.9.0.4 vs lib/avro/schema.rb in avro-salsify-fork-1.9.0.5

- old
+ new

@@ -341,10 +341,10 @@ class FixedSchema < NamedSchema attr_reader :size def initialize(name, space, size, names=nil, logical_type=nil) # Ensure valid cto args - unless size.is_a?(Fixnum) || size.is_a?(Bignum) + unless size.is_a?(Integer) raise AvroError, 'Fixed Schema requires a valid integer for size property.' end super(:fixed, name, space, names, logical_type) @size = size end