effective_assets 1.9.7 → 1.9.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6be178f6d429097f2f0eacb3ef3bc163639c0083
|
4
|
+
data.tar.gz: 26d939f795922ab2c3e1141cf715968a093272f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc22d53aeeee705a5842efc215f55b1977eb387c63429431bedcc6dccb2e32679cb245767701ef4aa5afd8091cff11762253466bc1d6eeafc962ec3375a80267
|
7
|
+
data.tar.gz: c9265c7b18d4dbc296183ebfcced94533758c1fce8c68613e8549db0ca406ca318d0d9a5904ea8a45ae33c8e2e8ee3da2fa153d517d01d9719bb6c3bfed36ae4
|
@@ -12,7 +12,7 @@ module Effective
|
|
12
12
|
# box :string, :default => 'assets' # This is essentially a category
|
13
13
|
# end
|
14
14
|
|
15
|
-
default_scope -> { includes(:asset).order(
|
15
|
+
default_scope -> { includes(:asset).order(:position).order(:asset_id) }
|
16
16
|
|
17
17
|
validates :asset_id, presence: true
|
18
18
|
validates :position, presence: true, numericality: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|