spec/fixtures/octonore_cassettes/template.yml in octonore-0.0.2 vs spec/fixtures/octonore_cassettes/template.yml in octonore-0.0.3
- old
+ new
@@ -1,34 +1,59 @@
---
http_interactions:
- request:
method: get
- uri: https://api.github.com/gitignore/gitignore/templates/C
+ uri: https://api.github.com/gitignore/templates/C
body:
encoding: US-ASCII
string: ''
- headers: {}
+ headers:
+ User-Agent:
+ - octocore/0.11.0
response:
status:
- code: 403
- message: Forbidden
+ code: 200
+ message: OK
headers:
Server:
- GitHub.com
Date:
- - Thu, 23 May 2013 08:52:40 GMT
+ - Fri, 24 May 2013 01:15:28 GMT
Content-Type:
- - application/octet-stream
- Content-Length:
- - '107'
+ - application/json; charset=utf-8
Connection:
- keep-alive
+ Status:
+ - 200 OK
+ X-Ratelimit-Limit:
+ - '60'
+ X-Ratelimit-Remaining:
+ - '49'
+ X-Github-Media-Type:
+ - github.beta; format=json
+ X-Content-Type-Options:
+ - nosniff
+ Content-Length:
+ - '180'
+ Access-Control-Allow-Credentials:
+ - 'true'
+ Access-Control-Expose-Headers:
+ - ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-OAuth-Scopes, X-Accepted-OAuth-Scopes
+ Access-Control-Allow-Origin:
+ - '*'
+ Etag:
+ - '"547a43504d718cb7bc42ed51aae7f643"'
+ Cache-Control:
+ - max-age=0, private, must-revalidate
+ Vary:
+ - Accept-Encoding
body:
encoding: UTF-8
- string: '{"message":"Missing or invalid User Agent string. See http://developer.github.com/v3/#user-agent-required"}'
+ string: '{"name":"C","source":"# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n#
+ Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n"}'
http_version:
- recorded_at: Thu, 23 May 2013 08:52:40 GMT
+ recorded_at: Fri, 24 May 2013 01:15:29 GMT
- request:
method: get
uri: https://api.github.com/gitignore/templates/C
body:
encoding: US-ASCII
@@ -42,21 +67,21 @@
message: OK
headers:
Server:
- GitHub.com
Date:
- - Thu, 23 May 2013 08:52:40 GMT
+ - Fri, 24 May 2013 01:15:29 GMT
Content-Type:
- application/json; charset=utf-8
Connection:
- keep-alive
Status:
- 200 OK
X-Ratelimit-Limit:
- '60'
X-Ratelimit-Remaining:
- - '51'
+ - '48'
X-Github-Media-Type:
- github.beta; format=json
X-Content-Type-Options:
- nosniff
Content-Length:
@@ -76,7 +101,52 @@
body:
encoding: UTF-8
string: '{"name":"C","source":"# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n#
Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n"}'
http_version:
- recorded_at: Thu, 23 May 2013 08:52:40 GMT
+ recorded_at: Fri, 24 May 2013 01:15:29 GMT
+- request:
+ method: get
+ uri: https://api.github.com/gitignore/templates/invalid
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - octocore/0.11.0
+ response:
+ status:
+ code: 404
+ message: Not Found
+ headers:
+ Server:
+ - GitHub.com
+ Date:
+ - Fri, 24 May 2013 01:15:29 GMT
+ Content-Type:
+ - application/json; charset=utf-8
+ Connection:
+ - keep-alive
+ Status:
+ - 404 Not Found
+ X-Ratelimit-Limit:
+ - '60'
+ X-Ratelimit-Remaining:
+ - '47'
+ X-Github-Media-Type:
+ - github.beta; format=json
+ X-Content-Type-Options:
+ - nosniff
+ Content-Length:
+ - '23'
+ Access-Control-Allow-Credentials:
+ - 'true'
+ Access-Control-Expose-Headers:
+ - ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-OAuth-Scopes, X-Accepted-OAuth-Scopes
+ Access-Control-Allow-Origin:
+ - '*'
+ body:
+ encoding: UTF-8
+ string: '{"message":"Not Found"}'
+ http_version:
+ recorded_at: Fri, 24 May 2013 01:15:29 GMT
recorded_with: VCR 2.5.0