spree_gateway 3.9.0 → 3.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{app/models → lib/spree_frontend/controllers}/spree/checkout_controller_decorator.rb +0 -0
- data/lib/spree_gateway/engine.rb +7 -0
- data/lib/spree_gateway/version.rb +1 -1
- data/spec/features/stripe_elements_3ds_checkout_spec.rb +1 -0
- data/spree_gateway.gemspec +7 -0
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b54b6ec2e6137ae258ac3d108c715f3a8bf2e534c8f3ee13946529831fdf6c8e
|
4
|
+
data.tar.gz: 95e413abf6077ee0ed9cf92d260be0ad44de0888334d94b6d60b8b68002e85fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b94ebcae1a0004d780547e34f73764093a84ab49a36a6c31bbc5177b7094c6c609a545da6684d262eb65155550c8c6eb1eb528118a1258ef2b090512c862afa7
|
7
|
+
data.tar.gz: 2facdc1ebd849fe10fffb1b2ab0daebef9e90d7178bcad1a29fd3cd896935fc12c2f828dd48e01644557f3abf21320b76402c150ba8399b309fbbc5d9a83a668
|
File without changes
|
data/lib/spree_gateway/engine.rb
CHANGED
@@ -44,6 +44,12 @@ module SpreeGateway
|
|
44
44
|
Dir.glob(File.join(File.dirname(__FILE__), '../../lib/active_merchant/**/*_decorator*.rb')) do |c|
|
45
45
|
Rails.application.config.cache_classes ? require(c) : load(c)
|
46
46
|
end
|
47
|
+
|
48
|
+
if self.frontend_available?
|
49
|
+
Dir.glob(File.join(File.dirname(__FILE__), '../../lib/spree_frontend/controllers/spree/*_decorator*.rb')) do |c|
|
50
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
51
|
+
end
|
52
|
+
end
|
47
53
|
end
|
48
54
|
|
49
55
|
def self.backend_available?
|
@@ -61,6 +67,7 @@ module SpreeGateway
|
|
61
67
|
paths['app/controllers'] << 'lib/controllers'
|
62
68
|
|
63
69
|
if self.frontend_available?
|
70
|
+
paths["app/controllers"] << "lib/spree_frontend/controllers"
|
64
71
|
paths["app/views"] << "lib/views/frontend"
|
65
72
|
end
|
66
73
|
|
@@ -65,6 +65,7 @@ describe 'Stripe Elements 3ds checkout', type: :feature, js: true do
|
|
65
65
|
let(:card_number) { '4242424242424242' }
|
66
66
|
|
67
67
|
it 'should successfully place order without 3ds authentication' do
|
68
|
+
|
68
69
|
expect(page).to have_content('Order placed successfully')
|
69
70
|
order = Spree::Order.complete.last
|
70
71
|
expect(page.current_url).to include("/orders/#{order.number}")
|
data/spree_gateway.gemspec
CHANGED
@@ -16,6 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = 'https://spreecommerce.org'
|
17
17
|
s.license = 'BSD-3-Clause'
|
18
18
|
|
19
|
+
s.metadata = {
|
20
|
+
"bug_tracker_uri" => "https://github.com/spree/spree_gateway/issues",
|
21
|
+
"changelog_uri" => "https://github.com/spree/spree_gateway/releases/tag/v#{s.version}",
|
22
|
+
"documentation_uri" => "https://guides.spreecommerce.org/",
|
23
|
+
"source_code_uri" => "https://github.com/spree/spree_gateway/tree/v#{s.version}",
|
24
|
+
}
|
25
|
+
|
19
26
|
s.files = `git ls-files`.split("\n")
|
20
27
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
21
28
|
s.require_path = 'lib'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spree Commerce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -119,7 +119,6 @@ files:
|
|
119
119
|
- app/models/spree/apple_pay_payment_decorator.rb
|
120
120
|
- app/models/spree/billing_integration.rb
|
121
121
|
- app/models/spree/check.rb
|
122
|
-
- app/models/spree/checkout_controller_decorator.rb
|
123
122
|
- app/models/spree/gateway/authorize_net.rb
|
124
123
|
- app/models/spree/gateway/authorize_net_cim.rb
|
125
124
|
- app/models/spree/gateway/balanced_gateway.rb
|
@@ -174,6 +173,7 @@ files:
|
|
174
173
|
- lib/controllers/spree/api/v2/storefront/intents_controller.rb
|
175
174
|
- lib/controllers/spree/apple_pay_domain_verification_controller.rb
|
176
175
|
- lib/generators/spree_gateway/install/install_generator.rb
|
176
|
+
- lib/spree_frontend/controllers/spree/checkout_controller_decorator.rb
|
177
177
|
- lib/spree_gateway.rb
|
178
178
|
- lib/spree_gateway/engine.rb
|
179
179
|
- lib/spree_gateway/version.rb
|
@@ -234,7 +234,11 @@ files:
|
|
234
234
|
homepage: https://spreecommerce.org
|
235
235
|
licenses:
|
236
236
|
- BSD-3-Clause
|
237
|
-
metadata:
|
237
|
+
metadata:
|
238
|
+
bug_tracker_uri: https://github.com/spree/spree_gateway/issues
|
239
|
+
changelog_uri: https://github.com/spree/spree_gateway/releases/tag/v3.9.2
|
240
|
+
documentation_uri: https://guides.spreecommerce.org/
|
241
|
+
source_code_uri: https://github.com/spree/spree_gateway/tree/v3.9.2
|
238
242
|
post_install_message:
|
239
243
|
rdoc_options: []
|
240
244
|
require_paths:
|