jekyll-sitemap 1.1.1 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 193a21c9a91ae9d9425886923eb6009d0cf3dce3
4
- data.tar.gz: 285c044bf87d0f258aa1bc10487f487971aa1777
2
+ SHA256:
3
+ metadata.gz: 6d72f608d750c33e415a1310cc27cb168eb85f8c44bba7d5cc8b57cd30e1bcf7
4
+ data.tar.gz: 1b6e319eefec2756983e9d583b086e42992d79f27afc96d42974ca5ea299cf0f
5
5
  SHA512:
6
- metadata.gz: 6c70fb78efd4b99d14fb058073a4f4d65fbf333110dfc0d920712d8f8c71fb08be05b23b99353954df5c166fe40a822320c7445fca3e6478921bf03b5b276d3d
7
- data.tar.gz: d8f5fa53ecffda863ae9aea1420e5306ca19e0b97adf1cf7ea9ecf54395288b582c107300a96061550965a64c4b9612f19450edeccfb117b653adeada96c2cfa
6
+ metadata.gz: 689ff7481d8d20f46ea345acf86aa76ce486b23ace38f9f063e726dd1b5b1a9e4228ba7e2c23d34c4988505ed8c23f5ee93b9f9363a990c8beadaa966be9fd05
7
+ data.tar.gz: 968839d0875ec17ee5d0cfd5b22cd43d95229a204321211aace6849bb0d6b5df2839024ecd256018facc778cf1ac3ebdad8d25e75909c40edfc86a4036cfd5ba
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  jekyll: .rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.0
5
+ TargetRubyVersion: 2.1
6
6
  Include:
7
7
  - lib/*.rb
8
8
 
@@ -2,23 +2,28 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.0
6
- - 2.1
7
5
  - 2.2
6
+ - 2.3
7
+ - 2.4
8
+ - 2.5
8
9
  matrix:
9
10
  include:
10
11
  # GitHub Pages
11
- - rvm: 2.3.3
12
- env: JEKYLL_VERSION=3.3.1
12
+ - rvm: 2.4.0
13
+ env:
14
+ - JEKYLL_VERSION=3.6.2
15
+ - GITHUB_PAGES=1 # Only set on one build in matrix
13
16
  env:
14
17
  matrix:
15
- - JEKYLL_VERSION=3.3
18
+ - JEKYLL_VERSION=3.6
16
19
  branches:
17
20
  only:
18
21
  - master
19
22
  - /^v\d+\.\d+\.\d+/
20
23
  git:
21
24
  depth: 1000
25
+ before_install:
26
+ - gem update --system
22
27
  install:
23
28
  - travis_retry script/bootstrap
24
29
  script: script/cibuild
@@ -41,3 +46,4 @@ deploy:
41
46
  on:
42
47
  tags: true
43
48
  repo: jekyll/jekyll-sitemap
49
+ condition: "$GITHUB_PAGES == 1"
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
  gemspec
3
5
 
@@ -1,3 +1,27 @@
1
+ ## 1.2.0 / 2018-01-25
2
+
3
+ ### Minor Enhancements
4
+
5
+ * Remove excluded static files from the sitemap (#166)
6
+ * filter/replace static index.html paths to permalink (#170)
7
+
8
+ ### Development Fixes
9
+
10
+ * Condition the static file tests on Jekyll 3.4.2 and above (#167)
11
+ * Update versions for Travis (#174)
12
+ * Fix Travis Deploy (#173)
13
+ * Test against Jekyll 3.4.x *and* latest 3.x (#177)
14
+ * Define path with __dir__ (#186)
15
+ * Style: Rubocop auto-correct (#195)
16
+ * Test against Ruby 2.5 (#201)
17
+
18
+ ### Documentation
19
+
20
+ * Add note about use with Github Pages gem (#179)
21
+ * Fix a couple of typos (#184)
22
+ * Use plugins instead of gems in README config (#185)
23
+ * Docs: set site.url in config (#172)
24
+
1
25
  ## 1.1.1 / 2017-04-11
2
26
 
3
27
  * Cut a new version to alleviate sha256 checksum issue on RubyGems.org (#165)
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2017, GitHub, inc. and the jekyll-sitemap contributors
3
+ Copyright (c) 2014-present, GitHub, inc. and the jekyll-sitemap contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -10,10 +10,13 @@
10
10
  2. Add the following to your site's `_config.yml`:
11
11
 
12
12
  ```yml
13
- gems:
13
+ url: "http://example.com" # the base hostname & protocol for your site
14
+ plugins:
14
15
  - jekyll-sitemap
15
16
  ```
16
17
 
18
+ 💡 If you are using a Jekyll version less than 3.5.0, use the `gems` key instead of `plugins`.
19
+
17
20
  If all gem plugins have the same `priority`, they will be executed in the
18
21
  order they are required, generally. Thus, if you have other plugins which
19
22
  generate content and store that content in `site.pages`, `site.posts`, or
@@ -26,12 +29,19 @@ Because the sitemap is added to `site.pages`, you may have to modify any
26
29
  templates that iterate through all pages (for example, to build a menu of
27
30
  all of the site's content).
28
31
 
32
+ ## Note on Use with Github Pages Gem
33
+ The Github Pages gem ignores all plugins included in the Gemfile. If you only include `jekyll-sitemap` in the Gemfile without also including it in the `_config.yml` *the plugin will not work*. This can be confusing because the official Jekyll docs state that plugins can be included in either the Gemfile or `_config.yml`.
34
+
35
+ When building a site that uses the Github Pages gem, follow the instructions above and ensure that `jekyll-sitemap` is listed in the `plugins` array in `_config.yml`.
36
+
37
+ :warning: If you are using Jekyll < 3.5.0 use the `gems` key instead of `plugins`.
38
+
29
39
  ## `<lastmod>` tag
30
40
  The `<lastmod>` tag in the `sitemap.xml` will reflect by priority:
31
41
 
32
42
  1. The modified date of the file as reported by the filesystem if you have `jekyll-last-modified-at` plugin installed (not compatible with Github Pages auto building)
33
- 2. A personnalised date if you add the variable `last_modified_at:` with a date in the Front Matter
34
- 3. The creation date of your post (correspondig to the `post.date` variable)
43
+ 2. A personalised date if you add the variable `last_modified_at:` with a date in the Front Matter
44
+ 3. The creation date of your post (corresponding to the `post.date` variable)
35
45
 
36
46
  ## Exclusions
37
47
 
@@ -42,11 +52,14 @@ sitemap flag to `false` in the front matter for the page/post.
42
52
  sitemap: false
43
53
  ```
44
54
 
45
- ## Developing locally
55
+ ## Override default development settings
56
+
57
+ [Follow these instructions on Jekyll's documentation](https://jekyllrb.com/docs/usage/#override-default-development-settings).
46
58
 
47
- Use `script/bootstrap` to bootstrap your local development environment.
59
+ ## Developing locally
48
60
 
49
- Use `script/console` to load a local IRB console with the Gem.
61
+ * Use `script/bootstrap` to bootstrap your local development environment.
62
+ * Use `script/console` to load a local IRB console with the Gem.
50
63
 
51
64
  ## Testing
52
65
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rspec/core/rake_task"
3
5
 
@@ -1,9 +1,13 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("lib", __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "jekyll-sitemap/version"
2
6
 
3
7
  Gem::Specification.new do |spec|
4
8
  spec.name = "jekyll-sitemap"
5
9
  spec.summary = "Automatically generate a sitemap.xml for your Jekyll site."
6
- spec.version = "1.1.1"
10
+ spec.version = Jekyll::Sitemap::VERSION
7
11
  spec.authors = ["GitHub, Inc."]
8
12
  spec.email = "support@github.com"
9
13
  spec.homepage = "https://github.com/jekyll/jekyll-sitemap"
@@ -16,9 +20,9 @@ Gem::Specification.new do |spec|
16
20
 
17
21
  spec.add_dependency "jekyll", "~> 3.3"
18
22
 
23
+ spec.add_development_dependency "bundler", "~> 1.16"
19
24
  spec.add_development_dependency "jekyll-last-modified-at", "0.3.4"
20
- spec.add_development_dependency "rspec", "~> 3.0"
21
25
  spec.add_development_dependency "rake"
22
- spec.add_development_dependency "bundler", "~> 1.6"
23
- spec.add_development_dependency "rubocop"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "rubocop", "0.51"
24
28
  end
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "jekyll/page_without_a_file"
2
4
  require "jekyll/jekyll-sitemap"
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Jekyll
4
+ module Sitemap
5
+ VERSION = "1.2.0".freeze
6
+ end
7
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "fileutils"
2
4
 
3
5
  module Jekyll
@@ -14,7 +16,7 @@ module Jekyll
14
16
 
15
17
  private
16
18
 
17
- INCLUDED_EXTENSIONS = %W(
19
+ INCLUDED_EXTENSIONS = %w(
18
20
  .htm
19
21
  .html
20
22
  .xhtml
@@ -34,7 +36,7 @@ module Jekyll
34
36
 
35
37
  # Path to sitemap.xml template file
36
38
  def source_path(file = "sitemap.xml")
37
- File.expand_path "../#{file}", File.dirname(__FILE__)
39
+ File.expand_path "../#{file}", __dir__
38
40
  end
39
41
 
40
42
  # Destination for sitemap.xml file within the site source directory
@@ -43,7 +45,7 @@ module Jekyll
43
45
  end
44
46
 
45
47
  def sitemap
46
- site_map = PageWithoutAFile.new(@site, File.dirname(__FILE__), "", "sitemap.xml")
48
+ site_map = PageWithoutAFile.new(@site, __dir__, "", "sitemap.xml")
47
49
  site_map.content = File.read(source_path).gsub(MINIFY_REGEX, "")
48
50
  site_map.data["layout"] = nil
49
51
  site_map.data["static_files"] = static_files.map(&:to_liquid)
@@ -52,7 +54,7 @@ module Jekyll
52
54
  end
53
55
 
54
56
  def robots
55
- robots = PageWithoutAFile.new(@site, File.dirname(__FILE__), "", "robots.txt")
57
+ robots = PageWithoutAFile.new(@site, __dir__, "", "robots.txt")
56
58
  robots.content = File.read(source_path("robots.txt"))
57
59
  robots.data["layout"] = nil
58
60
  robots
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Jekyll
2
4
  class PageWithoutAFile < Page
3
5
  def read_yaml(*)
@@ -26,10 +26,10 @@
26
26
  </url>
27
27
  {% endfor %}
28
28
 
29
- {% assign static_files = page.static_files | where_exp:'page','page.name != "404.html"' %}
29
+ {% assign static_files = page.static_files | where_exp:'page','page.sitemap != false' | where_exp:'page','page.name != "404.html"' %}
30
30
  {% for file in static_files %}
31
31
  <url>
32
- <loc>{{ file.path | absolute_url | xml_escape }}</loc>
32
+ <loc>{{ file.path | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
33
33
  <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
34
34
  </url>
35
35
  {% endfor %}
@@ -1,3 +1,4 @@
1
1
  #!/bin/sh
2
+ set -ex
2
3
 
3
4
  bundle install
@@ -1,8 +1,5 @@
1
1
  #!/bin/sh
2
2
  set -e
3
3
 
4
- bundle exec rspec
5
- bundle exec rspec spec/test_jekyll-last-modified-at.rb
6
- if [ "$JEKYLL_VERSION" = "3.0" ]; then
7
- bundle exec rubocop -S -D
8
- fi
4
+ time script/fmt
5
+ time script/test
@@ -1,15 +1,15 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
3
  def relative_to_root(path)
4
- File.expand_path(path, File.dirname(File.dirname(__FILE__)))
4
+ File.expand_path(path, File.dirname(__dir__))
5
5
  end
6
6
 
7
- require 'jekyll'
8
- require relative_to_root('lib/jekyll-sitemap.rb')
9
- require 'pry-debugger'
7
+ require "jekyll"
8
+ require relative_to_root("lib/jekyll-sitemap.rb")
9
+ require "pry-debugger"
10
10
 
11
- SOURCE_DIR = relative_to_root('spec/fixtures')
12
- DEST_DIR = relative_to_root('spec/dest')
11
+ SOURCE_DIR = relative_to_root("spec/fixtures")
12
+ DEST_DIR = relative_to_root("spec/dest")
13
13
 
14
14
  def source_dir(*files)
15
15
  File.join(SOURCE_DIR, *files)
@@ -23,7 +23,7 @@ def config(overrides = {})
23
23
  Jekyll.configuration({
24
24
  "source" => source_dir,
25
25
  "destination" => dest_dir,
26
- "url" => "http://example.org"
26
+ "url" => "http://example.org",
27
27
  }).merge(overrides)
28
28
  end
29
29
 
@@ -0,0 +1,10 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ echo "Rubocop $(bundle exec rubocop --version)"
5
+ bundle exec rubocop -D -E $@
6
+ success=$?
7
+ if ((success != 0)); then
8
+ echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
9
+ fi
10
+ exit $success
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+ set -ex
3
+
4
+ bundle exec rspec "$@"
5
+ bundle exec rspec spec/test_jekyll-last-modified-at.rb
@@ -7,3 +7,13 @@ defaults:
7
7
  type: page
8
8
  values:
9
9
  layout: some_default
10
+ -
11
+ scope:
12
+ path: "static_files/excluded.pdf"
13
+ values:
14
+ sitemap: false
15
+ -
16
+ scope:
17
+ path: "static_files/html_file.html"
18
+ values:
19
+ sitemap: false
@@ -0,0 +1 @@
1
+ static subfolder index.html file that should be indexed as permalink
@@ -1,6 +1,6 @@
1
- # encoding: UTF-8
1
+ # frozen_string_literal: true
2
2
 
3
- require 'spec_helper'
3
+ require "spec_helper"
4
4
 
5
5
  describe(Jekyll::JekyllSitemap) do
6
6
  let(:overrides) do
@@ -10,8 +10,8 @@ describe(Jekyll::JekyllSitemap) do
10
10
  "url" => "http://example.org",
11
11
  "collections" => {
12
12
  "my_collection" => { "output" => true },
13
- "other_things" => { "output" => false }
14
- }
13
+ "other_things" => { "output" => false },
14
+ },
15
15
  }
16
16
  end
17
17
  let(:config) do
@@ -24,7 +24,7 @@ describe(Jekyll::JekyllSitemap) do
24
24
  end
25
25
 
26
26
  it "has no layout" do
27
- expect(contents).not_to match(/\ATHIS IS MY LAYOUT/)
27
+ expect(contents).not_to match(%r!\ATHIS IS MY LAYOUT!)
28
28
  end
29
29
 
30
30
  it "creates a sitemap.xml file" do
@@ -32,8 +32,8 @@ describe(Jekyll::JekyllSitemap) do
32
32
  end
33
33
 
34
34
  it "doesn't have multiple new lines or trailing whitespace" do
35
- expect(contents).to_not match /\s+\n/
36
- expect(contents).to_not match /\n{2,}/
35
+ expect(contents).to_not match %r!\s+\n!
36
+ expect(contents).to_not match %r!\n{2,}!
37
37
  end
38
38
 
39
39
  it "puts all the pages in the sitemap.xml file" do
@@ -88,6 +88,10 @@ describe(Jekyll::JekyllSitemap) do
88
88
  expect(contents).not_to match /<loc>http:\/\/example\.org\/feeds\/atom\.xml<\/loc>/
89
89
  end
90
90
 
91
+ it "converts static index.html files to permalink version" do
92
+ expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/<\/loc>/
93
+ end
94
+
91
95
  it "does include assets or any static files with .xhtml and .htm extensions" do
92
96
  expect(contents).to match /\/some-subfolder\/xhtml\.xhtml/
93
97
  expect(contents).to match /\/some-subfolder\/htm\.htm/
@@ -101,6 +105,16 @@ describe(Jekyll::JekyllSitemap) do
101
105
  expect(contents).not_to match %r!/static_files/404.html!
102
106
  end
103
107
 
108
+ if Gem::Version.new(Jekyll::VERSION) >= Gem::Version.new("3.4.2")
109
+ it "does not include any static files that have set 'sitemap: false'" do
110
+ expect(contents).not_to match %r!/static_files/excluded\.pdf!
111
+ end
112
+
113
+ it "does not include any static files that have set 'sitemap: false'" do
114
+ expect(contents).not_to match %r!/static_files/html_file\.html!
115
+ end
116
+ end
117
+
104
118
  it "does not include posts that have set 'sitemap: false'" do
105
119
  expect(contents).not_to match /\/exclude-this-post\.html<\/loc>/
106
120
  end
@@ -118,12 +132,17 @@ describe(Jekyll::JekyllSitemap) do
118
132
  end
119
133
 
120
134
  it "includes the correct number of items" do
121
- expect(contents.scan(/(?=<url>)/).count).to eql 19
135
+ # static_files/excluded.pdf is excluded on Jekyll 3.4.2 and above
136
+ if Gem::Version.new(Jekyll::VERSION) >= Gem::Version.new("3.4.2")
137
+ expect(contents.scan(%r!(?=<url>)!).count).to eql 20
138
+ else
139
+ expect(contents.scan(%r!(?=<url>)!).count).to eql 21
140
+ end
122
141
  end
123
142
 
124
143
  context "with a baseurl" do
125
144
  let(:config) do
126
- Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, {"baseurl" => "/bass"}))
145
+ Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, { "baseurl" => "/bass" }))
127
146
  end
128
147
 
129
148
  it "correctly adds the baseurl to the static files" do
@@ -153,7 +172,7 @@ describe(Jekyll::JekyllSitemap) do
153
172
 
154
173
  context "with urls that needs URI encoding" do
155
174
  let(:config) do
156
- Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, {"url" => "http://ümlaut.example.org"}))
175
+ Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, { "url" => "http://ümlaut.example.org" }))
157
176
  end
158
177
 
159
178
  it "performs URI encoding of site url" do
@@ -166,14 +185,14 @@ describe(Jekyll::JekyllSitemap) do
166
185
  end
167
186
 
168
187
  it "does not double-escape urls" do
169
- expect(contents).to_not match /%25/
188
+ expect(contents).to_not match %r!%25!
170
189
  end
171
190
 
172
191
  context "readme" do
173
192
  let(:contents) { File.read(dest_dir("robots.txt")) }
174
193
 
175
194
  it "has no layout" do
176
- expect(contents).not_to match(/\ATHIS IS MY LAYOUT/)
195
+ expect(contents).not_to match(%r!\ATHIS IS MY LAYOUT!)
177
196
  end
178
197
 
179
198
  it "creates a sitemap.xml file" do
@@ -1,15 +1,17 @@
1
- require 'jekyll'
2
- require File.expand_path('../lib/jekyll-sitemap', File.dirname(__FILE__))
1
+ # frozen_string_literal: true
2
+
3
+ require "jekyll"
4
+ require File.expand_path("../lib/jekyll-sitemap", __dir__)
3
5
 
4
6
  Jekyll.logger.log_level = :error
5
7
 
6
8
  RSpec.configure do |config|
7
9
  config.run_all_when_everything_filtered = true
8
10
  config.filter_run :focus
9
- config.order = 'random'
11
+ config.order = "random"
10
12
 
11
- SOURCE_DIR = File.expand_path("../fixtures", __FILE__)
12
- DEST_DIR = File.expand_path("../dest", __FILE__)
13
+ SOURCE_DIR = File.expand_path("fixtures", __dir__)
14
+ DEST_DIR = File.expand_path("dest", __dir__)
13
15
 
14
16
  def source_dir(*files)
15
17
  File.join(SOURCE_DIR, *files)
@@ -1,5 +1,7 @@
1
- require 'spec_helper'
2
- require 'jekyll-last-modified-at'
1
+ # frozen_string_literal: true
2
+
3
+ require "spec_helper"
4
+ require "jekyll-last-modified-at"
3
5
 
4
6
  describe(Jekyll::JekyllSitemap) do
5
7
  let(:overrides) do
@@ -9,8 +11,8 @@ describe(Jekyll::JekyllSitemap) do
9
11
  "url" => "http://example.org",
10
12
  "collections" => {
11
13
  "my_collection" => { "output" => true },
12
- "other_things" => { "output" => false }
13
- }
14
+ "other_things" => { "output" => false },
15
+ },
14
16
  }
15
17
  end
16
18
  let(:config) do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -25,33 +25,33 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jekyll-last-modified-at
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.4
33
+ version: '1.16'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.4
40
+ version: '1.16'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: jekyll-last-modified-at
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: 0.3.4
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '3.0'
54
+ version: 0.3.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,33 +67,33 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: bundler
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.6'
75
+ version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.6'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.51'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '0.51'
97
97
  description:
98
98
  email: support@github.com
99
99
  executables: []
@@ -111,6 +111,7 @@ files:
111
111
  - Rakefile
112
112
  - jekyll-sitemap.gemspec
113
113
  - lib/jekyll-sitemap.rb
114
+ - lib/jekyll-sitemap/version.rb
114
115
  - lib/jekyll/jekyll-sitemap.rb
115
116
  - lib/jekyll/page_without_a_file.rb
116
117
  - lib/robots.txt
@@ -118,7 +119,9 @@ files:
118
119
  - script/bootstrap
119
120
  - script/cibuild
120
121
  - script/console
122
+ - script/fmt
121
123
  - script/release
124
+ - script/test
122
125
  - spec/fixtures/404.md
123
126
  - spec/fixtures/_config.yml
124
127
  - spec/fixtures/_layouts/some_default.html
@@ -141,11 +144,14 @@ files:
141
144
  - spec/fixtures/jekyll-last-modified-at/page.html
142
145
  - spec/fixtures/some-subfolder/exclude-this-page.html
143
146
  - spec/fixtures/some-subfolder/htm.htm
147
+ - spec/fixtures/some-subfolder/index.html
144
148
  - spec/fixtures/some-subfolder/test_index.html
145
149
  - spec/fixtures/some-subfolder/this-is-a-subfile.html
146
150
  - spec/fixtures/some-subfolder/this-is-a-subpage.html
147
151
  - spec/fixtures/some-subfolder/xhtml.xhtml
148
152
  - spec/fixtures/static_files/404.html
153
+ - spec/fixtures/static_files/excluded.pdf
154
+ - spec/fixtures/static_files/html_file.html
149
155
  - spec/fixtures/static_files/test.pdf
150
156
  - spec/jekyll-sitemap_spec.rb
151
157
  - spec/spec_helper.rb
@@ -170,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
176
  version: '0'
171
177
  requirements: []
172
178
  rubyforge_project:
173
- rubygems_version: 2.6.11
179
+ rubygems_version: 2.7.4
174
180
  signing_key:
175
181
  specification_version: 4
176
182
  summary: Automatically generate a sitemap.xml for your Jekyll site.
@@ -197,11 +203,14 @@ test_files:
197
203
  - spec/fixtures/jekyll-last-modified-at/page.html
198
204
  - spec/fixtures/some-subfolder/exclude-this-page.html
199
205
  - spec/fixtures/some-subfolder/htm.htm
206
+ - spec/fixtures/some-subfolder/index.html
200
207
  - spec/fixtures/some-subfolder/test_index.html
201
208
  - spec/fixtures/some-subfolder/this-is-a-subfile.html
202
209
  - spec/fixtures/some-subfolder/this-is-a-subpage.html
203
210
  - spec/fixtures/some-subfolder/xhtml.xhtml
204
211
  - spec/fixtures/static_files/404.html
212
+ - spec/fixtures/static_files/excluded.pdf
213
+ - spec/fixtures/static_files/html_file.html
205
214
  - spec/fixtures/static_files/test.pdf
206
215
  - spec/jekyll-sitemap_spec.rb
207
216
  - spec/spec_helper.rb