Bump nokogiri

This commit is contained in:
Benjamin Neff 2021-11-26 01:58:57 +01:00
parent 9b563a6360
commit e8817d3082
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 12 additions and 13 deletions

View file

@ -105,12 +105,12 @@ GEM
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2021.0225)
mini_portile2 (2.5.3)
mini_portile2 (2.6.1)
minitest (5.14.4)
multi_xml (0.6.0)
multipart-post (2.1.1)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nyan-cat-formatter (0.12.0)
rspec (>= 2.99, >= 2.14.2, < 4)

View file

@ -27,7 +27,7 @@ module DiasporaFederation
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta charset="UTF-8"></meta>
<meta charset="UTF-8"/>
<title>#{person.full_name}</title>
</head>
<body>
@ -86,19 +86,19 @@ module DiasporaFederation
<dl class="entity_photo">
<dt>Photo</dt>
<dd>
<img class="photo avatar" width="300" height="300" src="#{photo_large_url}"></img>
<img class="photo avatar" width="300" height="300" src="#{photo_large_url}"/>
</dd>
</dl>
<dl class="entity_photo_medium">
<dt>Photo_medium</dt>
<dd>
<img class="photo avatar" width="100" height="100" src="#{photo_medium_url}"></img>
<img class="photo avatar" width="100" height="100" src="#{photo_medium_url}"/>
</dd>
</dl>
<dl class="entity_photo_small">
<dt>Photo_small</dt>
<dd>
<img class="photo avatar" width="50" height="50" src="#{photo_small_url}"></img>
<img class="photo avatar" width="50" height="50" src="#{photo_small_url}"/>
</dd>
</dl>
</div>
@ -137,10 +137,9 @@ module DiasporaFederation
it "reads minimal hCard" do
minimal_html = <<~HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8" />
<meta charset="UTF-8"/>
<title>#{person.full_name}</title>
</head>
<body>
@ -187,19 +186,19 @@ module DiasporaFederation
<dl class="entity_photo">
<dt>Photo</dt>
<dd>
<img class="photo avatar" width="300" height="300" src="#{photo_large_url}" />
<img class="photo avatar" width="300" height="300" src="#{photo_large_url}"/>
</dd>
</dl>
<dl class="entity_photo_medium">
<dt>Photo_medium</dt>
<dd>
<img class="photo avatar" width="100" height="100" src="#{photo_medium_url}" />
<img class="photo avatar" width="100" height="100" src="#{photo_medium_url}"/>
</dd>
</dl>
<dl class="entity_photo_small">
<dt>Photo_small</dt>
<dd>
<img class="photo avatar" width="50" height="50" src="#{photo_small_url}" />
<img class="photo avatar" width="50" height="50" src="#{photo_small_url}"/>
</dd>
</dl>
</div>