jekyll-feed 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c16a6de621d9c8d90b53acc943396557d63fb1b15a4cc31b749a8b955baf8dd
4
- data.tar.gz: 9e913f474172053d3c89bc6de8c042a8649b33b1dd0d5004a8905eec4ad4e3a2
3
+ metadata.gz: e8f1fde42e53f27b048363aa57f03f5d51a3f68fbe6af4e0ffb69209b373ffeb
4
+ data.tar.gz: aaaa1c370f29527e3806c6753ae76a2fa8297337f0e667f25fd43d05779fcfef
5
5
  SHA512:
6
- metadata.gz: 553da9fe75950364d829b66a32e5db1018d9176ea490b70492e92ceff35a466dcfeb022341eac325c0e3517a54f598f5a29a1069a9ba038c59572e608f44ef0c
7
- data.tar.gz: e37a5317f022496e92ec688a4558a8c1761436b5d72fd8ea6f6aea22f53baa88b4653fb0ae7f37a582a1224ba6504cfd320a4cf1ab0e090fffe43bd99344716d
6
+ metadata.gz: 6800a223adf7b8c6ae236d6b9d3e355d4ca31c7d2e67752cfd2cb5b3fe599ddda2d9c6f28a38a7c6d5e648ac67ca585fe6fe2a2e08f38c158a1b6a95ded11fd7
7
+ data.tar.gz: a17bf5e936302721494bba9028ccda96ca88a4e229e0b1c88e6abe63f1ee2c60e3992296da05721d30400952fcc0ccafe4a2bd179038553ee57d3c940a1d04e9
@@ -1,3 +1,11 @@
1
+ ## HEAD
2
+
3
+ ## 0.15.1 / 2020-10-04
4
+
5
+ ### Bug Fixes
6
+
7
+ * MetaTag: when encoding for XML special characters, handle non-string objects (#326)
8
+
1
9
  ## 0.15.0 / 2020-07-10
2
10
 
3
11
  ### Minor Enhancements
data/README.md CHANGED
@@ -134,7 +134,7 @@ Jekyll's `smartify` filter uses [kramdown](https://kramdown.gettalong.org/option
134
134
 
135
135
  ### Custom styling
136
136
 
137
- Want to style what your feed looks like in the browser? Simply add an XSLT at `/feed.xslt.xml` and Jekyll Feed will link to the stylesheet.
137
+ Want to style what your feed looks like in the browser? When a XSLT Styleheet file named `feed.xslt.xml` exists at the root of your repository, a link to this stylesheet is added to the generated feed.
138
138
 
139
139
  ## Why Atom, and not RSS?
140
140
 
@@ -7,8 +7,11 @@ module JekyllFeed
7
7
 
8
8
  def render(context)
9
9
  @context = context
10
- attrs = attributes.map { |k, v| %(#{k}=#{v.encode(:xml => :attr)}) }.join(" ")
11
- "<link #{attrs} />"
10
+ attrs = attributes.map do |k, v|
11
+ v = v.to_s unless v.respond_to?(:encode)
12
+ %(#{k}=#{v.encode(:xml => :attr)})
13
+ end
14
+ "<link #{attrs.join(" ")} />"
12
15
  end
13
16
 
14
17
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Feed
5
- VERSION = "0.15.0"
5
+ VERSION = "0.15.1"
6
6
  end
7
7
  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.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.1.2
161
+ rubygems_version: 3.0.3
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: A Jekyll plugin to generate an Atom feed of your Jekyll posts