jekyll-feed 0.16.0 → 0.17.0
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 +4 -4
- data/History.markdown +14 -0
- data/README.md +11 -1
- data/lib/jekyll-feed/generator.rb +8 -0
- data/lib/jekyll-feed/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 218e5f581b3f29f0f04eb49800c27b61cecb2ec769882ef2aa00008db2d6bd1a
|
|
4
|
+
data.tar.gz: b3f1ed32d77b488d45c5fcea9540224d2d340660b37db61958b4cd24d37e3bcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b6f1f23ae300ac0caad7a2123e73fb0ea403a9481a1bf71c90b07a166e91c4f64576d48606c960452e431fc1d26cb1531a6649dd622ad0d9c80722edc2a8d3c
|
|
7
|
+
data.tar.gz: de139bea2ba933414be45fcc6a4fe9e8e7431e8b7ea0bccc2df365121748e4bf07cd9020968670889c84688cc080ce22dc576b1d3936b8c34c07f7eabac727c5
|
data/History.markdown
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.17.0 / 2022-10-14
|
|
2
|
+
|
|
3
|
+
### Documentation
|
|
4
|
+
|
|
5
|
+
* Update CI status badge (#363)
|
|
6
|
+
|
|
7
|
+
### Development Fixes
|
|
8
|
+
|
|
9
|
+
* Add Ruby 3.1 to the CI matrix (#365)
|
|
10
|
+
|
|
11
|
+
### Minor Enhancements
|
|
12
|
+
|
|
13
|
+
* Allow disabling of jekyll-feed while in development (#370)
|
|
14
|
+
|
|
1
15
|
## 0.16.0 / 2022-01-03
|
|
2
16
|
|
|
3
17
|
### 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
|
-
[](https://github.com/jekyll/jekyll-feed/actions/workflows/ruby.yml) [](https://badge.fury.io/rb/jekyll-feed)
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -246,6 +246,16 @@ feed:
|
|
|
246
246
|
|
|
247
247
|
Note that if you include a tag that is excluded a feed will not be generated for it.
|
|
248
248
|
|
|
249
|
+
## Skip development
|
|
250
|
+
|
|
251
|
+
Use `disable_in_development: true` if you want to turn off feed generation when `jekyll.environment == "development"`,
|
|
252
|
+
but don't want to remove the plugin (so you don't accidentally commit the removal). Default value is `false`.
|
|
253
|
+
|
|
254
|
+
```yml
|
|
255
|
+
feed:
|
|
256
|
+
disable_in_development: true
|
|
257
|
+
```
|
|
258
|
+
|
|
249
259
|
## Contributing
|
|
250
260
|
|
|
251
261
|
1. Fork it (https://github.com/jekyll/jekyll-feed/fork)
|
|
@@ -8,6 +8,10 @@ module JekyllFeed
|
|
|
8
8
|
# Main plugin action, called by Jekyll-core
|
|
9
9
|
def generate(site)
|
|
10
10
|
@site = site
|
|
11
|
+
if disabled_in_development?
|
|
12
|
+
Jekyll.logger.info "Jekyll Feed:", "Skipping feed generation in development"
|
|
13
|
+
return
|
|
14
|
+
end
|
|
11
15
|
collections.each do |name, meta|
|
|
12
16
|
Jekyll.logger.info "Jekyll Feed:", "Generating feed for #{name}"
|
|
13
17
|
(meta["categories"] + [nil]).each do |category|
|
|
@@ -137,5 +141,9 @@ module JekyllFeed
|
|
|
137
141
|
config["path"] ||= hash["posts"]["path"]
|
|
138
142
|
hash
|
|
139
143
|
end
|
|
144
|
+
|
|
145
|
+
def disabled_in_development?
|
|
146
|
+
config && config["disable_in_development"] && Jekyll.env == "development"
|
|
147
|
+
end
|
|
140
148
|
end
|
|
141
149
|
end
|
data/lib/jekyll-feed/version.rb
CHANGED
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.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Balter
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -120,7 +120,7 @@ dependencies:
|
|
|
120
120
|
- - "<"
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '2.0'
|
|
123
|
-
description:
|
|
123
|
+
description:
|
|
124
124
|
email:
|
|
125
125
|
- ben.balter@github.com
|
|
126
126
|
executables: []
|
|
@@ -143,7 +143,7 @@ homepage: https://github.com/jekyll/jekyll-feed
|
|
|
143
143
|
licenses:
|
|
144
144
|
- MIT
|
|
145
145
|
metadata: {}
|
|
146
|
-
post_install_message:
|
|
146
|
+
post_install_message:
|
|
147
147
|
rdoc_options: []
|
|
148
148
|
require_paths:
|
|
149
149
|
- lib
|
|
@@ -158,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
159
|
version: '0'
|
|
160
160
|
requirements: []
|
|
161
|
-
rubygems_version: 3.
|
|
162
|
-
signing_key:
|
|
161
|
+
rubygems_version: 3.3.7
|
|
162
|
+
signing_key:
|
|
163
163
|
specification_version: 4
|
|
164
164
|
summary: A Jekyll plugin to generate an Atom feed of your Jekyll posts
|
|
165
165
|
test_files: []
|