lib/bindata/dsl.rb in bindata-1.4.5 vs lib/bindata/dsl.rb in bindata-1.5.0

- old
+ new

@@ -88,12 +88,10 @@ to_array_params when :choice to_choice_params when :primitive to_struct_params - when :wrapper - raise "Wrapper is deprecated" else raise "unknown parser type #{@parser_type}" end end @@ -120,11 +118,9 @@ [:multiple_fields, :optional_fieldnames, :sanitize_fields] when :choice [:multiple_fields, :all_or_none_fieldnames, :sanitize_fields, :fieldnames_are_values] when :primitive [:multiple_fields, :optional_fieldnames, :sanitize_fields] - when :wrapper - [:only_one_field, :no_fieldnames] else raise "unknown parser type #{parser_type}" end end