lib/rspec_rails_api.rb in rspec-rails-api-0.4.0 vs lib/rspec_rails_api.rb in rspec-rails-api-0.5.0

- old
+ new

@@ -33,13 +33,9 @@ number: { type: 'number', format: nil, class: Float }, array: { type: 'array', format: nil, class: Array }, object: { type: 'object', format: nil, class: Hash }, }.freeze - EXCLUDED_PRIMITIVES = %i[array object].freeze - PRIMITIVES = PARAM_TYPES.keys - .reject { |key| EXCLUDED_PRIMITIVES.include? key } - .map { |key| "type_#{key}".to_sym } end end end