solidus 2.4.2 → 2.5.0.beta1
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 +5 -5
- data/README.md +52 -32
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 71c0fc8b023efd2f1f7fe66fef2a25acea4034ee4fd67a8ea9828c1105aa370d
|
|
4
|
+
data.tar.gz: ee8df5d8ac6121a2df61d0d034677ec88c5cd3c17caf8ae64639f03a7cca6894
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75a1eaddf28df1fdf466af5935fa4e2709994c2975867155366ba6fd24350cf188edfbc1caf6c891ac08ce1518a925c831affe77f50bbaa48279e473deae6be4
|
|
7
|
+
data.tar.gz: 6e9368ec1d0e94628ede155c320257a8245a69cfd25ad49de9950d56bd3304f272cf717fe7007b76a754d7c8c6be6fde4e7349dc47ca3939402aeabc8579df37
|
data/README.md
CHANGED
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
* [#solidus.io](http://webchat.freenode.net/?channels=solidus.io) on freenode
|
|
7
7
|
* [solidus-security](https://groups.google.com/forum/#!forum/solidus-security) mailing list
|
|
8
8
|
|
|
9
|
-
Bundler Issues
|
|
10
|
-
--------------
|
|
11
|
-
|
|
12
|
-
Having bundler problems? Try downgrading to bundler 1.13.7 or earlier.
|
|
13
|
-
[Gem resolution is seriously broken in bundler versions since 1.14](https://github.com/bundler/bundler/issues/5633).
|
|
14
|
-
|
|
15
9
|
Summary
|
|
16
10
|
-------
|
|
17
11
|
|
|
@@ -139,6 +133,20 @@ include. This can be disabled by adding the following to
|
|
|
139
133
|
config.assets.debug = false
|
|
140
134
|
```
|
|
141
135
|
|
|
136
|
+
### Turbolinks
|
|
137
|
+
|
|
138
|
+
To gain some extra speed you may enable Turbolinks inside of Solidus admin.
|
|
139
|
+
|
|
140
|
+
Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present) and append these lines to `vendor/assets/spree/backend/all.js`:
|
|
141
|
+
|
|
142
|
+
```js
|
|
143
|
+
//= require turbolinks
|
|
144
|
+
//= require backend/app/assets/javascripts/spree/backend/turbolinks-integration.js
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**CAUTION** Please be aware that Turbolinks can break extensions and/or customizations to the Solidus admin.
|
|
148
|
+
Use at own risk.
|
|
149
|
+
|
|
142
150
|
Developing Solidus
|
|
143
151
|
------------------
|
|
144
152
|
|
|
@@ -180,61 +188,73 @@ data already loaded.
|
|
|
180
188
|
|
|
181
189
|
### Tests
|
|
182
190
|
|
|
191
|
+
Solidus uses [RSpec](http://rspec.info) for tests. Refer to its documentation for
|
|
192
|
+
more information about the testing library.
|
|
193
|
+
|
|
183
194
|
#### CircleCI
|
|
195
|
+
|
|
184
196
|
We use CircleCI to run the tests for Solidus as well as all incoming pull
|
|
185
197
|
requests. All pull requests must pass to be merged.
|
|
186
198
|
|
|
187
199
|
You can see the build statuses at
|
|
188
|
-
[https://circleci.com/gh/solidusio/solidus](https://circleci.com/gh/solidusio/solidus)
|
|
200
|
+
[https://circleci.com/gh/solidusio/solidus](https://circleci.com/gh/solidusio/solidus).
|
|
189
201
|
|
|
190
|
-
####
|
|
202
|
+
#### Run all tests
|
|
191
203
|
|
|
192
|
-
To execute all the tests
|
|
193
|
-
|
|
204
|
+
To execute all the tests for all projects, run `rake` in the top-level
|
|
205
|
+
directory.
|
|
194
206
|
|
|
195
207
|
```shell
|
|
196
|
-
|
|
208
|
+
bundle install
|
|
209
|
+
rake
|
|
197
210
|
```
|
|
198
211
|
|
|
199
|
-
This runs using
|
|
200
|
-
`DB=
|
|
212
|
+
This runs using Sqlite by default, but can be overridden by setting the `DB`
|
|
213
|
+
environment variable to `DB=postgresql` or `DB=mysql`. For example:
|
|
201
214
|
|
|
202
|
-
|
|
203
|
-
|
|
215
|
+
```
|
|
216
|
+
rake DB=postgresql
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
[ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/home) is
|
|
220
|
+
required to run the frontend and backend test suites.
|
|
204
221
|
|
|
205
|
-
####
|
|
222
|
+
#### Run an individual test suite
|
|
223
|
+
|
|
224
|
+
Each gem contains its own series of tests. To run the tests for the core project:
|
|
206
225
|
|
|
207
|
-
Each gem contains its own series of tests, and for each directory, you need to
|
|
208
|
-
do a quick one-time creation of a test application and then you can use it to run
|
|
209
|
-
the tests. For example, to run the tests for the core project.
|
|
210
226
|
```shell
|
|
211
227
|
cd core
|
|
212
|
-
bundle exec
|
|
213
|
-
bundle exec rspec spec
|
|
228
|
+
bundle exec rspec
|
|
214
229
|
```
|
|
215
230
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
```shell
|
|
219
|
-
DB=postgresql bundle exec rake test_app
|
|
220
|
-
```
|
|
231
|
+
By default, `rspec` runs the tests for SQLite 3. If you would like to run specs
|
|
232
|
+
against another database you may specify the database in the command:
|
|
221
233
|
|
|
222
|
-
You can also enable fail fast in order to stop tests at the first failure
|
|
223
234
|
```shell
|
|
224
|
-
|
|
235
|
+
DB=postgresql bundle exec rspec
|
|
225
236
|
```
|
|
226
237
|
|
|
227
|
-
|
|
238
|
+
#### Code coverage reports
|
|
239
|
+
|
|
240
|
+
If you want to run the [SimpleCov](https://github.com/colszowka/simplecov) code
|
|
241
|
+
coverage report:
|
|
242
|
+
|
|
228
243
|
```shell
|
|
229
|
-
COVERAGE=true bundle exec rspec
|
|
244
|
+
COVERAGE=true bundle exec rspec
|
|
230
245
|
```
|
|
231
246
|
|
|
232
247
|
### Extensions
|
|
233
|
-
|
|
234
|
-
|
|
248
|
+
|
|
249
|
+
In addition to core functionality provided in Solidus, there are a number of
|
|
250
|
+
ways to add features to your store that are not (or not yet) part of the core
|
|
251
|
+
project.
|
|
235
252
|
|
|
236
253
|
A list can be found at [extensions.solidus.io](http://extensions.solidus.io/).
|
|
237
254
|
|
|
255
|
+
If you want to write an extension for Solidus, you can use the
|
|
256
|
+
[solidus_cmd](https://www.github.com/solidusio/solidus_cmd.git) gem.
|
|
257
|
+
|
|
238
258
|
Contributing
|
|
239
259
|
------------
|
|
240
260
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.0.beta1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Solidus Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-02-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: solidus_core
|
|
@@ -16,70 +16,70 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 2.
|
|
19
|
+
version: 2.5.0.beta1
|
|
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: 2.
|
|
26
|
+
version: 2.5.0.beta1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: solidus_api
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 2.
|
|
33
|
+
version: 2.5.0.beta1
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 2.
|
|
40
|
+
version: 2.5.0.beta1
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: solidus_backend
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 2.
|
|
47
|
+
version: 2.5.0.beta1
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 2.
|
|
54
|
+
version: 2.5.0.beta1
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: solidus_frontend
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 2.
|
|
61
|
+
version: 2.5.0.beta1
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 2.
|
|
68
|
+
version: 2.5.0.beta1
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: solidus_sample
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 2.
|
|
75
|
+
version: 2.5.0.beta1
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 2.
|
|
82
|
+
version: 2.5.0.beta1
|
|
83
83
|
description: Solidus is an open source e-commerce framework for Ruby on Rails.
|
|
84
84
|
email: contact@solidus.io
|
|
85
85
|
executables: []
|
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
111
111
|
requirements:
|
|
112
112
|
- none
|
|
113
113
|
rubyforge_project:
|
|
114
|
-
rubygems_version: 2.
|
|
114
|
+
rubygems_version: 2.7.3
|
|
115
115
|
signing_key:
|
|
116
116
|
specification_version: 4
|
|
117
117
|
summary: Full-stack e-commerce framework for Ruby on Rails.
|