active_model_serializers/test/adapter
Noah Silas 94db09b3f6 Fix RuboCop 0.40 linter errors (#1722)
These errors are breaking the build, which seems to use RuboCop 0.40 [1]
despite the Gemfile.lock pinning rubocop to 0.38.

New lints that I am updating the code style to reflect:

- Style/EmptyCaseCondition: Do not use empty case condition, instead use
  an if expression.

- Style/MultilineArrayBraceLayout: Closing array brace must be on the
  same line as the last array element when opening brace is on the same
  line as the first array element.

- Style/MultilineHashBraceLayout: Closing hash brace must be on the same
  line as the last hash element when opening brace is on the same line
  as the first hash element.

- Style/MultilineMethodCallBraceLayout: Closing method call brace must
  be on the line after the last argument when opening brace is on a
  separate line from the first argument.

[1] https://github.com/bbatsov/rubocop/releases/tag/v0.40.0
2016-05-26 12:58:05 -04:00
..
json Restrict serializable_hash to accepted options (#1647) 2016-04-11 13:10:18 -05:00
json_api Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
deprecation_test.rb Clean up test deprecation warnings 2016-03-06 23:35:22 -06:00
json_test.rb Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
null_test.rb Moved the adapter and adapter folder to active_model_serializers folder and changed the module namespace 2016-02-23 21:49:58 -06:00
polymorphic_test.rb adds polymorphic option to association definition which includes association type in serializer 2016-05-17 12:30:59 -05:00