govspeak 6.5.5 → 6.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/govspeak.rb +3 -1
- data/lib/govspeak/version.rb +1 -1
- data/test/blockquote_extra_quote_remover_test.rb +1 -1
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd25c3749cd867192b6243a3d607d83b4b53def14cfb81f9cfaec0f9194052fe
|
4
|
+
data.tar.gz: 9ba6512c5ff9c8a410ea424ea880baef90d0a90e1cc8b660755d3428148bb899
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc39b260589d92b0ba86e2ee04a513677fece35b50e338ba7716a927b4706c7e2782e13b50a4f5158429621dd2248b40d4dda7804bc176e60d8e73ee3f348d2
|
7
|
+
data.tar.gz: 46a366da4e41699f7bf182967a71e1cf3cc92f06f477b655eadd939b8ca25dfd1088591dd8d1b83f563d9ebcc49b797726c59ce2c72d9ce6b63a8dc3992f7513
|
data/CHANGELOG.md
CHANGED
data/lib/govspeak.rb
CHANGED
@@ -57,7 +57,9 @@ module Govspeak
|
|
57
57
|
@links = Array.wrap(options.delete(:links))
|
58
58
|
@contacts = Array.wrap(options.delete(:contacts))
|
59
59
|
@locale = options.fetch(:locale, "en")
|
60
|
-
@options = { input: PARSER_CLASS_NAME,
|
60
|
+
@options = { input: PARSER_CLASS_NAME,
|
61
|
+
sanitize: true,
|
62
|
+
syntax_highlighter: nil }.merge(options)
|
61
63
|
@options[:entity_output] = :symbolic
|
62
64
|
end
|
63
65
|
|
data/lib/govspeak/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govspeak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.5.
|
4
|
+
version: 6.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -96,16 +96,16 @@ dependencies:
|
|
96
96
|
name: kramdown
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- - "
|
99
|
+
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 2.3.0
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- - "
|
106
|
+
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
108
|
+
version: 2.3.0
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: nokogiri
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,16 +200,16 @@ dependencies:
|
|
200
200
|
name: rake
|
201
201
|
requirement: !ruby/object:Gem::Requirement
|
202
202
|
requirements:
|
203
|
-
- - "
|
203
|
+
- - ">="
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version: 0
|
205
|
+
version: '0'
|
206
206
|
type: :development
|
207
207
|
prerelease: false
|
208
208
|
version_requirements: !ruby/object:Gem::Requirement
|
209
209
|
requirements:
|
210
|
-
- - "
|
210
|
+
- - ">="
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
version: 0
|
212
|
+
version: '0'
|
213
213
|
- !ruby/object:Gem::Dependency
|
214
214
|
name: rubocop-govuk
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
@@ -371,23 +371,23 @@ signing_key:
|
|
371
371
|
specification_version: 4
|
372
372
|
summary: Markup language for single domain
|
373
373
|
test_files:
|
374
|
+
- test/govspeak_link_extractor_test.rb
|
375
|
+
- test/govspeak_structured_headers_test.rb
|
376
|
+
- test/govspeak_images_bang_test.rb
|
377
|
+
- test/govspeak_button_test.rb
|
378
|
+
- test/govspeak_table_with_headers_test.rb
|
379
|
+
- test/govspeak_extract_contact_content_ids_test.rb
|
374
380
|
- test/blockquote_extra_quote_remover_test.rb
|
375
381
|
- test/govspeak_test_helper.rb
|
376
|
-
- test/
|
382
|
+
- test/govspeak_link_test.rb
|
383
|
+
- test/govspeak_images_test.rb
|
377
384
|
- test/govspeak_attachment_link_test.rb
|
378
|
-
- test/
|
385
|
+
- test/govspeak_contacts_test.rb
|
379
386
|
- test/test_helper.rb
|
380
|
-
- test/govspeak_attachments_inline_test.rb
|
381
|
-
- test/html_sanitizer_test.rb
|
382
|
-
- test/govspeak_button_test.rb
|
383
|
-
- test/govspeak_images_bang_test.rb
|
384
|
-
- test/govspeak_images_test.rb
|
385
387
|
- test/html_validator_test.rb
|
386
|
-
- test/
|
387
|
-
- test/
|
388
|
+
- test/html_sanitizer_test.rb
|
389
|
+
- test/govspeak_attachments_inline_test.rb
|
388
390
|
- test/govspeak_test.rb
|
389
|
-
- test/
|
390
|
-
- test/
|
391
|
-
- test/govspeak_contacts_test.rb
|
391
|
+
- test/govspeak_attachment_test.rb
|
392
|
+
- test/govspeak_attachments_image_test.rb
|
392
393
|
- test/presenters/h_card_presenter_test.rb
|
393
|
-
- test/govspeak_table_with_headers_test.rb
|