.gitignore | |
|
|
.rspec | |
|
|
.rubocop.yml | |
|
|
.travis.yml | |
|
|
.yardopts | |
|
|
Gemfile | |
|
|
LICENSE.txt | |
|
|
README.md | |
|
|
Rakefile | |
|
|
bin/console | |
|
|
panther.gemspec | |
|
|
lib/panther.rb | 43 |
|
|
lib/panther/authorizer.rb | 24 |
|
|
lib/panther/contract/base.rb | 8 |
|
|
lib/panther/contract/types.rb | 7 |
|
|
lib/panther/controller.rb | 63 |
|
|
lib/panther/namer.rb | 29 |
|
|
lib/panther/naming.rb | 23 |
|
|
lib/panther/operation/base.rb | 54 |
|
|
lib/panther/operation/crud/create.rb | 29 |
|
|
lib/panther/operation/crud/destroy.rb | 16 |
|
|
lib/panther/operation/crud/index.rb | 20 |
|
|
lib/panther/operation/crud/show.rb | 15 |
|
|
lib/panther/operation/crud/update.rb | 26 |
|
|
lib/panther/operation/errors/base.rb | 21 |
|
|
lib/panther/operation/errors/invalid_contract.rb | 20 |
|
|
lib/panther/operation/errors/not_found.rb | 14 |
|
|
lib/panther/operation/errors/unauthorized.rb | 23 |
|
|
lib/panther/operation/mixins/authorization.rb | 13 |
|
|
lib/panther/operation/mixins/hooks.rb | 26 |
|
|
lib/panther/operation/mixins/validation.rb | 9 |
|
|
lib/panther/paginator.rb | 34 |
|
|
lib/panther/paginator/engine.rb | 14 |
|
|
lib/panther/paginator/kaminari_engine.rb | 14 |
|
|
lib/panther/paginator/will_paginate_engine.rb | 17 |
|
|
lib/panther/policy/base.rb | 11 |
|
|
lib/panther/representer/association.rb | 90 |
|
|
lib/panther/representer/association/binding.rb | 51 |
|
|
lib/panther/representer/association/reflection.rb | 70 | A 1 hr |
|
lib/panther/representer/base.rb | 8 |
|
|
lib/panther/representer/collection.rb | 24 |
|
|
lib/panther/representer/pagination.rb | 46 |
|
|
lib/panther/representer/timestamped.rb | 18 |
|
|
lib/panther/validator.rb | 27 |
|
|
lib/panther/version.rb | 3 |
|
|