lib/schemacop/v3/string_node.rb in schemacop-3.0.7 vs lib/schemacop/v3/string_node.rb in schemacop-3.0.8
- old
+ new
@@ -20,10 +20,10 @@
number: /^-?[0-9]+(\.[0-9]+)?$/
}.freeze
# rubocop:enable Layout/LineLength
def self.allowed_options
- super + ATTRIBUTES - %i[cast_str] + %i[format_options pattern]
+ super + ATTRIBUTES + %i[format_options pattern]
end
def allowed_types
{ String => :string }
end