solidus_sample 4.1.3 → 4.1.5

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
  SHA256:
3
- metadata.gz: f51105320b65b2241f2febcd64a50386c364ccbcb00d887fc6d4921c61787575
4
- data.tar.gz: 97c48972174021d0e8bcfc0479c06df86cdde11cfa6b66cfcc02f44ed9059e8f
3
+ metadata.gz: ae1701d930d4eb2f8e42a07487a5b5dffd9f48c739dfdf14673cbfe65811edf6
4
+ data.tar.gz: d755b6e00f3785fd8b033eda9ee9f6de6bb27edfb5ca0f86adec3bd04a7ef280
5
5
  SHA512:
6
- metadata.gz: 11fc3cd6ee13654c083c13b94c79b9818fbaf745fdbc95af829d2aced7130049b26287f58e297ee39635ce24f91774cd1d65457bf242dcbf1be26da07566c8f0
7
- data.tar.gz: 2dda5a3c61b96d5d9280ba6e02cd4af53369bedb2bca6e6dce5650bde574449e408f4923366149c396eca59d25c7d087fa441520b34bc51a9c0604553c7a359b
6
+ metadata.gz: 90e207c9a2038a4677f4ea7b37823845f918aa2a6bb8c0d559173d7b8a873ab65882063f5df4d9772462ed0d6a06735701cb0db377349876d8c4ac45560e377f
7
+ data.tar.gz: 8a48f5c004cd19d25adc117c1375bad28bf181542ece44c69608412e8c0113ce944d1e23bce47fdf50346b313ee4df07a5c7e610e823c42eb337b395438ca043
@@ -9,7 +9,7 @@ colored_clothes = [
9
9
  "Solidus T-Shirt", "Solidus Long Sleeve", "Solidus Women's T-Shirt"
10
10
  ]
11
11
 
12
- Spree::Product.all.each do |product|
12
+ Spree::Product.all.find_each do |product|
13
13
  product.option_types = [size]
14
14
  product.option_types << color if colored_clothes.include?(product.name)
15
15
  product.save!
data/db/samples/stock.rb CHANGED
@@ -7,7 +7,7 @@ location = Spree::StockLocation.first_or_create! name: 'default', address1: 'Exa
7
7
  location.active = true
8
8
  location.save!
9
9
 
10
- Spree::Variant.all.each do |variant|
10
+ Spree::Variant.all.find_each do |variant|
11
11
  variant.stock_items.each do |stock_item|
12
12
  Spree::StockMovement.create(quantity: 10, stock_item: stock_item)
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_sample
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2024-04-05 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: 4.1.3
19
+ version: 4.1.5
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: 4.1.3
26
+ version: 4.1.5
27
27
  description: Sample data (including images) for use with Solidus.
28
28
  email: contact@solidus.io
29
29
  executables: []
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.8.23
111
111
  requirements: []
112
- rubygems_version: 3.4.17
112
+ rubygems_version: 3.4.19
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Sample data (including images) for use with Solidus.