homesteading_post 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e7d4023679d71c7072b4c97a67703e22d371211
4
- data.tar.gz: 2c001d648fbde11b9dc232d127b5db5fcaa23d15
3
+ metadata.gz: 5b59216a66d272c32a6fd030bf970d4244a7619b
4
+ data.tar.gz: 379e651bf651839e07210a85270e682fa8fd721d
5
5
  SHA512:
6
- metadata.gz: fb17cd8590d9bd5e7ae2b621390652b83de3a33ccc3eefa72dfbc7b8fddf54ac3c866a997dd75345afdbbad475139059bca43d573e431efdec505c5ae6154b91
7
- data.tar.gz: 83b710da9187a65cdf681e0970414076433e544810cfa232838fcca95c4fd17d5b310042800178720575e97ab5245fd85f3dc9bdcf269657663d7cfc5cddd59c
6
+ metadata.gz: 00e018bad493b3f1490f5a1dff295e56ee807793117cc44eceb681ed306a315d76230c219cc9e33367a9a66e5b5c7e3a1e130e8026a4b9af927486aa68e1c1c4
7
+ data.tar.gz: 1e5c7f3004c449b2df3d9471381ccff7c1576b6a08befdb53549cf2773a986c99b31c5e55cdb8b0f71e19e9dd985603e44aba1b87af027ac0fb446aa97f24aa4
@@ -1,5 +1,6 @@
1
1
  module Homesteading
2
2
  class Post < ActiveRecord::Base
3
+
3
4
  default_scope { order("published_at desc") }
4
5
 
5
6
  validates :published_at, :year, :month, :day, :hour, :minute, :second, :slug,
@@ -25,7 +26,7 @@ module Homesteading
25
26
  end
26
27
 
27
28
  def name
28
- content
29
+ [title, subtitle].compact.join(" : ")
29
30
  end
30
31
 
31
32
  private
@@ -1,3 +1,3 @@
1
1
  module HomesteadingPost
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homesteading_post
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker