active_model_serializers/lib
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
..
action_controller Fix serialization scope options 2016-04-01 05:43:46 -05:00
active_model Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
active_model_serializers Fix RuboCop 0.40 linter errors (#1722) 2016-05-26 12:58:05 -04:00
generators/rails Only load generators when needed 2016-01-15 01:52:27 -06:00
grape Move SerializableResource to ActiveModelSerializers namespace 2016-03-30 11:33:04 +02:00
active_model_serializers.rb Consolidate and simplify caching code 2016-04-13 01:08:09 -05:00