spree_api 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0baeb34a841cbeec0a8b478e5412b14747e28433
4
- data.tar.gz: 26e9a4951c2d5875a51bd4c3454c2b64b152116b
3
+ metadata.gz: ca43b49ea66d204fdeefd36be3e54a9e5a6bee02
4
+ data.tar.gz: 65645ed9ac2395b7fa3d971caaa314e5ee452690
5
5
  SHA512:
6
- metadata.gz: 74cb502eefc6a43572559fee484fba1bd6f880d3d2d7bc8c835c63ad6685700adbd71b5f6002ff9cd011b450f682f8cfa44d1c702b1262d3e2e3dff55b57ce4a
7
- data.tar.gz: d5f37aebf55c5d8efacdd9f6221cc67e0822e1d7201ed85c0229c85387f56e49ef4f092bcf54aa3d2a6f7b915ad76509db4a2de24720bab7950d3b69f32cc4b8
6
+ metadata.gz: 5c2f8a7e39ada5e2fc32f2557f4ae89926bd6d1e5af6a28c537a868ccd0756fe9cd712c4ccd603f6515e44bca9b7e5ca8cd592c3fd92dd9d1bc239a734ad9164
7
+ data.tar.gz: 8178a618dcbf35bd1759368ff8e218156287a76a2ee91692a611519d86fef823441dbb668e4ad8f4718fedf7c54539fd2d1e565f8a19129dfec2f1f45335f6a8
@@ -35,7 +35,7 @@ module Spree
35
35
 
36
36
  return if after_update_attributes
37
37
 
38
- if @order.next || @order.completed?
38
+ if @order.completed? || @order.next
39
39
  state_callback(:after)
40
40
  respond_with(@order, default_template: 'spree/api/orders/show')
41
41
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Bigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-04 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.3
19
+ version: 2.4.4
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.4.3
26
+ version: 2.4.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement