solidus_api 1.4.0.rc1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_api might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/spec/controllers/spree/api/orders_controller_spec.rb +4 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f19fc3eca3ef36d64afecf9be290b60608d8aef
|
4
|
+
data.tar.gz: 4dd48ebeb5e231d72ad0bac04ed168a78c91de73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc55b71b50b04857732f6b160dfe8e47bb0d9f5891e105325cc30c0643da5e77c90910310c60d5cec7beece284421fde2eb8f906f421a4d6cea54e28aba30ec0
|
7
|
+
data.tar.gz: 6fe84fa55a66d1e631c8d5e3d9984b2a43e5c2957a18855ed4280fb1ba673af29919835cd52a8170e9ca6c774a4d91f39c86e72402a9d6b6c1f01a7c14e07a2f
|
@@ -166,13 +166,13 @@ module Spree
|
|
166
166
|
end
|
167
167
|
|
168
168
|
it "returns orders in reverse chronological order by completed_at" do
|
169
|
-
order.update_columns completed_at: Time.current
|
169
|
+
order.update_columns completed_at: Time.current, created_at: 3.days.ago
|
170
170
|
|
171
|
-
order2 = Order.create user: order.user, completed_at: Time.current - 1.day, store: store
|
171
|
+
order2 = Order.create user: order.user, completed_at: Time.current - 1.day, created_at: 2.day.ago, store: store
|
172
172
|
expect(order2.created_at).to be > order.created_at
|
173
|
-
order3 = Order.create user: order.user, completed_at: nil, store: store
|
173
|
+
order3 = Order.create user: order.user, completed_at: nil, created_at: 1.day.ago, store: store
|
174
174
|
expect(order3.created_at).to be > order2.created_at
|
175
|
-
order4 = Order.create user: order.user, completed_at: nil, store: store
|
175
|
+
order4 = Order.create user: order.user, completed_at: nil, created_at: 0.days.ago, store: store
|
176
176
|
expect(order4.created_at).to be > order3.created_at
|
177
177
|
|
178
178
|
request.env['SERVER_NAME'] = store.url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.0
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.4.0
|
19
|
+
version: 1.4.0
|
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: 1.4.0
|
26
|
+
version: 1.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -279,9 +279,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
279
|
version: '0'
|
280
280
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
281
281
|
requirements:
|
282
|
-
- - "
|
282
|
+
- - ">="
|
283
283
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
284
|
+
version: '0'
|
285
285
|
requirements: []
|
286
286
|
rubyforge_project:
|
287
287
|
rubygems_version: 2.5.1
|