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 (3.3.1)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2021.0225) mime-types-data (3.2021.0225)
mini_portile2 (2.5.3) mini_portile2 (2.6.1)
minitest (5.14.4) minitest (5.14.4)
multi_xml (0.6.0) multi_xml (0.6.0)
multipart-post (2.1.1) multipart-post (2.1.1)
nokogiri (1.11.7) nokogiri (1.12.5)
mini_portile2 (~> 2.5.0) mini_portile2 (~> 2.6.1)
racc (~> 1.4) racc (~> 1.4)
nyan-cat-formatter (0.12.0) nyan-cat-formatter (0.12.0)
rspec (>= 2.99, >= 2.14.2, < 4) 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"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html> <html>
<head> <head>
<meta charset="UTF-8"></meta> <meta charset="UTF-8"/>
<title>#{person.full_name}</title> <title>#{person.full_name}</title>
</head> </head>
<body> <body>
@ -86,19 +86,19 @@ module DiasporaFederation
<dl class="entity_photo"> <dl class="entity_photo">
<dt>Photo</dt> <dt>Photo</dt>
<dd> <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> </dd>
</dl> </dl>
<dl class="entity_photo_medium"> <dl class="entity_photo_medium">
<dt>Photo_medium</dt> <dt>Photo_medium</dt>
<dd> <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> </dd>
</dl> </dl>
<dl class="entity_photo_small"> <dl class="entity_photo_small">
<dt>Photo_small</dt> <dt>Photo_small</dt>
<dd> <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> </dd>
</dl> </dl>
</div> </div>
@ -137,9 +137,8 @@ module DiasporaFederation
it "reads minimal hCard" do it "reads minimal hCard" do
minimal_html = <<~HTML minimal_html = <<~HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <!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> <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> <title>#{person.full_name}</title>
</head> </head>