bridgetown-sitemap 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +3 -1
- data/CHANGELOG.md +5 -0
- data/bridgetown-sitemap.gemspec +3 -3
- data/lib/bridgetown-sitemap/version.rb +1 -1
- data/test/fixtures/plugins/builders/{generated_pages_builder.rb → generated_pages.rb} +1 -1
- data/test/test_sitemap.rb +1 -2
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7fdbaa3c96e9fc71d97de9a13f7828a2d3aa6cc45c1a396b8157cc3281b3231
|
4
|
+
data.tar.gz: ee8c8d4adc46245e9ed35ab05b4450c319c0fc0c0a9d475a0114c5ef02557296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3667fc1df4b0e1d8f6e7ddfd404272c56ae996cc7d638a5d2390e9a233849e2a342aae11f7724691b81f3843e9afda18c32c04e5d9ee80c276b1d2529fe2e79
|
7
|
+
data.tar.gz: f4bf13d4337464aa9455b645971e277d4952c5c4554b8dbf7b9aced457b504842299c79af5ec70d063205192d378ce5f16f3e0ba9f804953f657b1b95eb9c59a
|
data/.github/workflows/tests.yml
CHANGED
@@ -13,12 +13,14 @@ jobs:
|
|
13
13
|
runs-on: ubuntu-latest
|
14
14
|
strategy:
|
15
15
|
matrix:
|
16
|
-
ruby_version: [2.
|
16
|
+
ruby_version: [2.7.7, 3.0.5, 3.1.3, 3.2.0]
|
17
|
+
bridgetown_version: [1.0.0, 1.1.0]
|
17
18
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
18
19
|
# Has to be top level to cache properly
|
19
20
|
env:
|
20
21
|
BUNDLE_JOBS: 3
|
21
22
|
BUNDLE_PATH: "vendor/bundle"
|
23
|
+
BRIDGETOWN_VERSION: ${{ matrix.bridgetown_version }}
|
22
24
|
steps:
|
23
25
|
- uses: actions/checkout@master
|
24
26
|
- name: Setup Ruby
|
data/CHANGELOG.md
CHANGED
data/bridgetown-sitemap.gemspec
CHANGED
@@ -16,11 +16,11 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.required_ruby_version = ">= 2.
|
19
|
+
spec.required_ruby_version = ">= 2.7.0"
|
20
20
|
|
21
|
-
spec.add_dependency "bridgetown", ">= 0
|
21
|
+
spec.add_dependency "bridgetown", ">= 1.0", "< 2.0"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "rubocop-bridgetown"
|
25
|
+
spec.add_development_dependency "rubocop-bridgetown"
|
26
26
|
end
|
data/test/test_sitemap.rb
CHANGED
@@ -46,7 +46,6 @@ class TestSitemap < BridgetownSitemap::Test
|
|
46
46
|
assert_match %r!<lastmod>2021-05-06T00:00:00(-|\+)\d+:\d+</lastmod>!, @sitemap
|
47
47
|
assert_match %r!<lastmod>2021-03-04T00:00:00(-|\+)\d+:\d+</lastmod>!, @sitemap
|
48
48
|
assert_match %r!<lastmod>2021-03-02T00:00:00(-|\+)\d+:\d+</lastmod>!, @sitemap
|
49
|
-
assert_match %r!<lastmod>2022-02-18T00:00:00(-|\+)\d+:\d+</lastmod>!, @sitemap
|
50
49
|
|
51
50
|
# This doesn't work on CI because it runs a git command which isn't allowed I guess
|
52
51
|
unless ENV["GITHUB_ACTIONS"]
|
@@ -121,7 +120,7 @@ class TestSitemap < BridgetownSitemap::Test
|
|
121
120
|
|
122
121
|
context "rendering the site with a baseurl" do
|
123
122
|
setup do
|
124
|
-
config.
|
123
|
+
config.base_path = "/baseurl"
|
125
124
|
build_site
|
126
125
|
end
|
127
126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ayush Newatia
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bridgetown
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '1.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '2.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0
|
29
|
+
version: '1.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
@@ -62,17 +62,17 @@ dependencies:
|
|
62
62
|
name: rubocop-bridgetown
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0
|
67
|
+
version: '0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0
|
75
|
-
description:
|
74
|
+
version: '0'
|
75
|
+
description:
|
76
76
|
email: ayush@hey.com
|
77
77
|
executables: []
|
78
78
|
extensions: []
|
@@ -98,7 +98,7 @@ files:
|
|
98
98
|
- script/release
|
99
99
|
- script/test
|
100
100
|
- test/fixtures/bridgetown.config.yml
|
101
|
-
- test/fixtures/plugins/builders/
|
101
|
+
- test/fixtures/plugins/builders/generated_pages.rb
|
102
102
|
- test/fixtures/plugins/site_builder.rb
|
103
103
|
- test/fixtures/src/_data/.keep
|
104
104
|
- test/fixtures/src/_layouts/default.html
|
@@ -133,7 +133,7 @@ homepage: https://github.com/ayushn21/bridgetown-sitemap
|
|
133
133
|
licenses:
|
134
134
|
- MIT
|
135
135
|
metadata: {}
|
136
|
-
post_install_message:
|
136
|
+
post_install_message:
|
137
137
|
rdoc_options: []
|
138
138
|
require_paths:
|
139
139
|
- lib
|
@@ -141,20 +141,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
requirements:
|
142
142
|
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 2.
|
144
|
+
version: 2.7.0
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
152
|
-
signing_key:
|
151
|
+
rubygems_version: 3.2.32
|
152
|
+
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Automatically generate a sitemap.xml for your Bridgetown site.
|
155
155
|
test_files:
|
156
156
|
- test/fixtures/bridgetown.config.yml
|
157
|
-
- test/fixtures/plugins/builders/
|
157
|
+
- test/fixtures/plugins/builders/generated_pages.rb
|
158
158
|
- test/fixtures/plugins/site_builder.rb
|
159
159
|
- test/fixtures/src/_data/.keep
|
160
160
|
- test/fixtures/src/_layouts/default.html
|