spree 4.2.0.rc3 → 4.2.0.rc4

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 -93
  3. data/lib/sandbox.sh +5 -0
  4. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d36448382f67912c0d2065a49892d88801c41d432058300ce47f998f22ed3d9f
4
- data.tar.gz: 679fe6842199c2c7dca137045801441515202c1eaa748bf295c0943412034735
3
+ metadata.gz: 7a28fe651c111665a1222986e9a089cd761712248e14edd740019f40c42b6808
4
+ data.tar.gz: dbba0d72758e1582567789202b0bf613e4443b333c70d2d37396b3cb51bbf7e1
5
5
  SHA512:
6
- metadata.gz: 49cb44b00b2473a46df061253a6c869b1b2b47bd8c985a53e22be013d93f6c2006b57dd4b1d36a2d97e49e99c121426198f8a8906ff3b96297d2b20cd781bbbf
7
- data.tar.gz: 65969bdfc83419626e79413cfd72d3b4a78994d9ddc023736e8e270fa7059056162c7e74c144834536cb8204e1f031f57e8ae65bfe7b21491bae8b7c9f5f742a
6
+ metadata.gz: d9f9edd16db26cdf4ee39148c3573bc3a90e1a8bc27c0cd0cfc0629f7bdf8592b9b36717c32167d78b981711c80fd5dabedab5396498fa7518c3bcb4a8c440ed
7
+ data.tar.gz: 0c923d322b138cf75003a2ca8ae5c1672885662d1e6500096e6ca49ab70dc361b8478b0ca5837e8d12cbe07fe7c3190149c49da27e58a4ffe18c48f0225eb483
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 and 6.1
66
-
67
- ```ruby
68
- gem 'spree', '~> 4.2.0.rc3'
69
- gem 'spree_auth_devise', '~> 4.3'
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
 
@@ -54,6 +54,7 @@ cat <<RUBY >> Gemfile
54
54
  gem 'spree', path: '..'
55
55
  $SPREE_AUTH_DEVISE_GEM
56
56
  $SPREE_GATEWAY_GEM
57
+ gem 'spree_i18n', github: 'spree-contrib/spree_i18n', branch: 'master'
57
58
 
58
59
  group :test, :development do
59
60
  gem 'bullet'
@@ -72,6 +73,10 @@ gem 'rack-cache'
72
73
  gem 'sassc', github: 'sass/sassc-ruby', branch: 'master'
73
74
  RUBY
74
75
 
76
+ cat <<RUBY >> config/environments/development.rb
77
+ Rails.application.config.hosts << /.*\.lvh\.me/
78
+ RUBY
79
+
75
80
  bundle install --gemfile Gemfile
76
81
  bundle exec rails db:drop || true
77
82
  bundle exec rails db:create
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.rc3
4
+ version: 4.2.0.rc4
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: 2021-01-18 00:00:00.000000000 Z
12
+ date: 2021-01-20 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.rc3
20
+ version: 4.2.0.rc4
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.rc3
27
+ version: 4.2.0.rc4
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.rc3
34
+ version: 4.2.0.rc4
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.rc3
41
+ version: 4.2.0.rc4
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.rc3
48
+ version: 4.2.0.rc4
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.rc3
55
+ version: 4.2.0.rc4
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.rc3
62
+ version: 4.2.0.rc4
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.rc3
69
+ version: 4.2.0.rc4
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.rc3
76
+ version: 4.2.0.rc4
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.rc3
83
+ version: 4.2.0.rc4
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.rc3
90
+ version: 4.2.0.rc4
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.rc3
97
+ version: 4.2.0.rc4
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
@@ -110,9 +110,9 @@ licenses:
110
110
  - BSD-3-Clause
111
111
  metadata:
112
112
  bug_tracker_uri: https://github.com/spree/spree/issues
113
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc3
113
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc4
114
114
  documentation_uri: https://guides.spreecommerce.org/
115
- source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc3
115
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc4
116
116
  post_install_message:
117
117
  rdoc_options: []
118
118
  require_paths: