solidus 2.10.5 → 2.11.0

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 +69 -42
  3. metadata +15 -17
  4. data/lib/sandbox.sh +0 -60
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf48741a3b43b4e9c0140ff8f8239246834c63871b9f2018ef526da639fcbcb3
4
- data.tar.gz: 86fc02c169cb6a885b47b1c3e9fd3f5887f91cfd4e1dc8e197846514ff486f3a
3
+ metadata.gz: d02f9314591d4426d45f341ae6db571bd2fb9eb8154b8028c65699201623d6ec
4
+ data.tar.gz: f0597220c1abca6503e8fbb757d8707b858d0b0bd8def1ea585ef4b3f951eee1
5
5
  SHA512:
6
- metadata.gz: 372aaead84247c930421b7b921bb010fd7542d7c817d4dd194bce63ee78ef33f1319740aa61df971187f6350a93476873f18ccf7965fb44e93c9f4396074833f
7
- data.tar.gz: 0a829967d639bf0f2c346e3a12ad365835cfb983cdd21937b0b6302e22a13618a693b11556146a9649e3e49f9c70d6f8e7bd15d3fc394caea2af90d1e5cdca69
6
+ metadata.gz: 4ef106584c3e6715115b06dd0ec68cfb787b3777e839270e07c91f65419d8cf6a55250f3709d507cc7d3c30a1e25e9b04674a16b398ee02a5ecd6272200f7c16
7
+ data.tar.gz: def301fad926f65fc9822d2d092e6049b1d039cb238cea393d231623aad5d9122ff5a09c955079c1d78b5867e496d4ccea9e4c4a8f32f11a42bb1030f120a3a6
data/README.md CHANGED
@@ -7,15 +7,17 @@
7
7
  [![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
8
8
  [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
9
9
 
10
- [![Enthusiasts on Open Collective](https://opencollective.com/solidus/tiers/enthusiast/badge.svg?label=Enthusiasts&color=brightgree)](https://opencollective.com/solidus)
11
10
  [![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)
11
+ [![Bronze Partners on Open Collective](https://opencollective.com/solidus/tiers/bronze/badge.svg?label=Bronze Partners&color=brightgree)](https://opencollective.com/solidus)
12
+ [![Silver Partners on Open Collective](https://opencollective.com/solidus/tiers/silver/badge.svg?label=Silver Partners&color=brightgree)](https://opencollective.com/solidus)
13
+ [![Gold Partners on Open Collective](https://opencollective.com/solidus/tiers/gold/badge.svg?label=Gold Partners&color=brightgree)](https://opencollective.com/solidus)
13
14
  [![Open Source Helpers](https://www.codetriage.com/solidusio/solidus/badges/users.svg)](https://www.codetriage.com/solidusio/solidus)
14
15
  [![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
15
16
 
16
17
  **A free, open-source ecommerce platform that gives you complete control over your store.**
17
18
 
18
19
  - **Visit our website**: [https://solidus.io/](https://solidus.io/)
20
+ - **Read our Community Guidelines**: [https://solidus.io/community-guidelines/](https://solidus.io/community-guidelines/)
19
21
  - **Read our guides**: [https://guides.solidus.io/developers/](https://guides.solidus.io/developers/)
20
22
  - **Join our Slack**: [http://slack.solidus.io/](http://slack.solidus.io/)
21
23
  - **Solidus Security**: [mailing list](https://groups.google.com/forum/#!forum/solidus-security)
@@ -45,9 +47,9 @@ At present, Nebulab is the main code contributor and director of Solidus, provid
45
47
  ### Ambassadors
46
48
  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).
47
49
 
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
- |---|---|---|---|
50
+ [![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/)
51
+ [![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/)
52
+ [![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)
51
53
 
52
54
  ---
53
55
 
@@ -100,34 +102,56 @@ required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
100
102
  you're on a Mac.)
101
103
 
102
104
  To add solidus, begin with a Rails 5/6 application and a database configured and
103
- created. Add the following to your Gemfile.
105
+ created.
104
106
 
105
- ```ruby
106
- gem 'solidus'
107
- gem 'solidus_auth_devise'
108
- ```
107
+ ### Installing Solidus
109
108
 
110
- Run the `bundle` command to install.
109
+ <details>
110
+ <summary>For Solidus v2.10 and below</summary>
111
111
 
112
- After installing gems, you'll have to run the generators to create necessary
113
- configuration files and migrations.
112
+ Add the following to your Gemfile. Skip the `solidus_auth_devise` part
113
+ if you want to use a custom authentication system.
114
114
 
115
- ```bash
116
- bundle exec rails g spree:install
117
- bundle exec rails g solidus:auth:install
118
- bundle exec rake railties:install:migrations
119
- ```
115
+ ```ruby
116
+ gem 'solidus'
117
+ gem 'solidus_auth_devise'
118
+ ```
120
119
 
121
- Run migrations to create the new models in the database.
120
+ Run the `bundle` command to install.
122
121
 
123
- ```bash
124
- bundle exec rake db:migrate
125
- ```
122
+ After installing gems, you'll have to run the generator to create necessary
123
+ configuration files and migrations.
124
+
125
+ ```bash
126
+ bin/rails g spree:install
127
+ ```
128
+ </details>
129
+
130
+ <details>
131
+ <summary>For Solidus v2.11 (still unreleased) and above</summary>
132
+
133
+ Add the following to your Gemfile.
134
+
135
+ ```ruby
136
+ gem 'solidus'
137
+ ```
138
+
139
+ Run the `bundle` command to install.
140
+
141
+ After installing gems, you'll have to run the generator to create necessary
142
+ configuration files and migrations.
143
+
144
+ ```bash
145
+ bin/rails g solidus:install
146
+ ```
147
+ </details>
148
+
149
+ ### Accessing Solidus Store
126
150
 
127
- Finally start the rails server
151
+ Start the Rails server with the command:
128
152
 
129
153
  ```bash
130
- bundle exec rails s
154
+ bin/rails s
131
155
  ```
132
156
 
133
157
  The [`solidus_frontend`](https://github.com/solidusio/solidus/tree/master/frontend) storefront will be accessible at [http://localhost:3000/](http://localhost:3000/)
@@ -155,20 +179,20 @@ gem 'solidus', github: 'solidusio/solidus'
155
179
  **Note: The master branch is not guaranteed to ever be in a fully functioning
156
180
  state. It is too risky to use this branch in production.**
157
181
 
158
- By default, the installation generator (`rails g spree:install`) will run
182
+ By default, the installation generator (`solidus:install`) will run
159
183
  migrations as well as adding seed and sample data. This can be disabled using
160
184
 
161
185
  ```bash
162
- rails g spree:install --migrate=false --sample=false --seed=false
186
+ bin/rails g solidus:install --migrate=false --sample=false --seed=false
163
187
  ```
164
188
 
165
189
  You can always perform any of these steps later by using these commands.
166
190
 
167
191
  ```bash
168
- bundle exec rake railties:install:migrations
169
- bundle exec rake db:migrate
170
- bundle exec rake db:seed
171
- bundle exec rake spree_sample:load
192
+ bin/rails railties:install:migrations
193
+ bin/rails db:migrate
194
+ bin/rails db:seed
195
+ bin/rails spree_sample:load
172
196
  ```
173
197
 
174
198
  There are also options and rake tasks provided by
@@ -215,17 +239,19 @@ and/or customizations to the Solidus admin. Use at your own risk.
215
239
  * Install the gem dependencies
216
240
 
217
241
  ```bash
218
- bundle install
242
+ bin/setup
219
243
  ```
220
244
 
221
245
  _Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems through the DB environment variable.
222
246
 
223
247
  ```bash
224
248
  # PostgreSQL
225
- DB=postgresql bundle install
249
+ export DB=postgresql
250
+ bin/setup
226
251
 
227
252
  # MySQL
228
- DB=mysql bundle install
253
+ export DB=mysql
254
+ bin/setup
229
255
  ```
230
256
 
231
257
  ### Sandbox
@@ -240,17 +266,19 @@ data already loaded.
240
266
  * Create the sandbox application
241
267
 
242
268
  ```bash
243
- bundle exec rake sandbox
269
+ bin/sandbox
244
270
  ```
245
271
 
246
272
  You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
247
273
 
248
274
  ```bash
249
275
  # PostgreSQL
250
- DB=postgresql bundle exec rake sandbox
276
+ export DB=postgresql
277
+ bin/sandbox
251
278
 
252
279
  # MySQL
253
- DB=mysql bundle exec rake sandbox
280
+ export DB=mysql
281
+ bin/sandbox
254
282
  ```
255
283
 
256
284
  If you need to create a Rails 5.2 application for your sandbox, for example
@@ -259,15 +287,14 @@ data already loaded.
259
287
 
260
288
  ```bash
261
289
  export RAILS_VERSION='~> 5.2.0'
262
- bundle install
263
- bundle exec rake sandbox
290
+ bin/setup
291
+ bin/sandbox
264
292
  ```
265
293
 
266
- * Start the server
294
+ * Start the server (`bin/rails` will forward any argument to the sandbox)
267
295
 
268
296
  ```bash
269
- cd sandbox
270
- rails server
297
+ bin/rails server
271
298
  ```
272
299
 
273
300
  ### Tests
@@ -342,7 +369,7 @@ project.
342
369
  A list can be found at [extensions.solidus.io](http://extensions.solidus.io/).
343
370
 
344
371
  If you want to write an extension for Solidus, you can use the
345
- [solidus_cmd](https://www.github.com/solidusio/solidus_cmd.git) gem.
372
+ [solidus_dev_support](https://github.com/solidusio/solidus_dev_support.git) gem.
346
373
 
347
374
  ## Contributing
348
375
 
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.10.5
4
+ version: 2.11.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: 2021-05-10 00:00:00.000000000 Z
11
+ date: 2020-10-23 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.10.5
19
+ version: 2.11.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.10.5
26
+ version: 2.11.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.10.5
33
+ version: 2.11.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.10.5
40
+ version: 2.11.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.10.5
47
+ version: 2.11.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.10.5
54
+ version: 2.11.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.10.5
61
+ version: 2.11.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.10.5
68
+ version: 2.11.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.10.5
75
+ version: 2.11.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.10.5
82
+ version: 2.11.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: []
@@ -90,7 +90,6 @@ files:
90
90
  - lib/demo/Dockerfile
91
91
  - lib/demo/README.md
92
92
  - lib/demo/docker-entrypoint.sh
93
- - lib/sandbox.sh
94
93
  - lib/solidus.rb
95
94
  - lib/spree.rb
96
95
  homepage: http://solidus.io
@@ -105,15 +104,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
104
  requirements:
106
105
  - - ">="
107
106
  - !ruby/object:Gem::Version
108
- version: 2.4.0
107
+ version: 2.5.0
109
108
  required_rubygems_version: !ruby/object:Gem::Requirement
110
109
  requirements:
111
110
  - - ">="
112
111
  - !ruby/object:Gem::Version
113
112
  version: 1.8.23
114
- requirements:
115
- - none
116
- rubygems_version: 3.1.4
113
+ requirements: []
114
+ rubygems_version: 3.0.3
117
115
  signing_key:
118
116
  specification_version: 4
119
117
  summary: Full-stack e-commerce framework for Ruby on Rails.
data/lib/sandbox.sh DELETED
@@ -1,60 +0,0 @@
1
- #!/bin/sh
2
- # Used in the sandbox rake task in Rakefile
3
-
4
- set -e
5
-
6
- case "$DB" in
7
- postgres|postgresql)
8
- RAILSDB="postgresql"
9
- ;;
10
- mysql)
11
- RAILSDB="mysql"
12
- ;;
13
- sqlite|'')
14
- RAILSDB="sqlite3"
15
- ;;
16
- *)
17
- echo "Invalid DB specified: $DB"
18
- exit 1
19
- ;;
20
- esac
21
-
22
- rm -rf ./sandbox
23
- bundle exec rails new sandbox --database="$RAILSDB" \
24
- --skip-bundle \
25
- --skip-git \
26
- --skip-keeps \
27
- --skip-rc \
28
- --skip-spring \
29
- --skip-test \
30
- --skip-javascript
31
-
32
- if [ ! -d "sandbox" ]; then
33
- echo 'sandbox rails application failed'
34
- exit 1
35
- fi
36
-
37
- cd ./sandbox
38
- cat <<RUBY >> Gemfile
39
-
40
- gem 'solidus', path: '..'
41
- gem 'solidus_auth_devise', '>= 2.1.0'
42
- gem 'rails-i18n'
43
- gem 'solidus_i18n'
44
-
45
- group :test, :development do
46
- platforms :mri do
47
- gem 'pry-byebug'
48
- end
49
- end
50
- RUBY
51
-
52
- bundle install --gemfile Gemfile
53
- bundle exec rake db:drop db:create
54
- bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true
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 🚀"