solidus_open_pay 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +61 -0
- data/.github/stale.yml +1 -0
- data/.gitignore +22 -0
- data/.rspec +2 -0
- data/.rubocop.yml +249 -0
- data/Gemfile +49 -0
- data/LICENSE +26 -0
- data/README.md +37 -0
- data/Rakefile +11 -0
- data/app/assets/images/solidus_open_pay/.gitkeep +0 -0
- data/app/assets/javascripts/spree/backend/solidus_open_pay.js +2 -0
- data/app/assets/javascripts/spree/frontend/solidus_open_pay.js +2 -0
- data/app/assets/stylesheets/spree/backend/solidus_openpay.css +3 -0
- data/app/assets/stylesheets/spree/frontend/solidus_openpay.css +3 -0
- data/app/models/concerns/solidus_open_pay/attributes_access.rb +83 -0
- data/app/models/solidus_open_pay/builders/charge.rb +72 -0
- data/app/models/solidus_open_pay/gateway.rb +98 -0
- data/app/models/solidus_open_pay/payment_method.rb +30 -0
- data/app/models/solidus_open_pay/payment_source.rb +25 -0
- data/app/models/solidus_open_pay/response.rb +63 -0
- data/app/views/checkouts/payment/_open_pay.html.erb +171 -0
- data/app/views/spree/admin/payments/source_views/_open_pay.html.erb +21 -0
- data/app/views/spree/api/payments/source_views/_open_pay.json.jbuilder +3 -0
- data/app/views/spree/checkout/payment/_open_pay.html.erb +183 -0
- data/bin/console +17 -0
- data/bin/rails +7 -0
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/sandbox +86 -0
- data/bin/setup +8 -0
- data/config/locales/en.yml +44 -0
- data/config/locales/es-MX.yml +44 -0
- data/config/locales/es.yml +44 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20241120003957_add_open_pay_sources.rb +23 -0
- data/lib/generators/solidus_open_pay/install/install_generator.rb +113 -0
- data/lib/generators/solidus_open_pay/install/templates/config/initializers/solidus_open_pay.rb +6 -0
- data/lib/solidus_open_pay/configuration.rb +27 -0
- data/lib/solidus_open_pay/engine.rb +38 -0
- data/lib/solidus_open_pay/testing_support/factories.rb +34 -0
- data/lib/solidus_open_pay/version.rb +5 -0
- data/lib/solidus_open_pay.rb +5 -0
- data/lib/tasks/solidus_openpay_tasks.rake +6 -0
- data/solidus_open_pay.gemspec +39 -0
- data/spec/models/solidus_open_pay/payment_method_spec.rb +417 -0
- data/spec/solidus_open_pay_spec_helper.rb +5 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/support/factory_bot.rb +10 -0
- data/spec/support/solidus.rb +18 -0
- data/spec/support/solidus_open_pay/gateway_helpers.rb +27 -0
- metadata +197 -0
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: solidus_open_pay
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jonathan
|
8
|
+
- Tapia
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: deface
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.5'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.5'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: solidus_core
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3.0'
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '5.0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '3.0'
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: solidus_support
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.8.0
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.8.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: openpay
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rails-controller-testing
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: solidus_dev_support
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.5'
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.5'
|
104
|
+
description:
|
105
|
+
email:
|
106
|
+
- jtapia.dev@gmail.com
|
107
|
+
executables: []
|
108
|
+
extensions: []
|
109
|
+
extra_rdoc_files: []
|
110
|
+
files:
|
111
|
+
- ".circleci/config.yml"
|
112
|
+
- ".github/stale.yml"
|
113
|
+
- ".gitignore"
|
114
|
+
- ".rspec"
|
115
|
+
- ".rubocop.yml"
|
116
|
+
- Gemfile
|
117
|
+
- LICENSE
|
118
|
+
- README.md
|
119
|
+
- Rakefile
|
120
|
+
- app/assets/images/solidus_open_pay/.gitkeep
|
121
|
+
- app/assets/javascripts/spree/backend/solidus_open_pay.js
|
122
|
+
- app/assets/javascripts/spree/frontend/solidus_open_pay.js
|
123
|
+
- app/assets/stylesheets/spree/backend/solidus_openpay.css
|
124
|
+
- app/assets/stylesheets/spree/frontend/solidus_openpay.css
|
125
|
+
- app/models/concerns/solidus_open_pay/attributes_access.rb
|
126
|
+
- app/models/solidus_open_pay/builders/charge.rb
|
127
|
+
- app/models/solidus_open_pay/gateway.rb
|
128
|
+
- app/models/solidus_open_pay/payment_method.rb
|
129
|
+
- app/models/solidus_open_pay/payment_source.rb
|
130
|
+
- app/models/solidus_open_pay/response.rb
|
131
|
+
- app/views/checkouts/payment/_open_pay.html.erb
|
132
|
+
- app/views/spree/admin/payments/source_views/_open_pay.html.erb
|
133
|
+
- app/views/spree/api/payments/source_views/_open_pay.json.jbuilder
|
134
|
+
- app/views/spree/checkout/payment/_open_pay.html.erb
|
135
|
+
- bin/console
|
136
|
+
- bin/rails
|
137
|
+
- bin/rails-engine
|
138
|
+
- bin/rails-sandbox
|
139
|
+
- bin/rake
|
140
|
+
- bin/sandbox
|
141
|
+
- bin/setup
|
142
|
+
- config/locales/en.yml
|
143
|
+
- config/locales/es-MX.yml
|
144
|
+
- config/locales/es.yml
|
145
|
+
- config/routes.rb
|
146
|
+
- db/migrate/20241120003957_add_open_pay_sources.rb
|
147
|
+
- lib/generators/solidus_open_pay/install/install_generator.rb
|
148
|
+
- lib/generators/solidus_open_pay/install/templates/config/initializers/solidus_open_pay.rb
|
149
|
+
- lib/solidus_open_pay.rb
|
150
|
+
- lib/solidus_open_pay/configuration.rb
|
151
|
+
- lib/solidus_open_pay/engine.rb
|
152
|
+
- lib/solidus_open_pay/testing_support/factories.rb
|
153
|
+
- lib/solidus_open_pay/version.rb
|
154
|
+
- lib/tasks/solidus_openpay_tasks.rake
|
155
|
+
- solidus_open_pay.gemspec
|
156
|
+
- spec/models/solidus_open_pay/payment_method_spec.rb
|
157
|
+
- spec/solidus_open_pay_spec_helper.rb
|
158
|
+
- spec/spec_helper.rb
|
159
|
+
- spec/support/factory_bot.rb
|
160
|
+
- spec/support/solidus.rb
|
161
|
+
- spec/support/solidus_open_pay/gateway_helpers.rb
|
162
|
+
homepage: http://github.com/jtapia/solidus_open_pay
|
163
|
+
licenses:
|
164
|
+
- BSD-3-Clause
|
165
|
+
metadata:
|
166
|
+
homepage_uri: http://github.com/jtapia/solidus_open_pay
|
167
|
+
source_code_uri: https://github.com/jtapia/solidus_open_pay
|
168
|
+
changelog_uri: https://github.com/jtapia/solidus_open_pay/blob/master/CHANGELOG.md
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '2.5'
|
178
|
+
- - "<"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '4'
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
requirements: []
|
187
|
+
rubygems_version: 3.5.11
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: Solidus Engine for Openpay Mexican Payment Gateway
|
191
|
+
test_files:
|
192
|
+
- spec/models/solidus_open_pay/payment_method_spec.rb
|
193
|
+
- spec/solidus_open_pay_spec_helper.rb
|
194
|
+
- spec/spec_helper.rb
|
195
|
+
- spec/support/factory_bot.rb
|
196
|
+
- spec/support/solidus.rb
|
197
|
+
- spec/support/solidus_open_pay/gateway_helpers.rb
|