homeostasis 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +5 -1
  2. data/lib/homeostasis.rb +1 -2
  3. metadata +2 -2
data/README.md CHANGED
@@ -54,7 +54,11 @@ Blog
54
54
 
55
55
  In your controller:
56
56
 
57
- Homeostasis::Blog.directory('blog') # directory of posts
57
+ Homeostasis::Blog.config(
58
+ 'blog', # directory of posts
59
+ 'http://example.com', # site url
60
+ 'Blog Title', # site title
61
+ 'Blog Description for RSS feed') # site description
58
62
 
59
63
  Post files should be in the format `yyyy-mm-dd-permalink.html.md`. Use
60
64
  YAML front-matter for any metadata you want. `:date` and `:path` will be
data/lib/homeostasis.rb CHANGED
@@ -6,7 +6,7 @@ require 'yaml'
6
6
  require 'cgi'
7
7
 
8
8
  module Homeostasis
9
- VERSION = '0.0.11'
9
+ VERSION = '0.0.12'
10
10
 
11
11
  module Helpers
12
12
  private
@@ -344,7 +344,6 @@ module Homeostasis
344
344
  rss += " <title>#{h @@title}</title>\n" if @@title
345
345
  rss += " <link>#{h @@link}/</link>\n" if @@link
346
346
  rss += " <description>#{h @@desc}</description>\n" if @@desc
347
- rss += " <atom:link href=\"#{url}/\" rel=\"self\" type=\"application/rss+xml\" />\n"
348
347
  blog_posts[0..5].each do |post|
349
348
  rss += " <item>\n"
350
349
  rss += " <title>#{h post[:title]}</title>\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeostasis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-06 00:00:00.000000000 Z
12
+ date: 2012-08-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Provides asset stamping using git revisions, environments, and a few
15
15
  view helpers.