active_model_serializers/lib
Benjamin Fleischer 19de5f7722 Introduce Adapter::Base
Breaking change:
- Adapters now inherit Adapter::Base
- 'Adapter' is now a module, no longer a class
Why?

- using a class as a namespace that you also inherit from is complicated and circular at time i.e.
  buggy (see https://github.com/rails-api/active_model_serializers/pull/1177)
- The class methods on Adapter aren't necessarily related to the instance methods, they're more
    Adapter functions
- named `Base` because it's a Rails-ism
- It helps to isolate and highlight what the Adapter interface actually is
2015-09-20 12:26:04 -05:00
..
action_controller Remove SerializableResource.serialize in favor of .new 2015-09-08 23:28:10 -05:00
active_model Introduce Adapter::Base 2015-09-20 12:26:04 -05:00
generators/serializer Style/StringLiterals single quote all the things 2015-09-03 20:50:45 -05:00
tasks Add Style enforcer (via Rubocop) 2015-09-03 20:50:45 -05:00
active_model_serializers.rb Comment private accessor warnings 2015-09-17 14:32:22 -05:00