solidus_api 2.0.0.rc1 → 2.0.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: dd0aec69f067b032aabc62c8398d3b857b47ab81
4
- data.tar.gz: c55b763985bd53506eb5004cb78a90b786602339
3
+ metadata.gz: ed57b4876dc21d4d5c7dcefbc248ac0eb439f659
4
+ data.tar.gz: f106643a38bb722bc08b0ae2e8a78cbd85ab191c
5
5
  SHA512:
6
- metadata.gz: 81e87c6919c010a821c0fdf2e9a100ae81c6b00114d2049b8993558515c0082b92075043df7dfcae272acc5f2bc32b0c38dfa74c4a352e3b25b512d903cd8902
7
- data.tar.gz: 0410bd26faee3ebe8d973ec20650c011e9473351698f14c00c076bc128922134c8db9374b19ca90bebd085c62414809109b98f4fee7325b3b31f701e4e5e56c6
6
+ metadata.gz: 4a2ee0b797eae264db56eb2f12906226d8dadc5dd041a6921ce040fdc4142182253328d7c4896a8350ea38fa500f5d8b2f46b9d4580ce511026b6882e5f4ff0f
7
+ data.tar.gz: 4762bd86f07bea3c2eb4a2cf12289221af6929d5ab9e367cbbae8452afa9d21bccc22bbdb3fe03322c5710fad0abb9c0006b8568ed0794e0e449eff2e15a3851
@@ -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: 2.0.0.rc1
4
+ version: 2.0.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: 2.0.0.rc1
19
+ version: 2.0.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: 2.0.0.rc1
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -274,9 +274,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
274
  version: '0'
275
275
  required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - ">"
277
+ - - ">="
278
278
  - !ruby/object:Gem::Version
279
- version: 1.3.1
279
+ version: '0'
280
280
  requirements: []
281
281
  rubyforge_project:
282
282
  rubygems_version: 2.5.1