govspeak 6.6.0 → 6.7.0
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/README.md +1 -1
- data/lib/govspeak/version.rb +1 -1
- data/lib/templates/contact.html.erb +1 -1
- data/test/govspeak_contacts_test.rb +2 -2
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14e93ed0928bdacce945ae5d1ea81d3bbc40508fcc1875c59e02297aed7f78e8
|
4
|
+
data.tar.gz: b6f7f01034081da748db3d02e81fe31f72f155f2921de02b6d07f65d04587e09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00e6e768ecdc8ce782f849957370199bdbfde7a85973c83366590b09155395455f62be45e86bcf8864053070ecb3a9560645bef410e562121ef08acefe2bccac
|
7
|
+
data.tar.gz: dd68a811064c4e63a092b00ffef191db7f3221308eb84cf916304b8e2207522baea4e37226c09527c4dc25f618b74b2604b39fc96ac986dfbb8008e93454f8fb
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -598,8 +598,8 @@ will output
|
|
598
598
|
```html
|
599
599
|
<div id="contact_123" class="contact">
|
600
600
|
<div class="content">
|
601
|
-
<h3>Government Digital Service</h3>
|
602
601
|
<div class="vcard contact-inner">
|
602
|
+
<p>Government Digital Service</p>
|
603
603
|
<div class="email-url-number">
|
604
604
|
<p class="email">
|
605
605
|
<span class="type">Email</span>
|
data/lib/govspeak/version.rb
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
%>
|
5
5
|
<div id="contact_<%= contact.content_id %>" class="<%= ['contact', extra_class].flatten.join(' ') %>">
|
6
6
|
<div class="content">
|
7
|
-
<h3><%= contact.title %></h3>
|
8
7
|
<div class="vcard contact-inner">
|
8
|
+
<p><%= contact.title %></p>
|
9
9
|
<% contact.post_addresses.each do |address| %>
|
10
10
|
<%= Govspeak::HCardPresenter.new(address).render %>
|
11
11
|
<% end %>
|
@@ -62,8 +62,8 @@ class GovspeakContactsTest < Minitest::Test
|
|
62
62
|
expected_html_output = %(
|
63
63
|
<div id="contact_4f3383e4-48a2-4461-a41d-f85ea8b89ba0" class="contact postal-address">
|
64
64
|
<div class="content">
|
65
|
-
<h3>Government Digital Service</h3>
|
66
65
|
<div class="vcard contact-inner">
|
66
|
+
<p>Government Digital Service</p>
|
67
67
|
<p class="adr">
|
68
68
|
<span class="street-address">125 Kingsway</span><br>
|
69
69
|
<span class="locality">Holborn</span><br>
|
@@ -106,8 +106,8 @@ class GovspeakContactsTest < Minitest::Test
|
|
106
106
|
expected_html_output = %(
|
107
107
|
<div id="contact_4f3383e4-48a2-4461-a41d-f85ea8b89ba0" class="contact">
|
108
108
|
<div class="content">
|
109
|
-
<h3>Government Digital Service</h3>
|
110
109
|
<div class="vcard contact-inner">
|
110
|
+
<p>Government Digital Service</p>
|
111
111
|
<div class="email-url-number">
|
112
112
|
<p class="email">
|
113
113
|
<span class="type">Email</span>
|
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.
|
4
|
+
version: 6.7.0
|
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: 2021-
|
11
|
+
date: 2021-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -372,24 +372,24 @@ signing_key:
|
|
372
372
|
specification_version: 4
|
373
373
|
summary: Markup language for single domain
|
374
374
|
test_files:
|
375
|
+
- test/govspeak_footnote_test.rb
|
376
|
+
- test/html_sanitizer_test.rb
|
377
|
+
- test/govspeak_test.rb
|
375
378
|
- test/test_helper.rb
|
376
379
|
- test/blockquote_extra_quote_remover_test.rb
|
377
|
-
- test/govspeak_images_bang_test.rb
|
378
|
-
- test/govspeak_contacts_test.rb
|
379
|
-
- test/govspeak_table_with_headers_test.rb
|
380
|
-
- test/govspeak_link_extractor_test.rb
|
381
|
-
- test/govspeak_attachments_image_test.rb
|
382
|
-
- test/html_validator_test.rb
|
383
380
|
- test/govspeak_button_test.rb
|
384
|
-
- test/
|
385
|
-
- test/
|
386
|
-
- test/
|
381
|
+
- test/html_validator_test.rb
|
382
|
+
- test/govspeak_link_extractor_test.rb
|
383
|
+
- test/govspeak_attachment_link_test.rb
|
387
384
|
- test/govspeak_link_test.rb
|
385
|
+
- test/govspeak_contacts_test.rb
|
388
386
|
- test/govspeak_structured_headers_test.rb
|
389
|
-
- test/html_sanitizer_test.rb
|
390
387
|
- test/govspeak_images_test.rb
|
391
|
-
- test/
|
392
|
-
- test/
|
388
|
+
- test/govspeak_extract_contact_content_ids_test.rb
|
389
|
+
- test/govspeak_table_with_headers_test.rb
|
393
390
|
- test/govspeak_attachment_test.rb
|
394
|
-
- test/presenters/h_card_presenter_test.rb
|
395
391
|
- test/govspeak_attachments_inline_test.rb
|
392
|
+
- test/presenters/h_card_presenter_test.rb
|
393
|
+
- test/govspeak_test_helper.rb
|
394
|
+
- test/govspeak_images_bang_test.rb
|
395
|
+
- test/govspeak_attachments_image_test.rb
|