accountability 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -17
- data/app/assets/config/accountability_manifest.js +1 -0
- data/app/assets/stylesheets/{acts_as_billable → accountability}/application.css +1 -1
- data/app/controllers/accountability/accounts_controller.rb +19 -0
- data/app/controllers/accountability/application_controller.rb +45 -0
- data/app/controllers/accountability/order_groups_controller.rb +65 -0
- data/app/controllers/accountability/products_controller.rb +56 -0
- data/app/helpers/accountability/application_helper.rb +19 -0
- data/app/models/accountability/account.rb +28 -0
- data/app/models/accountability/account/transactions.rb +43 -0
- data/app/models/accountability/application_record.rb +3 -0
- data/app/models/accountability/coupon.rb +39 -0
- data/app/models/accountability/credit.rb +46 -0
- data/app/models/accountability/debit.rb +14 -0
- data/app/models/accountability/deduction.rb +17 -0
- data/app/models/accountability/discount.rb +36 -0
- data/app/models/accountability/offerable.rb +76 -0
- data/app/models/accountability/order_group.rb +52 -0
- data/app/models/accountability/order_item.rb +88 -0
- data/app/models/accountability/payment.rb +8 -0
- data/app/models/accountability/product.rb +53 -0
- data/app/views/accountability/accounts/index.html.haml +13 -0
- data/app/views/accountability/accounts/show.html.haml +12 -0
- data/app/views/accountability/order_groups/new.html.haml +1 -0
- data/app/views/accountability/order_groups/show.html.haml +16 -0
- data/app/views/accountability/products/edit.html.erb +1 -0
- data/app/views/accountability/products/index.html.haml +39 -0
- data/app/views/accountability/products/new.html.erb +40 -0
- data/app/views/accountability/products/show.html.erb +1 -0
- data/app/views/layouts/acts_as_billable/application.html.erb +2 -2
- data/config/routes.rb +1 -3
- data/db/migrate/20190814000455_create_accountability_tables.rb +117 -0
- data/lib/accountability.rb +10 -0
- data/lib/accountability/cartographer.rb +28 -0
- data/lib/accountability/configuration.rb +16 -0
- data/lib/accountability/engine.rb +9 -0
- data/lib/accountability/extensions.rb +15 -0
- data/lib/accountability/extensions/acts_as_billable.rb +14 -0
- data/lib/accountability/extensions/acts_as_offerable.rb +36 -0
- data/lib/accountability/version.rb +3 -0
- metadata +40 -14
- data/app/assets/config/acts_as_billable_manifest.js +0 -1
- data/app/controllers/acts_as_billable/application_controller.rb +0 -3
- data/app/controllers/acts_as_billable/pages_controller.rb +0 -5
- data/app/helpers/acts_as_billable/application_helper.rb +0 -2
- data/app/models/acts_as_billable/application_record.rb +0 -3
- data/app/models/acts_as_billable/product.rb +0 -2
- data/app/views/acts_as_billable/pages/dashboard.html.erb +0 -1
- data/db/migrate/20190814000455_create_acts_as_billable_tables.rb +0 -51
- data/lib/acts_as_billable.rb +0 -5
- data/lib/acts_as_billable/engine.rb +0 -3
- data/lib/acts_as_billable/version.rb +0 -3
data/lib/acts_as_billable.rb
DELETED