spree 4.2.0.rc2 → 4.2.1

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 +9 -94
  3. metadata +19 -20
  4. data/lib/sandbox.sh +0 -77
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fec046363abfdb87cc9a5eb6e1a1812a7548f36a990b4b8f9c6e14fbe2cd8b3
4
- data.tar.gz: 19b1e260fe9147f77ae39c5b87b9c2d3d87e70a9a183c07d5ecdfdebc84572d2
3
+ metadata.gz: 4640606cf65a78faadcfa7b24df52e9267dc52c02d86c4559a36deda0755d4cc
4
+ data.tar.gz: a1430659cdb0806bfb4e719149813d5f7589a9b7c2c026144fc2938e16b3a467
5
5
  SHA512:
6
- metadata.gz: 419bc90e4c999ffbd6fc842d34eb787e2415d200869d97401d8f4e7314626c158d5a3651605e3f4d5131c6bc582f5997e9ce45645774889ce687f3a15341ea5d
7
- data.tar.gz: 3910da12f46fbe4ed0861c05108ad431f85563767426fd8fd6c6bd7c570d1cbcaa948dd41e747cf5100cc9c7c5a6456fad3b5e1ac223a7943759a4b4737ed31f
6
+ metadata.gz: 81d87af5bc93a6da57ce17796ede1d51974724c6abdb7d64ec36dd5c770338187aac9152e27c8e75b1bb0508b0c008368e945ca2507a44e0c8435a69a114cb35
7
+ data.tar.gz: fe3a2a564bd95a7bdf84e2b034561e449f9f6e8bcb0c49f341a04a048c8ca46f533fb53227f3f4ea435df887bc419dbd21a8c45ab6ef7e8b29b76b857be4b2dd
data/README.md CHANGED
@@ -40,109 +40,25 @@ Explore demo features: https://spreecommerce.org/spree-commerce-demo-explainer/
40
40
 
41
41
  Or fire up your own demo on Heroku:
42
42
 
43
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/spree/spree/tree/4-1-stable)
43
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/spree/spree_starter)
44
44
 
45
45
  Admin panel credentials for your own Heroku demo:
46
46
 
47
47
  * login: `spree@example.com`
48
48
  * password: `spree123`
49
49
 
50
- ## Installation
50
+ ## Local Installation
51
51
 
52
- ### Create new Rails app (optional)
52
+ ### Option A - use Spree Starter with Docker
53
53
 
54
- If you're starting a new application from scrach run:
54
+ 1. [Install Docker](https://docs.docker.com/get-docker/)
55
+ 2. Download [Spree Starter](https://github.com/spree/spree_starter/archive/main.zip)
56
+ 3. Unzip it
57
+ 4. Run `bin/setup` in `spree_starter-main` directory
55
58
 
56
- ```bash
57
- rails new my_store
58
- cd my_store
59
- ```
59
+ ### Option B - add Spree to an existing application
60
60
 
61
- You can **add Spree to your existing Rails application** as well.
62
-
63
- ### Add Spree gems to your `Gemfile`
64
-
65
- #### Rails 6.0
66
-
67
- ```ruby
68
- gem 'spree', '~> 4.1'
69
- gem 'spree_auth_devise', '~> 4.2'
70
- gem 'spree_gateway', '~> 3.9'
71
- ```
72
-
73
- #### Rails 5.2
74
-
75
- ```ruby
76
- gem 'spree', '~> 3.7.0'
77
- gem 'spree_auth_devise', '~> 3.5'
78
- gem 'spree_gateway', '~> 3.4'
79
- ```
80
-
81
- To see what rails version are you using run this command:
82
-
83
- ```bash
84
- rails -v
85
- ```
86
-
87
- Older rails versions are also supported: [Rails 5.1](https://guides.spreecommerce.org/release_notes/3_5_0.html), [Rails 5.0](https://guides.spreecommerce.org/release_notes/3_2_0.html), [Rails 4.2](https://guides.spreecommerce.org/release_notes/3_1_0.html)
88
-
89
- ### Install gems
90
-
91
- ```bash
92
- bundle install
93
- ```
94
-
95
- **Note**: if you run into `Bundler could not find compatible versions for gem "sprockets":` error message, please run
96
-
97
- ```bash
98
- bundle update
99
- ```
100
-
101
- ### Use the install generators to set up Spree
102
-
103
- ```shell
104
- bundle exec rails g spree:install --user_class=Spree::User
105
- bundle exec rails g spree:auth:install
106
- bundle exec rails g spree_gateway:install
107
- ```
108
-
109
- ## Installation options
110
-
111
- By default, the installation generator (`rails g spree:install`) will run
112
- migrations as well as adding seed and sample data and will copy storefront data
113
- for easy customization (if `spree_frontend` available). This can be disabled using
114
-
115
- ```shell
116
- rails g spree:install --migrate=false --sample=false --seed=false --copy_storefront=false
117
- ```
118
-
119
- You can always perform any of these steps later by using these commands.
120
-
121
- ```shell
122
- bundle exec rake railties:install:migrations
123
- bundle exec rails db:migrate
124
- bundle exec rails db:seed
125
- bundle exec rake spree_sample:load
126
- bundle exec rails g spree:frontend:copy_storefront
127
- ```
128
-
129
- ### Headless installation
130
-
131
- To use Spree in [API-only mode](https://guides.spreecommerce.org/api/overview/) you need to replace `spree` with `spree_api` in your project Gemfile. This will skip Storefront and Admin Panel. If you would want to include the Admin Panel please add `spree_backend` to your Gemfile.
132
-
133
- ## Run rails sever
134
-
135
- ```bash
136
- rails s
137
- ```
138
-
139
- ## Browse Storefront
140
-
141
- Go to http://localhost:3000
142
-
143
- ## Browse Admin Panel
144
-
145
- Go to http://localhost:3000/admin
61
+ 1. [Please follow Add Spree to an existing Ruby on Rails application tutorial](https://guides.spreecommerce.org/developer/tutorials/existing_app_tutorial.html)
146
62
 
147
63
  ## Extensions
148
64
 
@@ -162,7 +78,6 @@ Spree Extensions provide additional features not present in the Core system.
162
78
  | [spree_globalize](https://github.com/spree-contrib/spree_globalize) | [![Build Status](https://travis-ci.org/spree-contrib/spree_globalize.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_globalize) | Adds support for model translations (multi-language stores)
163
79
  | [spree_i18n](https://github.com/spree-contrib/spree_i18n) | [![Build Status](https://travis-ci.org/spree-contrib/spree_i18n.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_i18n) | I18n translation files for Spree Commerce
164
80
  | [spree-mollie-gateway](https://github.com/mollie/spree-mollie-gateway) | [![Build Status](https://travis-ci.org/mollie/spree-mollie-gateway.svg?branch=master)](https://github.com/mollie/spree-mollie-gateway) | Official [Mollie](https://www.mollie.com) payment gateway for Spree Commerce. |
165
- | [spree_multi_currency](https://github.com/spree-contrib/spree_multi_currency) | [![Build Status](https://travis-ci.org/spree-contrib/spree_multi_currency.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_multi_currency) | Provides UI to allow configuring multiple currencies in Spree |
166
81
  | [spree-multi-domain](https://github.com/spree-contrib/spree-multi-domain) | [![Build Status](https://travis-ci.org/spree-contrib/spree-multi-domain.svg?branch=master)](https://travis-ci.org/spree-contrib/spree-multi-domain) | Multiple Spree stores on different domains - single unified backed for processing orders
167
82
  | [spree_multi_vendor](https://github.com/spree-contrib/spree_multi_vendor) | [![Build Status](https://travis-ci.org/spree-contrib/spree_multi_vendor.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_multi_vendor) | Spree Multi Vendor Marketplace extension |
168
83
  | [spree-product-assembly](https://github.com/spree-contrib/spree-product-assembly) | [![Build Status](https://travis-ci.org/spree-contrib/spree-product-assembly.svg?branch=master)](https://travis-ci.org/spree-contrib/spree-product-assembly) | Product Bundles |
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.rc2
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-10 00:00:00.000000000 Z
12
+ date: 2021-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
@@ -17,84 +17,84 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 4.2.0.rc2
20
+ version: 4.2.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 4.2.0.rc2
27
+ version: 4.2.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spree_api
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 4.2.0.rc2
34
+ version: 4.2.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 4.2.0.rc2
41
+ version: 4.2.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: spree_backend
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 4.2.0.rc2
48
+ version: 4.2.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 4.2.0.rc2
55
+ version: 4.2.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: spree_frontend
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 4.2.0.rc2
62
+ version: 4.2.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 4.2.0.rc2
69
+ version: 4.2.1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: spree_sample
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 4.2.0.rc2
76
+ version: 4.2.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 4.2.0.rc2
83
+ version: 4.2.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: spree_cmd
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 4.2.0.rc2
90
+ version: 4.2.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 4.2.0.rc2
97
+ version: 4.2.1
98
98
  description: Spree is an open source e-commerce framework for Ruby on Rails. Join
99
99
  us on http://slack.spreecommerce.org
100
100
  email: hello@spreecommerce.org
@@ -103,16 +103,15 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - README.md
106
- - lib/sandbox.sh
107
106
  - lib/spree.rb
108
107
  homepage: https://spreecommerce.org
109
108
  licenses:
110
109
  - BSD-3-Clause
111
110
  metadata:
112
111
  bug_tracker_uri: https://github.com/spree/spree/issues
113
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc2
112
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.1
114
113
  documentation_uri: https://guides.spreecommerce.org/
115
- source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc2
114
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.1
116
115
  post_install_message:
117
116
  rdoc_options: []
118
117
  require_paths:
@@ -124,12 +123,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
123
  version: 2.5.0
125
124
  required_rubygems_version: !ruby/object:Gem::Requirement
126
125
  requirements:
127
- - - ">"
126
+ - - ">="
128
127
  - !ruby/object:Gem::Version
129
- version: 1.3.1
128
+ version: '0'
130
129
  requirements:
131
130
  - none
132
- rubygems_version: 3.1.2
131
+ rubygems_version: 3.2.3
133
132
  signing_key:
134
133
  specification_version: 4
135
134
  summary: Full-stack e-commerce framework for Ruby on Rails.
data/lib/sandbox.sh DELETED
@@ -1,77 +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)
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-coffee \
31
- --skip-javascript \
32
- --skip-bootsnap
33
-
34
- if [ ! -d "sandbox" ]; then
35
- echo 'sandbox rails application failed'
36
- exit 1
37
- fi
38
-
39
- cd ./sandbox
40
-
41
- if [ "$SPREE_AUTH_DEVISE_PATH" != "" ]; then
42
- SPREE_AUTH_DEVISE_GEM="gem 'spree_auth_devise', path: '$SPREE_AUTH_DEVISE_PATH'"
43
- else
44
- SPREE_AUTH_DEVISE_GEM="gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'master'"
45
- fi
46
-
47
- if [ "$SPREE_GATEWAY_PATH" != "" ]; then
48
- SPREE_GATEWAY_GEM="gem 'spree_gateway', path: '$SPREE_GATEWAY_PATH'"
49
- else
50
- SPREE_GATEWAY_GEM="gem 'spree_gateway', github: 'spree/spree_gateway', branch: 'master'"
51
- fi
52
-
53
- cat <<RUBY >> Gemfile
54
- gem 'spree', path: '..'
55
- $SPREE_AUTH_DEVISE_GEM
56
- $SPREE_GATEWAY_GEM
57
-
58
- group :test, :development do
59
- gem 'bullet'
60
- gem 'pry-byebug'
61
- gem 'rack-mini-profiler'
62
- gem 'awesome_print'
63
- end
64
-
65
- # ExecJS runtime
66
- gem 'mini_racer'
67
-
68
- gem 'rack-cache'
69
- RUBY
70
-
71
- bundle install --gemfile Gemfile
72
- bundle exec rails db:drop || true
73
- bundle exec rails db:create
74
- bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true --copy_storefront=false
75
- bundle exec rails g spree:mailers_preview
76
- bundle exec rails g spree:auth:install
77
- bundle exec rails g spree_gateway:install