jekyll-feed 0.11.0 → 0.15.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 +49 -2
- data/README.md +63 -1
- data/lib/jekyll-feed/feed.xml +25 -6
- data/lib/jekyll-feed/generator.rb +32 -3
- data/lib/jekyll-feed/meta-tag.rb +1 -1
- data/lib/jekyll-feed/version.rb +1 -1
- metadata +30 -72
- data/.gitignore +0 -20
- data/.rspec +0 -2
- data/.rubocop.yml +0 -28
- data/.travis.yml +0 -25
- data/Gemfile +0 -8
- data/Rakefile +0 -8
- data/jekyll-feed.gemspec +0 -30
- data/script/bootstrap +0 -3
- data/script/cibuild +0 -7
- data/script/fmt +0 -10
- data/script/release +0 -7
- data/script/test +0 -4
- data/spec/fixtures/_collection/2018-01-01-collection-doc.md +0 -4
- data/spec/fixtures/_collection/2018-01-02-collection-category-doc.md +0 -5
- data/spec/fixtures/_config.yml +0 -9
- data/spec/fixtures/_data/authors.yml +0 -5
- data/spec/fixtures/_drafts/2015-01-12-a-draft.md +0 -4
- data/spec/fixtures/_layouts/some_default.html +0 -11
- data/spec/fixtures/_posts/2013-12-12-dec-the-second.md +0 -7
- data/spec/fixtures/_posts/2014-03-02-march-the-second.md +0 -6
- data/spec/fixtures/_posts/2014-03-04-march-the-fourth.md +0 -9
- data/spec/fixtures/_posts/2015-01-18-jekyll-last-modified-at.md +0 -5
- data/spec/fixtures/_posts/2015-02-12-strip-newlines.md +0 -6
- data/spec/fixtures/_posts/2015-05-12-liquid.md +0 -7
- data/spec/fixtures/_posts/2015-05-12-pre.html +0 -8
- data/spec/fixtures/_posts/2015-05-18-author-detail.md +0 -9
- data/spec/fixtures/_posts/2015-08-08-stuck-in-the-middle.html +0 -2
- data/spec/fixtures/_posts/2016-04-25-author-reference.md +0 -6
- data/spec/fixtures/feed.xslt.xml +0 -0
- data/spec/jekyll-feed_spec.rb +0 -474
- data/spec/spec_helper.rb +0 -30
data/spec/spec_helper.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "jekyll"
|
4
|
-
require "typhoeus"
|
5
|
-
require "nokogiri"
|
6
|
-
require "rss"
|
7
|
-
require File.expand_path("../lib/jekyll-feed", __dir__)
|
8
|
-
|
9
|
-
Jekyll.logger.log_level = :error
|
10
|
-
|
11
|
-
RSpec.configure do |config|
|
12
|
-
config.run_all_when_everything_filtered = true
|
13
|
-
config.filter_run :focus
|
14
|
-
config.order = "random"
|
15
|
-
|
16
|
-
SOURCE_DIR = File.expand_path("fixtures", __dir__)
|
17
|
-
DEST_DIR = File.expand_path("dest", __dir__)
|
18
|
-
|
19
|
-
def source_dir(*files)
|
20
|
-
File.join(SOURCE_DIR, *files)
|
21
|
-
end
|
22
|
-
|
23
|
-
def dest_dir(*files)
|
24
|
-
File.join(DEST_DIR, *files)
|
25
|
-
end
|
26
|
-
|
27
|
-
def make_context(registers = {})
|
28
|
-
Liquid::Context.new({}, {}, { :site => site }.merge(registers))
|
29
|
-
end
|
30
|
-
end
|