solidus 2.8.2 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5cf605183ee1b353bc307c48fa55e9b4e2036b3bc71b27d1aa640fa2a087ff5
4
- data.tar.gz: 210fa52727b0afc3f6ad65dadd65dfc3a15d0d2749dc4ea32d40b597013d595c
3
+ metadata.gz: f569a96226d6a30fec88332e290ea3a4348b0d34c4ed837e08701691f01f5adc
4
+ data.tar.gz: d76a8fdf8ef42201b9c20eff1262dd013cd9fef6266cc22002f52dafd08f95c9
5
5
  SHA512:
6
- metadata.gz: 0c0e17ba84ee7079d5662c05c60f47ccf5610125134c1108ffb665981c42e5f811f587de8d4962202eae6714c74cf2d0f3680d6edd28151eb9ef341577932bce
7
- data.tar.gz: 95e366eb11b10b63002a10e631eca02fb2d20a0c275df26a2935404d0939224e219ac77e11dade202ad2a4b9c463c4b7570114ba239da5ca78aaf9391bf81a3e
6
+ metadata.gz: 30e5bde24da5eb5d2c8643f8c7a7344fc508ae686b2a60eaf036964ad2ab0d1b5325402da8f86b3cb9d9159c21cbf1330d5e84cfa3d53d40d99bad4fe4962405
7
+ data.tar.gz: 7701b76ea3195f73155e9df0cc5b08dfa0eb3df3ed2688e95313eaec473056bf65dedcb31d7ae67fa761401f71849dde343ec228fc134c3c8a0c1c2beebdd23d
data/README.md CHANGED
@@ -7,13 +7,25 @@
7
7
  - [solidus-security](https://groups.google.com/forum/#!forum/solidus-security) mailing list
8
8
 
9
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)
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)
18
+
19
+ ## Key Stakeholders
20
+
21
+ Thank you to all our donors! 🙏 [Become a donor](https://opencollective.com/solidus#backer)
22
+
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)
24
+
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>
17
29
 
18
30
  ## Summary
19
31
 
@@ -42,6 +54,9 @@ combine it with your own custom frontend, admin interface, and API.
42
54
  [![Gem](https://img.shields.io/gem/v/solidus.svg)](https://rubygems.org/gems/solidus)
43
55
  [![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
44
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)
45
60
 
46
61
  ### Supported by
47
62
 
@@ -51,7 +66,19 @@ combine it with your own custom frontend, admin interface, and API.
51
66
 
52
67
  Try out Solidus with one-click on Heroku:
53
68
 
54
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/solidusio/solidus)
69
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/solidusio/solidus-example-app)
70
+
71
+ Alternatively, you can use Docker to run a demo on your local machine. Run the
72
+ following command to download the image and run it at
73
+ [http://localhost:3000](http://localhost:3000).
74
+
75
+ ```
76
+ docker run --rm -it -p 3000:3000 solidusio/solidus-demo:latest
77
+ ```
78
+
79
+ The admin interface can be accessed at
80
+ [http://localhost:3000/admin/](http://localhost:3000/admin/), the default
81
+ credentials are `admin@example.com` and `test123`.
55
82
 
56
83
  ## Getting started
57
84
 
@@ -112,8 +139,7 @@ gem 'solidus', github: 'solidusio/solidus'
112
139
  ```
113
140
 
114
141
  **Note: The master branch is not guaranteed to ever be in a fully functioning
115
- state. It is unwise to use this branch in a production system you care deeply
116
- about.**
142
+ state. It is too risky to use this branch in production.**
117
143
 
118
144
  By default, the installation generator (`rails g spree:install`) will run
119
145
  migrations as well as adding seed and sample data. This can be disabled using
@@ -183,13 +209,18 @@ testing purposes.
183
209
  This sandbox includes solidus\_auth\_devise and generates with seed and sample
184
210
  data already loaded.
185
211
 
186
- * Create the sandbox application (`DB=mysql` or `DB=postgresql` can be specified
187
- to override the default sqlite)
212
+ * Create the sandbox application
188
213
 
189
214
  ```bash
190
215
  bundle exec rake sandbox
191
216
  ```
192
217
 
218
+ You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
219
+
220
+ ```bash
221
+ DB=postgresql bundle exec rake sandbox
222
+ ```
223
+
193
224
  * Start the server
194
225
 
195
226
  ```bash
@@ -0,0 +1,21 @@
1
+ #
2
+ # This image is intended to be used to test and demo Solidus
3
+ # it is not intended for production purposes
4
+ #
5
+ FROM ruby:2.5.1
6
+
7
+ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
8
+
9
+ RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
10
+
11
+ RUN mkdir /solidus
12
+
13
+ WORKDIR /solidus
14
+
15
+ ADD . /solidus
16
+
17
+ RUN bundle install
18
+
19
+ RUN bundle exec rake sandbox
20
+
21
+ CMD ["sh", "./lib/demo/docker-entrypoint.sh"]
@@ -0,0 +1,27 @@
1
+ # Solidus Docker Demo
2
+ The Dockerfile in this folder is intended for demoing purposes, meaning that a
3
+ user can run an installation of Solidus using a Docker container.
4
+
5
+ ## How to build the image
6
+ Make sure Docker is installed in your local and run the following command:
7
+
8
+ ```shell
9
+ docker build -t solidusio/solidus-demo:latest -f lib/demo/Dockerfile .
10
+ ```
11
+
12
+ ## How to run the image
13
+ You can either run the image you built locally or run the official image pushed
14
+ in Dockerhub.
15
+
16
+ ```shell
17
+ docker run --rm -it -p 3000:3000 solidusio/solidus-demo:latest
18
+ ```
19
+
20
+ ## How to push the image
21
+ If you want to push the image you can use the following command, just note that
22
+ this specific command will push the image to the official Solidus Dockerhub
23
+ account.
24
+
25
+ ```shell
26
+ docker push solidusio/solidus-demo:latest
27
+ ```
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+
3
+ export RAILS_ENV=development
4
+
5
+ cd sandbox && \
6
+ bundle exec rails s -p 3000 -b '0.0.0.0'
data/lib/sandbox.sh CHANGED
@@ -49,6 +49,10 @@ 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
+
52
56
  bundle install --gemfile Gemfile
53
57
  bundle exec rake db:drop db:create
54
58
  bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true
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.8.2
4
+ version: 2.9.2
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-02-25 00:00:00.000000000 Z
11
+ date: 2019-09-30 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.8.2
19
+ version: 2.9.2
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.8.2
26
+ version: 2.9.2
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.8.2
33
+ version: 2.9.2
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.8.2
40
+ version: 2.9.2
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.8.2
47
+ version: 2.9.2
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.8.2
54
+ version: 2.9.2
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.8.2
61
+ version: 2.9.2
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.8.2
68
+ version: 2.9.2
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.8.2
75
+ version: 2.9.2
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.8.2
82
+ version: 2.9.2
83
83
  description: Solidus is an open source e-commerce framework for Ruby on Rails.
84
84
  email: contact@solidus.io
85
85
  executables: []
@@ -87,6 +87,9 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - README.md
90
+ - lib/demo/Dockerfile
91
+ - lib/demo/README.md
92
+ - lib/demo/docker-entrypoint.sh
90
93
  - lib/sandbox.sh
91
94
  - lib/solidus.rb
92
95
  - lib/spree.rb
@@ -110,8 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
113
  version: 1.8.23
111
114
  requirements:
112
115
  - none
113
- rubyforge_project:
114
- rubygems_version: 2.7.3
116
+ rubygems_version: 3.0.6
115
117
  signing_key:
116
118
  specification_version: 4
117
119
  summary: Full-stack e-commerce framework for Ruby on Rails.