spree_mollie_gateway 0.1.1 → 1.0.0.pre.beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +3 -1
  3. data/.travis.yml +12 -1
  4. data/CONTRIBUTING.md +28 -0
  5. data/Gemfile.lock +322 -2
  6. data/README.md +29 -54
  7. data/Rakefile +19 -4
  8. data/app/controllers/spree/api/v1/mollie_controller.rb +16 -0
  9. data/app/controllers/spree/checkout_controller_decorator.rb +5 -6
  10. data/app/controllers/spree/mollie_controller.rb +20 -8
  11. data/app/models/mollie/client_decorator.rb +13 -0
  12. data/app/models/spree/gateway/mollie_gateway.rb +108 -53
  13. data/app/models/spree/mollie_logger.rb +9 -0
  14. data/app/models/spree/{mollie_transaction.rb → mollie_payment_source.rb} +7 -3
  15. data/app/models/spree/order_decorator.rb +24 -0
  16. data/app/models/spree/payment/processing_decorator.rb +8 -2
  17. data/app/models/spree/payment_decorator.rb +16 -0
  18. data/app/models/spree/user_decorator.rb +4 -2
  19. data/app/views/spree/checkout/payment/_molliegateway.html.erb +40 -3
  20. data/app/views/spree/shared/_payment.html.erb +1 -1
  21. data/config/routes.rb +11 -1
  22. data/db/migrate/{20180214133044_create_spree_mollie_transactions.rb → 20180214133044_create_spree_mollie_payment_sources.rb} +2 -2
  23. data/db/migrate/20180301084841_add_mollie_customer_id_to_spree_user.rb +2 -1
  24. data/docs/api/methods.md +61 -0
  25. data/docs/api/readme.md +7 -0
  26. data/docs/debugging.md +26 -0
  27. data/lib/spree_mollie_gateway/engine.rb +13 -3
  28. data/lib/spree_mollie_gateway/factories.rb +10 -0
  29. data/lib/spree_mollie_gateway/version.rb +1 -1
  30. data/spree_mollie_gateway.gemspec +27 -12
  31. metadata +231 -8
  32. data/app/models/mollie/provider.rb +0 -5
@@ -1,5 +0,0 @@
1
- module Mollie
2
- class Provider < Client
3
- # Mollie Provider base class.
4
- end
5
- end