beef-pages 0.3.19 → 0.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.19
1
+ 0.3.20
data/app/models/page.rb CHANGED
@@ -12,7 +12,7 @@ class Page < ActiveRecord::Base
12
12
 
13
13
  before_save :keep_position_sane
14
14
 
15
- validates_presence_of :title
15
+ # validates_presence_of :title ALREADY IN CONTENT NODE
16
16
  validates_presence_of :body, :tag_list, :description, :if => :publish
17
17
 
18
18
  LOCK_LEVEL_DELETE = 1
@@ -1,6 +1,6 @@
1
1
  <tr id="pages-<%= page.id %>">
2
- <td class="title"><%= link_to page.title, admin_page_path(page) %></td>
3
- <td><%= link_to pluralize(page.children.count, "sub page"), admin_page_pages_path(page) %></td>
2
+ <td class="title"><%= link_to page.title, admin_page_path(page), :title => "Edit this page" %></td>
3
+ <td><%= link_to pluralize(page.children.count, "sub page"), admin_page_pages_path(page), :title => "View all sub pages of #{page.title}" %></td>
4
4
  <td><%= content_status(page) %></td>
5
5
  <td><%= page.author %></td>
6
6
  <td><%= page.editor %></td>
data/beef-pages.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beef-pages}
8
- s.version = "0.3.19"
8
+ s.version = "0.3.20"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve England"]
12
- s.date = %q{2010-03-11}
12
+ s.date = %q{2010-04-15}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.19
4
+ version: 0.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-11 00:00:00 +00:00
12
+ date: 2010-04-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15