trusty-reorder-extension 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reorder/page_extensions.rb +2 -1
- data/trusty-reorder-extension.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85a29b0bfe6a80bb75b1a2a8137cc1639c09d8ae
|
4
|
+
data.tar.gz: 48fa89e41678847053d4e9e9b317741a28579a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbeca623366f31bf391772d8334dc51001a40943828d905869841f3bbb1ac630e1c69d79f3b49453fe219242dc50bbdf4f5e32f77a586197960bda340d7aa7d
|
7
|
+
data.tar.gz: fdd214e77df6fa0dbf7be0ddfaa70166ec4d77bd790cb42e590a88aa1a4e086b101ff7c18920d6fa7ad35adab60f9969667d1f98d03760a32b7d824a6f708308
|
@@ -1,8 +1,9 @@
|
|
1
1
|
module Reorder::PageExtensions
|
2
2
|
def self.included(base)
|
3
|
+
|
3
4
|
base.class_eval {
|
4
5
|
acts_as_list :scope => :parent_id
|
5
|
-
|
6
|
+
default_scope { order( "position ASC") }
|
6
7
|
}
|
7
8
|
|
8
9
|
if defined?(Page::NONDRAFT_FIELDS)
|
@@ -4,7 +4,7 @@ require "trusty-reorder-extension"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "trusty-reorder-extension"
|
7
|
-
s.version = "2.0.
|
7
|
+
s.version = "2.0.4"
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Sean Cribbs", "Eric Sipple", "Danielle Greaves"]
|
10
10
|
s.description = %q{Extends Trusty CMS to allow page ordering}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-reorder-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Cribbs
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: acts_as_list
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.4.
|
99
|
+
rubygems_version: 2.4.8
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Extends Trusty CMS to allow page ordering
|