ruby-slippers 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ruby_slippers/article.rb +2 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -74,7 +74,8 @@ module RubySlippers
74
74
  end
75
75
 
76
76
  def full_image_path
77
- self[:date].strftime("/img/articles/%Y/%B/#{self[:image]}").downcase
77
+ return nil unless self[:image]
78
+ self[:date].strftime("/img/articles/%Y/%B/#{self[:image]}").downcase
78
79
  end
79
80
 
80
81
  def has_more?
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ruby-slippers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - dreamr