spree_sample 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66ccc4bd3816eea018e1ebd35fb2d7aff860bbd7
4
- data.tar.gz: d3dc13ae79d572cac9f37cea71371bb8ed2e00d5
3
+ metadata.gz: ca2dc1f2bf0a05cda028baed155eb4e5914998ea
4
+ data.tar.gz: 8b1ffbc448301f22cac06273123dafbeb460f7e0
5
5
  SHA512:
6
- metadata.gz: 11dc70d73b9de654592c84e822ff7b9736ae6099c3a66aaa00d19ca042a875ac17fb0f0dcac5fbf66cf18f32bd667c73babc47341209f85f9d54ad84f6daccaa
7
- data.tar.gz: 13cdb9e5e22514275c4f6022138a007276e82c635041d4673c37f1773753147280a6175fd820c54c09561a23fd7c338eb2cfd06f95c41759fb1547b450c69364
6
+ metadata.gz: c6a7b46f0b9ed94d74c6a54e3ce1f0f70022a42a95cc96bd7e2a421cd83e96995e79b7620d86870355805407fd6f673430966041facbbbb491a7b2bdc7b9b299
7
+ data.tar.gz: 6db4a08573dc01ff49b013c0b2a363363985e123a4816a13f8eef54872d84ea8bee0a924e2e5784cdd7ad977d7bc180a4afaa7aac735392500e8f8e244b1f82d
data/db/samples/orders.rb CHANGED
@@ -10,6 +10,7 @@ order = Spree::Order.create!({
10
10
  :billing_address => Spree::Address.last
11
11
  }, :without_protection => true)
12
12
  order.state = "complete"
13
+ order.completed_at = Time.now - 1.day
13
14
  order.save!
14
15
 
15
16
  order = Spree::Order.create!({
@@ -22,5 +23,6 @@ order = Spree::Order.create!({
22
23
  :billing_address => Spree::Address.last
23
24
  }, :without_protection => true)
24
25
  order.state = "complete"
26
+ order.completed_at = Time.now - 1.day
25
27
  order.save!
26
28
 
@@ -162,9 +162,9 @@ masters = {
162
162
  }
163
163
 
164
164
  variants.each do |variant_attrs|
165
- Spree::Variant.create!(variant_attrs, :without_protection => true)
165
+ Spree::Variant.create!(variant_attrs.merge(default_attrs), :without_protection => true)
166
166
  end
167
167
 
168
168
  masters.each do |product, variant_attrs|
169
- product.master.update_attributes!(variant_attrs)
169
+ product.master.update_attributes!(variant_attrs.merge(default_attrs), :without_protection => true)
170
170
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_sample
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-13 00:00:00.000000000 Z
11
+ date: 2013-10-15 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: 1.3.3
19
+ version: 1.3.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: 1.3.3
26
+ version: 1.3.4
27
27
  description: Required dependency for Spree
28
28
  email: sean@spreecommerce.com
29
29
  executables: []
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - none
111
111
  rubyforge_project:
112
- rubygems_version: 2.0.0
112
+ rubygems_version: 2.1.0
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Sample data (including images) for use with Spree.