solidus_sample 4.4.2 → 4.5.1
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 +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: 5fe1a5c70d65c55a16b89b2e687b5e285b9c3ae656edcff6d7d31a3518f12606
|
4
|
+
data.tar.gz: 2aa75f3f30a90dfadf14443d0c0f1496cec838bd2f2e4785076ad55a7a5700eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77e370f737a5808b335df562cfa27f896ff46f158f8e649c9defe8adf898ded813d8814fa1e79f728c2808678f3a6c3e5afe19252ca5a3dae12f795034c127f3
|
7
|
+
data.tar.gz: 7b882af2b0b412a5371d91478f500854786c99dad62ffc05fe83e0bc068a8149ff10e19e236b2525360f0d045cbc0ab18c6da213138a7011dea33702fd4ebf55
|
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.1
|
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-03-06 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.1
|
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.1
|
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.5
|
106
|
-
signing_key:
|
103
|
+
rubygems_version: 3.6.5
|
107
104
|
specification_version: 4
|
108
105
|
summary: Sample data (including images) for use with Solidus.
|
109
106
|
test_files: []
|