spree_wholesale 0.40.2.beta → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -6
- data/Rakefile +13 -7
- data/lib/spree_wholesale.rb +3 -0
- metadata +6 -9
data/README.md
CHANGED
@@ -19,7 +19,7 @@ Install from the source:
|
|
19
19
|
Or install the (beta) gem:
|
20
20
|
|
21
21
|
gem install spree_wholesale --pre
|
22
|
-
echo "gem 'spree_wholesale', '0.40.
|
22
|
+
echo "gem 'spree_wholesale', '0.40.2'" >> Gemfile
|
23
23
|
|
24
24
|
rake spree_wholesale:install
|
25
25
|
rake db:migrate
|
@@ -52,8 +52,8 @@ To create a demo of SpreeWholesaleExample
|
|
52
52
|
rails new spree_wholesale_example
|
53
53
|
cd spree_wholesale_example
|
54
54
|
|
55
|
-
echo "gem 'spree', '0.40.
|
56
|
-
echo "gem 'spree_wholesale', '0.40.
|
55
|
+
echo "gem 'spree', '0.40.2'" >> Gemfile
|
56
|
+
echo "gem 'spree_wholesale', '0.40.2'" >> Gemfile
|
57
57
|
rm public/index.html
|
58
58
|
|
59
59
|
bundle install
|
@@ -67,7 +67,7 @@ To create a demo of SpreeWholesaleExample
|
|
67
67
|
|
68
68
|
or shorthand:
|
69
69
|
|
70
|
-
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.
|
70
|
+
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.2'" >> Gemfile; echo "gem 'spree_wholesale', '0.40.2'" >> Gemfile; rm public/index.html
|
71
71
|
rake spree:install spree_wholesale:install db:migrate db:seed spree_wholesale:create_role
|
72
72
|
|
73
73
|
If you want sample data:
|
@@ -92,12 +92,12 @@ Then finish by booting up the rails server:
|
|
92
92
|
|
93
93
|
All in one swoop:
|
94
94
|
|
95
|
-
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.
|
95
|
+
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.2'" >> Gemfile; echo "gem 'spree_wholesale', '0.40.2'" >> Gemfile; rm public/index.html; bundle install; rake spree:install spree_wholesale:install db:migrate db:seed spree_wholesale:create_role spree_sample:install db:sample spree_wholesale:assume_wholesale_prices; echo "@import url('wholesale.css');"|cat - public/stylesheets/screen.css > /tmp/out && mv /tmp/out public/stylesheets/screen.css; rails s
|
96
96
|
|
97
97
|
|
98
98
|
To do the same as above but install from the source instead, run:
|
99
99
|
|
100
|
-
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.
|
100
|
+
rails new spree_wholesale_example; cd spree_wholesale_example; echo "gem 'spree', '0.40.2'" >> Gemfile; echo "gem 'spree_wholesale', :git => 'git://github.com/citrus/spree_wholesale.git'" >> Gemfile; rm public/index.html; bundle install; rake spree:install spree_wholesale:install db:migrate db:seed spree_wholesale:create_role spree_sample:install db:sample spree_wholesale:assume_wholesale_prices; echo "@import url('wholesale.css');"|cat - public/stylesheets/screen.css > /tmp/out && mv /tmp/out public/stylesheets/screen.css; rails s
|
101
101
|
|
102
102
|
|
103
103
|
|
data/Rakefile
CHANGED
@@ -1,14 +1,20 @@
|
|
1
|
-
require '
|
2
|
-
require 'rake'
|
1
|
+
require 'bundler'
|
2
|
+
#require 'rake/testtask'
|
3
|
+
Bundler::GemHelper.install_tasks
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
#require 'rubygems'
|
8
|
+
#require 'rake'
|
3
9
|
#require 'rake/testtask'
|
4
10
|
#require 'rake/packagetask'
|
5
|
-
require 'rake/gempackagetask'
|
11
|
+
#require 'rake/gempackagetask'
|
6
12
|
|
7
13
|
|
8
|
-
spec = eval(File.read('spree_wholesale.gemspec'))
|
9
|
-
Rake::GemPackageTask.new(spec) do |p|
|
10
|
-
p.gem_spec = spec
|
11
|
-
end
|
14
|
+
#spec = eval(File.read('spree_wholesale.gemspec'))
|
15
|
+
#Rake::GemPackageTask.new(spec) do |p|
|
16
|
+
# p.gem_spec = spec
|
17
|
+
#end
|
12
18
|
|
13
19
|
|
14
20
|
|
data/lib/spree_wholesale.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_wholesale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 40
|
8
8
|
- 2
|
9
|
-
|
10
|
-
version: 0.40.2.beta
|
9
|
+
version: 0.40.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Spencer Steffen
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-25 00:00:00 -08:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -132,13 +131,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
132
|
none: false
|
134
133
|
requirements:
|
135
|
-
- - "
|
134
|
+
- - ">="
|
136
135
|
- !ruby/object:Gem::Version
|
137
136
|
segments:
|
138
|
-
-
|
139
|
-
|
140
|
-
- 1
|
141
|
-
version: 1.3.1
|
137
|
+
- 0
|
138
|
+
version: "0"
|
142
139
|
requirements:
|
143
140
|
- none
|
144
141
|
rubyforge_project:
|