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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/History.markdown +49 -2
  3. data/README.md +63 -1
  4. data/lib/jekyll-feed/feed.xml +25 -6
  5. data/lib/jekyll-feed/generator.rb +32 -3
  6. data/lib/jekyll-feed/meta-tag.rb +1 -1
  7. data/lib/jekyll-feed/version.rb +1 -1
  8. metadata +30 -72
  9. data/.gitignore +0 -20
  10. data/.rspec +0 -2
  11. data/.rubocop.yml +0 -28
  12. data/.travis.yml +0 -25
  13. data/Gemfile +0 -8
  14. data/Rakefile +0 -8
  15. data/jekyll-feed.gemspec +0 -30
  16. data/script/bootstrap +0 -3
  17. data/script/cibuild +0 -7
  18. data/script/fmt +0 -10
  19. data/script/release +0 -7
  20. data/script/test +0 -4
  21. data/spec/fixtures/_collection/2018-01-01-collection-doc.md +0 -4
  22. data/spec/fixtures/_collection/2018-01-02-collection-category-doc.md +0 -5
  23. data/spec/fixtures/_config.yml +0 -9
  24. data/spec/fixtures/_data/authors.yml +0 -5
  25. data/spec/fixtures/_drafts/2015-01-12-a-draft.md +0 -4
  26. data/spec/fixtures/_layouts/some_default.html +0 -11
  27. data/spec/fixtures/_posts/2013-12-12-dec-the-second.md +0 -7
  28. data/spec/fixtures/_posts/2014-03-02-march-the-second.md +0 -6
  29. data/spec/fixtures/_posts/2014-03-04-march-the-fourth.md +0 -9
  30. data/spec/fixtures/_posts/2015-01-18-jekyll-last-modified-at.md +0 -5
  31. data/spec/fixtures/_posts/2015-02-12-strip-newlines.md +0 -6
  32. data/spec/fixtures/_posts/2015-05-12-liquid.md +0 -7
  33. data/spec/fixtures/_posts/2015-05-12-pre.html +0 -8
  34. data/spec/fixtures/_posts/2015-05-18-author-detail.md +0 -9
  35. data/spec/fixtures/_posts/2015-08-08-stuck-in-the-middle.html +0 -2
  36. data/spec/fixtures/_posts/2016-04-25-author-reference.md +0 -6
  37. data/spec/fixtures/feed.xslt.xml +0 -0
  38. data/spec/jekyll-feed_spec.rb +0 -474
  39. data/spec/spec_helper.rb +0 -30
@@ -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