jekyll-feed 0.9.1 → 0.9.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: fb53e383fa0762537131be8d55303b697150d307
4
- data.tar.gz: d79f92ab995f62201aba2328f4f0e0af67f3e858
3
+ metadata.gz: fff077f51b1b4b3b1e983bf5c211944916274d26
4
+ data.tar.gz: f260cd7fbca8361948de81c0724147a846843d8f
5
5
  SHA512:
6
- metadata.gz: de188fc0b9e6a6722351df771ba1dd24121780aa679585cd5a83af999e588274446953e084e1b4f1d1bdc8baf1155bd320308afe4436ceacc7cbfd39d90e518a
7
- data.tar.gz: 967b2c64f6aece5c0b7a7a416a40dc0f4aa2c64f68fed2cf809fd85be0f0a3bed34aeeb85b3e709e6318a9e974f29038bc64fd9eb46f2fe89362afe96a80227c
6
+ metadata.gz: 44ba9ce96ae0d11b7fe7d65c15100d2bb0eab713c9f0a0d6519068771ba063d733078870445000eb80700e68bf9cd0b4ee1cb01f0d6fd11417914a0555c9d686
7
+ data.tar.gz: '0491a6e21f94f30906678bde1449c8a63a961499c78f01311555687eebd25f1232c494e0500c71ac51c0d848e6d7c8d259efb7feb22af9fce80c15863138ab78'
data/History.markdown CHANGED
@@ -1,3 +1,13 @@
1
+ ## HEAD
2
+
3
+ ### Documentation
4
+
5
+ * Use `https` in more places. (#165)
6
+
7
+ ### Minor Enhancements
8
+
9
+ * fix <entry> template for posts with post.lang defined (#168)
10
+
1
11
  ## 0.9.1 / 2017-02-17
2
12
 
3
13
  ### Minor Enhancements
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts
4
4
 
5
- [![Build Status](https://travis-ci.org/jekyll/jekyll-feed.svg)](https://travis-ci.org/jekyll/jekyll-feed) [![Gem Version](https://badge.fury.io/rb/jekyll-feed.svg)](http://badge.fury.io/rb/jekyll-feed)
5
+ [![Build Status](https://travis-ci.org/jekyll/jekyll-feed.svg)](https://travis-ci.org/jekyll/jekyll-feed) [![Gem Version](https://badge.fury.io/rb/jekyll-feed.svg)](https://badge.fury.io/rb/jekyll-feed)
6
6
 
7
7
  ## Installation
8
8
 
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.9.1"
5
+ spec.version = "0.9.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"
@@ -3,7 +3,7 @@
3
3
  <?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?>
4
4
  {% endif %}
5
5
  <feed xmlns="http://www.w3.org/2005/Atom" {% if site.lang %}xml:lang="{{ site.lang }}"{% endif %}>
6
- <generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
6
+ <generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
7
7
  <link href="{{ page.url | absolute_url }}" rel="self" type="application/atom+xml" />
8
8
  <link href="{{ '/' | absolute_url }}" rel="alternate" type="text/html" {% if site.lang %}hreflang="{{ site.lang }}" {% endif %}/>
9
9
  <updated>{{ site.time | date_to_xmlschema }}</updated>
@@ -33,7 +33,7 @@
33
33
 
34
34
  {% assign posts = site.posts | where_exp: "post", "post.draft != true" %}
35
35
  {% for post in posts limit: 10 %}
36
- <entry{% if post.lang %} xml:lang="{{ post.lang }}"{% endif %}>
36
+ <entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
37
37
  <title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
38
38
  <link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
39
39
  <published>{{ post.date | date_to_xmlschema }}</published>
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  author: Pat
3
+ lang: en
3
4
  ---
4
5
 
5
6
  <pre>Line 1
@@ -275,4 +275,11 @@ describe(JekyllFeed) do
275
275
  expect(contents).to match %r{type="text/html" hreflang="en-US" />}
276
276
  end
277
277
  end
278
+
279
+ context "with post.lang set"do
280
+ it "should set the language for that entry" do
281
+ expect(contents).to match %r{<entry xml:lang="en">}
282
+ expect(contents).to match %r{<entry>}
283
+ end
284
+ end
278
285
  end
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.9.1
4
+ version: 0.9.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: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.4.5
173
+ rubygems_version: 2.6.11
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: A Jekyll plugin to generate an Atom feed of your Jekyll posts