solidus_sample 3.0.8 → 3.1.0

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
  SHA256:
3
- metadata.gz: fa0b356bdc3ee9358c4c372b74c54ea74213c0a8b8ae004ae3b5a41ef720f32f
4
- data.tar.gz: 4a0cdfd6edb2974488c7e0b5fa4d952e5ad2f188342c08ba8e3ce735462fdd49
3
+ metadata.gz: f930055a3b5d3a855371c511ca0f299112e5d0c043eb19f8346f108733e4ea7e
4
+ data.tar.gz: 43ba7d3e8907abac80faa5ae021a1dfc6dfad87517e8fc25f25eb96d89ec0597
5
5
  SHA512:
6
- metadata.gz: 7b2feb34f43e1328d1af0f06ad95b676f02ef61c37092b8d016e546c05ed5636e05447656fb62fa22beae71f4ab97c6f201508f86303966c9fef2d589c0c5fec
7
- data.tar.gz: 7483f0d98e9a5ae6f2616303b65edcd60adf1e53cb6a8584df51b95ed0318a0196fb1fbbd2d58d0598277321a44513287ba294fe0224793f2174f81ade9f3bf6
6
+ metadata.gz: 8204b1bb29a6508f10539881bfa90ff8368e86a575dacb4a944df35d2267757d3282cbea3cf1068f0303a0fc388bbe2bfd7a1bb3925f23f7487cfad4c034bcf2
7
+ data.tar.gz: b717489e2e50d984d79f809d37adfcb541bd042726b01a449b1bc814ded951d9dd29acf0425ce526abcbb080fa60ae19e67558e3704bbd43626af7a56a456a15
data/db/samples/assets.rb CHANGED
@@ -6,7 +6,7 @@ Spree::Sample.load_sample("variants")
6
6
  products = {}
7
7
  products[:solidus_tshirt] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus T-Shirt")
8
8
  products[:solidus_long] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Long Sleeve")
9
- products[:solidus_girly] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Girly")
9
+ products[:solidus_womens_tshirt] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Women's T-Shirt")
10
10
  products[:solidus_snapback_cap] = Spree::Product.find_by!(name: "Solidus Snapback Cap")
11
11
  products[:solidus_hoodie] = Spree::Product.find_by!(name: "Solidus Hoodie Zip")
12
12
  products[:ruby_hoodie] = Spree::Product.find_by!(name: "Ruby Hoodie")
@@ -107,9 +107,9 @@ products[:solidus_long].variants.each do |variant|
107
107
  end
108
108
  end
109
109
 
110
- products[:solidus_girly].reload.variants.each do |variant|
110
+ products[:solidus_womens_tshirt].reload.variants.each do |variant|
111
111
  color = variant.option_value("tshirt-color").downcase
112
- main_image = image("solidus_girly_#{color}", "png")
112
+ main_image = image("solidus_womens_tshirt_#{color}", "png")
113
113
  File.open(main_image) do |f|
114
114
  variant.images.create!(attachment: f)
115
115
  end
@@ -96,7 +96,7 @@ products =
96
96
  "Type" => "Mug",
97
97
  "Size" => %{4.5" tall, 3.25" dia.}
98
98
  },
99
- "Solidus Girly" =>
99
+ "Solidus Women's T-Shirt" =>
100
100
  {
101
101
  "Manufacturer" => "Jerseys",
102
102
  "Brand" => "Conditioned",
@@ -44,7 +44,7 @@ products = [
44
44
  depth: 5
45
45
  },
46
46
  {
47
- name: "Solidus Girly",
47
+ name: "Solidus Women's T-Shirt",
48
48
  tax_category: tax_category,
49
49
  shipping_category: shipping_category,
50
50
  price: 19.99,
data/db/samples/taxons.rb CHANGED
@@ -18,7 +18,7 @@ products = {
18
18
  ruby_polo: "Ruby Polo",
19
19
  solidus_mug: "Solidus Mug",
20
20
  ruby_mug: "Ruby Mug",
21
- solidus_girly: "Solidus Girly"
21
+ solidus_womens_tshirt: "Solidus Women's T-Shirt"
22
22
  }
23
23
 
24
24
  products.each do |key, name|
@@ -73,7 +73,7 @@ taxons = [
73
73
  products: [
74
74
  products[:solidus_long],
75
75
  products[:ruby_polo],
76
- products[:solidus_girly]
76
+ products[:solidus_womens_tshirt]
77
77
  ]
78
78
  },
79
79
  {
@@ -111,7 +111,7 @@ taxons = [
111
111
  products[:solidus_hoodie],
112
112
  products[:solidus_mug],
113
113
  products[:solidus_tote],
114
- products[:solidus_girly]
114
+ products[:solidus_womens_tshirt]
115
115
  ]
116
116
  },
117
117
  {
@@ -14,7 +14,7 @@ solidus_mug = Spree::Product.find_by!(name: "Solidus Mug")
14
14
  ruby_mug = Spree::Product.find_by!(name: "Ruby Mug")
15
15
  solidus_tote = Spree::Product.find_by!(name: "Solidus Tote")
16
16
  ruby_tote = Spree::Product.find_by!(name: "Ruby Tote")
17
- solidus_girly = Spree::Product.find_by!(name: "Solidus Girly")
17
+ solidus_womens_tshirt = Spree::Product.find_by!(name: "Solidus Women's T-Shirt")
18
18
 
19
19
  small = Spree::OptionValue.find_by!(name: "Small")
20
20
  medium = Spree::OptionValue.find_by!(name: "Medium")
@@ -123,37 +123,37 @@ variants = [
123
123
  cost_price: 17
124
124
  },
125
125
  {
126
- product: solidus_girly,
126
+ product: solidus_womens_tshirt,
127
127
  option_values: [small, black],
128
128
  sku: "SOL-WM001",
129
129
  cost_price: 17
130
130
  },
131
131
  {
132
- product: solidus_girly,
132
+ product: solidus_womens_tshirt,
133
133
  option_values: [small, blue],
134
134
  sku: "SOL-WM002",
135
135
  cost_price: 17
136
136
  },
137
137
  {
138
- product: solidus_girly,
138
+ product: solidus_womens_tshirt,
139
139
  option_values: [small, white],
140
140
  sku: "SOL-WM003",
141
141
  cost_price: 17
142
142
  },
143
143
  {
144
- product: solidus_girly,
144
+ product: solidus_womens_tshirt,
145
145
  option_values: [medium, blue],
146
146
  sku: "SOL-WM004",
147
147
  cost_price: 17
148
148
  },
149
149
  {
150
- product: solidus_girly,
150
+ product: solidus_womens_tshirt,
151
151
  option_values: [medium, white],
152
152
  sku: "SOL-WM005",
153
153
  cost_price: 17
154
154
  },
155
155
  {
156
- product: solidus_girly,
156
+ product: solidus_womens_tshirt,
157
157
  option_values: [medium, black],
158
158
  sku: "SOL-WM006",
159
159
  cost_price: 17
@@ -205,7 +205,7 @@ masters = {
205
205
  sku: "RUB-MG01",
206
206
  cost_price: 7
207
207
  },
208
- solidus_girly => {
208
+ solidus_womens_tshirt => {
209
209
  sku: "SOL-WM00",
210
210
  cost_price: 17
211
211
  }
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: 3.0.8
4
+ version: 3.1.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: 2022-09-22 00:00:00.000000000 Z
11
+ date: 2021-09-10 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: 3.0.8
19
+ version: 3.1.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: 3.0.8
26
+ version: 3.1.0
27
27
  description: Sample data (including images) for use with Solidus.
28
28
  email: contact@solidus.io
29
29
  executables: []
@@ -41,10 +41,6 @@ files:
41
41
  - db/samples/images/ruby_mug.jpg
42
42
  - db/samples/images/ruby_polo.jpg
43
43
  - db/samples/images/ruby_polo_back.jpg
44
- - db/samples/images/solidus_girly.jpg
45
- - db/samples/images/solidus_girly_black.png
46
- - db/samples/images/solidus_girly_blue.png
47
- - db/samples/images/solidus_girly_white.png
48
44
  - db/samples/images/solidus_hoodie.jpg
49
45
  - db/samples/images/solidus_long.jpg
50
46
  - db/samples/images/solidus_long_back.jpg
@@ -64,6 +60,10 @@ files:
64
60
  - db/samples/images/solidus_tshirt_black.png
65
61
  - db/samples/images/solidus_tshirt_blue.png
66
62
  - db/samples/images/solidus_tshirt_white.png
63
+ - db/samples/images/solidus_womens_tshirt.jpg
64
+ - db/samples/images/solidus_womens_tshirt_black.png
65
+ - db/samples/images/solidus_womens_tshirt_blue.png
66
+ - db/samples/images/solidus_womens_tshirt_white.png
67
67
  - db/samples/images/tote_bag_ruby.jpg
68
68
  - db/samples/images/tote_bag_solidus.jpg
69
69
  - db/samples/option_types.rb
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: 1.8.23
110
110
  requirements: []
111
- rubygems_version: 3.3.7
111
+ rubygems_version: 3.2.20
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Sample data (including images) for use with Solidus.