jekyll-feed 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.markdown +4 -0
- data/jekyll-feed.gemspec +1 -1
- data/lib/feed.xml +4 -4
- data/spec/jekyll-feed_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8d429015b555b748fbc4709b99618aac8d865c5
|
4
|
+
data.tar.gz: 64827b8d2f14a2efaf0af13183635350196fa7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ede9ea6477191da60ab82cc1e0e4c39ea5e44de76a28d63983a245aeb0f01038988586090caa580a66422cb80a1fd0052cb8f6a96a87ff9e9c0eab045f212bf
|
7
|
+
data.tar.gz: ba23fe1cb3e3d2302a3a38fa4e67ed39a78e03ca090ce23acfd283c77f30d6b6b2c1e39ea09ae4b500958892fb3af654b69b3646e9759e13572cf22d1e1e7200
|
data/History.markdown
CHANGED
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.
|
5
|
+
spec.version = "0.7.0"
|
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
@@ -13,9 +13,9 @@
|
|
13
13
|
<id>{{ url_base | xml_escape }}/</id>
|
14
14
|
|
15
15
|
{% if site.title %}
|
16
|
-
<title>{{ site.title | smartify | xml_escape }}</title>
|
16
|
+
<title type="html">{{ site.title | smartify | xml_escape }}</title>
|
17
17
|
{% elsif site.name %}
|
18
|
-
<title>{{ site.name | smartify | xml_escape }}</title>
|
18
|
+
<title type="html">{{ site.name | smartify | xml_escape }}</title>
|
19
19
|
{% endif %}
|
20
20
|
|
21
21
|
{% if site.description %}
|
@@ -41,7 +41,7 @@
|
|
41
41
|
{% for post in site.posts limit: 10 %}
|
42
42
|
{% unless post.draft %}
|
43
43
|
<entry{% if post.lang %} xml:lang="{{ post.lang }}"{% endif %}>
|
44
|
-
<title>{{ post.title | smartify | strip_html | replace: '\n', ' ' | strip | xml_escape }}</title>
|
44
|
+
<title type="html">{{ post.title | smartify | strip_html | replace: '\n', ' ' | strip | xml_escape }}</title>
|
45
45
|
<link href="{{ post.url | prepend: url_base }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
|
46
46
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
47
47
|
{% if post.last_modified_at %}
|
@@ -80,7 +80,7 @@
|
|
80
80
|
{% endfor %}
|
81
81
|
|
82
82
|
{% if post.excerpt and post.excerpt != empty %}
|
83
|
-
<summary>{{ post.excerpt | strip_html | replace: '\n', ' ' | strip | xml_escape }}</summary>
|
83
|
+
<summary type="html">{{ post.excerpt | strip_html | replace: '\n', ' ' | strip | xml_escape }}</summary>
|
84
84
|
{% endif %}
|
85
85
|
|
86
86
|
{% assign post_image = post.image %}
|
data/spec/jekyll-feed_spec.rb
CHANGED
@@ -85,7 +85,7 @@ describe(Jekyll::JekyllFeed) do
|
|
85
85
|
end
|
86
86
|
|
87
87
|
it "replaces newlines in posts to spaces" do
|
88
|
-
expect(contents).to match
|
88
|
+
expect(contents).to match %r!<title type="html">The plugin will properly strip newlines.</title>!
|
89
89
|
end
|
90
90
|
|
91
91
|
it "renders Liquid inside posts" 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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|