effective_pages 0.9.5 → 0.9.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: 8db19d7440ed3e5a0c0a0373fa9dc7c984fb6dcb
4
- data.tar.gz: f63db5ba7ae360471e6d017ab07808d417017e89
3
+ metadata.gz: 8b3f2839b6384655abd6ae29402dfdd5742240e5
4
+ data.tar.gz: 87d79fb9c9339bdcb06795bdaa126b8b38a1ad58
5
5
  SHA512:
6
- metadata.gz: 56cfb2ee29f43e7badfbbe09e70dd5c53e23c5bfce6565fc947bfacf1f883788be12f9abb5919340d41e004b421b087f890ab4f3ebd6349bca2e35bfe157c3c6
7
- data.tar.gz: 3475e760faec04a74374c581ced03302dfb48be81c6b346700559688405bbbabf26951e8871021df6f9957a7ba93f3bacdcfaf4b35d32a6ac179a470e137b638
6
+ metadata.gz: 39b1a54f6226c089d60782a08d184e8dfe40747b467d5ff71e8e352be255bff27cfaba1df2a9d6be31799f0bc554a589d64890191962f5dcaad14724e1a116d3
7
+ data.tar.gz: 8439d29481afce214edb987304807ca7d51a2ad06156a7b53830766dc6adfbba671f82641dc11a270adde3a670eda2ebc38bebcfdbe770e2dd79dd16588a6779
@@ -1,9 +1,6 @@
1
1
  %h2= @page_title
2
2
 
3
- - unless @datatable.collection.length > 0
4
- %p
5
- There are no menus
6
- - else
7
- = render_datatable @datatable
3
+ = render_datatable @datatable do
4
+ %p There are no menus
8
5
 
9
6
  %p= link_to 'New Menu', effective_pages.new_admin_menu_path, :class => 'btn btn-primary'
@@ -1,9 +1,6 @@
1
1
  %h2= @page_title
2
2
 
3
- - unless @datatable.collection.length > 0
4
- %p
5
- There are no pages
6
- - else
7
- = render_datatable @datatable
3
+ = render_datatable @datatable do
4
+ %p There are no pages
8
5
 
9
6
  %p= link_to 'New Page', effective_pages.new_admin_page_path, :class => 'btn btn-primary'
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '0.9.5'.freeze
2
+ VERSION = '0.9.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: 0.9.5
4
+ version: 0.9.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-03-10 00:00:00.000000000 Z
11
+ date: 2015-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.2.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: effective_datatables
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 1.3.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 1.3.0
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: effective_regions
113
127
  requirement: !ruby/object:Gem::Requirement