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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bda763bbff2f46ad522f122cd491d42a6963fc70
4
- data.tar.gz: d3acbb04aa0f1b2132a7d2d423f7ee64bf5de4eb
3
+ metadata.gz: 0f19fc3eca3ef36d64afecf9be290b60608d8aef
4
+ data.tar.gz: 4dd48ebeb5e231d72ad0bac04ed168a78c91de73
5
5
  SHA512:
6
- metadata.gz: 1d710ee8cff24176d6408acada10a9fe7c8c657369bd8179072bd535ddd29cdceddffd0b8077e2c8dcf0629dad4788b13bd4bb049bd682f022a8502f52f32718
7
- data.tar.gz: f10b8c84cf9c5b7cd35e67d9808b470a4cd9ae8f0a7cd8c2f9a94664a0a6e96f5671a0e2a9c5665d963e0da7fc2411b99893f9d4b765c5c5d00d77287eb1f63f
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.rc1
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-07 00:00:00.000000000 Z
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.rc1
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.rc1
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: 1.3.1
284
+ version: '0'
285
285
  requirements: []
286
286
  rubyforge_project:
287
287
  rubygems_version: 2.5.1