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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99554d6b3b3fd3287b35eebe6ff4633d6e3df24f74bede69fd65c16a81a41584
4
- data.tar.gz: 300af892bfebf34b74161432f49d93131bde2d533354fd2580204c3d341b8031
3
+ metadata.gz: cd25c3749cd867192b6243a3d607d83b4b53def14cfb81f9cfaec0f9194052fe
4
+ data.tar.gz: 9ba6512c5ff9c8a410ea424ea880baef90d0a90e1cc8b660755d3428148bb899
5
5
  SHA512:
6
- metadata.gz: 033a7f0ac2134f8a7912fbb38033a07b8f51370d5631b1e6342a7b04d451b50540fc3874c5b3153af4a18b8ce892fa9f16d24ee6909ba339d2888423ea577199
7
- data.tar.gz: df16ff9574a2b759b0bb75e53475e08b7164166af97e28d900ed1f44407826d4156ec7441bb07363362740542f698244dc78a712f4b4c1b59e9570ec598685e5
6
+ metadata.gz: adc39b260589d92b0ba86e2ee04a513677fece35b50e338ba7716a927b4706c7e2782e13b50a4f5158429621dd2248b40d4dda7804bc176e60d8e73ee3f348d2
7
+ data.tar.gz: 46a366da4e41699f7bf182967a71e1cf3cc92f06f477b655eadd939b8ca25dfd1088591dd8d1b83f563d9ebcc49b797726c59ce2c72d9ce6b63a8dc3992f7513
@@ -1,3 +1,7 @@
1
+ ## 6.5.6
2
+
3
+ * Update Kramdown version to 2.3.0 or greater
4
+
1
5
  ## 6.5.5
2
6
 
3
7
  * Prevent links in table headers being stripped (PR#187)
@@ -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, sanitize: true }.merge(options)
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
 
@@ -1,3 +1,3 @@
1
1
  module Govspeak
2
- VERSION = "6.5.5".freeze
2
+ VERSION = "6.5.6".freeze
3
3
  end
@@ -12,7 +12,7 @@ class BlockquoteExtraQuoteRemoverTest < Minitest::Test
12
12
  end
13
13
 
14
14
  test "ignores nil" do
15
- assert_leaves_untouched nil
15
+ assert_nil Govspeak::BlockquoteExtraQuoteRemover.remove(nil)
16
16
  end
17
17
 
18
18
  test "ignores text without double quotes" do
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.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-20 00:00:00.000000000 Z
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: 1.15.0
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: 1.15.0
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.9.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.9.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/govspeak_structured_headers_test.rb
382
+ - test/govspeak_link_test.rb
383
+ - test/govspeak_images_test.rb
377
384
  - test/govspeak_attachment_link_test.rb
378
- - test/govspeak_attachments_image_test.rb
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/govspeak_attachment_test.rb
387
- - test/govspeak_extract_contact_content_ids_test.rb
388
+ - test/html_sanitizer_test.rb
389
+ - test/govspeak_attachments_inline_test.rb
388
390
  - test/govspeak_test.rb
389
- - test/govspeak_link_extractor_test.rb
390
- - test/govspeak_link_test.rb
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