solidus_backend 2.11.1 → 2.11.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/controllers/spree/admin/refunds_controller.rb +3 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edda8f280af33793045e5a05b81e0e5051c4fa4f665321516131372231b46def
|
4
|
+
data.tar.gz: 0a43d4a3cb2484d87be631f23f6f4f5502e22ae936fed6168d8fa1d792c788a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfd0bab97b4c039b321fe2a2925a782017eb41f239be28c2bc6636815c066f4b40311db2b80906b09efb229243e966f50419a5de8fd743c23804fa5200e9f8b0
|
7
|
+
data.tar.gz: 8eb6640bf8a4c18f7172a97eea27af3338ee62076abee561b15001247d9e1813678d890791585d12a26f34dc0da6ddf2c2b3a3f254e1ba1f2df1923b87b16a76
|
@@ -11,8 +11,9 @@ module Spree
|
|
11
11
|
rescue_from Spree::Core::GatewayError, with: :spree_core_gateway_error
|
12
12
|
|
13
13
|
def create
|
14
|
-
@refund.attributes = refund_params
|
15
|
-
|
14
|
+
@refund.attributes = refund_params
|
15
|
+
|
16
|
+
if @refund.valid? && @refund.perform!
|
16
17
|
flash[:success] = flash_message_for(@refund, :successfully_created)
|
17
18
|
respond_with(@refund) do |format|
|
18
19
|
format.html { redirect_to location_after_save }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.11.
|
19
|
+
version: 2.11.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.11.
|
26
|
+
version: 2.11.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: solidus_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.11.
|
33
|
+
version: 2.11.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.11.
|
40
|
+
version: 2.11.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coffee-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|