blog_logic 1.1.7 → 1.1.8

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
- 1.1.7
1
+ 1.1.8
@@ -18,11 +18,7 @@
18
18
  <td><%= post.title -%></td>
19
19
  <td><%= post.status -%></td>
20
20
  <td><%= post.publication_date.try(:to_s, :concise) -%></td>
21
- <td class="crud_links">
22
- <%= link_to image_tag('/images/icons/view.png'), admin_blog_post_path(@blog, post) -%>
23
- <%= link_to image_tag('/images/icons/edit.png'), edit_admin_blog_post_path(@blog, post) -%>
24
- <%= link_to image_tag('/images/icons/delete.png'), admin_blog_post_path(@blog, post), :method => :delete, :confirm => 'Are you sure? This action cannot be undone.' -%>
25
- </td>
21
+ <td class="crud_links"><%= crud_links_for_actions_and_paths :show => admin_blog_post_path(@blog, post), :edit => edit_admin_blog_post_path(@blog, post), :destroy => admin_blog_post_path(@blog, post) -%></td>
26
22
  </tr>
27
23
  <%- end -%>
28
24
  </table>
data/blog_logic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "blog_logic"
8
- s.version = "1.1.7"
8
+ s.version = "1.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bantik"]
12
- s.date = "2011-09-21"
12
+ s.date = "2011-09-22"
13
13
  s.description = "An engine for search-engine-optimized blog management."
14
14
  s.email = "corey@seologic.com"
15
15
  s.extra_rdoc_files = [
@@ -71,6 +71,6 @@ Feature: Post to blog
71
71
  | foo | Foo | Foo is foo. | draft |
72
72
  When go to the admin_blogs page
73
73
  And I follow "Manage Posts"
74
- And I follow "Delete" within "[@class='crud_links']"
74
+ And I press "" within "[@class='crud_links']"
75
75
  Then I should see "Blog Posts"
76
76
  And I should not see "Foo"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 7
10
- version: 1.1.7
9
+ - 8
10
+ version: 1.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-21 00:00:00 Z
18
+ date: 2011-09-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bson_ext