workarea-cyber_source 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) 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 +14 -0
  7. data/.rails-rubocop.yml +140 -0
  8. data/.rubocop.yml +8 -0
  9. data/CHANGELOG.md +39 -0
  10. data/CODE_OF_CONDUCT.md +3 -0
  11. data/CONTRIBUTING.md +3 -0
  12. data/Gemfile +11 -0
  13. data/LICENSE +52 -0
  14. data/README.md +27 -0
  15. data/Rakefile +59 -0
  16. data/app/models/workarea/payment/authorize/credit_card.decorator +45 -0
  17. data/app/models/workarea/payment/capture/credit_card.decorator +14 -0
  18. data/app/models/workarea/payment/purchase/credit_card.decorator +48 -0
  19. data/app/models/workarea/payment/refund/credit_card.decorator +14 -0
  20. data/app/models/workarea/payment/store_credit_card.decorator +13 -0
  21. data/bin/rails +20 -0
  22. data/config/initializers/gateway.rb +1 -0
  23. data/lib/active_merchant/billing/bogus_cyber_source_gateway.rb +97 -0
  24. data/lib/active_merchant/billing/cyber_source_fix.rb +34 -0
  25. data/lib/workarea/cyber_source.rb +36 -0
  26. data/lib/workarea/cyber_source/engine.rb +8 -0
  27. data/lib/workarea/cyber_source/version.rb +5 -0
  28. data/test/dummy/Rakefile +6 -0
  29. data/test/dummy/bin/bundle +3 -0
  30. data/test/dummy/bin/rails +4 -0
  31. data/test/dummy/bin/rake +4 -0
  32. data/test/dummy/bin/setup +38 -0
  33. data/test/dummy/bin/update +29 -0
  34. data/test/dummy/bin/yarn +11 -0
  35. data/test/dummy/config.ru +5 -0
  36. data/test/dummy/config/application.rb +28 -0
  37. data/test/dummy/config/boot.rb +5 -0
  38. data/test/dummy/config/cable.yml +10 -0
  39. data/test/dummy/config/environment.rb +5 -0
  40. data/test/dummy/config/environments/development.rb +56 -0
  41. data/test/dummy/config/environments/production.rb +91 -0
  42. data/test/dummy/config/environments/test.rb +44 -0
  43. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  44. data/test/dummy/config/initializers/assets.rb +14 -0
  45. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/mime_types.rb +4 -0
  50. data/test/dummy/config/initializers/workarea.rb +5 -0
  51. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/test/dummy/config/locales/en.yml +33 -0
  53. data/test/dummy/config/puma.rb +56 -0
  54. data/test/dummy/config/routes.rb +5 -0
  55. data/test/dummy/config/secrets.yml +32 -0
  56. data/test/dummy/config/spring.rb +6 -0
  57. data/test/dummy/db/seeds.rb +2 -0
  58. data/test/dummy/log/.keep +0 -0
  59. data/test/dummy/package.json +5 -0
  60. data/test/integration/workarea/cyber_source_integration_test.rb +191 -0
  61. data/test/models/workarea/payment/authorize/credit_card_test.decorator +68 -0
  62. data/test/models/workarea/payment/capture/credit_card_test.decorator +17 -0
  63. data/test/models/workarea/payment/purchase/credit_card_test.decorator +60 -0
  64. data/test/models/workarea/payment/refund/credit_card_test.decorator +17 -0
  65. data/test/models/workarea/payment/store_credit_card_test.decorator +15 -0
  66. data/test/support/workarea/cyber_source_support_vcr_config.rb +23 -0
  67. data/test/support/workarea/workarea_3_2_backports.rb +57 -0
  68. data/test/teaspoon_env.rb +6 -0
  69. data/test/test_helper.rb +11 -0
  70. data/test/vcr_cassettes/cyber_source/auth_capture.yml +254 -0
  71. data/test/vcr_cassettes/cyber_source/auth_capture_refund.yml +323 -0
  72. data/test/vcr_cassettes/cyber_source/auth_void.yml +250 -0
  73. data/test/vcr_cassettes/cyber_source/purchase_refund.yml +251 -0
  74. data/test/vcr_cassettes/cyber_source/purchase_void.yml +247 -0
  75. data/test/vcr_cassettes/cyber_source/store_auth.yml +179 -0
  76. data/test/vcr_cassettes/cyber_source/store_purchase.yml +180 -0
  77. data/workarea-cyber_source.gemspec +19 -0
  78. metadata +133 -0
@@ -0,0 +1,19 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ require "workarea/cyber_source/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "workarea-cyber_source"
7
+ s.version = Workarea::CyberSource::VERSION
8
+ s.authors = ["Eric Pigeon"]
9
+ s.email = ["epigeon@weblinc.com"]
10
+ s.homepage = "https://github.com/workarea-commerce/workarea-cyber_source"
11
+ s.summary = "CyberSource integration for Workarea Commerce Platform"
12
+ s.description = "CyberSource integration for Workarea Commerce Platform"
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+
16
+ s.license = 'Business Software License'
17
+
18
+ s.add_dependency "workarea", "~> 3.x"
19
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-cyber_source
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.3
5
+ platform: ruby
6
+ authors:
7
+ - Eric Pigeon
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: CyberSource integration for Workarea Commerce Platform
28
+ email:
29
+ - epigeon@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/capture/credit_card.decorator
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
+ - bin/rails
54
+ - config/initializers/gateway.rb
55
+ - lib/active_merchant/billing/bogus_cyber_source_gateway.rb
56
+ - lib/active_merchant/billing/cyber_source_fix.rb
57
+ - lib/workarea/cyber_source.rb
58
+ - lib/workarea/cyber_source/engine.rb
59
+ - lib/workarea/cyber_source/version.rb
60
+ - test/dummy/Rakefile
61
+ - test/dummy/bin/bundle
62
+ - test/dummy/bin/rails
63
+ - test/dummy/bin/rake
64
+ - test/dummy/bin/setup
65
+ - test/dummy/bin/update
66
+ - test/dummy/bin/yarn
67
+ - test/dummy/config.ru
68
+ - test/dummy/config/application.rb
69
+ - test/dummy/config/boot.rb
70
+ - test/dummy/config/cable.yml
71
+ - test/dummy/config/environment.rb
72
+ - test/dummy/config/environments/development.rb
73
+ - test/dummy/config/environments/production.rb
74
+ - test/dummy/config/environments/test.rb
75
+ - test/dummy/config/initializers/application_controller_renderer.rb
76
+ - test/dummy/config/initializers/assets.rb
77
+ - test/dummy/config/initializers/backtrace_silencers.rb
78
+ - test/dummy/config/initializers/cookies_serializer.rb
79
+ - test/dummy/config/initializers/filter_parameter_logging.rb
80
+ - test/dummy/config/initializers/inflections.rb
81
+ - test/dummy/config/initializers/mime_types.rb
82
+ - test/dummy/config/initializers/workarea.rb
83
+ - test/dummy/config/initializers/wrap_parameters.rb
84
+ - test/dummy/config/locales/en.yml
85
+ - test/dummy/config/puma.rb
86
+ - test/dummy/config/routes.rb
87
+ - test/dummy/config/secrets.yml
88
+ - test/dummy/config/spring.rb
89
+ - test/dummy/db/seeds.rb
90
+ - test/dummy/log/.keep
91
+ - test/dummy/package.json
92
+ - test/integration/workarea/cyber_source_integration_test.rb
93
+ - test/models/workarea/payment/authorize/credit_card_test.decorator
94
+ - test/models/workarea/payment/capture/credit_card_test.decorator
95
+ - test/models/workarea/payment/purchase/credit_card_test.decorator
96
+ - test/models/workarea/payment/refund/credit_card_test.decorator
97
+ - test/models/workarea/payment/store_credit_card_test.decorator
98
+ - test/support/workarea/cyber_source_support_vcr_config.rb
99
+ - test/support/workarea/workarea_3_2_backports.rb
100
+ - test/teaspoon_env.rb
101
+ - test/test_helper.rb
102
+ - test/vcr_cassettes/cyber_source/auth_capture.yml
103
+ - test/vcr_cassettes/cyber_source/auth_capture_refund.yml
104
+ - test/vcr_cassettes/cyber_source/auth_void.yml
105
+ - test/vcr_cassettes/cyber_source/purchase_refund.yml
106
+ - test/vcr_cassettes/cyber_source/purchase_void.yml
107
+ - test/vcr_cassettes/cyber_source/store_auth.yml
108
+ - test/vcr_cassettes/cyber_source/store_purchase.yml
109
+ - workarea-cyber_source.gemspec
110
+ homepage: https://github.com/workarea-commerce/workarea-cyber_source
111
+ licenses:
112
+ - Business Software License
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.0.4
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: CyberSource integration for Workarea Commerce Platform
133
+ test_files: []