solidus 2.7.4 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -43
  3. metadata +14 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b322b48e0e9ddfe4798aecba1257027335b19db2845de43cd6f13b5a29bdb9d
4
- data.tar.gz: 7f2727129aaa8f0ec11d72e5312483cadcd10b153a659b815d4fcfdda672edf4
3
+ metadata.gz: 0f603527ab77efb6aac504f75cf19284af4f08635ee744a6486de07067f60963
4
+ data.tar.gz: b38d0273eca0dfd4cfc286cf9cc3486ac92f4fdbb5e101ce717911c5445f382d
5
5
  SHA512:
6
- metadata.gz: '0741648ff5659b3eda22893e8184a2680febea8bee9851e79f4dc7021a34ebfbf6fe4767eafda6b0941f05df3f4b63bbe9cbc210ee1f606c5b29cb6ba5e9549e'
7
- data.tar.gz: cc4f8fe9651fa5abea6e9fc61345f25c48140135c2e5a52392a30a9e6a1bff044f5229858eab3a6047c665146b10f0eaba33ac5ddf5db3b98274dd3a4638a6ba
6
+ metadata.gz: 90a53d8923bfa6a1a3d5208ce4f7ca07a5247628e5f52d77a8b2a3104956fda2706c9c38f4e222fd3095dd7e59bc0a3d3630fab468ea05642a51bb6790f7cc5d
7
+ data.tar.gz: f6042c6f2cc73f2bbccaeef5422478b2f242fdba8c461ce09724c7260dfc755ff66a38a0ce7278c833f14ddc4b51430dcd2fb2fa84aeaf9cd972fe206c5e6618
data/README.md CHANGED
@@ -1,11 +1,20 @@
1
1
 
2
- ![](https://raw.githubusercontent.com/solidusio/solidus/master/solidus.png)
2
+ <img src="./logo.svg" width=350>
3
3
 
4
4
  - [solidus.io](http://solidus.io/)
5
5
  - [Documentation](https://guides.solidus.io)
6
6
  - [Join our Slack](http://slack.solidus.io/) ([solidusio.slack.com](http://solidusio.slack.com))
7
7
  - [solidus-security](https://groups.google.com/forum/#!forum/solidus-security) mailing list
8
8
 
9
+ ## Table of Contents
10
+ 1. [Summary](#summary)
11
+ 2. [Demo](#demo)
12
+ 3. [Getting Started](#getting-started)
13
+ 4. [Installation Options](#installation-options)
14
+ 5. [Performance](#performance)
15
+ 6. [Developing Solidus](#developing-solidus)
16
+ 7. [Contributing](#contributing)
17
+
9
18
  ## Summary
10
19
 
11
20
  Solidus is a complete open source ecommerce solution built with Ruby on Rails.
@@ -34,11 +43,15 @@ combine it with your own custom frontend, admin interface, and API.
34
43
  [![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
35
44
  [![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
36
45
 
46
+ ### Supported by
47
+
48
+ [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
49
+
37
50
  ## Demo
38
51
 
39
52
  Try out Solidus with one-click on Heroku:
40
53
 
41
- [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/solidusio/solidus)
54
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/solidusio/solidus)
42
55
 
43
56
  ## Getting started
44
57
 
@@ -60,7 +73,7 @@ Run the `bundle` command to install.
60
73
  After installing gems, you'll have to run the generators to create necessary
61
74
  configuration files and migrations.
62
75
 
63
- ```
76
+ ```bash
64
77
  bundle exec rails g spree:install
65
78
  bundle exec rails g solidus:auth:install
66
79
  bundle exec rake railties:install:migrations
@@ -68,13 +81,13 @@ bundle exec rake railties:install:migrations
68
81
 
69
82
  Run migrations to create the new models in the database.
70
83
 
71
- ```
84
+ ```bash
72
85
  bundle exec rake db:migrate
73
86
  ```
74
87
 
75
88
  Finally start the rails server
76
89
 
77
- ```
90
+ ```bash
78
91
  bundle exec rails s
79
92
  ```
80
93
 
@@ -89,8 +102,7 @@ As part of running the above installation steps, you will be asked to set an adm
89
102
 
90
103
  The best way to ask questions is via the [#support channel on the Solidus Slack](https://solidusio.slack.com/messages/support/details/).
91
104
 
92
- Installation options
93
- --------------------
105
+ ## Installation options
94
106
 
95
107
  Instead of a stable build, if you want to use the bleeding edge version of
96
108
  Solidus, use this line:
@@ -106,13 +118,13 @@ about.**
106
118
  By default, the installation generator (`rails g spree:install`) will run
107
119
  migrations as well as adding seed and sample data. This can be disabled using
108
120
 
109
- ```shell
121
+ ```bash
110
122
  rails g spree:install --migrate=false --sample=false --seed=false
111
123
  ```
112
124
 
113
125
  You can always perform any of these steps later by using these commands.
114
126
 
115
- ```shell
127
+ ```bash
116
128
  bundle exec rake railties:install:migrations
117
129
  bundle exec rake db:migrate
118
130
  bundle exec rake db:seed
@@ -122,11 +134,10 @@ bundle exec rake spree_sample:load
122
134
  There are also options and rake tasks provided by
123
135
  [solidus\_auth\_devise](https://github.com/solidusio/solidus_auth_devise).
124
136
 
125
- Performance
126
- -----------
137
+ ## Performance
127
138
 
128
139
  You may notice that your Solidus store runs slowly in development mode. This
129
- can be because in development each css and javascript is loaded as a separate
140
+ can be because in development each CSS and JavaScript is loaded as a separate
130
141
  include. This can be disabled by adding the following to
131
142
  `config/environments/development.rb`.
132
143
 
@@ -148,21 +159,20 @@ Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present)
148
159
  **CAUTION** Please be aware that Turbolinks can break extensions and/or customizations to the Solidus admin.
149
160
  Use at own risk.
150
161
 
151
- Developing Solidus
152
- ------------------
162
+ ## Developing Solidus
153
163
 
154
164
  * Clone the Git repo
155
165
 
156
- ```shell
157
- git clone git://github.com/solidusio/solidus.git
158
- cd solidus
159
- ```
166
+ ```bash
167
+ git clone git://github.com/solidusio/solidus.git
168
+ cd solidus
169
+ ```
160
170
 
161
171
  * Install the gem dependencies
162
172
 
163
- ```shell
164
- bundle install
165
- ```
173
+ ```bash
174
+ bundle install
175
+ ```
166
176
 
167
177
  ### Sandbox
168
178
 
@@ -176,16 +186,16 @@ data already loaded.
176
186
  * Create the sandbox application (`DB=mysql` or `DB=postgresql` can be specified
177
187
  to override the default sqlite)
178
188
 
179
- ```shell
189
+ ```bash
180
190
  bundle exec rake sandbox
181
191
  ```
182
192
 
183
193
  * Start the server
184
194
 
185
- ```shell
186
- cd sandbox
187
- rails server
188
- ```
195
+ ```bash
196
+ cd sandbox
197
+ rails server
198
+ ```
189
199
 
190
200
  ### Tests
191
201
 
@@ -202,29 +212,34 @@ You can see the build statuses at
202
212
 
203
213
  #### Run all tests
204
214
 
205
- To execute all the tests for all projects, run `rake` in the top-level
206
- directory.
215
+ [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/home) is
216
+ required to run the frontend and backend test suites.
207
217
 
208
- ```shell
209
- bundle install
210
- rake
218
+ To execute all of the test specs, run the `bin/build` script at the root of the Solidus project:
219
+
220
+ ```bash
221
+ createuser --superuser --echo postgres # only the first time
222
+ bin/build
211
223
  ```
212
224
 
213
- This runs using Sqlite by default, but can be overridden by setting the `DB`
214
- environment variable to `DB=postgresql` or `DB=mysql`. For example:
225
+ 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`. For example:
215
226
 
216
- ```
217
- rake DB=postgresql
227
+ ```bash
228
+ env DB=mysql bin/build
218
229
  ```
219
230
 
220
- [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/home) is
221
- required to run the frontend and backend test suites.
231
+ If the command fails with MySQL related errors you can try creating a user with this command:
232
+
233
+ ```bash
234
+ # Creates a user with the same name as the current user and no restrictions.
235
+ mysql --user="root" --execute="CREATE USER '$USER'@'localhost'; GRANT ALL PRIVILEGES ON * . * TO '$USER'@'localhost';"
236
+ ```
222
237
 
223
238
  #### Run an individual test suite
224
239
 
225
240
  Each gem contains its own series of tests. To run the tests for the core project:
226
241
 
227
- ```shell
242
+ ```bash
228
243
  cd core
229
244
  bundle exec rspec
230
245
  ```
@@ -232,8 +247,8 @@ bundle exec rspec
232
247
  By default, `rspec` runs the tests for SQLite 3. If you would like to run specs
233
248
  against another database you may specify the database in the command:
234
249
 
235
- ```shell
236
- DB=postgresql bundle exec rspec
250
+ ```bash
251
+ env DB=postgresql bundle exec rspec
237
252
  ```
238
253
 
239
254
  #### Code coverage reports
@@ -241,7 +256,7 @@ DB=postgresql bundle exec rspec
241
256
  If you want to run the [SimpleCov](https://github.com/colszowka/simplecov) code
242
257
  coverage report:
243
258
 
244
- ```shell
259
+ ```bash
245
260
  COVERAGE=true bundle exec rspec
246
261
  ```
247
262
 
@@ -256,8 +271,7 @@ A list can be found at [extensions.solidus.io](http://extensions.solidus.io/).
256
271
  If you want to write an extension for Solidus, you can use the
257
272
  [solidus_cmd](https://www.github.com/solidusio/solidus_cmd.git) gem.
258
273
 
259
- Contributing
260
- ------------
274
+ ## Contributing
261
275
 
262
276
  Solidus is an open source project and we encourage contributions. Please read
263
277
  [CONTRIBUTING.md](CONTRIBUTING.md) before contributing.
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.7.4
4
+ version: 2.8.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.7.4
19
+ version: 2.8.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: 2.7.4
26
+ version: 2.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_backend
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.7.4
33
+ version: 2.8.0
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.7.4
40
+ version: 2.8.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: solidus_core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.7.4
47
+ version: 2.8.0
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.7.4
54
+ version: 2.8.0
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.7.4
61
+ version: 2.8.0
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.7.4
68
+ version: 2.8.0
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.7.4
75
+ version: 2.8.0
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.7.4
82
+ version: 2.8.0
83
83
  description: Solidus is an open source e-commerce framework for Ruby on Rails.
84
84
  email: contact@solidus.io
85
85
  executables: []
@@ -110,7 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: 1.8.23
111
111
  requirements:
112
112
  - none
113
- rubygems_version: 3.0.6
113
+ rubyforge_project:
114
+ rubygems_version: 2.7.3
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: Full-stack e-commerce framework for Ruby on Rails.