solidus_sample 4.4.2 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/samples/products.rb +24 -0
- data/db/samples/taxonomies.rb +1 -1
- data/db/samples/taxons.rb +24 -0
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 519bdb71d1202a4c06977764863f78ae6ec8ac5fd9a521512ecc10ff4a29979a
|
4
|
+
data.tar.gz: c6173227b1c92d450309f9ff86acf740a50693f74577503223933802cfc06a88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c285eec185cf0e8b960df2939f4e00a3c4a603dbb0fd2c6649180e102871cbf53c2faed727a6b2e80db69e53b029b7d69920bea115d6b818e50c7ce8505ed9c
|
7
|
+
data.tar.gz: d6b03a396d2f860c556bcd7dc5a51dbd21ec32ba48cd04e0c4472b9c5127a45fe2579d97ce1c883c4654651c717e28280e3760bf36862a686038317e71c652b8
|
data/db/samples/products.rb
CHANGED
@@ -27,6 +27,8 @@ products = [
|
|
27
27
|
shipping_category:,
|
28
28
|
price: 19.99,
|
29
29
|
eur_price: 16,
|
30
|
+
gtin: 12345678,
|
31
|
+
condition: "new",
|
30
32
|
weight: 0.5,
|
31
33
|
height: 20,
|
32
34
|
width: 10,
|
@@ -38,6 +40,8 @@ products = [
|
|
38
40
|
shipping_category:,
|
39
41
|
price: 19.99,
|
40
42
|
eur_price: 16,
|
43
|
+
gtin: 12345678,
|
44
|
+
condition: "new",
|
41
45
|
weight: 0.5,
|
42
46
|
height: 20,
|
43
47
|
width: 10,
|
@@ -49,6 +53,8 @@ products = [
|
|
49
53
|
shipping_category:,
|
50
54
|
price: 29.99,
|
51
55
|
eur_price: 27,
|
56
|
+
gtin: 12345678,
|
57
|
+
condition: "new",
|
52
58
|
weight: 1,
|
53
59
|
height: 20,
|
54
60
|
width: 10,
|
@@ -60,6 +66,8 @@ products = [
|
|
60
66
|
shipping_category:,
|
61
67
|
price: 19.99,
|
62
68
|
eur_price: 16,
|
69
|
+
gtin: 12345678,
|
70
|
+
condition: "new",
|
63
71
|
weight: 0.5,
|
64
72
|
height: 20,
|
65
73
|
width: 10,
|
@@ -71,6 +79,8 @@ products = [
|
|
71
79
|
shipping_category:,
|
72
80
|
price: 29.99,
|
73
81
|
eur_price: 27,
|
82
|
+
gtin: 12345678,
|
83
|
+
condition: "new",
|
74
84
|
weight: 1,
|
75
85
|
height: 20,
|
76
86
|
width: 10,
|
@@ -82,6 +92,8 @@ products = [
|
|
82
92
|
shipping_category:,
|
83
93
|
price: 29.99,
|
84
94
|
eur_price: 27,
|
95
|
+
gtin: 12345678,
|
96
|
+
condition: "new",
|
85
97
|
weight: 0.8,
|
86
98
|
height: 20,
|
87
99
|
width: 10,
|
@@ -93,6 +105,8 @@ products = [
|
|
93
105
|
shipping_category:,
|
94
106
|
price: 26.99,
|
95
107
|
eur_price: 23,
|
108
|
+
gtin: 12345678,
|
109
|
+
condition: "new",
|
96
110
|
weight: 0.5,
|
97
111
|
height: 20,
|
98
112
|
width: 10,
|
@@ -104,6 +118,8 @@ products = [
|
|
104
118
|
shipping_category:,
|
105
119
|
price: 9.99,
|
106
120
|
eur_price: 7,
|
121
|
+
gtin: 12345678,
|
122
|
+
condition: "new",
|
107
123
|
weight: 1,
|
108
124
|
height: 5,
|
109
125
|
width: 5,
|
@@ -115,6 +131,8 @@ products = [
|
|
115
131
|
shipping_category:,
|
116
132
|
price: 15.99,
|
117
133
|
eur_price: 14,
|
134
|
+
gtin: 12345678,
|
135
|
+
condition: "new",
|
118
136
|
weight: 0.5,
|
119
137
|
height: 20,
|
120
138
|
width: 10,
|
@@ -126,6 +144,8 @@ products = [
|
|
126
144
|
shipping_category:,
|
127
145
|
price: 15.99,
|
128
146
|
eur_price: 14,
|
147
|
+
gtin: 12345678,
|
148
|
+
condition: "new",
|
129
149
|
weight: 0.5,
|
130
150
|
height: 20,
|
131
151
|
width: 10,
|
@@ -137,6 +157,8 @@ products = [
|
|
137
157
|
shipping_category:,
|
138
158
|
price: 15.99,
|
139
159
|
eur_price: 14,
|
160
|
+
gtin: 12345678,
|
161
|
+
condition: "new",
|
140
162
|
weight: 0.5,
|
141
163
|
height: 20,
|
142
164
|
width: 10,
|
@@ -149,6 +171,8 @@ products = [
|
|
149
171
|
shipping_category:,
|
150
172
|
price: 24,
|
151
173
|
eur_price: 22,
|
174
|
+
gtin: 12345678,
|
175
|
+
condition: "new",
|
152
176
|
weight: 0.5,
|
153
177
|
height: 20,
|
154
178
|
width: 10,
|
data/db/samples/taxonomies.rb
CHANGED
data/db/samples/taxons.rb
CHANGED
@@ -4,6 +4,7 @@ Spree::Sample.load_sample("taxonomies")
|
|
4
4
|
Spree::Sample.load_sample("products")
|
5
5
|
|
6
6
|
categories = Spree::Taxonomy.find_by!(name: "Categories")
|
7
|
+
brands = Spree::Taxonomy.find_by!(name: "Brands")
|
7
8
|
|
8
9
|
products = {
|
9
10
|
solidus_bottles: "Solidus Water Bottle",
|
@@ -29,6 +30,29 @@ taxons = [
|
|
29
30
|
name: "Categories",
|
30
31
|
taxonomy: categories,
|
31
32
|
},
|
33
|
+
{
|
34
|
+
name: "Brands",
|
35
|
+
taxonomy: brands
|
36
|
+
},
|
37
|
+
{
|
38
|
+
name: "Solidus",
|
39
|
+
taxonomy: brands,
|
40
|
+
parent: "Brands",
|
41
|
+
products: [
|
42
|
+
products[:solidus_tote],
|
43
|
+
products[:solidus_hoodie],
|
44
|
+
products[:solidus_mug_set],
|
45
|
+
products[:solidus_hat],
|
46
|
+
products[:solidus_sticker],
|
47
|
+
products[:solidus_notebook],
|
48
|
+
products[:solidus_tshirt],
|
49
|
+
products[:solidus_long_sleeve_tee],
|
50
|
+
products[:solidus_dark_tee],
|
51
|
+
products[:solidus_bottles],
|
52
|
+
products[:solidus_canvas_tote],
|
53
|
+
products[:solidus_cap]
|
54
|
+
]
|
55
|
+
},
|
32
56
|
{
|
33
57
|
name: "Clothing",
|
34
58
|
taxonomy: categories,
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: solidus_core
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - '='
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
18
|
+
version: 4.5.0
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - '='
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
25
|
+
version: 4.5.0
|
27
26
|
description: Sample data (including images) for use with Solidus.
|
28
27
|
email: contact@solidus.io
|
29
28
|
executables: []
|
@@ -87,7 +86,6 @@ licenses:
|
|
87
86
|
- BSD-3-Clause
|
88
87
|
metadata:
|
89
88
|
rubygems_mfa_required: 'true'
|
90
|
-
post_install_message:
|
91
89
|
rdoc_options: []
|
92
90
|
require_paths:
|
93
91
|
- lib
|
@@ -102,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
100
|
- !ruby/object:Gem::Version
|
103
101
|
version: 1.8.23
|
104
102
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
106
|
-
signing_key:
|
103
|
+
rubygems_version: 3.6.3
|
107
104
|
specification_version: 4
|
108
105
|
summary: Sample data (including images) for use with Solidus.
|
109
106
|
test_files: []
|