spec/fixtures/vcr_cassettes/failure_ranks.yml in PageRankr-3.2.1 vs spec/fixtures/vcr_cassettes/failure_ranks.yml in PageRankr-4.0.0

- old
+ new

@@ -1,134 +1,203 @@ ---- -http_interactions: -- request: +--- +http_interactions: +- request: method: get uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, - like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: code: 200 - message: !binary |- - T0s= - headers: - !binary "Q29udGVudC1UeXBl": - - !binary |- - dGV4dC94bWw= - !binary "Q29udGVudC1MZW5ndGg=": - - !binary |- - Mjc4 - !binary "Q29ubmVjdGlvbg==": - - !binary |- - a2VlcC1hbGl2ZQ== - body: - encoding: ASCII-8BIT - string: !binary |- - PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg0KPEFM - RVhBIFZFUj0iMC45IiBVUkw9InBsZWFzZS1kb250LXJlZ2lzdGVyLWEtc2l0 - ZS10aGF0LWJyZWFrcy10aGlzLXRlc3QuY29tLyIgSE9NRT0iMCIgQUlEPSI9 - Ij4NCjxSTFMgUFJFRklYPSJodHRwOi8vIiBtb3JlPSIwIj4KPC9STFM+CjxT - RCBUSVRMRT0iQSIgRkxBR1M9IiIgSE9TVD0icGxlYXNlLWRvbnQtcmVnaXN0 - ZXItYS1zaXRlLXRoYXQtYnJlYWtzLXRoaXMtdGVzdC5jb20iPgo8L1NEPgoK - PC9BTEVYQT4= - http_version: !binary |- - MS4x - recorded_at: Sat, 12 May 2012 18:39:16 GMT -- request: + message: OK + headers: + connection: + - Close + content-type: + - text/xml + content-length: + - "278" + body: + string: |- + <?xml version="1.0" encoding="UTF-8"?> + + <ALEXA VER="0.9" URL="please-dont-register-a-site-that-breaks-this-test.com/" HOME="0" AID="="> + <RLS PREFIX="http://" more="0"> + </RLS> + <SD TITLE="A" FLAGS="" HOST="please-dont-register-a-site-that-breaks-this-test.com"> + </SD> + + </ALEXA> + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT +- request: method: get - uri: http://toolbarqueries.google.com/tbr?ch=63624986523&client=navclient-auto&features=Rank&q=info%3Aplease-dont-register-a-site-that-breaks-this-test.com - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, - like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: code: 200 - message: !binary |- - T0s= - headers: - !binary "RGF0ZQ==": - - !binary |- - U2F0LCAxMiBNYXkgMjAxMiAxODozOTowOCBHTVQ= - !binary "UHJhZ21h": - - !binary |- - bm8tY2FjaGU= - !binary "RXhwaXJlcw==": - - !binary |- - RnJpLCAwMSBKYW4gMTk5MCAwMDowMDowMCBHTVQ= - !binary "Q2FjaGUtQ29udHJvbA==": - - !binary |- - bm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZQ== - !binary "Q29udGVudC1UeXBl": - - !binary |- - dGV4dC9odG1sOyBjaGFyc2V0PUlTTy04ODU5LTE= - !binary "U2V0LUNvb2tpZQ==": - - !binary |- - UFJFRj1JRD1hYjI1NTYzYzkzYTYxYTkxOkZGPTA6VE09MTMzNjg0Nzk0ODpM - TT0xMzM2ODQ3OTQ4OlM9d3hYQjBqdXhBdDVxTmlMWDsgZXhwaXJlcz1Nb24s - IDEyLU1heS0yMDE0IDE4OjM5OjA4IEdNVDsgcGF0aD0vOyBkb21haW49Lmdv - b2dsZS5jb20= - !binary "U2VydmVy": - - !binary |- - Z3dz - !binary "Q29udGVudC1MZW5ndGg=": - - !binary |- - MA== - !binary "WC1Yc3MtUHJvdGVjdGlvbg==": - - !binary |- - MTsgbW9kZT1ibG9jaw== - !binary "WC1GcmFtZS1PcHRpb25z": - - !binary |- - U0FNRU9SSUdJTg== - body: - encoding: ASCII-8BIT - string: !binary "" - http_version: !binary |- - MS4x - recorded_at: Sat, 12 May 2012 18:39:17 GMT -- request: + message: OK + headers: + connection: + - Close + content-type: + - text/xml + content-length: + - "278" + body: + string: |- + <?xml version="1.0" encoding="UTF-8"?> + + <ALEXA VER="0.9" URL="please-dont-register-a-site-that-breaks-this-test.com/" HOME="0" AID="="> + <RLS PREFIX="http://" more="0"> + </RLS> + <SD TITLE="A" FLAGS="" HOST="please-dont-register-a-site-that-breaks-this-test.com"> + </SD> + + </ALEXA> + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT +- request: method: get - uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, - like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: + uri: http://toolbarqueries.google.com/tbr?features=Rank&q=info%3Aplease-dont-register-a-site-that-breaks-this-test.com&client=navclient-auto&ch=63624986523 + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: code: 200 - message: !binary |- - T0s= - headers: - !binary "Q29udGVudC1UeXBl": - - !binary |- - dGV4dC94bWw= - !binary "Q29udGVudC1MZW5ndGg=": - - !binary |- - Mjc4 - !binary "Q29ubmVjdGlvbg==": - - !binary |- - a2VlcC1hbGl2ZQ== - body: - encoding: ASCII-8BIT - string: !binary |- - PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg0KPEFM - RVhBIFZFUj0iMC45IiBVUkw9InBsZWFzZS1kb250LXJlZ2lzdGVyLWEtc2l0 - ZS10aGF0LWJyZWFrcy10aGlzLXRlc3QuY29tLyIgSE9NRT0iMCIgQUlEPSI9 - Ij4NCjxSTFMgUFJFRklYPSJodHRwOi8vIiBtb3JlPSIwIj4KPC9STFM+CjxT - RCBUSVRMRT0iQSIgRkxBR1M9IiIgSE9TVD0icGxlYXNlLWRvbnQtcmVnaXN0 - ZXItYS1zaXRlLXRoYXQtYnJlYWtzLXRoaXMtdGVzdC5jb20iPgo8L1NEPgoK - PC9BTEVYQT4= - http_version: !binary |- - MS4x - recorded_at: Sat, 12 May 2012 18:39:17 GMT -recorded_with: VCR 2.0.1 + message: OK + headers: + date: + - Mon, 17 Dec 2012 17:03:45 GMT + x-frame-options: + - SAMEORIGIN + set-cookie: + - PREF=ID=2e1388a52c6f0cc6:FF=0:TM=1355763825:LM=1355763825:S=9BA0IYGOrX8y23jT; expires=Wed, 17-Dec-2014 17:03:45 GMT; path=/; domain=.google.com + - NID=67=NMO-PBacn7BgKa0-CRV6Qop5XnR4sr1OJBFXv9CzqIdbWbfKnb7f2qIswPHnRWm7DRnhdxqD2eWpZBpCELo6-URGr_GcAHRti_PHmGlxV9R0DTOd5CvThB2wHOTmbRkp; expires=Tue, 18-Jun-2013 17:03:45 GMT; path=/; domain=.google.com; HttpOnly + cache-control: + - no-cache, must-revalidate + server: + - gws + x-xss-protection: + - 1; mode=block + connection: + - close + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + pragma: + - no-cache + content-type: + - text/html; charset=ISO-8859-1 + content-length: + - "0" + expires: + - Fri, 01 Jan 1990 00:00:00 GMT + body: + string: "" + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT +- request: + method: get + uri: http://data.alexa.com/data?dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com&cli=10 + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + connection: + - Close + content-type: + - text/xml + content-length: + - "30" + body: + string: | + + <ALEXA VER="0.9" URL="404"/> + + http_version: "1.1" + recorded_at: Tue, 18 Dec 2012 01:21:41 GMT +- request: + method: get + uri: http://data.alexa.com/data?dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com&cli=10 + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + connection: + - Close + content-type: + - text/xml + content-length: + - "30" + body: + string: | + + <ALEXA VER="0.9" URL="404"/> + + http_version: "1.1" + recorded_at: Tue, 18 Dec 2012 01:21:41 GMT +- request: + method: get + uri: http://toolbarqueries.google.com/tbr?client=navclient-auto&ch=63624986523&features=Rank&q=info%3Aplease-dont-register-a-site-that-breaks-this-test.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + x-frame-options: + - SAMEORIGIN + date: + - Tue, 18 Dec 2012 01:21:41 GMT + set-cookie: + - PREF=ID=10f461c3c0c846b8:FF=0:TM=1355793701:LM=1355793701:S=LT1u1l_1S3Zv-4Xa; expires=Thu, 18-Dec-2014 01:21:41 GMT; path=/; domain=.google.com + - NID=67=QNWz_zdrqgeeq1MuVvCo_efN0CQVTkZYFrTVhcrrFvhJjryFwo8wEN0mgfv302j6OPVu5n6VzltExKLKHy6qZkG50Pqly--Zx3knM6YoIlNfaEM5AZrEPWzutMwhsfTH; expires=Wed, 19-Jun-2013 01:21:41 GMT; path=/; domain=.google.com; HttpOnly + cache-control: + - no-cache, must-revalidate + server: + - gws + x-xss-protection: + - 1; mode=block + connection: + - close + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + content-type: + - text/html; charset=ISO-8859-1 + pragma: + - no-cache + content-length: + - "0" + expires: + - Fri, 01 Jan 1990 00:00:00 GMT + body: + string: "" + http_version: "1.1" + recorded_at: Tue, 18 Dec 2012 01:21:41 GMT +recorded_with: VCR 2.3.0