jekyll-feed 0.2.1 → 0.2.2

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: e139aaf84006d6110f88c43f380726b3028c66ed
4
- data.tar.gz: 21d552974a24f198dcec3eb22c4b831dd08ea8ef
3
+ metadata.gz: f368685d55e33c31c084fb74b499d27e39e6dd7a
4
+ data.tar.gz: 0c417ed20113db87fa37f479e913bb430b6d1100
5
5
  SHA512:
6
- metadata.gz: 6c371aeccdf1af970cc6ea6b4ea3eb7f50a52bb44df7c0a6a3f372740636b387ac4bcfa29f9576bd5a97a849bae4a5f41b53d43d875011c7d3c6e6ff171cbe9c
7
- data.tar.gz: 1f3d406819b2b2f80171ed7476aeea135599593e0ba3362a17fdc99f4a86700c25ed3921be9f007c821b41d2e9659936e61fe49bfbdecbb9fe04567cfe103dce
6
+ metadata.gz: 758f92df0be4dc0169912547a3776d8ba039c8f2dcfc81f18aada484b716308df451d65ce41c87115c1070a3a2f01d1561fabeb2774e8a218fa0fd6e782a2eac
7
+ data.tar.gz: 47ae187e2d68864fca6a442dd734f635c93dc38a9a709fdbfbe772a0885912d50d7d7adec9ff220a9131ec86942844aa63e55391664d0c71f34975cd4086e911
data/jekyll-feed.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-feed"
5
- spec.version = "0.2.1"
5
+ spec.version = "0.2.2"
6
6
  spec.authors = ["Ben Balter"]
7
7
  spec.email = ["ben.balter@github.com"]
8
8
  spec.summary = "A Jekyll plugin to generate an Atom feed of your Jekyll posts"
data/lib/feed.xml CHANGED
@@ -35,7 +35,7 @@
35
35
  </author>
36
36
  {% endif %}
37
37
 
38
- {% for post in site.posts | limit: 10 %}
38
+ {% for post in site.posts limit: 10 %}
39
39
  <entry>
40
40
  <title>{{ post.title | markdownify | strip_html | strip_newlines | xml_escape }}</title>
41
41
  <link href="{{ post.url | prepend: url_base }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
@@ -59,8 +59,8 @@
59
59
  {% if post.author.email %}
60
60
  <email>{{ post.author.email | xml_escape }}</email>
61
61
  {% endif %}
62
- {% if post.author.url %}
63
- <uri>{{ post.author.url | xml_escape }}</uri>
62
+ {% if post.author.uri %}
63
+ <uri>{{ post.author.uri | xml_escape }}</uri>
64
64
  {% endif %}
65
65
  </author>
66
66
  {% endif %}
@@ -54,7 +54,7 @@ describe(Jekyll::JekyllFeed) do
54
54
  end
55
55
 
56
56
  it "supports post author name as an object" do
57
- expect(contents).to match /<author>\s*<name>Ben<\/name>\s*<email>ben@example.com<\/email>\s*<\/author>/
57
+ expect(contents).to match /<author>\s*<name>Ben<\/name>\s*<email>ben@example.com<\/email>\s*<uri>http:\/\/ben.balter.com<\/uri>\s*<\/author>/
58
58
  end
59
59
 
60
60
  it "supports post author name as a string" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-feed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-22 00:00:00.000000000 Z
11
+ date: 2015-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll