beef-articles 0.3.18 → 0.3.21

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.18
1
+ 0.3.21
@@ -1,7 +1,7 @@
1
1
  <!-- so:post -->
2
2
  <dt>
3
+ <%= link_to(image_tag(article.assets.images.first.public_filename(:medium)), article) unless article.assets.images.first.nil? %><br/><br/>
3
4
  <%= link_to h(article.title), article %>
4
- <%= link_to(image_tag(article.assets.images.first.public_filename(:medium)), article) unless article.assets.images.first.nil? %>
5
5
  </dt>
6
6
  <dd>
7
7
  <p class="post-meta">
@@ -9,8 +9,11 @@
9
9
  on <span class="date"><%= @article.published_at.to_formatted_s(:short_dot) %></span> by <%= link_to @article.author, articles_authored_path(@article.created_by.permalink) %>
10
10
  </p>
11
11
  <%= @article.body %>
12
-
12
+
13
+ <h3>Gallery</h3>
13
14
  <%= gallery @article.assets %>
15
+
16
+ <h3>Documents</h3>
14
17
  <%= documents @article.assets %>
15
18
 
16
19
  <a href="#" id="share-title" title="Share This Article">Share This</a>
data/articles.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{articles}
8
- s.version = "0.3.18"
8
+ s.version = "0.3.21"
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"]
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.3.18
4
+ version: 0.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England
@@ -83,6 +83,7 @@ files:
83
83
  - test/test_helper.rb
84
84
  has_rdoc: false
85
85
  homepage: http://github.com/beef/articles
86
+ licenses:
86
87
  post_install_message:
87
88
  rdoc_options:
88
89
  - --charset=UTF-8
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
104
  requirements: []
104
105
 
105
106
  rubyforge_project:
106
- rubygems_version: 1.2.0
107
+ rubygems_version: 1.3.5
107
108
  signing_key:
108
109
  specification_version: 3
109
110
  summary: Article/Blogging engine