File: replace_google_html.patch

package info (click to toggle)
ruby-httparty 0.16.2%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 840 kB
  • sloc: ruby: 5,567; xml: 425; sh: 35; makefile: 12
file content (19 lines) | stat: -rw-r--r-- 635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use a simple replacement for the non-free google.html page
 removed from the tarball
Bug: https://github.com/jnunemaker/httparty/issues/605
Last-Update: 2018-08-16
Author: Cédric Boutillier <boutil@debian.org>

--- /dev/null
+++ b/spec/fixtures/google.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
+    <title>Title</title>
+  </head>
+  <body>
+    <h1>Section</h1>
+  </body>
+</html>