govspeak 6.2.0 → 6.2.1

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: 8f4b2e89725aba68cf9965f46da83bc82a1db1db0c7a12196d0d39feffbdeeb9
4
- data.tar.gz: 7270344803d8cc4185a4b1068744e957fef700f00c38be5a1c07df01d550682c
3
+ metadata.gz: 39b6f369a4fda004a0d426e27bd298465354769215c0e5147caa0191456879c1
4
+ data.tar.gz: ad5e45eb16183f9498ba686ff3694c7ec645c0d2959f271b9cae39746e090934
5
5
  SHA512:
6
- metadata.gz: e8f3c856283a4e752c4d16b9b346c07532b1932e6874054695243dd63bd8650fa77dcd4c962de99c6ae49fb54c21e71b7291663a8795a863cd63f022a8afb790
7
- data.tar.gz: dfee1a3832ab8c2fdaeeba352f5a070c35453eb10b9514a8c1869b415e21a3c753446bec38785a46a921ff6a527cc970c6e82c66fbeea03687d62900bd7d43e9
6
+ metadata.gz: 162a60aad8e18cb213a6df073c9d3f3fae8dc41d490cea9ed871804b3e9d66d1829e2f8a58a20e07d09d80af595450110a4dbc4c7b424dc8d0b990fec0d17da7
7
+ data.tar.gz: f5ba3ef15abed2fd01750ce68f6aff8482c7e7407d6f4ac689e75f23aa7f6fa507171e2eae1815424c4593686234351fc88d12d09c63dde9b560409f9c3a9fd0
@@ -1,3 +1,7 @@
1
+ ## 6.2.1
2
+
3
+ * Update warning callout label text from 'Help' to 'Warning'
4
+
1
5
  # 6.2.0
2
6
 
3
7
  * Remove experimental status on `AttachementLink:attachment-id` and `Attachement:attachment-id`
data/README.md CHANGED
@@ -44,7 +44,7 @@ creates a callout with an info (i) icon.
44
44
  creates a callout with a warning or alert (!) icon
45
45
 
46
46
  ```html
47
- <div role="note" aria-label="Help" class="application-notice help-notice">
47
+ <div role="note" aria-label="Warning" class="application-notice help-notice">
48
48
  <p>This is a warning callout</p>
49
49
  </div>
50
50
  ```
@@ -191,7 +191,7 @@ module Govspeak
191
191
  }
192
192
 
193
193
  extension('helpful', surrounded_by("%")) { |body|
194
- %{\n\n<div role="note" aria-label="Help" class="application-notice help-notice">\n#{Govspeak::Document.new(body.strip).to_html}</div>\n}
194
+ %{\n\n<div role="note" aria-label="Warning" class="application-notice help-notice">\n#{Govspeak::Document.new(body.strip).to_html}</div>\n}
195
195
  }
196
196
 
197
197
  extension('barchart', /{barchart(.*?)}/) do |captures|
@@ -1,3 +1,3 @@
1
1
  module Govspeak
2
- VERSION = "6.2.0".freeze
2
+ VERSION = "6.2.1".freeze
3
3
  end
@@ -194,7 +194,7 @@ Teston
194
194
 
195
195
  test_given_govspeak "% I am very helpful %" do
196
196
  assert_html_output %{
197
- <div role="note" aria-label="Help" class="application-notice help-notice">
197
+ <div role="note" aria-label="Warning" class="application-notice help-notice">
198
198
  <p>I am very helpful</p>
199
199
  </div>}
200
200
  assert_text_output "I am very helpful"
@@ -204,7 +204,7 @@ Teston
204
204
  assert_html_output %{
205
205
  <p>The following is very helpful</p>
206
206
 
207
- <div role="note" aria-label="Help" class="application-notice help-notice">
207
+ <div role="note" aria-label="Warning" class="application-notice help-notice">
208
208
  <p>I am very helpful</p>
209
209
  </div>}
210
210
  assert_text_output "The following is very helpful I am very helpful"
@@ -214,7 +214,7 @@ Teston
214
214
  assert_html_output %{
215
215
  <h2 id="hello">Hello</h2>
216
216
 
217
- <div role="note" aria-label="Help" class="application-notice help-notice">
217
+ <div role="note" aria-label="Warning" class="application-notice help-notice">
218
218
  <p>I am very helpful</p>
219
219
  </div>
220
220
 
@@ -224,7 +224,7 @@ Teston
224
224
 
225
225
  test_given_govspeak "% I am very helpful" do
226
226
  assert_html_output %{
227
- <div role="note" aria-label="Help" class="application-notice help-notice">
227
+ <div role="note" aria-label="Warning" class="application-notice help-notice">
228
228
  <p>I am very helpful</p>
229
229
  </div>}
230
230
  assert_text_output "I am very helpful"
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.2.0
4
+ version: 6.2.1
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: 2019-06-03 00:00:00.000000000 Z
11
+ date: 2019-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -344,22 +344,22 @@ signing_key:
344
344
  specification_version: 4
345
345
  summary: Markup language for single domain
346
346
  test_files:
347
- - test/govspeak_attachments_inline_test.rb
348
- - test/govspeak_attachment_test.rb
349
347
  - test/govspeak_attachment_link_test.rb
350
- - test/govspeak_images_test.rb
351
- - test/govspeak_link_test.rb
352
- - test/govspeak_images_bang_test.rb
353
- - test/govspeak_link_extractor_test.rb
354
- - test/govspeak_contacts_test.rb
355
348
  - test/test_helper.rb
349
+ - test/govspeak_button_test.rb
356
350
  - test/govspeak_test.rb
357
- - test/govspeak_attachments_image_test.rb
358
351
  - test/html_validator_test.rb
359
- - test/govspeak_structured_headers_test.rb
360
- - test/govspeak_extract_contact_content_ids_test.rb
361
- - test/blockquote_extra_quote_remover_test.rb
362
- - test/presenters/h_card_presenter_test.rb
363
- - test/govspeak_button_test.rb
352
+ - test/govspeak_attachment_test.rb
353
+ - test/govspeak_contacts_test.rb
364
354
  - test/govspeak_test_helper.rb
355
+ - test/blockquote_extra_quote_remover_test.rb
356
+ - test/govspeak_attachments_image_test.rb
365
357
  - test/html_sanitizer_test.rb
358
+ - test/govspeak_link_test.rb
359
+ - test/govspeak_extract_contact_content_ids_test.rb
360
+ - test/govspeak_structured_headers_test.rb
361
+ - test/govspeak_images_test.rb
362
+ - test/presenters/h_card_presenter_test.rb
363
+ - test/govspeak_images_bang_test.rb
364
+ - test/govspeak_link_extractor_test.rb
365
+ - test/govspeak_attachments_inline_test.rb