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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa06c5143ed4281567a88b1a3237c63e96c608a32c4f3d11ee54811f6b776108
4
- data.tar.gz: 479a858bb8c4e43936ecee55d573ebd15228772438c461e86c95ed5a4d65f91d
3
+ metadata.gz: edda8f280af33793045e5a05b81e0e5051c4fa4f665321516131372231b46def
4
+ data.tar.gz: 0a43d4a3cb2484d87be631f23f6f4f5502e22ae936fed6168d8fa1d792c788a0
5
5
  SHA512:
6
- metadata.gz: f96eb0492d0bc0af33cd16e7a6f25b4d3c43164683fd6d3f5572062af4bb65fff5ba651930ee2b2b1da564a6c5769ab3cf78bc9dfb0da9b0e922087b4d2ab16c
7
- data.tar.gz: 1605c6b1a664c1703a776fd1669bd17c946d826e7fec078f15e74f77d7973071e0ea0385e13a7277efb4f8dc9c92d016733da1da6cddc33f4007c58c9e93b547
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.merge(perform_after_create: false)
15
- if @refund.save && @refund.perform!
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.1
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-06 00:00:00.000000000 Z
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.1
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.1
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.1
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.1
40
+ version: 2.11.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement