solidus 2.8.6 → 2.9.0.rc.1

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: ecdbfbdbfccfbc349a63ae12050eade15655cf308e7a3fba3f5937f3eba60eab
4
- data.tar.gz: 3a082b6839404140d4c69bf320198571a12ca9a39ee52678beee356ed9c40454
3
+ metadata.gz: c1929c65ac1b6f0815a631c5482291cd9bd2012cd469399cc1179629099e0dd8
4
+ data.tar.gz: 79aa7659f3443669b70f206f755c8df2719baafb74bcddfe8b88856b8aa34992
5
5
  SHA512:
6
- metadata.gz: 9d6718738948af28ec6561d73f6ebfd14db5473a2956cbf8c832945c7c326717226a2b730af2f95b53504597c9c9534a0355677ee226ac15ed76344fb6430b95
7
- data.tar.gz: 8b074efd9ce148bd05f423d23e6cf07637a7ad61ff673002234c5ec924b04f28adfeb5e09587b3ea3bea50d5d3d6db5829155249dab9c6216454dc14a23a6114
6
+ metadata.gz: f2ff385f11f68e0529de0d39b27f2c77dc348af1ff5094b385e325e735234b0d96a85b30b350f9f9c7a48daac63b31368223aa6c04c81b0200923e59d85bb34c
7
+ data.tar.gz: '08b6450bb301c3df92655fb562f9c1da22d645adccff2705284db88aed7dce587050f2091514c3dc22f02642a5cf0b7c7e5355d20b8f10134e8c0fcf9f53233c'
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
 
@@ -183,13 +210,18 @@ testing purposes.
183
210
  This sandbox includes solidus\_auth\_devise and generates with seed and sample
184
211
  data already loaded.
185
212
 
186
- * Create the sandbox application (`DB=mysql` or `DB=postgresql` can be specified
187
- to override the default sqlite)
213
+ * Create the sandbox application
188
214
 
189
215
  ```bash
190
216
  bundle exec rake sandbox
191
217
  ```
192
218
 
219
+ You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
220
+
221
+ ```bash
222
+ DB=postgresql bundle exec rake sandbox
223
+ ```
224
+
193
225
  * Start the server
194
226
 
195
227
  ```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'
@@ -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.6
4
+ version: 2.9.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-16 00:00:00.000000000 Z
11
+ date: 2019-07-01 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.6
19
+ version: 2.9.0.rc.1
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.6
26
+ version: 2.9.0.rc.1
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.6
33
+ version: 2.9.0.rc.1
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.6
40
+ version: 2.9.0.rc.1
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.6
47
+ version: 2.9.0.rc.1
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.6
54
+ version: 2.9.0.rc.1
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.6
61
+ version: 2.9.0.rc.1
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.6
68
+ version: 2.9.0.rc.1
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.6
75
+ version: 2.9.0.rc.1
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.6
82
+ version: 2.9.0.rc.1
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,7 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
113
  version: 1.8.23
111
114
  requirements:
112
115
  - none
113
- rubygems_version: 3.0.3
116
+ rubyforge_project:
117
+ rubygems_version: 2.7.3
114
118
  signing_key:
115
119
  specification_version: 4
116
120
  summary: Full-stack e-commerce framework for Ruby on Rails.