spree_wholesale 0.40.0.beta1 → 0.40.0.beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +16 -7
- metadata +4 -4
data/README.md
CHANGED
|
@@ -4,16 +4,23 @@ Spree Wholesale
|
|
|
4
4
|
|
|
5
5
|
Currently still under development! Check back soon for more details..
|
|
6
6
|
|
|
7
|
-
To setup a fresh Spree store follow
|
|
7
|
+
To setup a fresh Spree store follow [these instructions](https://github.com/railsdog/spree/#readme).
|
|
8
8
|
|
|
9
|
-
https://github.com/railsdog/spree/#readme
|
|
10
|
-
|
|
11
9
|
|
|
12
|
-
To get spree_wholesale up and running on your spree store:
|
|
10
|
+
To get spree_wholesale up and running on your spree store, do one of the following:
|
|
11
|
+
|
|
13
12
|
|
|
13
|
+
Install from the source:
|
|
14
|
+
|
|
14
15
|
cd your/spree/project
|
|
15
16
|
git clone git://github.com/citrus/spree_wholesale.git
|
|
16
17
|
echo "gem 'spree_wholesale', :path => './spree_wholesale'" >> Gemfile
|
|
18
|
+
|
|
19
|
+
Or install the (beta) gem:
|
|
20
|
+
|
|
21
|
+
gem install spree_wholesale --pre
|
|
22
|
+
echo "gem 'spree_wholesale', '0.40.0.beta1'" >> Gemfile
|
|
23
|
+
|
|
17
24
|
rake spree_wholesale:install
|
|
18
25
|
rake db:migrate
|
|
19
26
|
rake spree_wholesale:create_role
|
|
@@ -22,14 +29,16 @@ If you want to generate sample wholesale prices:
|
|
|
22
29
|
|
|
23
30
|
rake spree_wholesale:assume_wholesale_prices
|
|
24
31
|
|
|
25
|
-
This will assume 66% wholesale
|
|
32
|
+
This will assume 66% wholesale discount.
|
|
26
33
|
|
|
27
34
|
|
|
28
|
-
If you'd like run tests
|
|
29
|
-
|
|
35
|
+
If you'd like run tests, install from the source, the run:
|
|
36
|
+
|
|
30
37
|
cd your/spree/project/spree_wholesale
|
|
31
38
|
rake
|
|
32
39
|
|
|
40
|
+
(TO DO: Write some more tests!)
|
|
41
|
+
|
|
33
42
|
|
|
34
43
|
|
|
35
44
|
License
|
metadata
CHANGED
|
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
|
6
6
|
- 0
|
|
7
7
|
- 40
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.40.0.
|
|
9
|
+
- beta2
|
|
10
|
+
version: 0.40.0.beta2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Spencer Steffen
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-01-
|
|
18
|
+
date: 2011-01-12 00:00:00 -08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -83,7 +83,7 @@ files:
|
|
|
83
83
|
- app/views/orders/show.html.erb
|
|
84
84
|
- app/views/shared/_products.html.erb
|
|
85
85
|
has_rdoc: true
|
|
86
|
-
homepage: http://
|
|
86
|
+
homepage: http://github.com/citrus/spree_wholesale
|
|
87
87
|
licenses: []
|
|
88
88
|
|
|
89
89
|
post_install_message:
|