solidus 4.7.2 → 4.8.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 +4 -4
- data/LICENSE +13 -0
- data/README.md +17 -44
- metadata +13 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75a77544f241a4c2f36a1ea483ca6e5b9edc3bc365ec34c2ec16c5f3c070364c
|
|
4
|
+
data.tar.gz: 7d4b1af98bbb626a5b66b9036ff8354b677473874bdc77595783ab9289c6edb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b817d435b839f589ea88447a2fc68c59237ffdd4d5e316432713025f12a2ab15810cb63afcf2cda9d4388d352499202c32091191faff8b5f97276bcb79b713c
|
|
7
|
+
data.tar.gz: fd20606072a1a635ceeff5a80b3e6f4307f56d29379965c02eacf48f2b1207a08839efa174b6aca295c44c3541b18b55187b2c57db245194cc7af6ee64baef23
|
data/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright © 2007-2014, Spree Commerce Inc. and other contributors.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Copyright © 2015-2026, Solidus contributors.
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
11
|
+
* Neither the name of Spree Commerce Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
12
|
+
|
|
13
|
+
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner of contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/solidusio/solidus/actions/workflows/test.yml)
|
|
6
6
|
[](https://codecov.io/gh/solidusio/solidus/branch/main)
|
|
7
7
|
[](https://rubygems.org/gems/solidus)
|
|
8
|
-
[](LICENSE
|
|
8
|
+
[](LICENSE)
|
|
9
9
|
|
|
10
10
|
[](https://opencollective.com/solidus)
|
|
11
11
|
[](https://opencollective.com/solidus)
|
|
@@ -84,37 +84,9 @@ Begin by making sure you have
|
|
|
84
84
|
required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
|
|
85
85
|
you're on a Mac.)
|
|
86
86
|
|
|
87
|
-
To
|
|
87
|
+
To install Solidus with the current storefront, follow the instructions in
|
|
88
|
+
[storefront/README.md](storefront/README.md).
|
|
88
89
|
|
|
89
|
-
```bash
|
|
90
|
-
rails new my_store
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
> [!CAUTION]
|
|
94
|
-
> Due to [a bug in `sprockets-rails`](https://github.com/rails/sprockets-rails/pull/546) we need to manually add the sprockets manifest into the generated rails app **before** running any rails commands inside the rails app folder.
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
mkdir -p my_store/app/assets/config
|
|
98
|
-
cat <<MANIFEST > my_store/app/assets/config/manifest.js
|
|
99
|
-
//= link_tree ../images
|
|
100
|
-
//= link_directory ../javascripts .js
|
|
101
|
-
//= link_directory ../stylesheets .css
|
|
102
|
-
MANIFEST
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Installing Solidus
|
|
106
|
-
|
|
107
|
-
In your application's root folder run:
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
bundle add solidus
|
|
111
|
-
bin/rails g solidus:install
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
> [!NOTE]
|
|
115
|
-
> Please make sure to generate the sprockets manifest before running the `solidus:install` generator.
|
|
116
|
-
|
|
117
|
-
And follow the prompt's instructions.
|
|
118
90
|
### Accessing Solidus Store
|
|
119
91
|
|
|
120
92
|
Start the Rails server with the command:
|
|
@@ -214,14 +186,14 @@ and/or customizations to the Solidus admin. Use at your own risk.
|
|
|
214
186
|
bin/setup
|
|
215
187
|
```
|
|
216
188
|
|
|
217
|
-
_Note_: If you're using PostgreSQL or
|
|
189
|
+
_Note_: If you're using PostgreSQL, MySQL, or MariaDB, you'll need to install those gems through the DB environment variable.
|
|
218
190
|
|
|
219
191
|
```bash
|
|
220
192
|
# PostgreSQL
|
|
221
193
|
export DB=postgresql
|
|
222
194
|
bin/setup
|
|
223
195
|
|
|
224
|
-
# MySQL
|
|
196
|
+
# MySQL or MariaDB (mysql2 adapter)
|
|
225
197
|
export DB=mysql
|
|
226
198
|
bin/setup
|
|
227
199
|
```
|
|
@@ -277,7 +249,7 @@ environment variable:
|
|
|
277
249
|
```bash
|
|
278
250
|
SANDBOX_PORT=4000 docker-compose up -d
|
|
279
251
|
docker-compose exec app bin/sandbox
|
|
280
|
-
docker-compose exec app bin/
|
|
252
|
+
SANDBOX_PORT=4000 docker-compose exec app bin/dev
|
|
281
253
|
```
|
|
282
254
|
|
|
283
255
|
### Sandbox
|
|
@@ -295,14 +267,14 @@ data already loaded.
|
|
|
295
267
|
bin/sandbox
|
|
296
268
|
```
|
|
297
269
|
|
|
298
|
-
You can create a sandbox with PostgreSQL or
|
|
270
|
+
You can create a sandbox with PostgreSQL, MySQL, or MariaDB by setting the DB environment variable.
|
|
299
271
|
|
|
300
272
|
```bash
|
|
301
273
|
# PostgreSQL
|
|
302
274
|
export DB=postgresql
|
|
303
275
|
bin/sandbox
|
|
304
276
|
|
|
305
|
-
# MySQL
|
|
277
|
+
# MySQL or MariaDB (mysql2 adapter)
|
|
306
278
|
export DB=mysql
|
|
307
279
|
bin/sandbox
|
|
308
280
|
```
|
|
@@ -331,20 +303,21 @@ sandbox one by running the command:
|
|
|
331
303
|
|
|
332
304
|
Please note: if you run `bin/rails server` or similar commands, only the Rails server will
|
|
333
305
|
start. This might cause the error `couldn't find file 'solidus_admin/tailwind.css'` when you
|
|
334
|
-
try to load
|
|
306
|
+
try to load all pages.
|
|
335
307
|
|
|
336
308
|
### Tests
|
|
337
309
|
|
|
338
310
|
Solidus uses [RSpec](http://rspec.info) for tests. Refer to its documentation for
|
|
339
311
|
more information about the testing library.
|
|
340
312
|
|
|
341
|
-
####
|
|
313
|
+
#### CI/CD
|
|
342
314
|
|
|
343
|
-
We use
|
|
344
|
-
|
|
315
|
+
We use GitHub Actions to run Solidus' test suites against all supported versions
|
|
316
|
+
of Ruby and Rails. Before a pull request can be merged, all of the tests must
|
|
317
|
+
pass.
|
|
345
318
|
|
|
346
|
-
You can see the build statuses
|
|
347
|
-
|
|
319
|
+
You can see the build statuses on the repository's [GitHub Actions
|
|
320
|
+
page](https://github.com/solidusio/solidus/actions).
|
|
348
321
|
|
|
349
322
|
#### Run all tests
|
|
350
323
|
|
|
@@ -358,13 +331,13 @@ createuser --superuser --echo postgres # only the first time
|
|
|
358
331
|
bin/build
|
|
359
332
|
```
|
|
360
333
|
|
|
361
|
-
The `bin/build` script runs using PostgreSQL by default, but it can be overridden by setting the DB environment variable to `DB=sqlite` or `DB=mysql
|
|
334
|
+
The `bin/build` script runs using PostgreSQL by default, but it can be overridden by setting the DB environment variable to `DB=sqlite` or `DB=mysql` (MariaDB uses `DB=mysql`). For example:
|
|
362
335
|
|
|
363
336
|
```bash
|
|
364
337
|
env DB=mysql bin/build
|
|
365
338
|
```
|
|
366
339
|
|
|
367
|
-
If the command fails with MySQL related errors you can try creating a user with this command:
|
|
340
|
+
If the command fails with MySQL or MariaDB related errors you can try creating a user with this command:
|
|
368
341
|
|
|
369
342
|
```bash
|
|
370
343
|
# Creates a user with the same name as the current user and no restrictions.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Solidus Team
|
|
@@ -15,76 +15,77 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 4.
|
|
18
|
+
version: 4.8.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 4.
|
|
25
|
+
version: 4.8.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: solidus_backend
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 4.
|
|
32
|
+
version: 4.8.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 4.
|
|
39
|
+
version: 4.8.0
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: solidus_core
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - '='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 4.
|
|
46
|
+
version: 4.8.0
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 4.
|
|
53
|
+
version: 4.8.0
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: solidus_legacy_promotions
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - '='
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 4.
|
|
60
|
+
version: 4.8.0
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - '='
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 4.
|
|
67
|
+
version: 4.8.0
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: solidus_sample
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - '='
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 4.
|
|
74
|
+
version: 4.8.0
|
|
75
75
|
type: :runtime
|
|
76
76
|
prerelease: false
|
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
79
|
- - '='
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: 4.
|
|
81
|
+
version: 4.8.0
|
|
82
82
|
description: Solidus is an open source e-commerce framework for Ruby on Rails.
|
|
83
83
|
email: contact@solidus.io
|
|
84
84
|
executables: []
|
|
85
85
|
extensions: []
|
|
86
86
|
extra_rdoc_files: []
|
|
87
87
|
files:
|
|
88
|
+
- LICENSE
|
|
88
89
|
- README.md
|
|
89
90
|
- lib/demo/Dockerfile
|
|
90
91
|
- lib/demo/README.md
|
|
@@ -113,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
114
|
- !ruby/object:Gem::Version
|
|
114
115
|
version: 1.8.23
|
|
115
116
|
requirements: []
|
|
116
|
-
rubygems_version: 4.0.
|
|
117
|
+
rubygems_version: 4.0.20
|
|
117
118
|
specification_version: 4
|
|
118
119
|
summary: Full-stack e-commerce framework for Ruby on Rails.
|
|
119
120
|
test_files: []
|