solidus 2.9.6 → 2.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +80 -38
  3. data/lib/sandbox.sh +6 -5
  4. metadata +17 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80aa3c5c14c12daece970d06bedb2c69da2e4bf24b6d5be7e2968636f109305e
4
- data.tar.gz: 11390ca9857a424b00fd76287cedd96e3142c91e17203472ab82c956942cc3e8
3
+ metadata.gz: 94034c29ad5da09c361de5de9e54d4b2d599b37323a15903817eaa013de17c5b
4
+ data.tar.gz: ebe5c33ca423bf75db43c49d9c423bf5bd2de1bd234fd30ed39fd75cabc57a6e
5
5
  SHA512:
6
- metadata.gz: 71be139be7239cc5b0ecb3d28ac2d4c9c6b371b300ea28141fda5383533b07b9e1c6fb92d49b91ef457f7c349fae5a5d975771226a2e1647188c17279e81a8a2
7
- data.tar.gz: ca313ef382d2c19af2c9b35af4e0dc1434d1eed0d47c95d60655c7259ea9396868c1892612e7282702f7aeb6ef552bf870c81face41de108791649e61d5049c3
6
+ metadata.gz: 65a5a6038dd24f5d40ad4c5c5b2c2a943b6314815d07bbef7cd2e05fdf7ea9c52ad510c919787cd042b1f9f8dd122cc5b8e60cc58e39601dbb198ae91d65f53e
7
+ data.tar.gz: 5dd066ac8898b0cf9608ced5564cbb34658cbb355da5e03733190de853aabc4c5024c7fabac3dec84660a251e457b32e76b676dd9e9d5433c457e45444c34477
data/README.md CHANGED
@@ -1,31 +1,55 @@
1
+ <img width="250" src="./logo.svg" alt="Solidus logo">
1
2
 
2
- <img src="./logo.svg" width=350>
3
+ # Solidus
4
+
5
+ [![Circle CI](https://circleci.com/gh/solidusio/solidus/tree/master.svg?style=shield)](https://circleci.com/gh/solidusio/solidus/tree/master)
6
+ [![Gem](https://img.shields.io/gem/v/solidus.svg)](https://rubygems.org/gems/solidus)
7
+ [![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
8
+ [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
9
+
10
+ [![Enthusiasts on Open Collective](https://opencollective.com/solidus/tiers/enthusiast/badge.svg?label=Enthusiasts&color=brightgree)](https://opencollective.com/solidus)
11
+ [![Supporters on Open Collective](https://opencollective.com/solidus/tiers/supporter/badge.svg?label=Supporters&color=brightgree)](https://opencollective.com/solidus)
12
+ [![Ambassadors on Open Collective](https://opencollective.com/solidus/tiers/ambassador/badge.svg?label=Ambassador&color=brightgree)](https://opencollective.com/solidus)
13
+ [![Open Source Helpers](https://www.codetriage.com/solidusio/solidus/badges/users.svg)](https://www.codetriage.com/solidusio/solidus)
14
+ [![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
15
+
16
+ **A free, open-source ecommerce platform that gives you complete control over your store.**
17
+
18
+ - **Visit our website**: [https://solidus.io/](https://solidus.io/)
19
+ - **Read our guides**: [https://guides.solidus.io/developers/](https://guides.solidus.io/developers/)
20
+ - **Join our Slack**: [http://slack.solidus.io/](http://slack.solidus.io/)
21
+ - **Solidus Security**: [mailing list](https://groups.google.com/forum/#!forum/solidus-security)
3
22
 
4
- - [solidus.io](http://solidus.io/)
5
- - [Documentation](https://guides.solidus.io)
6
- - [Join our Slack](http://slack.solidus.io/) ([solidusio.slack.com](http://solidusio.slack.com))
7
- - [solidus-security](https://groups.google.com/forum/#!forum/solidus-security) mailing list
8
23
 
9
24
  ## Table of Contents
10
- 1. [Key Stakeholders](#key-stakeholders)
11
- 2. [Summary](#summary)
12
- 3. [Demo](#demo)
13
- 4. [Getting Started](#getting-started)
14
- 5. [Installation Options](#installation-options)
15
- 6. [Performance](#performance)
16
- 7. [Developing Solidus](#developing-solidus)
17
- 8. [Contributing](#contributing)
25
+ - [Supporting Solidus](#supporting-solidus)
26
+ - [Summary](#summary)
27
+ - [Demo](#demo)
28
+ - [Getting Started](#getting-started)
29
+ - [Installation Options](#installation-options)
30
+ - [Performance](#performance)
31
+ - [Developing Solidus](#developing-solidus)
32
+ - [Contributing](#contributing)
33
+
34
+ ## Supporting Solidus
35
+ As a community-driven project, Solidus relies on funds and time donated by developers and stakeholders who use Solidus for their businesses. If you'd like to help Solidus keep growing, please consider:
36
+
37
+ - [Become a backer or sponsor on Open Collective](https://opencollective.com/solidus).
38
+ - [Contribute to the project](https://github.com/solidusio/solidus/blob/master/CONTRIBUTING.md).
39
+
40
+ ### Main Contributor & Director
41
+ At present, Nebulab is the main code contributor and director of Solidus, providing technical guidance and coordinating community efforts and activities.
18
42
 
19
- ## Key Stakeholders
43
+ [![Nebulab](https://nebulab.it/assets/images/public/logo.svg)](https://nebulab.it/)
20
44
 
21
- Thank you to all our donors! 🙏 [Become a donor](https://opencollective.com/solidus#backer)
45
+ ### Ambassadors
46
+ Support this project by becoming a Solidus Ambassador. Your logo will show up here with a link to your website. [Become an Ambassador](https://opencollective.com/solidus).
22
47
 
23
- Support this project by becoming a Key Stakeholder. Your logo will show up here with a link to your website. [Become a Key Stakeholder](https://opencollective.com/solidus#key-stakeholder)
48
+ |[![Engine](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2Fenginecommerce.com&height=100)](https://www.enginecommerce.com/)|[![Super Good Software](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F3bbb1440-727f-11e9-a366-37673cc38cee.png&height=100)](https://supergood.software/)|[![Karma Creative](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fab94d2a0-7253-11e9-a366-37673cc38cee.png&height=100)](https://karmacreative.io/)|
49
+ [![ModdedEuros](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fimages.opencollective.com%2Fmodded-euros%2Ff1a80ae%2Flogo.png&height=100)](https://www.moddedeuros.com)|
50
+ |---|---|---|---|
24
51
 
25
- <a href="https://nebulab.it/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F3cc3c170-20cc-11e9-9582-214168b65c9a.png&height=100"></a>
26
- <a href="https://www.enginecommerce.com/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2Fenginecommerce.com&height=100"></a>
27
- <a href="https://supergood.software/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F3bbb1440-727f-11e9-a366-37673cc38cee.png&height=100"></a>
28
- <a href="https://karmacreative.io/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fab94d2a0-7253-11e9-a366-37673cc38cee.png&height=100"></a>
52
+ ---
29
53
 
30
54
  ## Summary
31
55
 
@@ -50,18 +74,6 @@ ecommerce platform. However, you may only want to use the
50
74
  [`solidus_core`](https://github.com/solidusio/solidus/tree/master/core) gem
51
75
  combine it with your own custom frontend, admin interface, and API.
52
76
 
53
- [![Circle CI](https://circleci.com/gh/solidusio/solidus/tree/master.svg?style=shield)](https://circleci.com/gh/solidusio/solidus/tree/master)
54
- [![Gem](https://img.shields.io/gem/v/solidus.svg)](https://rubygems.org/gems/solidus)
55
- [![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
56
- [![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
57
- [![Backers on Open Collective](https://opencollective.com/solidus/backers/badge.svg)](https://opencollective.com/solidus)
58
- [![Sponsors on Open Collective](https://opencollective.com/solidus/sponsors/badge.svg)](https://opencollective.com/solidus)
59
- [![Open Source Helpers](https://www.codetriage.com/solidusio/solidus/badges/users.svg)](https://www.codetriage.com/solidusio/solidus)
60
-
61
- ### Supported by
62
-
63
- [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
64
-
65
77
  ## Demo
66
78
 
67
79
  Try out Solidus with one-click on Heroku:
@@ -87,7 +99,7 @@ Begin by making sure you have
87
99
  required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
88
100
  you're on a Mac.)
89
101
 
90
- To add solidus, begin with a Rails 5 application and a database configured and
102
+ To add solidus, begin with a Rails 5/6 application and a database configured and
91
103
  created. Add the following to your Gemfile.
92
104
 
93
105
  ```ruby
@@ -121,13 +133,15 @@ bundle exec rails s
121
133
  The [`solidus_frontend`](https://github.com/solidusio/solidus/tree/master/frontend) storefront will be accessible at [http://localhost:3000/](http://localhost:3000/)
122
134
  and the admin can be found at [http://localhost:3000/admin/](http://localhost:3000/admin/).
123
135
 
136
+ For information on how to customize your store, check out the [customization guides](https://guides.solidus.io/developers/customizations/overview.html).
137
+
124
138
  ### Default Username/Password
125
139
 
126
140
  As part of running the above installation steps, you will be asked to set an admin email/password combination. The default values are `admin@example.com` and `test123`, respectively.
127
141
 
128
142
  ### Questions?
129
143
 
130
- The best way to ask questions is via the [#support channel on the Solidus Slack](https://solidusio.slack.com/messages/support/details/).
144
+ The best way to ask questions is to [join the Solidus Slack](http://slack.solidus.io/) and join the [#support channel](https://solidusio.slack.com/messages/support/details/).
131
145
 
132
146
  ## Installation options
133
147
 
@@ -175,15 +189,19 @@ config.assets.debug = false
175
189
 
176
190
  To gain some extra speed you may enable Turbolinks inside of Solidus admin.
177
191
 
178
- Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present) and append these lines to `vendor/assets/spree/backend/all.js`:
192
+ Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present)
193
+ and change `vendor/assets/javascripts/spree/backend/all.js` as follows:
179
194
 
180
195
  ```js
181
196
  //= require turbolinks
182
- //= require backend/app/assets/javascripts/spree/backend/turbolinks-integration.js
197
+ //
198
+ // ... current file content
199
+ //
200
+ //= require spree/backend/turbolinks-integration.js
183
201
  ```
184
202
 
185
- **CAUTION** Please be aware that Turbolinks can break extensions and/or customizations to the Solidus admin.
186
- Use at own risk.
203
+ **CAUTION** Please be aware that Turbolinks can break extensions
204
+ and/or customizations to the Solidus admin. Use at your own risk.
187
205
 
188
206
  ## Developing Solidus
189
207
 
@@ -200,6 +218,16 @@ Use at own risk.
200
218
  bundle install
201
219
  ```
202
220
 
221
+ _Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems through the DB environment variable.
222
+
223
+ ```bash
224
+ # PostgreSQL
225
+ DB=postgresql bundle install
226
+
227
+ # MySQL
228
+ DB=mysql bundle install
229
+ ```
230
+
203
231
  ### Sandbox
204
232
 
205
233
  Solidus is meant to be run within the context of Rails application. You can
@@ -218,7 +246,21 @@ data already loaded.
218
246
  You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
219
247
 
220
248
  ```bash
249
+ # PostgreSQL
221
250
  DB=postgresql bundle exec rake sandbox
251
+
252
+ # MySQL
253
+ DB=mysql bundle exec rake sandbox
254
+ ```
255
+
256
+ If you need to create a Rails 5.2 application for your sandbox, for example
257
+ if you are still using Ruby 2.4 which is not supported by Rails 6, you can
258
+ use the `RAILS_VERSION` environment variable.
259
+
260
+ ```bash
261
+ export RAILS_VERSION='~> 5.2.0'
262
+ bundle install
263
+ bundle exec rake sandbox
222
264
  ```
223
265
 
224
266
  * Start the server
@@ -27,7 +27,7 @@ bundle exec rails new sandbox --database="$RAILSDB" \
27
27
  --skip-rc \
28
28
  --skip-spring \
29
29
  --skip-test \
30
- --skip-yarn
30
+ --skip-javascript
31
31
 
32
32
  if [ ! -d "sandbox" ]; then
33
33
  echo 'sandbox rails application failed'
@@ -49,11 +49,12 @@ group :test, :development do
49
49
  end
50
50
  RUBY
51
51
 
52
- # Ensure sqlite3 version to match ActiveRecord SQLite adapter requirement
53
- # (see https://github.com/solidusio/solidus/issues/3087 for details)
54
- sed -i -e "s/gem 'sqlite3'/gem 'sqlite3', '~> 1.3.6'/g" Gemfile
55
-
56
52
  bundle install --gemfile Gemfile
57
53
  bundle exec rake db:drop db:create
58
54
  bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true
59
55
  bundle exec rails g solidus:auth:install
56
+
57
+ echo "
58
+ This app is intended for test purposes. If you're interested in running
59
+ Solidus in production, visit:
60
+ https://guides.solidus.io/developers/getting-started/first-time-installation.html 🚀"
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.9.6
4
+ version: 2.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-16 00:00:00.000000000 Z
11
+ date: 2020-11-06 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.9.6
19
+ version: 2.10.3
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.9.6
26
+ version: 2.10.3
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.9.6
33
+ version: 2.10.3
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.9.6
40
+ version: 2.10.3
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.9.6
47
+ version: 2.10.3
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.9.6
54
+ version: 2.10.3
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.9.6
61
+ version: 2.10.3
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.9.6
68
+ version: 2.10.3
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.9.6
75
+ version: 2.10.3
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.9.6
82
+ version: 2.10.3
83
83
  description: Solidus is an open source e-commerce framework for Ruby on Rails.
84
84
  email: contact@solidus.io
85
85
  executables: []
@@ -97,7 +97,7 @@ homepage: http://solidus.io
97
97
  licenses:
98
98
  - BSD-3-Clause
99
99
  metadata: {}
100
- post_install_message:
100
+ post_install_message:
101
101
  rdoc_options: []
102
102
  require_paths:
103
103
  - lib
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: 2.2.2
108
+ version: 2.4.0
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
@@ -113,8 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: 1.8.23
114
114
  requirements:
115
115
  - none
116
- rubygems_version: 3.0.3
117
- signing_key:
116
+ rubygems_version: 3.1.4
117
+ signing_key:
118
118
  specification_version: 4
119
119
  summary: Full-stack e-commerce framework for Ruby on Rails.
120
120
  test_files: []