spree 4.1.13 → 4.2.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +34 -226
- data/lib/sandbox.sh +14 -1
- metadata +22 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a28fe651c111665a1222986e9a089cd761712248e14edd740019f40c42b6808
|
4
|
+
data.tar.gz: dbba0d72758e1582567789202b0bf613e4443b333c70d2d37396b3cb51bbf7e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f9edd16db26cdf4ee39148c3573bc3a90e1a8bc27c0cd0cfc0629f7bdf8592b9b36717c32167d78b981711c80fd5dabedab5396498fa7518c3bcb4a8c440ed
|
7
|
+
data.tar.gz: 0c923d322b138cf75003a2ca8ae5c1672885662d1e6500096e6ca49ab70dc361b8478b0ca5837e8d12cbe07fe7c3190149c49da27e58a4ffe18c48f0225eb483
|
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# Spree Commerce
|
2
2
|
|
3
|
-
<a href="https://guides.spreecommerce.org/release_notes/4_1_0.html"><img src="https://spreecommerce.org/wp-content/uploads/2020/
|
3
|
+
<a href="https://guides.spreecommerce.org/release_notes/4_1_0.html"><img src="https://spreecommerce.org/wp-content/uploads/2020/03/spree-4_1-mobile-first-customizable-ux-1400x800-0_20.png" /></a>
|
4
4
|
|
5
5
|
* Join our Slack at [slack.spreecommerce.org](http://slack.spreecommerce.org/)
|
6
6
|
* [Contact us](https://spreecommerce.org/contact/) to start a new project or get tech support
|
7
|
-
* [DEMO](https://
|
7
|
+
* [DEMO](https://spreecommerce.org/spree-commerce-demo-explainer/) of the new Spree UX introduced in Spree 4.1
|
8
|
+
* [9 good reasons to upgrade to Spree 4.1](https://spreecommerce.org/spree-commerce-4-1-is-now-available-9-reasons-to-upgrade-or-use-it-for-a-new-e-commerce-project/) or use it for a new project
|
8
9
|
* [Success Stories](https://spreecommerce.org/stories/)
|
9
10
|
* [Integrations](https://spreecommerce.org/integrations/)
|
10
11
|
* [Extensions](https://github.com/spree/spree#extensions)
|
@@ -35,112 +36,29 @@ in a single repository and documented in a single set of
|
|
35
36
|
## Demo
|
36
37
|
|
37
38
|
Go to: https://demo.spreecommerce.org/
|
39
|
+
Explore demo features: https://spreecommerce.org/spree-commerce-demo-explainer/
|
38
40
|
|
39
|
-
Or fire your own demo on Heroku:
|
41
|
+
Or fire up your own demo on Heroku:
|
40
42
|
|
41
|
-
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/spree/
|
43
|
+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/spree/spree_starter)
|
42
44
|
|
43
|
-
Admin
|
45
|
+
Admin panel credentials for your own Heroku demo:
|
44
46
|
|
45
47
|
* login: `spree@example.com`
|
46
48
|
* password: `spree123`
|
47
49
|
|
48
|
-
## Installation
|
50
|
+
## Local Installation
|
49
51
|
|
50
|
-
###
|
52
|
+
### Option A - use Spree Starter with Docker
|
51
53
|
|
52
|
-
|
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
|
53
58
|
|
54
|
-
|
55
|
-
rails new my_store
|
56
|
-
cd my_store
|
57
|
-
```
|
59
|
+
### Option B - add Spree to an existing application
|
58
60
|
|
59
|
-
|
60
|
-
|
61
|
-
### Add Spree gems to your `Gemfile`
|
62
|
-
|
63
|
-
#### Rails 6.0
|
64
|
-
|
65
|
-
```ruby
|
66
|
-
gem 'spree', '~> 4.1'
|
67
|
-
gem 'spree_auth_devise', '~> 4.1'
|
68
|
-
gem 'spree_gateway', '~> 3.7'
|
69
|
-
```
|
70
|
-
|
71
|
-
#### Rails 5.2
|
72
|
-
|
73
|
-
```ruby
|
74
|
-
gem 'spree', '~> 3.7.0'
|
75
|
-
gem 'spree_auth_devise', '~> 3.5'
|
76
|
-
gem 'spree_gateway', '~> 3.4'
|
77
|
-
```
|
78
|
-
|
79
|
-
To see what rails version are you using run this command:
|
80
|
-
|
81
|
-
```bash
|
82
|
-
rails -v
|
83
|
-
```
|
84
|
-
|
85
|
-
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)
|
86
|
-
|
87
|
-
### Install gems
|
88
|
-
|
89
|
-
```bash
|
90
|
-
bundle install
|
91
|
-
```
|
92
|
-
|
93
|
-
**Note**: if you run into `Bundler could not find compatible versions for gem "sprockets":` error message, please run
|
94
|
-
|
95
|
-
```bash
|
96
|
-
bundle update
|
97
|
-
```
|
98
|
-
|
99
|
-
### Use the install generators to set up Spree
|
100
|
-
|
101
|
-
```shell
|
102
|
-
bundle exec rails g spree:install --user_class=Spree::User
|
103
|
-
bundle exec rails g spree:auth:install
|
104
|
-
bundle exec rails g spree_gateway:install
|
105
|
-
```
|
106
|
-
|
107
|
-
## Installation options
|
108
|
-
|
109
|
-
By default, the installation generator (`rails g spree:install`) will run
|
110
|
-
migrations as well as adding seed and sample data and will copy storefront data
|
111
|
-
for easy customization (if `spree_frontend` available). This can be disabled using
|
112
|
-
|
113
|
-
```shell
|
114
|
-
rails g spree:install --migrate=false --sample=false --seed=false --copy_storefront=false
|
115
|
-
```
|
116
|
-
|
117
|
-
You can always perform any of these steps later by using these commands.
|
118
|
-
|
119
|
-
```shell
|
120
|
-
bundle exec rake railties:install:migrations
|
121
|
-
bundle exec rails db:migrate
|
122
|
-
bundle exec rails db:seed
|
123
|
-
bundle exec rake spree_sample:load
|
124
|
-
bundle exec rails g spree:frontend:copy_storefront
|
125
|
-
```
|
126
|
-
|
127
|
-
### Headless installation
|
128
|
-
|
129
|
-
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.
|
130
|
-
|
131
|
-
## Run rails sever
|
132
|
-
|
133
|
-
```bash
|
134
|
-
rails s
|
135
|
-
```
|
136
|
-
|
137
|
-
## Browse Storefront
|
138
|
-
|
139
|
-
Go to http://localhost:3000
|
140
|
-
|
141
|
-
## Browse Admin Panel
|
142
|
-
|
143
|
-
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)
|
144
62
|
|
145
63
|
## Extensions
|
146
64
|
|
@@ -148,144 +66,34 @@ Spree Extensions provide additional features not present in the Core system.
|
|
148
66
|
|
149
67
|
| Extension | Spree 3.2+ support | Description |
|
150
68
|
| --- | --- | --- |
|
151
|
-
| [
|
69
|
+
| [spree_analytics_trackers](https://github.com/spree-contrib/spree_analytics_trackers) | [![Build Status](https://travis-ci.org/spree-contrib/spree_analytics_trackers.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_analytics_trackers) | Adds support for Analytics Trackers (Google Analytics & Segment)
|
70
|
+
| [spree_avatax_official](https://github.com/spree-contrib/spree_avatax_official) | [![Build Status](https://travis-ci.org/spree-contrib/spree_avatax_official.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_avatax_official) | Improve your Spree store's sales tax decision automation with Avalara AvaTax
|
152
71
|
| [spree_auth_devise](https://github.com/spree/spree_auth_devise) | [![Build Status](https://travis-ci.org/spree/spree_auth_devise.svg?branch=master)](https://travis-ci.org/spree/spree_auth_devise) | Provides authentication services for Spree, using the Devise gem.
|
153
|
-
| [
|
154
|
-
| [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
|
155
|
-
| [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 |
|
156
|
-
| [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 |
|
157
|
-
| [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. |
|
72
|
+
| [better_spree_paypal_express](https://github.com/spree-contrib/better_spree_paypal_express) | [![Build Status](https://travis-ci.org/spree-contrib/better_spree_paypal_express.svg?branch=master)](https://travis-ci.org/spree-contrib/better_spree_paypal_express) | This is the official Paypal Express extension for Spree.
|
158
73
|
| [spree_braintree_vzero](https://github.com/spree-contrib/spree_braintree_vzero) | [![Build Status](https://travis-ci.org/spree-contrib/spree_braintree_vzero.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_braintree_vzero) | Official Spree Braintree v.zero + PayPal extension |
|
159
|
-
| [
|
74
|
+
| [spree_contact_us](https://github.com/spree-contrib/spree_contact_us) | [![Build Status](https://travis-ci.org/spree-contrib/spree_contact_us.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_contact_us) | Adds Contact Us form |
|
160
75
|
| [spree_digital](https://github.com/spree-contrib/spree_digital) | [![Build Status](https://travis-ci.org/spree-contrib/spree_digital.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_digital) | A Spree extension to enable downloadable products |
|
161
|
-
| [
|
162
|
-
| [spree_related_products](https://github.com/spree-contrib/spree_related_products) | [![Build Status](https://travis-ci.org/spree-contrib/spree_related_products.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_related_products) | Related products extension for Spree
|
163
|
-
| [spree_static_content](https://github.com/spree-contrib/spree_static_content) | [![Build Status](https://travis-ci.org/spree-contrib/spree_static_content.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_static_content) | Manage static pages for Spree |
|
164
|
-
| [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) | Adds opportunity to make bundle of products |
|
76
|
+
| [spree_gateway](https://github.com/spree/spree_gateway) | [![Build Status](https://travis-ci.org/spree/spree_gateway.svg?branch=master)](https://travis-ci.org/spree/spree_gateway) | Payment Gateways (Stripe, Apple Pay, Braintree, Authorize.net and many others)
|
165
77
|
| [spree_editor](https://github.com/spree-contrib/spree_editor) | [![Build Status](https://travis-ci.org/spree-contrib/spree_editor.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_editor) | Rich text editor for Spree with Image and File uploading in-place |
|
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)
|
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
|
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. |
|
81
|
+
| [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 |
|
82
|
+
| [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
|
83
|
+
| [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 |
|
84
|
+
| [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 |
|
166
85
|
| [spree_recently_viewed](https://github.com/spree-contrib/spree_recently_viewed) | [![Build Status](https://travis-ci.org/spree-contrib/spree_recently_viewed.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_recently_viewed) | Recently viewed products in Spree |
|
167
|
-
| [
|
86
|
+
| [spree_related_products](https://github.com/spree-contrib/spree_related_products) | [![Build Status](https://travis-ci.org/spree-contrib/spree_related_products.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_related_products) | Related products extension for Spree
|
87
|
+
| [spree_social](https://github.com/spree-contrib/spree_social) |[![Build Status](https://travis-ci.org/spree-contrib/spree_social.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_social) | Building block for spree social networking features (provides authentication and account linkage) |
|
168
88
|
| [spree_sitemap](https://github.com/spree-contrib/spree_sitemap) | [![Build Status](https://travis-ci.org/spree-contrib/spree_sitemap.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_sitemap) | Sitemap Generator for Spree |
|
89
|
+
| [spree_shared](https://github.com/spree-contrib/spree_shared) | [![Build Status](https://travis-ci.org/spree-contrib/spree_shared.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_shared) | Multi-tenancy for Spree using Apartment (per tenant databases) |
|
90
|
+
| [spree_static_content](https://github.com/spree-contrib/spree_static_content) | [![Build Status](https://travis-ci.org/spree-contrib/spree_static_content.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_static_content) | Manage static pages for Spree |
|
169
91
|
| [spree_volume_pricing](https://github.com/spree-contrib/spree_volume_pricing) | [![Build Status](https://travis-ci.org/spree-contrib/spree_volume_pricing.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_volume_pricing) | It determines the price for a particular product variant with predefined ranges of quantities
|
170
|
-
| [
|
171
|
-
| [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)
|
172
|
-
| [spree_avatax_official](https://github.com/spree-contrib/spree_avatax_official) | [![Build Status](https://travis-ci.org/spree-contrib/spree_avatax_official.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_avatax_official) | Improve your Spree store's sales tax decision automation with Avalara AvaTax
|
173
|
-
| [spree_analytics_trackers](https://github.com/spree-contrib/spree_analytics_trackers) | [![Build Status](https://travis-ci.org/spree-contrib/spree_analytics_trackers.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_analytics_trackers) | Adds support for Analytics Trackers (Google Analytics & Segment)
|
174
|
-
|
175
|
-
## Performance
|
176
|
-
|
177
|
-
You may notice that your Spree store runs slowly in development environment. This can be because in development each asset (css and javascript) is loaded separately. You can disable it by adding the following line to `config/environments/development.rb`.
|
178
|
-
|
179
|
-
```ruby
|
180
|
-
config.assets.debug = false
|
181
|
-
```
|
182
|
-
|
183
|
-
Also in development caching is disabled by defualt. To turn on caching run:
|
184
|
-
|
185
|
-
```bash
|
186
|
-
rails dev:cache
|
187
|
-
```
|
188
|
-
|
189
|
-
You will need to restart rails server after this.
|
92
|
+
| [spree_wishlist](https://github.com/spree-contrib/spree_wishlist) | [![Build Status](https://travis-ci.org/spree-contrib/spree_wishlist.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_wishlist) | Wishlist extension for Spree |
|
190
93
|
|
191
94
|
## Developing Spree
|
192
95
|
|
193
|
-
|
194
|
-
application inside of your cloned source directory for testing purposes.
|
195
|
-
|
196
|
-
Clone the Git repo
|
197
|
-
|
198
|
-
```shell
|
199
|
-
git clone git://github.com/spree/spree.git
|
200
|
-
cd spree
|
201
|
-
```
|
202
|
-
|
203
|
-
Install the gem dependencies
|
204
|
-
|
205
|
-
```shell
|
206
|
-
bundle install
|
207
|
-
```
|
208
|
-
|
209
|
-
### Sandbox
|
210
|
-
|
211
|
-
Create a sandbox Rails application for testing purposes which automatically performs all necessary database setup
|
212
|
-
|
213
|
-
```shell
|
214
|
-
bundle exec rake sandbox
|
215
|
-
```
|
216
|
-
|
217
|
-
Start the server
|
218
|
-
|
219
|
-
```shell
|
220
|
-
cd sandbox
|
221
|
-
rails server
|
222
|
-
```
|
223
|
-
|
224
|
-
### Running Tests
|
225
|
-
|
226
|
-
We use [CircleCI](https://circleci.com/) to run the tests for Spree.
|
227
|
-
|
228
|
-
You can see the build statuses at [https://circleci.com/gh/spree/spree](https://circleci.com/gh/spree/spree).
|
229
|
-
|
230
|
-
Each gem contains its own series of tests, and for each directory, you need to
|
231
|
-
do a quick one-time creation of a test application and then you can use it to run
|
232
|
-
the tests. For example, to run the tests for the core project.
|
233
|
-
|
234
|
-
```shell
|
235
|
-
cd core
|
236
|
-
BUNDLE_GEMFILE=../Gemfile bundle exec rake test_app
|
237
|
-
bundle exec rspec spec
|
238
|
-
```
|
239
|
-
|
240
|
-
If you would like to run specs against a particular database you may specify the
|
241
|
-
dummy app's database, which defaults to sqlite3.
|
242
|
-
|
243
|
-
```shell
|
244
|
-
DB=postgres bundle exec rake test_app
|
245
|
-
```
|
246
|
-
|
247
|
-
If you want to run specs for only a single spec file
|
248
|
-
|
249
|
-
```shell
|
250
|
-
bundle exec rspec spec/models/spree/state_spec.rb
|
251
|
-
```
|
252
|
-
|
253
|
-
If you want to run a particular line of spec
|
254
|
-
|
255
|
-
```shell
|
256
|
-
bundle exec rspec spec/models/spree/state_spec.rb:7
|
257
|
-
```
|
258
|
-
|
259
|
-
You can also enable fail fast in order to stop tests at the first failure
|
260
|
-
|
261
|
-
```shell
|
262
|
-
FAIL_FAST=true bundle exec rspec spec/models/state_spec.rb
|
263
|
-
```
|
264
|
-
|
265
|
-
If you want to run the simplecov code coverage report
|
266
|
-
|
267
|
-
```shell
|
268
|
-
COVERAGE=true bundle exec rspec spec
|
269
|
-
```
|
270
|
-
|
271
|
-
If you're working on multiple facets of Spree to test,
|
272
|
-
please ensure that you have a postgres user:
|
273
|
-
|
274
|
-
```shell
|
275
|
-
createuser -s -r postgres
|
276
|
-
```
|
277
|
-
|
278
|
-
And also ensure that you have [ChromeDriver](http://chromedriver.chromium.org) installed as well.
|
279
|
-
Please follow this
|
280
|
-
[instruction](https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver) to install it.
|
281
|
-
|
282
|
-
To execute all the tests, you may want to run this command at the
|
283
|
-
root of the Spree project to generate test applications and run
|
284
|
-
specs for all the facets:
|
285
|
-
|
286
|
-
```shell
|
287
|
-
bash build.sh
|
288
|
-
```
|
96
|
+
Please [follow this guide](https://guides.spreecommerce.org/developer/tutorials/developing_spree.html)
|
289
97
|
|
290
98
|
## Contributing
|
291
99
|
|
@@ -315,7 +123,7 @@ Spree is released under the [New BSD License](https://github.com/spree/spree/blo
|
|
315
123
|
|
316
124
|
[![Spark Solutions](http://sparksolutions.co/wp-content/uploads/2015/01/logo-ss-tr-221x100.png)][spark]
|
317
125
|
|
318
|
-
|
126
|
+
[Spark Solutions][spark] is a software development agency specialized in Ruby on Rails, Spree Commerce and Javascript development. We’ve been leading Spree open-source efforts since 2016 as its core team. We also do client work. Our project teams consist of UX and UI designers, Software Engineers, Testers and Project Managers practicing agile project delivery. We’ll integrate our team with yours to jointly architect, deliver, maintain and scale the software products you need. You drive the project with requirements and acceptance testing and we help you deliver faster using industry-standard project management and comms best practices.
|
319
127
|
|
320
128
|
We are passionate about open source software.
|
321
129
|
We are [available for hire][spark].
|
data/lib/sandbox.sh
CHANGED
@@ -54,20 +54,33 @@ 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'
|
60
61
|
gem 'pry-byebug'
|
61
|
-
gem 'rack-mini-profiler'
|
62
62
|
gem 'awesome_print'
|
63
63
|
end
|
64
64
|
|
65
|
+
# ExecJS runtime
|
66
|
+
gem 'mini_racer'
|
67
|
+
|
65
68
|
gem 'rack-cache'
|
69
|
+
|
70
|
+
# temporary fix for sassc segfaults on ruby 3.0.0 on Mac OS Big Sur
|
71
|
+
# this change fixes the issue:
|
72
|
+
# https://github.com/sass/sassc-ruby/commit/04407faf6fbd400f1c9f72f752395e1dfa5865f7
|
73
|
+
gem 'sassc', github: 'sass/sassc-ruby', branch: 'master'
|
74
|
+
RUBY
|
75
|
+
|
76
|
+
cat <<RUBY >> config/environments/development.rb
|
77
|
+
Rails.application.config.hosts << /.*\.lvh\.me/
|
66
78
|
RUBY
|
67
79
|
|
68
80
|
bundle install --gemfile Gemfile
|
69
81
|
bundle exec rails db:drop || true
|
70
82
|
bundle exec rails db:create
|
71
83
|
bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true --copy_storefront=false
|
84
|
+
bundle exec rails g spree:mailers_preview
|
72
85
|
bundle exec rails g spree:auth:install
|
73
86
|
bundle exec rails g spree_gateway:install
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
|
+
- Spark Solutions
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: spree_core
|
@@ -16,87 +17,87 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - '='
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
20
|
+
version: 4.2.0.rc4
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - '='
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
27
|
+
version: 4.2.0.rc4
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: spree_api
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
32
|
- - '='
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.
|
34
|
+
version: 4.2.0.rc4
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - '='
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.
|
41
|
+
version: 4.2.0.rc4
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: spree_backend
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
46
|
- - '='
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.
|
48
|
+
version: 4.2.0.rc4
|
48
49
|
type: :runtime
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - '='
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.
|
55
|
+
version: 4.2.0.rc4
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: spree_frontend
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
60
|
- - '='
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.
|
62
|
+
version: 4.2.0.rc4
|
62
63
|
type: :runtime
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
67
|
- - '='
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.
|
69
|
+
version: 4.2.0.rc4
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: spree_sample
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
74
|
- - '='
|
74
75
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.
|
76
|
+
version: 4.2.0.rc4
|
76
77
|
type: :runtime
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
81
|
- - '='
|
81
82
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.
|
83
|
+
version: 4.2.0.rc4
|
83
84
|
- !ruby/object:Gem::Dependency
|
84
85
|
name: spree_cmd
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
88
|
- - '='
|
88
89
|
- !ruby/object:Gem::Version
|
89
|
-
version: 4.
|
90
|
+
version: 4.2.0.rc4
|
90
91
|
type: :runtime
|
91
92
|
prerelease: false
|
92
93
|
version_requirements: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
95
|
- - '='
|
95
96
|
- !ruby/object:Gem::Version
|
96
|
-
version: 4.
|
97
|
+
version: 4.2.0.rc4
|
97
98
|
description: Spree is an open source e-commerce framework for Ruby on Rails. Join
|
98
99
|
us on http://slack.spreecommerce.org
|
99
|
-
email:
|
100
|
+
email: hello@spreecommerce.org
|
100
101
|
executables: []
|
101
102
|
extensions: []
|
102
103
|
extra_rdoc_files: []
|
@@ -104,14 +105,14 @@ files:
|
|
104
105
|
- README.md
|
105
106
|
- lib/sandbox.sh
|
106
107
|
- lib/spree.rb
|
107
|
-
homepage:
|
108
|
+
homepage: https://spreecommerce.org
|
108
109
|
licenses:
|
109
110
|
- BSD-3-Clause
|
110
111
|
metadata:
|
111
112
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
112
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v4.
|
113
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc4
|
113
114
|
documentation_uri: https://guides.spreecommerce.org/
|
114
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.
|
115
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc4
|
115
116
|
post_install_message:
|
116
117
|
rdoc_options: []
|
117
118
|
require_paths:
|
@@ -123,12 +124,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
124
|
version: 2.5.0
|
124
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
126
|
requirements:
|
126
|
-
- - "
|
127
|
+
- - ">"
|
127
128
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
129
|
+
version: 1.3.1
|
129
130
|
requirements:
|
130
131
|
- none
|
131
|
-
rubygems_version: 3.1.
|
132
|
+
rubygems_version: 3.1.4
|
132
133
|
signing_key:
|
133
134
|
specification_version: 4
|
134
135
|
summary: Full-stack e-commerce framework for Ruby on Rails.
|