workarea-worldpay_xml 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  4. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  6. data/.gitignore +19 -0
  7. data/.rails-rubocop.yml +130 -0
  8. data/.rubocop.yml +14 -0
  9. data/CHANGELOG.md +21 -0
  10. data/CODE_OF_CONDUCT.md +3 -0
  11. data/CONTRIBUTING.md +3 -0
  12. data/Gemfile +10 -0
  13. data/LICENSE +52 -0
  14. data/README.md +63 -0
  15. data/Rakefile +60 -0
  16. data/app/models/workarea/payment/authorize/credit_card.decorator +36 -0
  17. data/app/models/workarea/payment/credit_card_data.rb +48 -0
  18. data/app/models/workarea/payment/purchase/credit_card.decorator +36 -0
  19. data/app/models/workarea/payment/refund/credit_card.decorator +28 -0
  20. data/app/models/workarea/payment/store_credit_card.decorator +27 -0
  21. data/app/models/workarea/payment/tender/credit_card.decorator +7 -0
  22. data/bin/rails +20 -0
  23. data/config/initializers/workarea.rb +1 -0
  24. data/lib/active_merchant/billing/bogus_worldpay_gateway.rb +65 -0
  25. data/lib/active_merchant/billing/worldpay_tokenize.rb +118 -0
  26. data/lib/workarea/worldpay_xml.rb +48 -0
  27. data/lib/workarea/worldpay_xml/engine.rb +8 -0
  28. data/lib/workarea/worldpay_xml/version.rb +5 -0
  29. data/test/dummy/Rakefile +6 -0
  30. data/test/dummy/app/assets/config/manifest.js +4 -0
  31. data/test/dummy/app/assets/images/.keep +0 -0
  32. data/test/dummy/app/assets/javascripts/application.js +13 -0
  33. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  34. data/test/dummy/app/controllers/application_controller.rb +3 -0
  35. data/test/dummy/app/controllers/concerns/.keep +0 -0
  36. data/test/dummy/app/helpers/application_helper.rb +2 -0
  37. data/test/dummy/app/jobs/application_job.rb +2 -0
  38. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  39. data/test/dummy/app/models/concerns/.keep +0 -0
  40. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  41. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  42. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  43. data/test/dummy/bin/bundle +3 -0
  44. data/test/dummy/bin/rails +4 -0
  45. data/test/dummy/bin/rake +4 -0
  46. data/test/dummy/bin/setup +30 -0
  47. data/test/dummy/bin/update +26 -0
  48. data/test/dummy/bin/yarn +11 -0
  49. data/test/dummy/config.ru +5 -0
  50. data/test/dummy/config/application.rb +31 -0
  51. data/test/dummy/config/boot.rb +5 -0
  52. data/test/dummy/config/cable.yml +10 -0
  53. data/test/dummy/config/environment.rb +5 -0
  54. data/test/dummy/config/environments/development.rb +51 -0
  55. data/test/dummy/config/environments/production.rb +88 -0
  56. data/test/dummy/config/environments/test.rb +44 -0
  57. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  58. data/test/dummy/config/initializers/assets.rb +14 -0
  59. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  60. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  61. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/test/dummy/config/initializers/inflections.rb +16 -0
  63. data/test/dummy/config/initializers/mime_types.rb +4 -0
  64. data/test/dummy/config/initializers/workarea.rb +5 -0
  65. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  66. data/test/dummy/config/locales/en.yml +33 -0
  67. data/test/dummy/config/puma.rb +56 -0
  68. data/test/dummy/config/routes.rb +5 -0
  69. data/test/dummy/config/secrets.yml +32 -0
  70. data/test/dummy/config/spring.rb +6 -0
  71. data/test/dummy/db/seeds.rb +2 -0
  72. data/test/dummy/lib/assets/.keep +0 -0
  73. data/test/dummy/log/.keep +0 -0
  74. data/test/dummy/package.json +5 -0
  75. data/test/models/workarea/payment/authorize/credit_card_test.decorator +40 -0
  76. data/test/models/workarea/payment/capture_test.decorator +10 -0
  77. data/test/models/workarea/payment/credit_card_integration_test.decorator +24 -0
  78. data/test/models/workarea/payment/purchase/credit_card_test.decorator +25 -0
  79. data/test/models/workarea/payment/refund/credit_card_test.decorator +24 -0
  80. data/test/models/workarea/payment/refund_test.decorator +10 -0
  81. data/test/models/workarea/payment/store_credit_card_test.decorator +11 -0
  82. data/test/teaspoon_env.rb +6 -0
  83. data/test/test_helper.rb +10 -0
  84. data/test/workers/workarea/send_refund_email_test.decorator +29 -0
  85. data/workarea-worldpay_xml.gemspec +17 -0
  86. metadata +141 -0
@@ -0,0 +1,17 @@
1
+ $:.push File.expand_path('../lib', __FILE__)
2
+
3
+ require 'workarea/worldpay_xml/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'workarea-worldpay_xml'
7
+ s.version = Workarea::WorldpayXml::VERSION
8
+ s.authors = ['Jeff Yucis']
9
+ s.email = ['jyucis@weblinc.com']
10
+ s.homepage = 'https://github.com/workarea-commerce/workarea-worldpay-xml'
11
+ s.summary = 'Integrates Worldpay with Workarea Commerce Platform'
12
+ s.description = 'Integrates Worldpay with Workarea Commerce Platform using the XML API.'
13
+ s.files = `git ls-files`.split("\n")
14
+ s.license = 'Business Software License'
15
+
16
+ s.add_dependency 'workarea', '~> 3.x'
17
+ end
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-worldpay_xml
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jeff Yucis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: workarea
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.x
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.x
27
+ description: Integrates Worldpay with Workarea Commerce Platform using the XML API.
28
+ email:
29
+ - jyucis@weblinc.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".editorconfig"
35
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
36
+ - ".github/ISSUE_TEMPLATE/documentation-request.md"
37
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
38
+ - ".gitignore"
39
+ - ".rails-rubocop.yml"
40
+ - ".rubocop.yml"
41
+ - CHANGELOG.md
42
+ - CODE_OF_CONDUCT.md
43
+ - CONTRIBUTING.md
44
+ - Gemfile
45
+ - LICENSE
46
+ - README.md
47
+ - Rakefile
48
+ - app/models/workarea/payment/authorize/credit_card.decorator
49
+ - app/models/workarea/payment/credit_card_data.rb
50
+ - app/models/workarea/payment/purchase/credit_card.decorator
51
+ - app/models/workarea/payment/refund/credit_card.decorator
52
+ - app/models/workarea/payment/store_credit_card.decorator
53
+ - app/models/workarea/payment/tender/credit_card.decorator
54
+ - bin/rails
55
+ - config/initializers/workarea.rb
56
+ - lib/active_merchant/billing/bogus_worldpay_gateway.rb
57
+ - lib/active_merchant/billing/worldpay_tokenize.rb
58
+ - lib/workarea/worldpay_xml.rb
59
+ - lib/workarea/worldpay_xml/engine.rb
60
+ - lib/workarea/worldpay_xml/version.rb
61
+ - test/dummy/Rakefile
62
+ - test/dummy/app/assets/config/manifest.js
63
+ - test/dummy/app/assets/images/.keep
64
+ - test/dummy/app/assets/javascripts/application.js
65
+ - test/dummy/app/assets/stylesheets/application.css
66
+ - test/dummy/app/controllers/application_controller.rb
67
+ - test/dummy/app/controllers/concerns/.keep
68
+ - test/dummy/app/helpers/application_helper.rb
69
+ - test/dummy/app/jobs/application_job.rb
70
+ - test/dummy/app/mailers/application_mailer.rb
71
+ - test/dummy/app/models/concerns/.keep
72
+ - test/dummy/app/views/layouts/application.html.erb
73
+ - test/dummy/app/views/layouts/mailer.html.erb
74
+ - test/dummy/app/views/layouts/mailer.text.erb
75
+ - test/dummy/bin/bundle
76
+ - test/dummy/bin/rails
77
+ - test/dummy/bin/rake
78
+ - test/dummy/bin/setup
79
+ - test/dummy/bin/update
80
+ - test/dummy/bin/yarn
81
+ - test/dummy/config.ru
82
+ - test/dummy/config/application.rb
83
+ - test/dummy/config/boot.rb
84
+ - test/dummy/config/cable.yml
85
+ - test/dummy/config/environment.rb
86
+ - test/dummy/config/environments/development.rb
87
+ - test/dummy/config/environments/production.rb
88
+ - test/dummy/config/environments/test.rb
89
+ - test/dummy/config/initializers/application_controller_renderer.rb
90
+ - test/dummy/config/initializers/assets.rb
91
+ - test/dummy/config/initializers/backtrace_silencers.rb
92
+ - test/dummy/config/initializers/cookies_serializer.rb
93
+ - test/dummy/config/initializers/filter_parameter_logging.rb
94
+ - test/dummy/config/initializers/inflections.rb
95
+ - test/dummy/config/initializers/mime_types.rb
96
+ - test/dummy/config/initializers/workarea.rb
97
+ - test/dummy/config/initializers/wrap_parameters.rb
98
+ - test/dummy/config/locales/en.yml
99
+ - test/dummy/config/puma.rb
100
+ - test/dummy/config/routes.rb
101
+ - test/dummy/config/secrets.yml
102
+ - test/dummy/config/spring.rb
103
+ - test/dummy/db/seeds.rb
104
+ - test/dummy/lib/assets/.keep
105
+ - test/dummy/log/.keep
106
+ - test/dummy/package.json
107
+ - test/models/workarea/payment/authorize/credit_card_test.decorator
108
+ - test/models/workarea/payment/capture_test.decorator
109
+ - test/models/workarea/payment/credit_card_integration_test.decorator
110
+ - test/models/workarea/payment/purchase/credit_card_test.decorator
111
+ - test/models/workarea/payment/refund/credit_card_test.decorator
112
+ - test/models/workarea/payment/refund_test.decorator
113
+ - test/models/workarea/payment/store_credit_card_test.decorator
114
+ - test/teaspoon_env.rb
115
+ - test/test_helper.rb
116
+ - test/workers/workarea/send_refund_email_test.decorator
117
+ - workarea-worldpay_xml.gemspec
118
+ homepage: https://github.com/workarea-commerce/workarea-worldpay-xml
119
+ licenses:
120
+ - Business Software License
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubygems_version: 3.0.4
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: Integrates Worldpay with Workarea Commerce Platform
141
+ test_files: []