spree_sample 0.40.4 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- data/db/sample/option_types.yml +2 -0
- data/db/sample/taxons.yml +10 -10
- data/db/sample/update_memberships.rb +1 -0
- metadata +14 -11
data/db/sample/option_types.yml
CHANGED
data/db/sample/taxons.yml
CHANGED
@@ -2,7 +2,7 @@ mc_root:
|
|
2
2
|
id: 1000
|
3
3
|
name: Categories
|
4
4
|
taxonomy: master_categories
|
5
|
-
permalink: categories
|
5
|
+
permalink: categories
|
6
6
|
position: 0
|
7
7
|
lft: 1
|
8
8
|
rgt: 12
|
@@ -13,7 +13,7 @@ mc_l1_n1:
|
|
13
13
|
parent_id: 1000
|
14
14
|
position: 1
|
15
15
|
products: ror_tote, ror_bag
|
16
|
-
permalink: categories/bags
|
16
|
+
permalink: categories/bags
|
17
17
|
lft: 8
|
18
18
|
rgt: 9
|
19
19
|
mc_l1_n2:
|
@@ -23,7 +23,7 @@ mc_l1_n2:
|
|
23
23
|
parent_id: 1000
|
24
24
|
position: 2
|
25
25
|
products: ror_mug, ror_stein
|
26
|
-
permalink: categories/mugs
|
26
|
+
permalink: categories/mugs
|
27
27
|
lft: 10
|
28
28
|
rgt: 11
|
29
29
|
clothing:
|
@@ -32,7 +32,7 @@ clothing:
|
|
32
32
|
taxonomy: master_categories
|
33
33
|
parent_id: 1000
|
34
34
|
#products: ror_baseball_jersey, ror_jr_spaghetti, ror_ringer
|
35
|
-
permalink: categories/clothing
|
35
|
+
permalink: categories/clothing
|
36
36
|
lft: 2
|
37
37
|
rgt: 7
|
38
38
|
shirts:
|
@@ -42,7 +42,7 @@ shirts:
|
|
42
42
|
parent_id: 1001
|
43
43
|
position: 0
|
44
44
|
products: ror_jr_spaghetti
|
45
|
-
permalink: categories/clothing/shirts
|
45
|
+
permalink: categories/clothing/shirts
|
46
46
|
lft: 3
|
47
47
|
rgt: 6
|
48
48
|
t_shirts:
|
@@ -52,14 +52,14 @@ t_shirts:
|
|
52
52
|
parent_id: 2000
|
53
53
|
products: ror_baseball_jersey, ror_ringer, apache_baseball_jersey, ruby_baseball_jersey
|
54
54
|
position: 0
|
55
|
-
permalink: categories/clothing/shirts/t-shirts
|
55
|
+
permalink: categories/clothing/shirts/t-shirts
|
56
56
|
lft: 4
|
57
57
|
rgt: 5
|
58
58
|
brand_root:
|
59
59
|
id: 20000
|
60
60
|
name: Brands
|
61
61
|
taxonomy: brand
|
62
|
-
permalink: brands
|
62
|
+
permalink: brands
|
63
63
|
lft: 13
|
64
64
|
rgt: 20
|
65
65
|
ruby:
|
@@ -68,7 +68,7 @@ ruby:
|
|
68
68
|
parent_id: 20000
|
69
69
|
position: 0
|
70
70
|
products: ruby_baseball_jersey
|
71
|
-
permalink: brands/ruby
|
71
|
+
permalink: brands/ruby
|
72
72
|
lft: 16
|
73
73
|
rgt: 17
|
74
74
|
rails:
|
@@ -77,7 +77,7 @@ rails:
|
|
77
77
|
parent_id: 20000
|
78
78
|
position: 1
|
79
79
|
products: ror_baseball_jersey, ror_jr_spaghetti, ror_ringer, ror_stein, ror_bag, ror_tote, ror_mug
|
80
|
-
permalink: brands/ruby-on-rails
|
80
|
+
permalink: brands/ruby-on-rails
|
81
81
|
lft: 14
|
82
82
|
rgt: 15
|
83
83
|
apache:
|
@@ -86,6 +86,6 @@ apache:
|
|
86
86
|
parent_id: 20000
|
87
87
|
position: 2
|
88
88
|
products: apache_baseball_jersey
|
89
|
-
permalink: brands/apache
|
89
|
+
permalink: brands/apache
|
90
90
|
lft: 18
|
91
91
|
rgt: 19
|
@@ -0,0 +1 @@
|
|
1
|
+
ProductGroup.all.each {|pg| pg.update_memberships}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 215
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 50
|
9
|
+
- 0
|
10
|
+
version: 0.50.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Schofield
|
@@ -15,7 +15,8 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-23 00:00:00 -04:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: spree_core
|
@@ -25,12 +26,12 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - "="
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
29
|
+
hash: 215
|
29
30
|
segments:
|
30
31
|
- 0
|
31
|
-
-
|
32
|
-
-
|
33
|
-
version: 0.
|
32
|
+
- 50
|
33
|
+
- 0
|
34
|
+
version: 0.50.0
|
34
35
|
type: :runtime
|
35
36
|
version_requirements: *id001
|
36
37
|
description: Required dependancy for Spree
|
@@ -92,8 +93,10 @@ files:
|
|
92
93
|
- db/sample/taxonomies.yml
|
93
94
|
- db/sample/taxons.rb
|
94
95
|
- db/sample/taxons.yml
|
96
|
+
- db/sample/update_memberships.rb
|
95
97
|
- db/sample/users.yml
|
96
98
|
- db/sample/variants.yml
|
99
|
+
has_rdoc: true
|
97
100
|
homepage: http://spreecommerce.com
|
98
101
|
licenses: []
|
99
102
|
|
@@ -125,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
128
|
requirements:
|
126
129
|
- none
|
127
130
|
rubyforge_project: spree_sample
|
128
|
-
rubygems_version: 1.
|
131
|
+
rubygems_version: 1.3.7
|
129
132
|
signing_key:
|
130
133
|
specification_version: 3
|
131
134
|
summary: Sample data (including images) for use with Spree.
|