bridgetown-seo-tag 7.0.0 → 7.0.1
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/.github/workflows/tests.yml +3 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +3 -2
- data/Gemfile.lock +99 -67
- data/lib/bridgetown-seo-tag/drop.rb +4 -4
- data/lib/bridgetown-seo-tag/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 482ed8646582d17fc781f226fe1c8b4b2bbca7952e8f16dfd236c2e41c37edf1
|
|
4
|
+
data.tar.gz: 2006e957bca458404ad513b5d8a1bd324549fc2b6f2d2a7a2dc1009a74a27b1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f5cfec77b75f408052180602c361b1bc44c125491002e30d9faffe88e008501d1865453a274b4aa63374bbd986c6474b8ee29e9ecfdb4e9ebf17137800541ef
|
|
7
|
+
data.tar.gz: 0a2d3f70a6763517e442523f5f01f2ae2aaab7007a9cf479ffe3255e392c67d76caa54137e7bd290846c338705d57a77b4a58a357cb2b5524b555d02e55b072c
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -13,8 +13,9 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
strategy:
|
|
15
15
|
matrix:
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
# TODO: 3.4.0 was blowing up with html-proofer / ffi issues
|
|
17
|
+
ruby_version: [3.1.3, 3.2.0, 3.3.0]
|
|
18
|
+
bridgetown_version: [1.3.0]
|
|
18
19
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
|
19
20
|
# Has to be top level to cache properly
|
|
20
21
|
env:
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
|
@@ -4,9 +4,10 @@ source "https://rubygems.org"
|
|
|
4
4
|
|
|
5
5
|
gemspec
|
|
6
6
|
|
|
7
|
-
gem "bridgetown", "2.0.
|
|
7
|
+
gem "bridgetown", "2.0.3"
|
|
8
8
|
gem "bundler", ">= 1.15"
|
|
9
|
-
gem "
|
|
9
|
+
gem "ffi"
|
|
10
|
+
gem "html-proofer", "~> 5.0"
|
|
10
11
|
gem "rake", "~> 13.0"
|
|
11
12
|
gem "rspec", "~> 3.5"
|
|
12
13
|
gem "rubocop-bridgetown", "~> 0.3"
|
data/Gemfile.lock
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bridgetown-seo-tag (7.0.
|
|
4
|
+
bridgetown-seo-tag (7.0.1)
|
|
5
5
|
bridgetown (>= 1.3)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
+
Ascii85 (2.0.1)
|
|
10
11
|
activesupport (7.2.2.2)
|
|
11
12
|
base64
|
|
12
13
|
benchmark (>= 0.3)
|
|
@@ -21,23 +22,30 @@ GEM
|
|
|
21
22
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
22
23
|
addressable (2.8.7)
|
|
23
24
|
public_suffix (>= 2.0.2, < 7.0)
|
|
25
|
+
afm (0.2.2)
|
|
24
26
|
amazing_print (1.8.1)
|
|
25
27
|
ast (2.4.3)
|
|
28
|
+
async (2.24.0)
|
|
29
|
+
console (~> 1.29)
|
|
30
|
+
fiber-annotation
|
|
31
|
+
io-event (~> 1.9)
|
|
32
|
+
metrics (~> 0.12)
|
|
33
|
+
traces (~> 0.15)
|
|
26
34
|
base64 (0.3.0)
|
|
27
|
-
benchmark (0.
|
|
28
|
-
bigdecimal (3.
|
|
29
|
-
bridgetown (2.0.
|
|
30
|
-
bridgetown-builder (= 2.0.
|
|
31
|
-
bridgetown-core (= 2.0.
|
|
32
|
-
bridgetown-foundation (= 2.0.
|
|
33
|
-
bridgetown-paginate (= 2.0.
|
|
34
|
-
bridgetown-builder (2.0.
|
|
35
|
-
bridgetown-core (= 2.0.
|
|
36
|
-
bridgetown-core (2.0.
|
|
35
|
+
benchmark (0.5.0)
|
|
36
|
+
bigdecimal (3.3.1)
|
|
37
|
+
bridgetown (2.0.3)
|
|
38
|
+
bridgetown-builder (= 2.0.3)
|
|
39
|
+
bridgetown-core (= 2.0.3)
|
|
40
|
+
bridgetown-foundation (= 2.0.3)
|
|
41
|
+
bridgetown-paginate (= 2.0.3)
|
|
42
|
+
bridgetown-builder (2.0.3)
|
|
43
|
+
bridgetown-core (= 2.0.3)
|
|
44
|
+
bridgetown-core (2.0.3)
|
|
37
45
|
activesupport (>= 6.0, < 8.0)
|
|
38
46
|
addressable (~> 2.4)
|
|
39
47
|
amazing_print (~> 1.2)
|
|
40
|
-
bridgetown-foundation (= 2.0.
|
|
48
|
+
bridgetown-foundation (= 2.0.3)
|
|
41
49
|
csv (~> 3.2)
|
|
42
50
|
dry-inflector (>= 1.0)
|
|
43
51
|
erubi (~> 1.9)
|
|
@@ -60,15 +68,19 @@ GEM
|
|
|
60
68
|
thor (~> 1.1)
|
|
61
69
|
tilt (~> 2.0)
|
|
62
70
|
zeitwerk (~> 2.5)
|
|
63
|
-
bridgetown-foundation (2.0.
|
|
71
|
+
bridgetown-foundation (2.0.3)
|
|
64
72
|
hash_with_dot_access (~> 2.0)
|
|
65
73
|
inclusive (~> 1.0)
|
|
66
74
|
zeitwerk (~> 2.5)
|
|
67
|
-
bridgetown-paginate (2.0.
|
|
68
|
-
bridgetown-core (= 2.0.
|
|
75
|
+
bridgetown-paginate (2.0.3)
|
|
76
|
+
bridgetown-core (= 2.0.3)
|
|
69
77
|
cgi (0.5.0)
|
|
70
78
|
concurrent-ruby (1.3.5)
|
|
71
|
-
connection_pool (2.5.
|
|
79
|
+
connection_pool (2.5.4)
|
|
80
|
+
console (1.30.2)
|
|
81
|
+
fiber-annotation
|
|
82
|
+
fiber-local (~> 1.1)
|
|
83
|
+
json
|
|
72
84
|
csv (3.3.5)
|
|
73
85
|
date (3.4.1)
|
|
74
86
|
diff-lcs (1.6.2)
|
|
@@ -77,13 +89,13 @@ GEM
|
|
|
77
89
|
erb (4.0.4)
|
|
78
90
|
cgi (>= 0.3.3)
|
|
79
91
|
erubi (1.13.1)
|
|
80
|
-
ethon (0.
|
|
92
|
+
ethon (0.17.0)
|
|
81
93
|
ffi (>= 1.15.0)
|
|
82
|
-
faraday (2.
|
|
94
|
+
faraday (2.14.0)
|
|
83
95
|
faraday-net_http (>= 2.0, < 3.5)
|
|
84
96
|
json
|
|
85
97
|
logger
|
|
86
|
-
faraday-follow_redirects (0.
|
|
98
|
+
faraday-follow_redirects (0.4.0)
|
|
87
99
|
faraday (>= 1, < 3)
|
|
88
100
|
faraday-net_http (3.4.1)
|
|
89
101
|
net-http (>= 0.5.0)
|
|
@@ -95,24 +107,31 @@ GEM
|
|
|
95
107
|
ffi (1.17.2-x86_64-darwin)
|
|
96
108
|
ffi (1.17.2-x86_64-linux-gnu)
|
|
97
109
|
ffi (1.17.2-x86_64-linux-musl)
|
|
98
|
-
|
|
99
|
-
|
|
110
|
+
fiber-annotation (0.2.0)
|
|
111
|
+
fiber-local (1.1.0)
|
|
112
|
+
fiber-storage
|
|
113
|
+
fiber-storage (1.0.1)
|
|
114
|
+
hash_with_dot_access (2.2.0)
|
|
115
|
+
hashery (2.1.2)
|
|
116
|
+
html-proofer (5.0.10)
|
|
100
117
|
addressable (~> 2.3)
|
|
101
|
-
|
|
118
|
+
async (~> 2.1)
|
|
102
119
|
nokogiri (~> 1.13)
|
|
103
|
-
|
|
120
|
+
pdf-reader (~> 2.11)
|
|
104
121
|
rainbow (~> 3.0)
|
|
105
122
|
typhoeus (~> 1.3)
|
|
106
123
|
yell (~> 2.0)
|
|
124
|
+
zeitwerk (~> 2.5)
|
|
107
125
|
i18n (1.14.7)
|
|
108
126
|
concurrent-ruby (~> 1.0)
|
|
109
|
-
inclusive (1.
|
|
127
|
+
inclusive (1.1.0)
|
|
110
128
|
io-console (0.8.1)
|
|
129
|
+
io-event (1.11.2)
|
|
111
130
|
irb (1.15.2)
|
|
112
131
|
pp (>= 0.6.0)
|
|
113
132
|
rdoc (>= 4.0.0)
|
|
114
133
|
reline (>= 0.4.2)
|
|
115
|
-
json (2.
|
|
134
|
+
json (2.15.2)
|
|
116
135
|
kramdown (2.5.1)
|
|
117
136
|
rexml (>= 3.3.9)
|
|
118
137
|
kramdown-parser-gfm (1.1.0)
|
|
@@ -124,40 +143,46 @@ GEM
|
|
|
124
143
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
125
144
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
126
145
|
logger (1.7.0)
|
|
127
|
-
|
|
128
|
-
minitest (5.
|
|
146
|
+
metrics (0.12.2)
|
|
147
|
+
minitest (5.26.0)
|
|
129
148
|
net-http (0.6.0)
|
|
130
149
|
uri
|
|
131
|
-
nokogiri (1.18.
|
|
150
|
+
nokogiri (1.18.10-aarch64-linux-gnu)
|
|
132
151
|
racc (~> 1.4)
|
|
133
|
-
nokogiri (1.18.
|
|
152
|
+
nokogiri (1.18.10-aarch64-linux-musl)
|
|
134
153
|
racc (~> 1.4)
|
|
135
|
-
nokogiri (1.18.
|
|
154
|
+
nokogiri (1.18.10-arm-linux-gnu)
|
|
136
155
|
racc (~> 1.4)
|
|
137
|
-
nokogiri (1.18.
|
|
156
|
+
nokogiri (1.18.10-arm-linux-musl)
|
|
138
157
|
racc (~> 1.4)
|
|
139
|
-
nokogiri (1.18.
|
|
158
|
+
nokogiri (1.18.10-arm64-darwin)
|
|
140
159
|
racc (~> 1.4)
|
|
141
|
-
nokogiri (1.18.
|
|
160
|
+
nokogiri (1.18.10-x86_64-darwin)
|
|
142
161
|
racc (~> 1.4)
|
|
143
|
-
nokogiri (1.18.
|
|
162
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
144
163
|
racc (~> 1.4)
|
|
145
|
-
nokogiri (1.18.
|
|
164
|
+
nokogiri (1.18.10-x86_64-linux-musl)
|
|
146
165
|
racc (~> 1.4)
|
|
147
166
|
parallel (1.27.0)
|
|
148
|
-
parser (3.3.
|
|
167
|
+
parser (3.3.10.0)
|
|
149
168
|
ast (~> 2.4.1)
|
|
150
169
|
racc
|
|
151
|
-
|
|
170
|
+
pdf-reader (2.15.0)
|
|
171
|
+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
|
|
172
|
+
afm (>= 0.2.1, < 2)
|
|
173
|
+
hashery (~> 2.0)
|
|
174
|
+
ruby-rc4
|
|
175
|
+
ttfunk
|
|
176
|
+
pp (0.6.3)
|
|
152
177
|
prettyprint
|
|
153
178
|
prettyprint (0.2.0)
|
|
154
|
-
prism (1.
|
|
179
|
+
prism (1.6.0)
|
|
155
180
|
psych (5.2.6)
|
|
156
181
|
date
|
|
157
182
|
stringio
|
|
158
183
|
public_suffix (6.0.2)
|
|
159
184
|
racc (1.8.1)
|
|
160
|
-
rack (3.2.
|
|
185
|
+
rack (3.2.3)
|
|
161
186
|
rackup (2.2.1)
|
|
162
187
|
rack (>= 3)
|
|
163
188
|
rainbow (3.1.1)
|
|
@@ -165,30 +190,31 @@ GEM
|
|
|
165
190
|
rb-fsevent (0.11.2)
|
|
166
191
|
rb-inotify (0.11.1)
|
|
167
192
|
ffi (~> 1.0)
|
|
168
|
-
rdoc (6.
|
|
193
|
+
rdoc (6.15.0)
|
|
169
194
|
erb
|
|
170
195
|
psych (>= 4.0.0)
|
|
171
|
-
|
|
196
|
+
tsort
|
|
197
|
+
regexp_parser (2.11.3)
|
|
172
198
|
reline (0.6.2)
|
|
173
199
|
io-console (~> 0.5)
|
|
174
|
-
rexml (3.4.
|
|
175
|
-
roda (3.
|
|
200
|
+
rexml (3.4.4)
|
|
201
|
+
roda (3.97.0)
|
|
176
202
|
rack
|
|
177
|
-
rouge (4.6.
|
|
178
|
-
rspec (3.13.
|
|
203
|
+
rouge (4.6.1)
|
|
204
|
+
rspec (3.13.2)
|
|
179
205
|
rspec-core (~> 3.13.0)
|
|
180
206
|
rspec-expectations (~> 3.13.0)
|
|
181
207
|
rspec-mocks (~> 3.13.0)
|
|
182
|
-
rspec-core (3.13.
|
|
208
|
+
rspec-core (3.13.6)
|
|
183
209
|
rspec-support (~> 3.13.0)
|
|
184
210
|
rspec-expectations (3.13.5)
|
|
185
211
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
186
212
|
rspec-support (~> 3.13.0)
|
|
187
|
-
rspec-mocks (3.13.
|
|
213
|
+
rspec-mocks (3.13.6)
|
|
188
214
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
189
215
|
rspec-support (~> 3.13.0)
|
|
190
|
-
rspec-support (3.13.
|
|
191
|
-
rubocop (1.
|
|
216
|
+
rspec-support (3.13.6)
|
|
217
|
+
rubocop (1.81.6)
|
|
192
218
|
json (~> 2.3)
|
|
193
219
|
language_server-protocol (~> 3.17.0.2)
|
|
194
220
|
lint_roller (~> 1.1.0)
|
|
@@ -196,40 +222,45 @@ GEM
|
|
|
196
222
|
parser (>= 3.3.0.2)
|
|
197
223
|
rainbow (>= 2.2.2, < 4.0)
|
|
198
224
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
199
|
-
rubocop-ast (>= 1.
|
|
225
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
200
226
|
ruby-progressbar (~> 1.7)
|
|
201
227
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
202
|
-
rubocop-ast (1.
|
|
228
|
+
rubocop-ast (1.47.1)
|
|
203
229
|
parser (>= 3.3.7.2)
|
|
204
230
|
prism (~> 1.4)
|
|
205
|
-
rubocop-bridgetown (0.
|
|
206
|
-
rubocop (~> 1.
|
|
207
|
-
rubocop-performance (~> 1.
|
|
208
|
-
rubocop-performance (1.
|
|
231
|
+
rubocop-bridgetown (0.7.0)
|
|
232
|
+
rubocop (~> 1.72)
|
|
233
|
+
rubocop-performance (~> 1.24)
|
|
234
|
+
rubocop-performance (1.26.1)
|
|
209
235
|
lint_roller (~> 1.1)
|
|
210
236
|
rubocop (>= 1.75.0, < 2.0)
|
|
211
|
-
rubocop-ast (>= 1.
|
|
237
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
212
238
|
ruby-progressbar (1.13.0)
|
|
239
|
+
ruby-rc4 (0.1.5)
|
|
213
240
|
securerandom (0.4.1)
|
|
214
|
-
serbea (2.
|
|
215
|
-
erubi (>= 1.
|
|
216
|
-
tilt (
|
|
217
|
-
signalize (1.3.
|
|
241
|
+
serbea (2.3.0)
|
|
242
|
+
erubi (>= 1.11)
|
|
243
|
+
tilt (>= 2.1)
|
|
244
|
+
signalize (1.3.1)
|
|
218
245
|
concurrent-ruby (~> 1.2)
|
|
219
|
-
streamlined (0.6.
|
|
246
|
+
streamlined (0.6.1)
|
|
220
247
|
serbea (>= 2.1)
|
|
221
248
|
zeitwerk (~> 2.5)
|
|
222
249
|
stringio (3.1.7)
|
|
223
250
|
thor (1.4.0)
|
|
224
251
|
tilt (2.6.1)
|
|
252
|
+
traces (0.15.2)
|
|
253
|
+
tsort (0.2.0)
|
|
254
|
+
ttfunk (1.8.0)
|
|
255
|
+
bigdecimal (~> 3.1)
|
|
225
256
|
typhoeus (1.4.1)
|
|
226
257
|
ethon (>= 0.9.0)
|
|
227
258
|
tzinfo (2.0.6)
|
|
228
259
|
concurrent-ruby (~> 1.0)
|
|
229
|
-
unicode-display_width (3.
|
|
230
|
-
unicode-emoji (~> 4.
|
|
231
|
-
unicode-emoji (4.0
|
|
232
|
-
uri (1.0.
|
|
260
|
+
unicode-display_width (3.2.0)
|
|
261
|
+
unicode-emoji (~> 4.1)
|
|
262
|
+
unicode-emoji (4.1.0)
|
|
263
|
+
uri (1.0.4)
|
|
233
264
|
yell (2.2.2)
|
|
234
265
|
zeitwerk (2.6.18)
|
|
235
266
|
|
|
@@ -244,10 +275,11 @@ PLATFORMS
|
|
|
244
275
|
x86_64-linux-musl
|
|
245
276
|
|
|
246
277
|
DEPENDENCIES
|
|
247
|
-
bridgetown (= 2.0.
|
|
278
|
+
bridgetown (= 2.0.3)
|
|
248
279
|
bridgetown-seo-tag!
|
|
249
280
|
bundler (>= 1.15)
|
|
250
|
-
|
|
281
|
+
ffi
|
|
282
|
+
html-proofer (~> 5.0)
|
|
251
283
|
rake (~> 13.0)
|
|
252
284
|
rspec (~> 3.5)
|
|
253
285
|
rubocop-bridgetown (~> 0.3)
|
|
@@ -49,7 +49,7 @@ module Bridgetown
|
|
|
49
49
|
# Page title without site title or description appended
|
|
50
50
|
def page_title
|
|
51
51
|
@page_title ||= format_string(
|
|
52
|
-
if (page["title"] == "Index" || page["title"].
|
|
52
|
+
if (page["title"] == "Index" || page["title"].to_s.empty?) &&
|
|
53
53
|
site_tagline_or_description
|
|
54
54
|
"#{site_title}#{TAGLINE_SEPARATOR}#{site_tagline_or_description}"
|
|
55
55
|
else
|
|
@@ -157,10 +157,10 @@ module Bridgetown
|
|
|
157
157
|
@page_lang ||= page["lang"] || site["lang"] || "en_US"
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
def canonical_url
|
|
161
|
-
@canonical_url ||= if page["canonical_url"].to_s.
|
|
160
|
+
def canonical_url # rubocop:todo Metrics/AbcSize
|
|
161
|
+
@canonical_url ||= if page["canonical_url"].to_s.length.positive?
|
|
162
162
|
page["canonical_url"]
|
|
163
|
-
elsif page["url"].to_s.
|
|
163
|
+
elsif page["url"].to_s.length.positive?
|
|
164
164
|
filters.absolute_url(page["url"]).to_s.gsub(%r!/index\.html$!, "/")
|
|
165
165
|
else
|
|
166
166
|
filters.absolute_url(page["relative_url"]).to_s.gsub(
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bridgetown-seo-tag
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bridgetown Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bridgetown
|