beef-articles 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -5,7 +5,7 @@
5
5
  </dt>
6
6
  <dd>
7
7
  <p class="post-meta">
8
- <span class="date"><%= article.published_at.to_formatted_s(:short_dot) %></span> | posted by <%= link_to article.author, articles_authored_path(article.created_by.permalink) %>
8
+ <span class="date"><%= article.published_at.to_formatted_s(:short_dot) %></span> | posted by <%= link_to_unless article.created_by.nil?, article.author, articles_authored_path( (article.created_by.nil? ? '' : article.created_by.permalink) ) %>
9
9
  </p>
10
10
  <p><%=h article.description %></p>
11
11
  </dd>
@@ -1,8 +1,8 @@
1
- xml.instruct! :xml, :version=>"1.0"
1
+ xml.instruct! :xml, :version=>"1.0"
2
2
  xml.rss(:version=>"2.0") do
3
3
  xml.channel do
4
4
  xml.title("#{Settings.site_name} - #{page_title}")
5
- xml.link(url_for :only_path => false )
5
+ xml.link(url_for( :only_path => false ))
6
6
  xml.language('en-gb')
7
7
  for article in @articles
8
8
  xml.item do
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.3
4
+ version: 0.4.4
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-01-19 00:00:00 +00:00
12
+ date: 2010-02-02 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -110,5 +110,5 @@ specification_version: 3
110
110
  summary: Article/Blogging engine
111
111
  test_files:
112
112
  - test/articles_test.rb
113
- - test/schema.rb
114
113
  - test/test_helper.rb
114
+ - test/schema.rb