beef-articles 0.4.8 → 0.4.9

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.4.8
1
+ 0.4.9
@@ -32,10 +32,10 @@
32
32
  <td><%= article.created_at.to_formatted_s(:short) %></td>
33
33
  <td><%= article.published_at.to_formatted_s(:short) unless article.published_at.nil? %></td>
34
34
  <td><%= article.published_to.to_formatted_s(:short) unless article.published_to.nil? %></td>
35
- <td><%= link_to pluralize(article.comments.count, 'Comment'), admin_article_comments_path(article) %></td>
36
- <td><%= link_to 'Show', article_url(article), :class => 'show' if article.published? %></td>
37
- <td><%= link_to 'Edit', admin_article_path(article), :class => 'edit' %></td>
38
- <td><%= link_to 'Delete', admin_article_path(article), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' %></td>
35
+ <td><%= link_to pluralize(article.comments.count, 'Comment'), admin_article_comments_path(article), :title => 'CLick to view any comments' %></td>
36
+ <td><%= link_to 'Show', article_url(article), :class => 'show', :title => 'View this article' if article.published? %></td>
37
+ <td><%= link_to 'Edit', admin_article_path(article), :class => 'edit', :title => 'Edit this article' %></td>
38
+ <td><%= link_to 'Delete', admin_article_path(article), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this article' %></td>
39
39
  </tr>
40
40
  <% end %>
41
41
  </tbody>
@@ -17,8 +17,8 @@
17
17
  <tr id="category-<%= category.id %>">
18
18
  <td><%= link_to category.title, admin_category_path(category) %></td>
19
19
  <td><%=h category.description %></td>
20
- <td class="action"><%= link_to 'Edit', admin_category_path(category), :class => 'edit' %></td>
21
- <td class="action"><%= link_to 'Destroy', admin_category_path(category), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' %></td>
20
+ <td class="action"><%= link_to 'Edit', admin_category_path(category), :class => 'edit', :title => 'Edit this category' %></td>
21
+ <td class="action"><%= link_to 'Delete', admin_category_path(category), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this category' %></td>
22
22
  </tr>
23
23
  <% end %>
24
24
  </tbody>
@@ -22,9 +22,9 @@
22
22
  <td><%=h comment.comment %></td>
23
23
  <td class="date"><%= comment.created_at.to_formatted_s(:short) %></td>
24
24
  <% if spam_markable? %>
25
- <td><%= link_to 'Spam', admin_comment_path(comment, :spam => true), :confirm => 'Are you sure you want to delete this comment and mark it as spam?', :method => :delete, :class => 'spam' %></td>
25
+ <td><%= link_to 'Spam', admin_comment_path(comment, :spam => true), :confirm => 'Are you sure you want to delete this comment and mark it as spam?', :method => :delete, :class => 'spam', :title => 'Mark this coment as spam' %></td>
26
26
  <% end -%>
27
- <td><%= link_to 'Destroy', admin_comment_path(comment), :confirm => 'Are you sure you want to delete this comment?', :method => :delete, :class => 'delete' %></td>
27
+ <td><%= link_to 'Delete', admin_comment_path(comment), :confirm => 'Are you sure you want to delete this comment?', :method => :delete, :class => 'delete', :title => 'Delete this comment' %></td>
28
28
  </tr>
29
29
  <% end %>
30
30
  </tbody>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beef-articles}
8
- s.version = "0.4.8"
8
+ s.version = "0.4.9"
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-02-24}
12
+ s.date = %q{2010-02-25}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -64,8 +64,8 @@ Gem::Specification.new do |s|
64
64
  s.summary = %q{Article/Blogging engine}
65
65
  s.test_files = [
66
66
  "test/articles_test.rb",
67
- "test/schema.rb",
68
- "test/test_helper.rb"
67
+ "test/test_helper.rb",
68
+ "test/schema.rb"
69
69
  ]
70
70
 
71
71
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-articles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
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-02-24 00:00:00 +00:00
12
+ date: 2010-02-25 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -112,5 +112,5 @@ specification_version: 3
112
112
  summary: Article/Blogging engine
113
113
  test_files:
114
114
  - test/articles_test.rb
115
- - test/schema.rb
116
115
  - test/test_helper.rb
116
+ - test/schema.rb