spree 3.0.10 → 3.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +67 -184
  3. data/lib/sandbox.sh +1 -1
  4. metadata +17 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b45465ef42d16cd03f6623dc28ec887da67c9af1
4
- data.tar.gz: bfc3ba3f099a3b0e82316dbbd3a8258db7393ad8
3
+ metadata.gz: 01ecbc418a9b40b3f85dd9eb1310505bde1699c3
4
+ data.tar.gz: 97b2ba5ef022c59d2dba0579d1c5a60ba5742ee6
5
5
  SHA512:
6
- metadata.gz: cb7c57b279c5a7286ec6221369426956fb1e4da4722e1f0e317f3f4249a302c1b4fd142f18b6e698178e997ee66d21a511b572cf6601fd0a6b07d6a743e89e13
7
- data.tar.gz: 2045c2a9b66c1e3181e502ac0f44fc7f67d2dad23cf1431405e39b722385be76781417c02aa14da672117abc9de84fb110f8ba1147ce79bcf2bec652305bb9c1
6
+ metadata.gz: a3c1db1e44b6c70cbaa1cc675d42c2ee7303b6a7b9c2c664b1bc09251d0877983ee145cd77a227399f2a722fa0970434e6d4648fcb95672cdb548ffff1f1c79e
7
+ data.tar.gz: d4c7bb4baa9971927f1272961a80bc1869c8810590272287821b77ae4bd7a215234401bc179900c082fcb9e88f38352bc668a35b709991106a0cf2b3284c2fd1
data/README.md CHANGED
@@ -1,133 +1,77 @@
1
- # New Spree Commerce roadmap announcement
2
1
 
3
- We are excited to announce a new [Spree Commerce development roadmap](https://github.com/spree/spree/wiki/Spree-Commerce-development-roadmap-2016) for 2016 along with the new [Core Team](https://github.com/spree/spree/wiki/Core-Team).
2
+ ![Spree](spree_logo.png)
4
3
 
5
- Future Spree open-source efforts will be coordinated and managed jointly by [Spark Solutions](http://sparksolutions.co) and [Vinsol](http://vinsol.com/) developers who are working daily for merchants using Spree and who have hands on experience in Spree development, customization, maintenance and performance optimization.
4
+ * [Join our Slack](http://slack.spreecommerce.com/)
5
+ * [Documentation](http://guides.spreecommerce.com)
6
+ * [2016 Development Roadmap](https://github.com/spree/spree/wiki/Spree-Commerce-development-roadmap-2016)
7
+ * [Vote & comment on roadmap features](https://trello.com/b/ta4WU3AX/spree-roadmap)
6
8
 
7
- We would be excited to welcome new [Core Team](https://github.com/spree/spree/wiki/Core-Team) members! You can make history and join the Core Team. We will evaluate you as a candidate based on the volume and quality of the code contributed to the project as well as sustained efforts in improving the overall quality of the Spree community.
8
-
9
- We are determined to support the current contributor community and businesses running Spree worldwide. Spree will be developed and maintained with the next versions to follow.
10
-
11
- Together we’ll not only develop future versions but we’ll support Spree developers around the world (mailing list, Slack channel, GitHub issues) in their daily efforts including migrations from 2.x. to 3.x versions.
12
-
13
- **For general discussion and support inquiries please use**:
14
- * Spree Slack public channels: http://slack.spreecommerce.com/
15
- * Spree Mailing List: https://groups.google.com/forum/#!forum/spree-user
16
-
17
-
18
- **THIS README IS FOR THE MASTER BRANCH OF SPREE AND REFLECTS THE WORK CURRENTLY
19
- EXISTING ON THE MASTER BRANCH. IF YOU ARE WISHING TO USE A NON-MASTER BRANCH OF
20
- SPREE, PLEASE CONSULT THAT BRANCH'S README AND NOT THIS ONE.**
21
-
22
- SUMMARY
23
- -------
9
+ [![Circle CI](https://circleci.com/gh/spree/spree.svg?style=svg)](https://circleci.com/gh/spree/spree)
10
+ [![Code Climate](https://codeclimate.com/github/spree/spree.png)](https://codeclimate.com/github/spree/spree)
11
+ [![codebeat](https://codebeat.co/badges/16feb8a2-abf0-4fbb-a130-20b689efcfc0)](https://codebeat.co/projects/github-com-spree-spree)
12
+ [![Slack Status](http://slack.spreecommerce.com/badge.svg)](http://slack.spreecommerce.com)
13
+ [![Issue Stats](http://issuestats.com/github/spree/spree/badge/pr)](http://issuestats.com/github/spree/spree)
14
+ [![Issue Stats](http://issuestats.com/github/spree/spree/badge/issue)](http://issuestats.com/github/spree/spree)
24
15
 
25
- Spree is a complete open source e-commerce solution built with Ruby on Rails. It
26
- was originally developed by Sean Schofield and is now maintained by a dedicated
27
- [core team](https://github.com/spree/spree/wiki/Core-Team). You can find out more by
28
- visiting the [Spree e-commerce project page](http://spreecommerce.com).
16
+ **Spree** is a complete open source e-commerce solution built with Ruby on Rails. It
17
+ was originally developed by Sean Schofield and is now maintained by developers from [Spark Solutions](http://sparksolutions.co) and [Vinsol](http://vinsol.com/). We're open to [contributions](#contributing) and accepting new [Core Team](https://github.com/spree/spree/wiki/Core-Team) members.
29
18
 
30
- Spree actually consists of several different gems, each of which are maintained
19
+ Spree consists of several different gems, each of which are maintained
31
20
  in a single repository and documented in a single set of
32
- [online documentation](http://spreecommerce.com/documentation). By requiring the
33
- Spree gem you automatically require all of the necessary gem dependencies which are:
21
+ [online documentation](http://guides.spreecommerce.com/).
34
22
 
35
23
  * spree_api (RESTful API)
36
- * spree_frontend (User-facing components)
37
- * spree_backend (Admin area)
24
+ * spree_frontend (Customer frontend)
25
+ * spree_backend (Admin panel)
38
26
  * spree_cmd (Command-line tools)
39
27
  * spree_core (Models & Mailers, the basic components of Spree that it can't run without)
40
28
  * spree_sample (Sample data)
41
29
 
42
- All of the gems are designed to work together to provide a fully functional
43
- e-commerce platform. It is also possible, however, to use only the pieces you are
44
- interested in. For example, you could use just the barebones spree\_core gem
45
- and perhaps combine it with your own custom backend admin instead of using
46
- spree_api.
47
-
48
- [![Circle CI](https://circleci.com/gh/spree/spree.svg?style=svg)](https://circleci.com/gh/spree/spree)
49
- [![Code Climate](https://codeclimate.com/github/spree/spree.png)](https://codeclimate.com/github/spree/spree)
50
- [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/spree/spree)
51
- [![Issue Stats](http://issuestats.com/github/spree/spree/badge/pr)](http://issuestats.com/github/spree/spree)
52
- [![Issue Stats](http://issuestats.com/github/spree/spree/badge/issue)](http://issuestats.com/github/spree/spree)
53
-
54
- Installation
55
- ------------
56
-
57
- The fastest way to get started is by using the spree command line tool
58
- available in the spree gem which will add Spree to an existing Rails application.
59
-
60
- ```shell
61
- gem install rails -v 4.2.2
62
- gem install spree
63
- rails _4.2.2_ new my_store
64
- spree install my_store
65
- cd my_store
66
- rails g spree:auth:install
67
- ```
68
30
 
69
- This will add the Spree gem to your Gemfile, create initializers, copy migrations
70
- and optionally generate sample products and orders.
31
+ Getting Started
32
+ ----------------------
71
33
 
72
- If you get an "Unable to resolve dependencies" error when installing the Spree gem
73
- then you can try installing just the spree_cmd gem which should avoid any circular
74
- dependency issues.
34
+ Add Spree gems to your Gemfile:
75
35
 
76
- ```shell
77
- gem install spree_cmd
36
+ ```ruby
37
+ gem 'spree', '~> 3.0.7'
38
+ gem 'spree_auth_devise', '~> 3.0.5'
39
+ gem 'spree_gateway', '~> 3.0.0'
78
40
  ```
79
41
 
80
- To auto accept all prompts while running the install generator, pass -A as an option
42
+ Run `bundle install`
81
43
 
82
- ```shell
83
- spree install my_store -A
84
- ```
85
-
86
- To select a specific branch, pass in the `--branch` option. If there is no branch, you
87
- will be given the latest version of either spree_auth_devise or spree_gateway.
44
+ Use the install generators to set up Spree:
88
45
 
89
46
  ```shell
90
- spree install my_store --branch "3-0-stable"
47
+ rails g spree:install --user_class=Spree::User
48
+ rails g spree:auth:install
49
+ rails g spree_gateway:install
91
50
  ```
92
51
 
93
- Using stable builds and bleeding edge
94
- -------------
95
-
96
- To use a stable build of Spree, you can manually add Spree to your
97
- Rails application. Add this line to
98
- your Gemfile.
99
-
100
- ```ruby
101
- gem 'spree'
102
- ```
52
+ Installation options
53
+ ----------------------
103
54
 
104
- Alternatively, if you want to use the bleeding edge version of Spree, use this
105
- line:
55
+ Alternatively, if you want to use the bleeding edge version of Spree, add this to your Gemfile:
106
56
 
107
57
  ```ruby
108
58
  gem 'spree', github: 'spree/spree'
59
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise'
60
+ gem 'spree_gateway', github: 'spree/spree_gateway'
109
61
  ```
110
62
 
111
- Once you've done that, then you can install these gems using this command:
112
-
113
- ```shell
114
- bundle install
115
- ```
116
-
117
- Use the install generator to set up Spree:
118
-
119
- ```shell
120
- rails g spree:install --sample=false --seed=false
121
- ```
63
+ **Note: The master branch is not guaranteed to ever be in a fully functioning
64
+ state. It is unwise to use this branch in a production system you care deeply
65
+ about.**
122
66
 
123
- You can avoid running migrations or generating seed and sample data by passing
124
- in these flags:
67
+ By default, the installation generator (`rails g spree:install`) will run
68
+ migrations as well as adding seed and sample data. This can be disabled using
125
69
 
126
70
  ```shell
127
71
  rails g spree:install --migrate=false --sample=false --seed=false
128
72
  ```
129
73
 
130
- You can always perform the steps later by using these commands.
74
+ You can always perform any of these steps later by using these commands.
131
75
 
132
76
  ```shell
133
77
  bundle exec rake railties:install:migrations
@@ -137,116 +81,62 @@ bundle exec rake spree_sample:load
137
81
  ```
138
82
 
139
83
  Browse Store
140
- ------------
84
+ ----------------------
141
85
 
142
- http://localhost:nnnn
86
+ http://localhost:3000
143
87
 
144
88
  Browse Admin Interface
145
89
  ----------------------
146
90
 
147
- http://localhost:nnnn/admin
148
-
149
- Working with the edge source (latest and greatest features)
150
- -----------------------------------------------------------
151
-
152
- The source code is essentially a collection of gems. Spree is meant to be run
153
- within the context of Rails application. You can easily create a sandbox
154
- application inside of your cloned source directory for testing purposes.
155
-
91
+ http://localhost:3000/admin
156
92
 
157
- 1. Clone the Git repo
158
-
159
- ```shell
160
- git clone git://github.com/spree/spree.git
161
- cd spree
162
- ```
163
-
164
- 2. Install the gem dependencies
165
-
166
- ```shell
167
- bundle install
168
- ```
169
-
170
- 3. Create a sandbox Rails application for testing purposes (and automatically
171
- perform all necessary database setup)
172
-
173
- ```shell
174
- bundle exec rake sandbox
175
- ```
176
-
177
- 4. Start the server
178
-
179
- ```shell
180
- cd sandbox
181
- rails server
182
- ```
183
93
 
184
94
  Performance
185
- -----------
186
-
187
- You may notice that your Spree store runs slowly in development mode. This is
188
- a side-effect of how Rails works in development mode which is to continuously reload
189
- your Ruby objects on each request. The introduction of the asset pipeline in
190
- Rails 3.1 made default performance in development mode significantly worse. There
191
- are, however, a few tricks to speeding up performance in development mode.
95
+ ----------------------
192
96
 
193
- First, in your `config/development.rb`:
97
+ You may notice that your Spree store runs slowly in development enviornment. 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`.
194
98
 
195
99
  ```ruby
196
100
  config.assets.debug = false
197
101
  ```
198
102
 
199
- You can precompile your assets as follows:
200
103
 
201
- ```shell
202
- RAILS_ENV=development bundle exec rake assets:precompile
203
- ```
104
+ Developing Spree
105
+ ----------------------
106
+
107
+ Spree is meant to be run within the context of Rails application and the source code is essentially a collection of gems. You can easily create a sandbox
108
+ application inside of your cloned source directory for testing purposes.
204
109
 
205
- If you want to remove precompiled assets (recommended before you commit to Git
206
- and push your changes) use the following rake task:
110
+
111
+ Clone the Git repo
207
112
 
208
113
  ```shell
209
- RAILS_ENV=development bundle exec rake assets:clean
114
+ git clone git://github.com/spree/spree.git
115
+ cd spree
210
116
  ```
211
117
 
212
- Use Dedicated Spree Devise Authentication
213
- -----------------------------------------
214
- Add the following to your Gemfile
118
+ Install the gem dependencies
215
119
 
216
- ```ruby
217
- gem 'spree_auth_devise', github: 'spree/spree_auth_devise'
120
+ ```shell
121
+ bundle install
218
122
  ```
219
123
 
220
- Then run `bundle install`. Authentication will then work exactly as it did in
221
- previous versions of Spree.
222
-
223
- This line is automatically added by the `spree install` command.
124
+ ### Sandbox
224
125
 
225
- If you're installing this in a new Spree 1.2+ application, you'll need to install
226
- and run the migrations with
126
+ Create a sandbox Rails application for testing purposes which automatically perform all necessary database setup
227
127
 
228
128
  ```shell
229
- bundle exec rake spree_auth:install:migrations
230
- bundle exec rake db:migrate
231
- ```
232
-
233
- change the following line in `config/initializers/spree.rb`
234
- ```ruby
235
- Spree.user_class = 'Spree::LegacyUser'
236
- ```
237
- to
238
- ```ruby
239
- Spree.user_class = 'Spree::User'
129
+ bundle exec rake sandbox
240
130
  ```
241
131
 
242
- In order to set up the admin user for the application you should then run:
132
+ Start the server
243
133
 
244
134
  ```shell
245
- bundle exec rake spree_auth:admin:create
135
+ cd sandbox
136
+ rails server
246
137
  ```
247
138
 
248
- Running Tests
249
- -------------
139
+ ### Running Tests
250
140
 
251
141
  We use [CircleCI](https://circleci.com/) to run the tests for Spree.
252
142
 
@@ -309,19 +199,12 @@ specs for all the facets:
309
199
  bash build.sh
310
200
  ```
311
201
 
312
- Further Documentation
313
- ------------
314
- Spree has a number of really useful guides online at [http://guides.spreecommerce.com](http://guides.spreecommerce.com).
315
-
316
- Roadmap
317
- ------------
318
- Spree roadmap at [https://trello.com/b/PQsUfCL0/spree-roadmap](https://trello.com/b/PQsUfCL0/spree-roadmap).
319
202
 
320
203
  Contributing
321
- ------------
204
+ ----------------------
322
205
 
323
206
  Spree is an open source project and we encourage contributions. Please review the
324
- [contributing guidelines](http://guides.spreecommerce.com/developer/contributing.html)
207
+ [contributing guidelines](CONTRIBUTING.md)
325
208
  before contributing.
326
209
 
327
210
  In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.
@@ -339,6 +222,6 @@ Here are some ways **you** can contribute:
339
222
  * by verifying [issues](https://github.com/spree/spree/labels/unverified)
340
223
 
341
224
  License
342
- -------
225
+ ----------------------
343
226
 
344
227
  Spree is released under the [New BSD License](https://github.com/spree/spree/blob/master/license.md).
@@ -12,7 +12,7 @@ cd ./sandbox
12
12
 
13
13
  cat <<RUBY >> Gemfile
14
14
  gem 'spree', path: '..'
15
- gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
15
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'master'
16
16
 
17
17
  group :test, :development do
18
18
  gem 'bullet'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.10
4
+ version: 3.1.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-16 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,84 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.10
19
+ version: 3.1.0.rc1
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: 3.0.10
26
+ version: 3.1.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.10
33
+ version: 3.1.0.rc1
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: 3.0.10
40
+ version: 3.1.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: spree_backend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.10
47
+ version: 3.1.0.rc1
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: 3.0.10
54
+ version: 3.1.0.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: spree_frontend
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.10
61
+ version: 3.1.0.rc1
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: 3.0.10
68
+ version: 3.1.0.rc1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: spree_sample
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.0.10
75
+ version: 3.1.0.rc1
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: 3.0.10
82
+ version: 3.1.0.rc1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: spree_cmd
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 3.0.10
89
+ version: 3.1.0.rc1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 3.0.10
96
+ version: 3.1.0.rc1
97
97
  description: Spree is an open source e-commerce framework for Ruby on Rails. Join
98
98
  us on http://slack.spreecommerce.com
99
99
  email: sean@spreecommerce.com
@@ -119,13 +119,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - ">"
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 1.3.1
125
125
  requirements:
126
126
  - none
127
127
  rubyforge_project:
128
- rubygems_version: 2.5.1
128
+ rubygems_version: 2.4.8
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Full-stack e-commerce framework for Ruby on Rails.