jekyll-sitemap 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d72f608d750c33e415a1310cc27cb168eb85f8c44bba7d5cc8b57cd30e1bcf7
4
- data.tar.gz: 1b6e319eefec2756983e9d583b086e42992d79f27afc96d42974ca5ea299cf0f
3
+ metadata.gz: 337a5086866fdc4e32826bc5f0fe55479f8a21b35a27e680b53caa5280fb579c
4
+ data.tar.gz: 5eb0b8f16a9c5d9e05d8e80886e2ae84f67ede7103ec717457e30904e9f13e5a
5
5
  SHA512:
6
- metadata.gz: 689ff7481d8d20f46ea345acf86aa76ce486b23ace38f9f063e726dd1b5b1a9e4228ba7e2c23d34c4988505ed8c23f5ee93b9f9363a990c8beadaa966be9fd05
7
- data.tar.gz: 968839d0875ec17ee5d0cfd5b22cd43d95229a204321211aace6849bb0d6b5df2839024ecd256018facc778cf1ac3ebdad8d25e75909c40edfc86a4036cfd5ba
6
+ metadata.gz: 0f81c53e4acc536e757f308c976bcbfa3e233148b99a1c23d289effb0900269cff8dc8be68435541b0794e0fdd61cb0dd161ce95e6142c1678dc903141fab1c3
7
+ data.tar.gz: 7f6e69c5b0a3fedf6105d898e0ccd6a904f3a829a7095e09a46f5aaf50179954ad96139af0194f27b446e67762cfb028275baf768fd4f8525f5cf719cab12850
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  Gemfile.lock
3
3
  spec/dest
4
4
  .bundle
5
+ spec/fixtures/.jekyll-cache
@@ -1,11 +1,9 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ require: rubocop-jekyll
4
+
1
5
  inherit_gem:
2
- jekyll: .rubocop.yml
6
+ rubocop-jekyll: .rubocop.yml
3
7
 
4
8
  AllCops:
5
- TargetRubyVersion: 2.1
6
- Include:
7
- - lib/*.rb
8
-
9
- Exclude:
10
- - script/**/*
11
- - spec/**/*
9
+ TargetRubyVersion: 2.4
@@ -0,0 +1,26 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2018-12-06 11:55:46 +0100 using RuboCop version 0.61.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ Lint/Debugger:
11
+ Exclude:
12
+ - 'script/console'
13
+
14
+ # Offense count: 3
15
+ # Configuration parameters: CountComments, Max, ExcludedMethods.
16
+ # ExcludedMethods: refine
17
+ Metrics/BlockLength:
18
+ Exclude:
19
+ - 'spec/jekyll-sitemap_spec.rb'
20
+ - 'spec/test_jekyll-last-modified-at.rb'
21
+
22
+ # Offense count: 17
23
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
24
+ # URISchemes: http, https
25
+ Metrics/LineLength:
26
+ Max: 154
@@ -1,28 +1,25 @@
1
- sudo: false
2
1
  language: ruby
3
2
  cache: bundler
4
3
  rvm:
5
- - 2.2
6
- - 2.3
7
4
  - 2.4
8
- - 2.5
5
+ - 2.6
9
6
  matrix:
10
7
  include:
11
8
  # GitHub Pages
12
- - rvm: 2.4.0
9
+ - rvm: 2.5.3
13
10
  env:
14
- - JEKYLL_VERSION=3.6.2
11
+ - JEKYLL_VERSION=3.7.4
15
12
  - GITHUB_PAGES=1 # Only set on one build in matrix
16
13
  env:
17
14
  matrix:
18
- - JEKYLL_VERSION=3.6
15
+ - JEKYLL_VERSION=3.8
19
16
  branches:
20
17
  only:
21
18
  - master
22
19
  - /^v\d+\.\d+\.\d+/
23
20
  git:
24
21
  depth: 1000
25
- before_install:
22
+ before_install:
26
23
  - gem update --system
27
24
  install:
28
25
  - travis_retry script/bootstrap
data/Gemfile CHANGED
@@ -3,6 +3,4 @@
3
3
  source "https://rubygems.org"
4
4
  gemspec
5
5
 
6
- if ENV["JEKYLL_VERSION"]
7
- gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}"
8
- end
6
+ gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}" if ENV["JEKYLL_VERSION"]
@@ -1,3 +1,21 @@
1
+ ## HEAD
2
+
3
+ * Release: v1.3.0 (#243)
4
+
5
+ ## 1.3.0 / 2019-03-21
6
+
7
+ * Allow Jekyll v4 (still alpha)
8
+
9
+ ### Documentation
10
+
11
+ * Add PDF file exclusion documentation (#213)
12
+ * Correct capitalization of GitHub (#207)
13
+
14
+ ### Development Fixes
15
+
16
+ * Use Ruby 2.3 and Rubocop 0.55 (#214)
17
+ * chore(deps): rubocop-jekyll-0.3 (#227)
18
+
1
19
  ## 1.2.0 / 2018-01-25
2
20
 
3
21
  ### Minor Enhancements
data/README.md CHANGED
@@ -29,17 +29,17 @@ Because the sitemap is added to `site.pages`, you may have to modify any
29
29
  templates that iterate through all pages (for example, to build a menu of
30
30
  all of the site's content).
31
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`.
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
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`.
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
36
 
37
37
  :warning: If you are using Jekyll < 3.5.0 use the `gems` key instead of `plugins`.
38
38
 
39
39
  ## `<lastmod>` tag
40
40
  The `<lastmod>` tag in the `sitemap.xml` will reflect by priority:
41
41
 
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)
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)
43
43
  2. A personalised date if you add the variable `last_modified_at:` with a date in the Front Matter
44
44
  3. The creation date of your post (corresponding to the `post.date` variable)
45
45
 
@@ -52,6 +52,19 @@ sitemap flag to `false` in the front matter for the page/post.
52
52
  sitemap: false
53
53
  ```
54
54
 
55
+ To exclude files from your sitemap. It can be achieved with configuration using [Jekyll v3.7.2 and jekyll-sitemap v1.2.0](https://github.com/jekyll/jekyll/commit/776433109b96cb644938ffbf9caf4923bdde4d7f).
56
+
57
+ Add a glob config to your `_config.yml` file.
58
+
59
+ ```yml
60
+ defaults:
61
+ -
62
+ scope:
63
+ path: "assets/**/*.pdf"
64
+ values:
65
+ sitemap: false
66
+ ```
67
+
55
68
  ## Override default development settings
56
69
 
57
70
  [Follow these instructions on Jekyll's documentation](https://jekyllrb.com/docs/usage/#override-default-development-settings).
@@ -18,11 +18,13 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "jekyll", "~> 3.3"
21
+ spec.required_ruby_version = ">= 2.4.0"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.16"
23
+ spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
24
+
25
+ spec.add_development_dependency "bundler"
24
26
  spec.add_development_dependency "jekyll-last-modified-at", "0.3.4"
25
27
  spec.add_development_dependency "rake"
26
28
  spec.add_development_dependency "rspec", "~> 3.0"
27
- spec.add_development_dependency "rubocop", "0.51"
29
+ spec.add_development_dependency "rubocop-jekyll", "~> 0.4"
28
30
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Sitemap
5
- VERSION = "1.2.0".freeze
5
+ VERSION = "1.3.0"
6
6
  end
7
7
  end
@@ -27,7 +27,7 @@ module Jekyll
27
27
  # 1. A '>' followed by a newline or
28
28
  # 2. A '}' which closes a Liquid tag
29
29
  # We will strip all of this whitespace to minify the template
30
- MINIFY_REGEX = %r!(?<=>\n|})\s+!
30
+ MINIFY_REGEX = %r!(?<=>\n|})\s+!.freeze
31
31
 
32
32
  # Array of all non-jekyll site files with an HTML extension
33
33
  def static_files
@@ -2,8 +2,10 @@
2
2
 
3
3
  module Jekyll
4
4
  class PageWithoutAFile < Page
5
+ # rubocop:disable Naming/MemoizedInstanceVariableName
5
6
  def read_yaml(*)
6
7
  @data ||= {}
7
8
  end
9
+ # rubocop:enable Naming/MemoizedInstanceVariableName
8
10
  end
9
11
  end
@@ -1,4 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  def relative_to_root(path)
4
5
  File.expand_path(path, File.dirname(__dir__))
@@ -20,11 +21,11 @@ def dest_dir(*files)
20
21
  end
21
22
 
22
23
  def config(overrides = {})
23
- Jekyll.configuration({
24
+ Jekyll.configuration(
24
25
  "source" => source_dir,
25
26
  "destination" => dest_dir,
26
- "url" => "http://example.org",
27
- }).merge(overrides)
27
+ "url" => "http://example.org"
28
+ ).merge(overrides)
28
29
  end
29
30
 
30
31
  def site(configuration = config)
@@ -37,64 +37,64 @@ describe(Jekyll::JekyllSitemap) do
37
37
  end
38
38
 
39
39
  it "puts all the pages in the sitemap.xml file" do
40
- expect(contents).to match /<loc>http:\/\/example\.org\/<\/loc>/
41
- expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/this-is-a-subpage\.html<\/loc>/
40
+ expect(contents).to match %r!<loc>http://example\.org/</loc>!
41
+ expect(contents).to match %r!<loc>http://example\.org/some-subfolder/this-is-a-subpage\.html</loc>!
42
42
  end
43
43
 
44
44
  it "only strips 'index.html' from end of permalink" do
45
- expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/test_index\.html<\/loc>/
45
+ expect(contents).to match %r!<loc>http://example\.org/some-subfolder/test_index\.html</loc>!
46
46
  end
47
47
 
48
48
  it "puts all the posts in the sitemap.xml file" do
49
- expect(contents).to match /<loc>http:\/\/example\.org\/2014\/03\/04\/march-the-fourth\.html<\/loc>/
50
- expect(contents).to match /<loc>http:\/\/example\.org\/2014\/03\/02\/march-the-second\.html<\/loc>/
51
- expect(contents).to match /<loc>http:\/\/example\.org\/2013\/12\/12\/dec-the-second\.html<\/loc>/
49
+ expect(contents).to match %r!<loc>http://example\.org/2014/03/04/march-the-fourth\.html</loc>!
50
+ expect(contents).to match %r!<loc>http://example\.org/2014/03/02/march-the-second\.html</loc>!
51
+ expect(contents).to match %r!<loc>http://example\.org/2013/12/12/dec-the-second\.html</loc>!
52
52
  end
53
53
 
54
54
  describe "collections" do
55
55
  it "puts all the `output:true` into sitemap.xml" do
56
- expect(contents).to match /<loc>http:\/\/example\.org\/my_collection\/test\.html<\/loc>/
56
+ expect(contents).to match %r!<loc>http://example\.org/my_collection/test\.html</loc>!
57
57
  end
58
58
 
59
59
  it "doesn't put all the `output:false` into sitemap.xml" do
60
- expect(contents).to_not match /<loc>http:\/\/example\.org\/other_things\/test2\.html<\/loc>/
60
+ expect(contents).to_not match %r!<loc>http://example\.org/other_things/test2\.html</loc>!
61
61
  end
62
62
 
63
63
  it "remove 'index.html' for directory custom permalinks" do
64
- expect(contents).to match /<loc>http:\/\/example\.org\/permalink\/<\/loc>/
64
+ expect(contents).to match %r!<loc>http://example\.org/permalink/</loc>!
65
65
  end
66
66
 
67
67
  it "doesn't remove filename for non-directory custom permalinks" do
68
- expect(contents).to match /<loc>http:\/\/example\.org\/permalink\/unique_name\.html<\/loc>/
68
+ expect(contents).to match %r!<loc>http://example\.org/permalink/unique_name\.html</loc>!
69
69
  end
70
70
 
71
71
  it "performs URI encoding of site paths" do
72
- expect(contents).to match /<loc>http:\/\/example\.org\/this%20url%20has%20an%20%C3%BCmlaut<\/loc>/
72
+ expect(contents).to match %r!<loc>http://example\.org/this%20url%20has%20an%20%C3%BCmlaut</loc>!
73
73
  end
74
74
  end
75
75
 
76
76
  it "generates the correct date for each of the posts" do
77
- expect(contents).to match /<lastmod>2014-03-04T00:00:00(-|\+)\d+:\d+<\/lastmod>/
78
- expect(contents).to match /<lastmod>2014-03-02T00:00:00(-|\+)\d+:\d+<\/lastmod>/
79
- expect(contents).to match /<lastmod>2013-12-12T00:00:00(-|\+)\d+:\d+<\/lastmod>/
77
+ expect(contents).to match %r!<lastmod>2014-03-04T00:00:00(-|\+)\d+:\d+</lastmod>!
78
+ expect(contents).to match %r!<lastmod>2014-03-02T00:00:00(-|\+)\d+:\d+</lastmod>!
79
+ expect(contents).to match %r!<lastmod>2013-12-12T00:00:00(-|\+)\d+:\d+</lastmod>!
80
80
  end
81
81
 
82
82
  it "puts all the static HTML files in the sitemap.xml file" do
83
- expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/this-is-a-subfile\.html<\/loc>/
83
+ expect(contents).to match %r!<loc>http://example\.org/some-subfolder/this-is-a-subfile\.html</loc>!
84
84
  end
85
85
 
86
86
  it "does not include assets or any static files that aren't .html" do
87
- expect(contents).not_to match /<loc>http:\/\/example\.org\/images\/hubot\.png<\/loc>/
88
- expect(contents).not_to match /<loc>http:\/\/example\.org\/feeds\/atom\.xml<\/loc>/
87
+ expect(contents).not_to match %r!<loc>http://example\.org/images/hubot\.png</loc>!
88
+ expect(contents).not_to match %r!<loc>http://example\.org/feeds/atom\.xml</loc>!
89
89
  end
90
90
 
91
91
  it "converts static index.html files to permalink version" do
92
- expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/<\/loc>/
92
+ expect(contents).to match %r!<loc>http://example\.org/some-subfolder/</loc>!
93
93
  end
94
94
 
95
95
  it "does include assets or any static files with .xhtml and .htm extensions" do
96
- expect(contents).to match /\/some-subfolder\/xhtml\.xhtml/
97
- expect(contents).to match /\/some-subfolder\/htm\.htm/
96
+ expect(contents).to match %r!/some-subfolder/xhtml\.xhtml!
97
+ expect(contents).to match %r!/some-subfolder/htm\.htm!
98
98
  end
99
99
 
100
100
  it "does include assets or any static files with .pdf extension" do
@@ -116,19 +116,19 @@ describe(Jekyll::JekyllSitemap) do
116
116
  end
117
117
 
118
118
  it "does not include posts that have set 'sitemap: false'" do
119
- expect(contents).not_to match /\/exclude-this-post\.html<\/loc>/
119
+ expect(contents).not_to match %r!/exclude-this-post\.html</loc>!
120
120
  end
121
121
 
122
122
  it "does not include pages that have set 'sitemap: false'" do
123
- expect(contents).not_to match /\/exclude-this-page\.html<\/loc>/
123
+ expect(contents).not_to match %r!/exclude-this-page\.html</loc>!
124
124
  end
125
125
 
126
126
  it "does not include the 404 page" do
127
- expect(contents).not_to match /\/404\.html<\/loc>/
127
+ expect(contents).not_to match %r!/404\.html</loc>!
128
128
  end
129
129
 
130
130
  it "correctly formats timestamps of static files" do
131
- expect(contents).to match /\/this-is-a-subfile\.html<\/loc>\s+<lastmod>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(-|\+)\d{2}:\d{2}<\/lastmod>/
131
+ expect(contents).to match %r!/this-is-a-subfile\.html</loc>\s+<lastmod>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(-|\+)\d{2}:\d{2}</lastmod>!
132
132
  end
133
133
 
134
134
  it "includes the correct number of items" do
@@ -142,26 +142,26 @@ describe(Jekyll::JekyllSitemap) do
142
142
 
143
143
  context "with a baseurl" do
144
144
  let(:config) do
145
- Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, { "baseurl" => "/bass" }))
145
+ Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, "baseurl" => "/bass"))
146
146
  end
147
147
 
148
148
  it "correctly adds the baseurl to the static files" do
149
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/some-subfolder\/this-is-a-subfile\.html<\/loc>/
149
+ expect(contents).to match %r!<loc>http://example\.org/bass/some-subfolder/this-is-a-subfile\.html</loc>!
150
150
  end
151
151
 
152
152
  it "correctly adds the baseurl to the collections" do
153
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/my_collection\/test\.html<\/loc>/
153
+ expect(contents).to match %r!<loc>http://example\.org/bass/my_collection/test\.html</loc>!
154
154
  end
155
155
 
156
156
  it "correctly adds the baseurl to the pages" do
157
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/<\/loc>/
158
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/some-subfolder\/this-is-a-subpage\.html<\/loc>/
157
+ expect(contents).to match %r!<loc>http://example\.org/bass/</loc>!
158
+ expect(contents).to match %r!<loc>http://example\.org/bass/some-subfolder/this-is-a-subpage\.html</loc>!
159
159
  end
160
160
 
161
161
  it "correctly adds the baseurl to the posts" do
162
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/2014\/03\/04\/march-the-fourth\.html<\/loc>/
163
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/2014\/03\/02\/march-the-second\.html<\/loc>/
164
- expect(contents).to match /<loc>http:\/\/example\.org\/bass\/2013\/12\/12\/dec-the-second\.html<\/loc>/
162
+ expect(contents).to match %r!<loc>http://example\.org/bass/2014/03/04/march-the-fourth\.html</loc>!
163
+ expect(contents).to match %r!<loc>http://example\.org/bass/2014/03/02/march-the-second\.html</loc>!
164
+ expect(contents).to match %r!<loc>http://example\.org/bass/2013/12/12/dec-the-second\.html</loc>!
165
165
  end
166
166
 
167
167
  it "adds baseurl to robots.txt" do
@@ -172,7 +172,7 @@ describe(Jekyll::JekyllSitemap) do
172
172
 
173
173
  context "with urls that needs URI encoding" do
174
174
  let(:config) do
175
- 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"))
176
176
  end
177
177
 
178
178
  it "performs URI encoding of site url" do
@@ -26,11 +26,11 @@ describe(Jekyll::JekyllSitemap) do
26
26
 
27
27
  context "with jekyll-last-modified-at" do
28
28
  it "correctly adds the modified time to the posts" do
29
- expect(contents).to match /<loc>http:\/\/example.org\/2015\/01\/18\/jekyll-last-modified-at.html<\/loc>\s+<lastmod>2015-01-19T07:03:38\+00:00<\/lastmod>/
29
+ expect(contents).to match %r!<loc>http://example.org/2015/01/18/jekyll-last-modified-at.html</loc>\s+<lastmod>2015-01-19T07:03:38\+00:00</lastmod>!
30
30
  end
31
31
 
32
32
  it "correctly adds the modified time to the pages" do
33
- expect(contents).to match /<loc>http:\/\/example.org\/jekyll-last-modified-at\/page.html<\/loc>\s+<lastmod>2015-01-19T07:03:38\+00:00<\/lastmod>/
33
+ expect(contents).to match %r!<loc>http://example.org/jekyll-last-modified-at/page.html</loc>\s+<lastmod>2015-01-19T07:03:38\+00:00</lastmod>!
34
34
  end
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.7'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '3.3'
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '3.3'
29
+ version: '3.7'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '1.16'
39
+ version: '0'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - "~>"
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '1.16'
46
+ version: '0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: jekyll-last-modified-at
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -81,19 +87,19 @@ dependencies:
81
87
  - !ruby/object:Gem::Version
82
88
  version: '3.0'
83
89
  - !ruby/object:Gem::Dependency
84
- name: rubocop
90
+ name: rubocop-jekyll
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - '='
93
+ - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '0.51'
95
+ version: '0.4'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - '='
100
+ - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '0.51'
102
+ version: '0.4'
97
103
  description:
98
104
  email: support@github.com
99
105
  executables: []
@@ -103,6 +109,7 @@ files:
103
109
  - ".gitignore"
104
110
  - ".rspec"
105
111
  - ".rubocop.yml"
112
+ - ".rubocop_todo.yml"
106
113
  - ".travis.yml"
107
114
  - Gemfile
108
115
  - History.markdown
@@ -168,15 +175,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
175
  requirements:
169
176
  - - ">="
170
177
  - !ruby/object:Gem::Version
171
- version: '0'
178
+ version: 2.4.0
172
179
  required_rubygems_version: !ruby/object:Gem::Requirement
173
180
  requirements:
174
181
  - - ">="
175
182
  - !ruby/object:Gem::Version
176
183
  version: '0'
177
184
  requirements: []
178
- rubyforge_project:
179
- rubygems_version: 2.7.4
185
+ rubygems_version: 3.0.3
180
186
  signing_key:
181
187
  specification_version: 4
182
188
  summary: Automatically generate a sitemap.xml for your Jekyll site.