spree 1.3.2 → 1.3.3
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.
- checksums.yaml +7 -0
- data/README.md +36 -21
- data/lib/sandbox.sh +1 -1
- data/lib/spree.rb +0 -1
- metadata +18 -46
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9f9c96ac2f456e317541ae733f2366b89c15fb09
|
4
|
+
data.tar.gz: cfac89b2bd226a241d747b7daf3f3aec461219ae
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6491974f4e58330750ee19f658702652ecfe5f1bfbb08101e82dbbedd2ab07ab3eb2cfa2e20f8eab7472aac49b0a7700927c89ebaf1fd212bcaebee5a77741c4
|
7
|
+
data.tar.gz: 48534c0eb907f47bfa43168bb0815c0e0e5416a17da18b74838cb40cd05d08cedd9df55e945663e547abbab4dd76c3425a9f3b720c2a2b61f298f59d6edf5611
|
data/README.md
CHANGED
@@ -21,8 +21,7 @@ All of the gems are designed to work together to provide a fully functional e-co
|
|
21
21
|
however, to use only the pieces you are interested in. So for example, you could use just the barebones spree\_core gem
|
22
22
|
and perhaps combine it with your own custom promotion scheme instead of using spree_promo.
|
23
23
|
|
24
|
-
[![
|
25
|
-
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/spree/spree)
|
24
|
+
[![Code Climate](https://codeclimate.com/github/spree/spree.png)](https://codeclimate.com/github/spree/spree)
|
26
25
|
|
27
26
|
Installation
|
28
27
|
------------
|
@@ -30,9 +29,9 @@ Installation
|
|
30
29
|
The fastest way to get started is by using the spree command line tool
|
31
30
|
available in the spree gem which will add Spree to an existing Rails application.
|
32
31
|
|
33
|
-
$ gem install rails -v 3.2.
|
32
|
+
$ gem install rails -v 3.2.13
|
34
33
|
$ gem install spree
|
35
|
-
$ rails _3.2.
|
34
|
+
$ rails _3.2.13_ new my_store
|
36
35
|
$ spree install my_store
|
37
36
|
|
38
37
|
This will add the Spree gem to your Gemfile, create initializers, copy migrations and
|
@@ -159,34 +158,50 @@ In order to set up the admin user for the application you should then run:
|
|
159
158
|
Running Tests
|
160
159
|
-------------
|
161
160
|
|
162
|
-
|
163
|
-
creation of a test application and then you can use it to run the tests. For example, to run the
|
164
|
-
tests for the core project.
|
161
|
+
[![Team City](http://www.jetbrains.com/img/logos/logo_teamcity_small.gif)](http://www.jetbrains.com/teamcity)
|
165
162
|
|
166
|
-
|
167
|
-
$ bundle exec rake test_app
|
163
|
+
We use [TeamCity](http://www.jetbrains.com/teamcity/) to run the tests for Spree.
|
168
164
|
|
169
|
-
|
170
|
-
to run this command at the root of the Spree project to
|
171
|
-
generate test applications for all the facets:
|
165
|
+
You can see the build statuses at [http://ci.spreecommerce.com](http://ci.spreecommerce.com/guestLogin.html?guest=1).
|
172
166
|
|
173
|
-
|
167
|
+
---
|
174
168
|
|
175
|
-
|
176
|
-
|
169
|
+
Each gem contains its own series of tests, and for each directory, you need to do a quick one-time
|
170
|
+
creation of a test application and then you can use it to run the tests. For example, to run the
|
171
|
+
tests for the core project.
|
177
172
|
|
178
|
-
|
179
|
-
|
173
|
+
```shell
|
174
|
+
cd core
|
175
|
+
bundle exec rake test_app
|
176
|
+
bundle exec rspec spec
|
177
|
+
```
|
180
178
|
|
181
179
|
If you want to run specs for only a single spec file
|
182
|
-
|
183
|
-
|
180
|
+
```shell
|
181
|
+
bundle exec rspec spec/models/state_spec.rb
|
182
|
+
```
|
184
183
|
|
185
184
|
If you want to run a particular line of spec
|
185
|
+
```shell
|
186
|
+
bundle exec rspec spec/models/state_spec.rb:7
|
187
|
+
```
|
186
188
|
|
187
|
-
|
189
|
+
You can also enable fail fast in order to stop tests at the first failure
|
190
|
+
```shell
|
191
|
+
FAIL_FAST=true bundle exec rspec spec/models/state_spec.rb
|
192
|
+
```
|
188
193
|
|
189
|
-
|
194
|
+
If you want to run the simplecov code coverage report
|
195
|
+
```shell
|
196
|
+
COVERAGE=true bundle exec rspec spec
|
197
|
+
```
|
198
|
+
|
199
|
+
If you're working on multiple facets of Spree, you may want
|
200
|
+
to run this command at the root of the Spree project to
|
201
|
+
generate test applications and run specs for all the facets:
|
202
|
+
```shell
|
203
|
+
bash build.sh
|
204
|
+
```
|
190
205
|
|
191
206
|
Contributing
|
192
207
|
------------
|
data/lib/sandbox.sh
CHANGED
@@ -10,7 +10,7 @@ fi
|
|
10
10
|
|
11
11
|
cd ./sandbox
|
12
12
|
echo "gem 'spree', :path => '..'" >> Gemfile
|
13
|
-
echo "gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '
|
13
|
+
echo "gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'" >> Gemfile
|
14
14
|
|
15
15
|
bundle install --gemfile Gemfile
|
16
16
|
bundle exec rails g spree:install --auto-accept --user_class=Spree::User
|
data/lib/spree.rb
CHANGED
metadata
CHANGED
@@ -1,113 +1,86 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Sean Schofield
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: spree_core
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.3.
|
19
|
+
version: 1.3.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.3.
|
26
|
+
version: 1.3.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: spree_api
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.3.
|
33
|
+
version: 1.3.3
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.3.
|
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.2
|
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.2
|
40
|
+
version: 1.3.3
|
62
41
|
- !ruby/object:Gem::Dependency
|
63
42
|
name: spree_sample
|
64
43
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
44
|
requirements:
|
67
45
|
- - '='
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.3.
|
47
|
+
version: 1.3.3
|
70
48
|
type: :runtime
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
51
|
requirements:
|
75
52
|
- - '='
|
76
53
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.3.
|
54
|
+
version: 1.3.3
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
56
|
name: spree_promo
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
58
|
requirements:
|
83
59
|
- - '='
|
84
60
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.3.
|
61
|
+
version: 1.3.3
|
86
62
|
type: :runtime
|
87
63
|
prerelease: false
|
88
64
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
65
|
requirements:
|
91
66
|
- - '='
|
92
67
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.3.
|
68
|
+
version: 1.3.3
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: spree_cmd
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
72
|
requirements:
|
99
73
|
- - '='
|
100
74
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.3.
|
75
|
+
version: 1.3.3
|
102
76
|
type: :runtime
|
103
77
|
prerelease: false
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
79
|
requirements:
|
107
80
|
- - '='
|
108
81
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.3.
|
110
|
-
description:
|
82
|
+
version: 1.3.3
|
83
|
+
description: 'Spree is an open source e-commerce framework for Ruby on Rails. Join
|
111
84
|
us on the spree-user google group or in #spree on IRC'
|
112
85
|
email: sean@spreecommerce.com
|
113
86
|
executables: []
|
@@ -120,27 +93,26 @@ files:
|
|
120
93
|
homepage: http://spreecommerce.com
|
121
94
|
licenses:
|
122
95
|
- BSD-3
|
96
|
+
metadata: {}
|
123
97
|
post_install_message:
|
124
98
|
rdoc_options: []
|
125
99
|
require_paths:
|
126
100
|
- lib
|
127
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
102
|
requirements:
|
130
|
-
- -
|
103
|
+
- - '>='
|
131
104
|
- !ruby/object:Gem::Version
|
132
105
|
version: 1.8.7
|
133
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
107
|
requirements:
|
136
|
-
- -
|
108
|
+
- - '>='
|
137
109
|
- !ruby/object:Gem::Version
|
138
110
|
version: 1.3.6
|
139
111
|
requirements:
|
140
112
|
- none
|
141
113
|
rubyforge_project:
|
142
|
-
rubygems_version:
|
114
|
+
rubygems_version: 2.0.0
|
143
115
|
signing_key:
|
144
|
-
specification_version:
|
116
|
+
specification_version: 4
|
145
117
|
summary: Full-stack e-commerce framework for Ruby on Rails.
|
146
118
|
test_files: []
|