effective_pages 1.0.5 → 1.0.6

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: fe1066ffbf1d5211f9f5d5eef77b921643ed6f03
4
- data.tar.gz: ba071984f6067b611aa57d216293be962fdde65b
3
+ metadata.gz: ff3bfea631ca98daace97fda069c9f32d62a9099
4
+ data.tar.gz: 2194b323265b6f42fa8beb20fc037f3448707928
5
5
  SHA512:
6
- metadata.gz: 134b9f1b852686df6ab836cdca9aae69e17956bf2bb178193021242948cce837f074ff80bace4d190869136c411067b9170728e4a76e35294f5346df960db16f
7
- data.tar.gz: 9d794541861d5a978d07d3fbd2b57ed7eba0cd3e0ddf77d4d89c1e41e5a65896a40a7c06fe68bc003ef2e90c575f33b842d3314c46fc3d28fb189aab12420273
6
+ metadata.gz: d1857e0d0ad14b5591e12ce6d427bfe129fdfd1b415ecb5363acf0b4ab1e798f7dd173c4fe6a91f07f67771beff159a43ab2fccc0ab346ea6e64af12bd3d86b0
7
+ data.tar.gz: efee68321d1a532b853ea3afefd7114d9b5f99f46068fc32d49d51dd2af1b984661fc4efbdf8029e469a3b44cfa056fad723342ce0c2561ecfb3e2cf4dd619ac
@@ -2,10 +2,12 @@ if defined?(EffectiveDatatables)
2
2
  module Effective
3
3
  module Datatables
4
4
  class Menus < Effective::Datatable
5
- table_column :id
5
+ datatable do
6
+ table_column :id
6
7
 
7
- table_column :title
8
- table_column :actions, :sortable => false, :filter => false, :partial => '/admin/menus/actions'
8
+ table_column :title
9
+ table_column :actions, :sortable => false, :filter => false, :partial => '/admin/menus/actions'
10
+ end
9
11
 
10
12
  def collection
11
13
  Effective::Menu.all
@@ -2,16 +2,18 @@ if defined?(EffectiveDatatables)
2
2
  module Effective
3
3
  module Datatables
4
4
  class Pages < Effective::Datatable
5
- default_order :title, :asc
6
- default_entries :all
5
+ datatable do
6
+ default_order :title, :asc
7
+ default_entries :all
7
8
 
8
- table_column :id, :visible => false
9
+ table_column :id, :visible => false
9
10
 
10
- table_column :title
11
- table_column :slug
12
- table_column :draft
11
+ table_column :title
12
+ table_column :slug
13
+ table_column :draft
13
14
 
14
- table_column :actions, :sortable => false, :filter => false, :partial => '/admin/pages/actions'
15
+ table_column :actions, :sortable => false, :filter => false, :partial => '/admin/pages/actions'
16
+ end
15
17
 
16
18
  def collection
17
19
  Effective::Page.all
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '1.0.5'.freeze
2
+ VERSION = '1.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
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: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 1.3.0
103
+ version: 2.0.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 1.3.0
110
+ version: 2.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: effective_regions
113
113
  requirement: !ruby/object:Gem::Requirement