spree 1.2.5 → 1.3.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.
- data/README.md +15 -11
- data/lib/sandbox.sh +1 -1
- data/lib/spree.rb +1 -0
- metadata +47 -20
- checksums.yaml +0 -7
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
**THIS README IS FOR THE MASTER BRANCH OF SPREE AND REFLECTS THE WORK CURRENTLY EXISTING ON THE MASTER BRANCH. IF YOU ARE WISHING TO USE A NON-MASTER BRANCH OF
|
2
|
+
SPREE, PLEASE CONSULT THAT BRANCH'S README AND NOT THIS ONE.**
|
3
|
+
|
1
4
|
SUMMARY
|
2
5
|
-------
|
3
6
|
|
7
|
+
|
4
8
|
Spree is a complete open source e-commerce solution built with Ruby on Rails. It was originally developed by Sean Schofield
|
5
9
|
and is now maintained by a dedicated [core team](http://spreecommerce.com/core-team). You can find out more
|
6
10
|
by visiting the [Spree e-commerce project page](http://spreecommerce.com).
|
@@ -20,17 +24,17 @@ All of the gems are designed to work together to provide a fully functional e-co
|
|
20
24
|
however, to use only the pieces you are interested in. So for example, you could use just the barebones spree\_core gem
|
21
25
|
and perhaps combine it with your own custom promotion scheme instead of using spree_promo.
|
22
26
|
|
27
|
+
[![Build Status](https://secure.travis-ci.org/spree/spree.png)](http://travis-ci.org/spree/spree)
|
23
28
|
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/spree/spree)
|
24
|
-
|
25
29
|
Installation
|
26
30
|
------------
|
27
31
|
|
28
32
|
The fastest way to get started is by using the spree command line tool
|
29
33
|
available in the spree gem which will add Spree to an existing Rails application.
|
30
34
|
|
31
|
-
$ gem install rails -v 3.2.
|
35
|
+
$ gem install rails -v 3.2.9
|
32
36
|
$ gem install spree
|
33
|
-
$ rails _3.2.
|
37
|
+
$ rails _3.2.9_ new my_store
|
34
38
|
$ spree install my_store
|
35
39
|
|
36
40
|
This will add the Spree gem to your Gemfile, create initializers, copy migrations and
|
@@ -133,6 +137,8 @@ Add the following to your Gemfile
|
|
133
137
|
|
134
138
|
Then run `bundle install`. Authentication will then work exactly as it did in previous versions of Spree.
|
135
139
|
|
140
|
+
This line is automatically added by the `spree install` command.
|
141
|
+
|
136
142
|
If you're installing this in a new Spree 1.2+ application, you'll need to install and run the migrations with
|
137
143
|
|
138
144
|
$ bundle exec rake spree_auth:install:migrations
|
@@ -146,18 +152,14 @@ to
|
|
146
152
|
```ruby
|
147
153
|
Spree.user_class = "Spree::User"
|
148
154
|
```
|
149
|
-
and then run `bundle exec rake spree_auth:admin:create` in order to set up the admin user for the application.
|
150
|
-
|
151
|
-
Running Tests
|
152
|
-
-------------
|
153
155
|
|
154
|
-
|
156
|
+
In order to set up the admin user for the application you should then run:
|
155
157
|
|
156
|
-
|
158
|
+
$ bundle exec rake spree_auth:admin:create
|
157
159
|
|
158
|
-
You can see the build statuses at [http://ci.spreecommerce.com](http://ci.spreecommerce.com/guestLogin.html?guest=1).
|
159
160
|
|
160
|
-
|
161
|
+
Running Tests
|
162
|
+
-------------
|
161
163
|
|
162
164
|
Each gem contains its own series of tests, and for each directory, you need to do a quick one-time
|
163
165
|
creation of a test application and then you can use it to run the tests. For example, to run the
|
@@ -186,6 +188,8 @@ If you want to run a particular line of spec
|
|
186
188
|
|
187
189
|
$ bundle exec rspec spec/models/state_spec.rb:7
|
188
190
|
|
191
|
+
Travis, the continuous integration service, runs the test suite for each gem one at a time, using the same commands as contained within [`build.sh`](https://github.com/spree/spree/tree/master/build.sh).
|
192
|
+
|
189
193
|
Contributing
|
190
194
|
------------
|
191
195
|
|
data/lib/sandbox.sh
CHANGED
@@ -4,6 +4,6 @@ rm -rf sandbox
|
|
4
4
|
rails new sandbox --skip-bundle
|
5
5
|
cd sandbox
|
6
6
|
echo "gem 'spree', :path => '..'" >> Gemfile
|
7
|
-
echo "gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '
|
7
|
+
echo "gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => 'edge'" >> Gemfile
|
8
8
|
bundle install --gemfile Gemfile
|
9
9
|
rails g spree:install --auto-accept --user_class=Spree::User
|
data/lib/spree.rb
CHANGED
metadata
CHANGED
@@ -1,86 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0.rc1
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Sean Schofield
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2012-12-04 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: spree_core
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
21
|
+
version: 1.3.0.rc1
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
29
|
+
version: 1.3.0.rc1
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: spree_api
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - '='
|
32
36
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
37
|
+
version: 1.3.0.rc1
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - '='
|
39
44
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
45
|
+
version: 1.3.0.rc1
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: spree_dash
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.3.0.rc1
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.3.0.rc1
|
41
62
|
- !ruby/object:Gem::Dependency
|
42
63
|
name: spree_sample
|
43
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
44
66
|
requirements:
|
45
67
|
- - '='
|
46
68
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
69
|
+
version: 1.3.0.rc1
|
48
70
|
type: :runtime
|
49
71
|
prerelease: false
|
50
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
51
74
|
requirements:
|
52
75
|
- - '='
|
53
76
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
77
|
+
version: 1.3.0.rc1
|
55
78
|
- !ruby/object:Gem::Dependency
|
56
79
|
name: spree_promo
|
57
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
58
82
|
requirements:
|
59
83
|
- - '='
|
60
84
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
85
|
+
version: 1.3.0.rc1
|
62
86
|
type: :runtime
|
63
87
|
prerelease: false
|
64
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
65
90
|
requirements:
|
66
91
|
- - '='
|
67
92
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
93
|
+
version: 1.3.0.rc1
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: spree_cmd
|
71
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
72
98
|
requirements:
|
73
99
|
- - '='
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
101
|
+
version: 1.3.0.rc1
|
76
102
|
type: :runtime
|
77
103
|
prerelease: false
|
78
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
79
106
|
requirements:
|
80
107
|
- - '='
|
81
108
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
83
|
-
description: 'Spree is an open source e-commerce framework for Ruby on Rails. Join
|
109
|
+
version: 1.3.0.rc1
|
110
|
+
description: ! 'Spree is an open source e-commerce framework for Ruby on Rails. Join
|
84
111
|
us on the spree-user google group or in #spree on IRC'
|
85
112
|
email: sean@spreecommerce.com
|
86
113
|
executables: []
|
@@ -91,28 +118,28 @@ files:
|
|
91
118
|
- lib/sandbox.sh
|
92
119
|
- lib/spree.rb
|
93
120
|
homepage: http://spreecommerce.com
|
94
|
-
licenses:
|
95
|
-
- BSD-3
|
96
|
-
metadata: {}
|
121
|
+
licenses: []
|
97
122
|
post_install_message:
|
98
123
|
rdoc_options: []
|
99
124
|
require_paths:
|
100
125
|
- lib
|
101
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
102
128
|
requirements:
|
103
|
-
- - '>='
|
129
|
+
- - ! '>='
|
104
130
|
- !ruby/object:Gem::Version
|
105
131
|
version: 1.8.7
|
106
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
107
134
|
requirements:
|
108
|
-
- - '>='
|
135
|
+
- - ! '>='
|
109
136
|
- !ruby/object:Gem::Version
|
110
137
|
version: 1.3.6
|
111
138
|
requirements:
|
112
139
|
- none
|
113
140
|
rubyforge_project:
|
114
|
-
rubygems_version:
|
141
|
+
rubygems_version: 1.8.23
|
115
142
|
signing_key:
|
116
|
-
specification_version:
|
143
|
+
specification_version: 3
|
117
144
|
summary: Full-stack e-commerce framework for Ruby on Rails.
|
118
145
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 6e57c6a006b76810c1a8d090193a0efa93c0a16c
|
4
|
-
data.tar.gz: dd0230cf7cbe0ddab3f8f0c2a20841610b6f5d79
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 92c71e2357c354cf95b1e3503fdb1c5c82673800c1a5879804d028962c481b43a33a851a4721f15e76c58494b50127e1229d200d61d4c635e040f2e369b3b8dd
|
7
|
-
data.tar.gz: 1765f9dc944027b0d39e19a5f298380654edb17304fb01559671af5a40e5ebf6dd71879c0a95a4487da619a69a8c15deedb1f4fb6f06903c91a0c9e210a0db45
|