You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the project and update the gemspec and file and directory names:
sinja-sequel.gemspec
lib/sinja-sequel.rb
lib/sinja/sequel.rb
lib/sinja/sequel/
lib/sinatra/jsonapi/sequel.rb
Minimally, update core.rb to provide the basic configuration and helpers for the library in question:
Configuration
conflict_exceptions
not_found_exceptions
validation_exceptions
validation_formatter
Helpers
transaction
filter
sort
finalize
validate!
If the library supports pagination, update pagination.rb (and its hook in core.rb):
Configuration
page_using
Helpers
page
Add helpers to helpers.rb that will ease the pain of writing action helpers, if any.
Rewrite the extension to generate basic action helpers for resource, has_many, and has_one, if possible.
For bonus credit, import/fork the demo app and port it to your new extension.
Update README.md to reflect your work and document best practices.
Send me a PR to add your extension to the main Sinja README (pending a code review).
Alternatively, pending a code review, I would be willing to fork your repo and assume maintainership of the extension, adding you back as a contributor.
The text was updated successfully, but these errors were encountered:
Guidelines:
sinja-sequel.gemspec
lib/sinja-sequel.rb
lib/sinja/sequel.rb
lib/sinja/sequel/
lib/sinatra/jsonapi/sequel.rb
core.rb
to provide the basic configuration and helpers for the library in question:conflict_exceptions
not_found_exceptions
validation_exceptions
validation_formatter
transaction
filter
sort
finalize
validate!
pagination.rb
(and its hook incore.rb
):page_using
page
helpers.rb
that will ease the pain of writing action helpers, if any.resource
,has_many
, andhas_one
, if possible.README.md
to reflect your work and document best practices.The text was updated successfully, but these errors were encountered: