workarea-authorize_cim 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) 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 +13 -0
  7. data/.rails-rubocop.yml +130 -0
  8. data/.rubocop.yml +13 -0
  9. data/CHANGELOG.md +90 -0
  10. data/CODE_OF_CONDUCT.md +3 -0
  11. data/CONTRIBUTING.md +3 -0
  12. data/Gemfile +12 -0
  13. data/LICENSE +52 -0
  14. data/LICENSE.md +3 -0
  15. data/README.md +40 -0
  16. data/Rakefile +50 -0
  17. data/app/errors/workarea/payment/create_profile_error.rb +19 -0
  18. data/app/models/workarea/payment.decorator +14 -0
  19. data/app/models/workarea/payment/authorize/credit_card.decorator +61 -0
  20. data/app/models/workarea/payment/capture/credit_card.decorator +38 -0
  21. data/app/models/workarea/payment/profile.decorator +169 -0
  22. data/app/models/workarea/payment/purchase/credit_card.decorator +61 -0
  23. data/app/models/workarea/payment/refund.decorator +19 -0
  24. data/app/models/workarea/payment/refund/credit_card.decorator +39 -0
  25. data/app/models/workarea/payment/store_credit_card.decorator +122 -0
  26. data/app/models/workarea/payment/tender/credit_card.decorator +25 -0
  27. data/app/models/workarea/payment/transaction.decorator +16 -0
  28. data/bin/rails +17 -0
  29. data/bin/rake +17 -0
  30. data/bin/rspec +17 -0
  31. data/bin/rubocop +17 -0
  32. data/config/initializers/configuration.rb +3 -0
  33. data/lib/active_merchant/billing/bogus_authorize_net_cim_gateway.rb +99 -0
  34. data/lib/workarea/authorize_cim.rb +47 -0
  35. data/lib/workarea/authorize_cim/engine.rb +10 -0
  36. data/lib/workarea/authorize_cim/error.rb +12 -0
  37. data/lib/workarea/authorize_cim/version.rb +7 -0
  38. data/test/dummy/Rakefile +6 -0
  39. data/test/dummy/app/assets/config/manifest.js +4 -0
  40. data/test/dummy/app/assets/images/.keep +0 -0
  41. data/test/dummy/app/assets/javascripts/application.js +13 -0
  42. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  43. data/test/dummy/app/controllers/application_controller.rb +3 -0
  44. data/test/dummy/app/controllers/concerns/.keep +0 -0
  45. data/test/dummy/app/helpers/application_helper.rb +2 -0
  46. data/test/dummy/app/jobs/application_job.rb +2 -0
  47. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  48. data/test/dummy/app/models/concerns/.keep +0 -0
  49. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  50. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  51. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  52. data/test/dummy/bin/bundle +3 -0
  53. data/test/dummy/bin/rails +4 -0
  54. data/test/dummy/bin/rake +4 -0
  55. data/test/dummy/bin/setup +34 -0
  56. data/test/dummy/bin/update +29 -0
  57. data/test/dummy/config.ru +5 -0
  58. data/test/dummy/config/application.rb +20 -0
  59. data/test/dummy/config/boot.rb +5 -0
  60. data/test/dummy/config/cable.yml +9 -0
  61. data/test/dummy/config/environment.rb +5 -0
  62. data/test/dummy/config/environments/development.rb +56 -0
  63. data/test/dummy/config/environments/production.rb +86 -0
  64. data/test/dummy/config/environments/test.rb +43 -0
  65. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  66. data/test/dummy/config/initializers/assets.rb +11 -0
  67. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  68. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  69. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  70. data/test/dummy/config/initializers/inflections.rb +16 -0
  71. data/test/dummy/config/initializers/mime_types.rb +4 -0
  72. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  73. data/test/dummy/config/initializers/session_store.rb +3 -0
  74. data/test/dummy/config/initializers/workarea.rb +5 -0
  75. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  76. data/test/dummy/config/locales/en.yml +23 -0
  77. data/test/dummy/config/puma.rb +47 -0
  78. data/test/dummy/config/routes.rb +5 -0
  79. data/test/dummy/config/secrets.yml +22 -0
  80. data/test/dummy/config/spring.rb +6 -0
  81. data/test/dummy/db/seeds.rb +3 -0
  82. data/test/dummy/lib/assets/.keep +0 -0
  83. data/test/dummy/log/.keep +0 -0
  84. data/test/dummy/public/404.html +67 -0
  85. data/test/dummy/public/422.html +67 -0
  86. data/test/dummy/public/500.html +66 -0
  87. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  88. data/test/dummy/public/apple-touch-icon.png +0 -0
  89. data/test/dummy/public/favicon.ico +0 -0
  90. data/test/factories/workarea/factories/authorize_cim_factory.rb +14 -0
  91. data/test/models/workarea/payment/authorize/credit_card_test.decorator +17 -0
  92. data/test/models/workarea/payment/authorize_cim_integration_test.rb +137 -0
  93. data/test/models/workarea/payment/capture/credit_card_test.decorator +80 -0
  94. data/test/models/workarea/payment/credit_card_integration_test.decorator +30 -0
  95. data/test/models/workarea/payment/profile_test.rb +60 -0
  96. data/test/models/workarea/payment/purchase/credit_card_test.decorator +17 -0
  97. data/test/models/workarea/payment/refund/credit_card_test.decorator +95 -0
  98. data/test/models/workarea/payment/refund_test.decorator +14 -0
  99. data/test/models/workarea/payment/store_credit_card_test.decorator +7 -0
  100. data/test/services/workarea/cancel_order_test.decorator +55 -0
  101. data/test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb +14 -0
  102. data/test/support/workarea/authorize_cim_gateway_vcr_config.rb +22 -0
  103. data/test/support/workarea/workarea_3_2_backports.rb +57 -0
  104. data/test/system/workarea/storefront/orders_system_test.decorator +28 -0
  105. data/test/test_helper.rb +17 -0
  106. data/test/vcr_cassettes/authorize_net_cim/auth_capture.yml +435 -0
  107. data/test/vcr_cassettes/authorize_net_cim/auth_void.yml +436 -0
  108. data/test/vcr_cassettes/authorize_net_cim/purchase_void.yml +436 -0
  109. data/test/vcr_cassettes/authorize_net_cim/store_auth.yml +371 -0
  110. data/test/vcr_cassettes/authorize_net_cim/store_purchase.yml +371 -0
  111. data/test/vcr_cassettes/credit_card/auth_capture.yml +438 -0
  112. data/test/vcr_cassettes/credit_card/auth_void.yml +439 -0
  113. data/test/vcr_cassettes/credit_card/purchase_void.yml +439 -0
  114. data/test/vcr_cassettes/credit_card/store_auth.yml +374 -0
  115. data/test/vcr_cassettes/credit_card/store_purchase.yml +374 -0
  116. data/test/workers/workarea/send_refund_email_test.decorator +70 -0
  117. data/workarea-authorize_cim.gemspec +27 -0
  118. metadata +187 -0
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-authorize_cim
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Tom Scott
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-22 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
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Authorize.Net CIM Integration for WorkArea
42
+ email:
43
+ - tscott@workarea.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".editorconfig"
49
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
50
+ - ".github/ISSUE_TEMPLATE/documentation-request.md"
51
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
52
+ - ".gitignore"
53
+ - ".rails-rubocop.yml"
54
+ - ".rubocop.yml"
55
+ - CHANGELOG.md
56
+ - CODE_OF_CONDUCT.md
57
+ - CONTRIBUTING.md
58
+ - Gemfile
59
+ - LICENSE
60
+ - LICENSE.md
61
+ - README.md
62
+ - Rakefile
63
+ - app/errors/workarea/payment/create_profile_error.rb
64
+ - app/models/workarea/payment.decorator
65
+ - app/models/workarea/payment/authorize/credit_card.decorator
66
+ - app/models/workarea/payment/capture/credit_card.decorator
67
+ - app/models/workarea/payment/profile.decorator
68
+ - app/models/workarea/payment/purchase/credit_card.decorator
69
+ - app/models/workarea/payment/refund.decorator
70
+ - app/models/workarea/payment/refund/credit_card.decorator
71
+ - app/models/workarea/payment/store_credit_card.decorator
72
+ - app/models/workarea/payment/tender/credit_card.decorator
73
+ - app/models/workarea/payment/transaction.decorator
74
+ - bin/rails
75
+ - bin/rake
76
+ - bin/rspec
77
+ - bin/rubocop
78
+ - config/initializers/configuration.rb
79
+ - lib/active_merchant/billing/bogus_authorize_net_cim_gateway.rb
80
+ - lib/workarea/authorize_cim.rb
81
+ - lib/workarea/authorize_cim/engine.rb
82
+ - lib/workarea/authorize_cim/error.rb
83
+ - lib/workarea/authorize_cim/version.rb
84
+ - test/dummy/Rakefile
85
+ - test/dummy/app/assets/config/manifest.js
86
+ - test/dummy/app/assets/images/.keep
87
+ - test/dummy/app/assets/javascripts/application.js
88
+ - test/dummy/app/assets/stylesheets/application.css
89
+ - test/dummy/app/controllers/application_controller.rb
90
+ - test/dummy/app/controllers/concerns/.keep
91
+ - test/dummy/app/helpers/application_helper.rb
92
+ - test/dummy/app/jobs/application_job.rb
93
+ - test/dummy/app/mailers/application_mailer.rb
94
+ - test/dummy/app/models/concerns/.keep
95
+ - test/dummy/app/views/layouts/application.html.erb
96
+ - test/dummy/app/views/layouts/mailer.html.erb
97
+ - test/dummy/app/views/layouts/mailer.text.erb
98
+ - test/dummy/bin/bundle
99
+ - test/dummy/bin/rails
100
+ - test/dummy/bin/rake
101
+ - test/dummy/bin/setup
102
+ - test/dummy/bin/update
103
+ - test/dummy/config.ru
104
+ - test/dummy/config/application.rb
105
+ - test/dummy/config/boot.rb
106
+ - test/dummy/config/cable.yml
107
+ - test/dummy/config/environment.rb
108
+ - test/dummy/config/environments/development.rb
109
+ - test/dummy/config/environments/production.rb
110
+ - test/dummy/config/environments/test.rb
111
+ - test/dummy/config/initializers/application_controller_renderer.rb
112
+ - test/dummy/config/initializers/assets.rb
113
+ - test/dummy/config/initializers/backtrace_silencers.rb
114
+ - test/dummy/config/initializers/cookies_serializer.rb
115
+ - test/dummy/config/initializers/filter_parameter_logging.rb
116
+ - test/dummy/config/initializers/inflections.rb
117
+ - test/dummy/config/initializers/mime_types.rb
118
+ - test/dummy/config/initializers/new_framework_defaults.rb
119
+ - test/dummy/config/initializers/session_store.rb
120
+ - test/dummy/config/initializers/workarea.rb
121
+ - test/dummy/config/initializers/wrap_parameters.rb
122
+ - test/dummy/config/locales/en.yml
123
+ - test/dummy/config/puma.rb
124
+ - test/dummy/config/routes.rb
125
+ - test/dummy/config/secrets.yml
126
+ - test/dummy/config/spring.rb
127
+ - test/dummy/db/seeds.rb
128
+ - test/dummy/lib/assets/.keep
129
+ - test/dummy/log/.keep
130
+ - test/dummy/public/404.html
131
+ - test/dummy/public/422.html
132
+ - test/dummy/public/500.html
133
+ - test/dummy/public/apple-touch-icon-precomposed.png
134
+ - test/dummy/public/apple-touch-icon.png
135
+ - test/dummy/public/favicon.ico
136
+ - test/factories/workarea/factories/authorize_cim_factory.rb
137
+ - test/models/workarea/payment/authorize/credit_card_test.decorator
138
+ - test/models/workarea/payment/authorize_cim_integration_test.rb
139
+ - test/models/workarea/payment/capture/credit_card_test.decorator
140
+ - test/models/workarea/payment/credit_card_integration_test.decorator
141
+ - test/models/workarea/payment/profile_test.rb
142
+ - test/models/workarea/payment/purchase/credit_card_test.decorator
143
+ - test/models/workarea/payment/refund/credit_card_test.decorator
144
+ - test/models/workarea/payment/refund_test.decorator
145
+ - test/models/workarea/payment/store_credit_card_test.decorator
146
+ - test/services/workarea/cancel_order_test.decorator
147
+ - test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb
148
+ - test/support/workarea/authorize_cim_gateway_vcr_config.rb
149
+ - test/support/workarea/workarea_3_2_backports.rb
150
+ - test/system/workarea/storefront/orders_system_test.decorator
151
+ - test/test_helper.rb
152
+ - test/vcr_cassettes/authorize_net_cim/auth_capture.yml
153
+ - test/vcr_cassettes/authorize_net_cim/auth_void.yml
154
+ - test/vcr_cassettes/authorize_net_cim/purchase_void.yml
155
+ - test/vcr_cassettes/authorize_net_cim/store_auth.yml
156
+ - test/vcr_cassettes/authorize_net_cim/store_purchase.yml
157
+ - test/vcr_cassettes/credit_card/auth_capture.yml
158
+ - test/vcr_cassettes/credit_card/auth_void.yml
159
+ - test/vcr_cassettes/credit_card/purchase_void.yml
160
+ - test/vcr_cassettes/credit_card/store_auth.yml
161
+ - test/vcr_cassettes/credit_card/store_purchase.yml
162
+ - test/workers/workarea/send_refund_email_test.decorator
163
+ - workarea-authorize_cim.gemspec
164
+ homepage: https://github.com/workarea-commerce/workarea-authorize_cim
165
+ licenses:
166
+ - Business Software License
167
+ metadata: {}
168
+ post_install_message:
169
+ rdoc_options: []
170
+ require_paths:
171
+ - lib
172
+ required_ruby_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: 2.0.0
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ requirements: []
183
+ rubygems_version: 3.0.4
184
+ signing_key:
185
+ specification_version: 4
186
+ summary: Authorize.Net CIM Integration for WorkArea
187
+ test_files: []