caboose-store 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWY1ZTY0ZDg0YTNlNjEzYjExMGE3OWFlZWUyYjkwYjA5N2ZlZmM4NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjNmYjg1MGIxNTFiZDFkMDZlYmQ1MTYzOTZjOGE0Nzg4M2I4ZjJkMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2UzMDM3NDNlM2ZhZDQwYjUzNTFkM2VhNTVjOTE5YmYzZGE1ZjlhNDQ1OTFh
|
10
|
+
NGM2ZDA1MGQ0MmQwNmJlYjUyNGU3OTUzMTI1YjBkZjBmNjI5NGExZjkxNzcw
|
11
|
+
YTA1NjQ0MmNlYmE0MTU5ZDZjMDlkMmU2ZWZjNDJiZTU0N2IwYjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTg5NmNmZTg3OTk5OTRkYjFlOTE3NDJkNTc4MTI1YWRhM2Q2MzUzZDNmMmQ1
|
14
|
+
MDUzMzVjNzg3NjcxMTMwZjcyMDFjOWI5NzdjNTRjMmRhOWI5NDJkMGMzYmEy
|
15
|
+
NDk1MGM4OWYxODBiYmFjYmZlZGY5MjUwOTRjYTg1YjgyYzI2OTA=
|
@@ -8,12 +8,12 @@ module CabooseStore
|
|
8
8
|
has_many :customization_memberships, :class_name => 'CabooseStore::CustomizationMembership'
|
9
9
|
has_many :categories, :class_name => 'CabooseStore::Category', :through => :category_memberships
|
10
10
|
has_many :category_memberships, :class_name => 'CabooseStore::CategoryMembership'
|
11
|
-
has_many :variants, :class_name => 'CabooseStore::Variant', :order => '
|
11
|
+
has_many :variants, :class_name => 'CabooseStore::Variant', :order => 'option1_sort_order, option2_sort_order, option3_sort_order'
|
12
12
|
has_many :product_images, :class_name => 'CabooseStore::ProductImage'
|
13
13
|
has_many :proudct_inputs, :class_name => 'CabooseStore::ProductInput'
|
14
14
|
has_many :reviews, :class_name => 'CabooseStore::Review'
|
15
15
|
|
16
|
-
default_scope order('store_products.sort_order')
|
16
|
+
#default_scope order('store_products.sort_order')
|
17
17
|
|
18
18
|
attr_accessible :id,
|
19
19
|
:alternate_id,
|
@@ -32,8 +32,7 @@ module CabooseStore
|
|
32
32
|
:default3,
|
33
33
|
:status,
|
34
34
|
:custom_input,
|
35
|
-
:featured
|
36
|
-
:sort_order
|
35
|
+
:featured
|
37
36
|
|
38
37
|
|
39
38
|
#
|
@@ -152,7 +152,7 @@ class CabooseStore::Schema < Caboose::Utilities::Schema
|
|
152
152
|
[ :date_available , :datetime ],
|
153
153
|
[ :custom_input , :text ],
|
154
154
|
[ :sort_order , :integer ],
|
155
|
-
[ :featured , :boolean
|
155
|
+
[ :featured , :boolean , :default => false ]
|
156
156
|
],
|
157
157
|
|
158
158
|
CabooseStore::Review => [
|
@@ -200,7 +200,8 @@ class CabooseStore::Schema < Caboose::Utilities::Schema
|
|
200
200
|
[ :status , :string ],
|
201
201
|
[ :option1_sort_order , :integer , { :defult => 0 }],
|
202
202
|
[ :option2_sort_order , :integer , { :defult => 0 }],
|
203
|
-
[ :option3_sort_order , :integer , { :defult => 0 }]
|
203
|
+
[ :option3_sort_order , :integer , { :defult => 0 }],
|
204
|
+
[ :sort_order , :integer , { :defult => 0 }]
|
204
205
|
],
|
205
206
|
|
206
207
|
CabooseStore::Vendor => [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|