Compare changes in gem | Compare changes in template
Compare changes in gem | Compare changes in template
Compare changes in gem | Compare changes in template
-
Add
encode
helper. #69 and pliny-template#132- Add
helpers Pliny::Helpers::Encode
to yourEndpoints::Base
- Replace calls to
MultiJson.encode
withencode
in all your endpoints.
- Add
-
Serializers::Base#serialize
will now serialize Arrays and othersEnumberable
objects by itself. pliny-template#125Replace in your Endpoints the call to
MultiJson.encode User.all.map { |x| serialize(x) }
with
encode serialize(User.all)
-
New
CastingConfigHelpers
pre casts env vars, so you don't have to at all the call sites.See pliny-template#131 for how to use it.
-
Introduce
lib/application.rb
. pliny-template#133Useful when using gems, like Sidekiq. This allows you to require your pliny application in one call.
For example in theProcfile
.worker: bundle exec sidekiq --require ./lib/application.rb
Compare changes in gem | Compare changes in template
Compare changes in gem | Compare changes in template