gh-diff 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.ja.md +298 -0
- data/README.md +113 -0
- data/Rakefile +7 -0
- data/bin/gh-diff +5 -0
- data/gh-diff.gemspec +35 -0
- data/lib/gh-diff.rb +96 -0
- data/lib/gh-diff/auth.rb +25 -0
- data/lib/gh-diff/cli.rb +165 -0
- data/lib/gh-diff/option.rb +40 -0
- data/lib/gh-diff/version.rb +3 -0
- data/spec/cassettes/auth.yml +63 -0
- data/spec/cassettes/dir.yml +74 -0
- data/spec/cassettes/docs.yml +145 -0
- data/spec/cassettes/nonexist.yml +63 -0
- data/spec/cassettes/quickstart.yml +147 -0
- data/spec/cassettes/ref-tag.yml +76 -0
- data/spec/cassettes/ref.yml +76 -0
- data/spec/cassettes/save-diff.yml +147 -0
- data/spec/cassettes/save-diffs.yml +291 -0
- data/spec/cli_spec.rb +102 -0
- data/spec/fixtures/docs/migrations.md +13 -0
- data/spec/fixtures/docs/quickstart.md +26 -0
- data/spec/fixtures/ja-docs/quickstart.ja.md +50 -0
- data/spec/gh-diff_spec.rb +138 -0
- data/spec/option_spec.rb +57 -0
- data/spec/spec_helper.rb +33 -0
- metadata +246 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json
|
12
|
+
User-Agent:
|
13
|
+
- Octokit Ruby Gem 3.1.2
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- GitHub.com
|
23
|
+
Date:
|
24
|
+
- Sun, 22 Jun 2014 13:27:48 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Status:
|
30
|
+
- 200 OK
|
31
|
+
X-Ratelimit-Limit:
|
32
|
+
- '60'
|
33
|
+
X-Ratelimit-Remaining:
|
34
|
+
- '59'
|
35
|
+
X-Ratelimit-Reset:
|
36
|
+
- '1403447268'
|
37
|
+
Cache-Control:
|
38
|
+
- public, max-age=60, s-maxage=60
|
39
|
+
Last-Modified:
|
40
|
+
- Sun, 22 Jun 2014 02:02:29 GMT
|
41
|
+
Etag:
|
42
|
+
- '"610d3bf9fd7524c6167721d0290169b5"'
|
43
|
+
X-Poll-Interval:
|
44
|
+
- '300'
|
45
|
+
Vary:
|
46
|
+
- Accept
|
47
|
+
- Accept-Encoding
|
48
|
+
X-Github-Media-Type:
|
49
|
+
- github.v3; format=json
|
50
|
+
X-Xss-Protection:
|
51
|
+
- 1; mode=block
|
52
|
+
X-Frame-Options:
|
53
|
+
- deny
|
54
|
+
Content-Security-Policy:
|
55
|
+
- default-src 'none'
|
56
|
+
Access-Control-Allow-Credentials:
|
57
|
+
- 'true'
|
58
|
+
Access-Control-Expose-Headers:
|
59
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
60
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
61
|
+
Access-Control-Allow-Origin:
|
62
|
+
- "*"
|
63
|
+
X-Github-Request-Id:
|
64
|
+
- 3C2F1730:01FC:C8BFD6A:53A6D9D3
|
65
|
+
Strict-Transport-Security:
|
66
|
+
- max-age=31536000
|
67
|
+
X-Content-Type-Options:
|
68
|
+
- nosniff
|
69
|
+
X-Served-By:
|
70
|
+
- 6d7de9e645814cac34ea2a8d72ba3141
|
71
|
+
body:
|
72
|
+
encoding: UTF-8
|
73
|
+
string: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master","object":{"sha":"e345ceb01ac613f22dda739b558ad0ba4227496a","type":"commit","url":"https://api.github.com/repos/jekyll/jekyll/git/commits/e345ceb01ac613f22dda739b558ad0ba4227496a"}}'
|
74
|
+
http_version:
|
75
|
+
recorded_at: Sun, 22 Jun 2014 13:27:48 GMT
|
76
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,147 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json
|
12
|
+
User-Agent:
|
13
|
+
- Octokit Ruby Gem 3.1.2
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- GitHub.com
|
23
|
+
Date:
|
24
|
+
- Sun, 29 Jun 2014 00:24:05 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Status:
|
30
|
+
- 200 OK
|
31
|
+
X-Ratelimit-Limit:
|
32
|
+
- '60'
|
33
|
+
X-Ratelimit-Remaining:
|
34
|
+
- '57'
|
35
|
+
X-Ratelimit-Reset:
|
36
|
+
- '1404004838'
|
37
|
+
Cache-Control:
|
38
|
+
- public, max-age=60, s-maxage=60
|
39
|
+
Last-Modified:
|
40
|
+
- Sat, 28 Jun 2014 21:20:09 GMT
|
41
|
+
Etag:
|
42
|
+
- '"cc900739c902114785938b70ec00be83"'
|
43
|
+
Vary:
|
44
|
+
- Accept
|
45
|
+
- Accept-Encoding
|
46
|
+
X-Github-Media-Type:
|
47
|
+
- github.v3; format=json
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
X-Frame-Options:
|
51
|
+
- deny
|
52
|
+
Content-Security-Policy:
|
53
|
+
- default-src 'none'
|
54
|
+
Access-Control-Allow-Credentials:
|
55
|
+
- 'true'
|
56
|
+
Access-Control-Expose-Headers:
|
57
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
58
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
59
|
+
Access-Control-Allow-Origin:
|
60
|
+
- "*"
|
61
|
+
X-Github-Request-Id:
|
62
|
+
- DE962F8B:5BB7:18FD349:53AF5CA4
|
63
|
+
Strict-Transport-Security:
|
64
|
+
- max-age=31536000
|
65
|
+
X-Content-Type-Options:
|
66
|
+
- nosniff
|
67
|
+
X-Served-By:
|
68
|
+
- 3061975e1f37121b3751604ad153c687
|
69
|
+
body:
|
70
|
+
encoding: UTF-8
|
71
|
+
string: '{"name":"quickstart.md","path":"site/docs/quickstart.md","sha":"eedb976237a3f8aef6e3f0cc205fcab284370ef7","size":728,"url":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master","html_url":"https://github.com/jekyll/jekyll/blob/master/site/docs/quickstart.md","git_url":"https://api.github.com/repos/jekyll/jekyll/git/blobs/eedb976237a3f8aef6e3f0cc205fcab284370ef7","type":"file","content":"LS0tCmxheW91dDogZG9jcwp0aXRsZTogUXVpY2stc3RhcnQgZ3VpZGUKcHJl\ndl9zZWN0aW9uOiBob21lCm5leHRfc2VjdGlvbjogaW5zdGFsbGF0aW9uCnBl\ncm1hbGluazogL2RvY3MvcXVpY2tzdGFydC8KLS0tCgpGb3IgdGhlIGltcGF0\naWVudCwgaGVyZSdzIGhvdyB0byBnZXQgYSBib2lsZXJwbGF0ZSBKZWt5bGwg\nc2l0ZSB1cCBhbmQgcnVubmluZy4KCnslIGhpZ2hsaWdodCBiYXNoICV9Cn4g\nJCBnZW0gaW5zdGFsbCBqZWt5bGwKfiAkIGpla3lsbCBuZXcgbXlibG9nCn4g\nJCBjZCBteWJsb2cKfi9teWJsb2cgJCBqZWt5bGwgc2VydmUKIyA9PiBOb3cg\nYnJvd3NlIHRvIGh0dHA6Ly9sb2NhbGhvc3Q6NDAwMAp7JSBlbmRoaWdobGln\naHQgJX0KClRoYXQncyBub3RoaW5nLCB0aG91Z2guIFRoZSByZWFsIG1hZ2lj\nIGhhcHBlbnMgd2hlbiB5b3Ugc3RhcnQgY3JlYXRpbmcgYmxvZwpwb3N0cywg\ndXNpbmcgdGhlIGZyb250LW1hdHRlciB0byBjb250cm9sIHRlbXBsYXRlcyBh\nbmQgbGF5b3V0cywgYW5kIHRha2luZwphZHZhbnRhZ2Ugb2YgYWxsIHRoZSBh\nd2Vzb21lIGNvbmZpZ3VyYXRpb24gb3B0aW9ucyBKZWt5bGwgbWFrZXMgYXZh\naWxhYmxlLgoKSWYgeW91J3JlIHJ1bm5pbmcgaW50byBwcm9ibGVtcywgZW5z\ndXJlIHlvdSBoYXZlIGFsbCB0aGUgW3JlcXVpcmVtZW50cwppbnN0YWxsZWRd\nW0luc3RhbGxhdGlvbl0uCgpbSW5zdGFsbGF0aW9uXTogL2RvY3MvaW5zdGFs\nbGF0aW9uLwo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master","git":"https://api.github.com/repos/jekyll/jekyll/git/blobs/eedb976237a3f8aef6e3f0cc205fcab284370ef7","html":"https://github.com/jekyll/jekyll/blob/master/site/docs/quickstart.md"}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sun, 29 Jun 2014 00:24:04 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
Accept:
|
82
|
+
- application/vnd.github.v3+json
|
83
|
+
User-Agent:
|
84
|
+
- Octokit Ruby Gem 3.1.2
|
85
|
+
Accept-Encoding:
|
86
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 200
|
90
|
+
message: OK
|
91
|
+
headers:
|
92
|
+
Server:
|
93
|
+
- GitHub.com
|
94
|
+
Date:
|
95
|
+
- Sun, 29 Jun 2014 00:24:06 GMT
|
96
|
+
Content-Type:
|
97
|
+
- application/json; charset=utf-8
|
98
|
+
Transfer-Encoding:
|
99
|
+
- chunked
|
100
|
+
Status:
|
101
|
+
- 200 OK
|
102
|
+
X-Ratelimit-Limit:
|
103
|
+
- '60'
|
104
|
+
X-Ratelimit-Remaining:
|
105
|
+
- '56'
|
106
|
+
X-Ratelimit-Reset:
|
107
|
+
- '1404004838'
|
108
|
+
Cache-Control:
|
109
|
+
- public, max-age=60, s-maxage=60
|
110
|
+
Last-Modified:
|
111
|
+
- Sat, 28 Jun 2014 18:54:14 GMT
|
112
|
+
Etag:
|
113
|
+
- '"8176d2e718f3b57d68b2969a1a663c4f"'
|
114
|
+
X-Poll-Interval:
|
115
|
+
- '300'
|
116
|
+
Vary:
|
117
|
+
- Accept
|
118
|
+
- Accept-Encoding
|
119
|
+
X-Github-Media-Type:
|
120
|
+
- github.v3; format=json
|
121
|
+
X-Xss-Protection:
|
122
|
+
- 1; mode=block
|
123
|
+
X-Frame-Options:
|
124
|
+
- deny
|
125
|
+
Content-Security-Policy:
|
126
|
+
- default-src 'none'
|
127
|
+
Access-Control-Allow-Credentials:
|
128
|
+
- 'true'
|
129
|
+
Access-Control-Expose-Headers:
|
130
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
131
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
132
|
+
Access-Control-Allow-Origin:
|
133
|
+
- "*"
|
134
|
+
X-Github-Request-Id:
|
135
|
+
- DE962F8B:5BB9:2DC67A7:53AF5CA5
|
136
|
+
Strict-Transport-Security:
|
137
|
+
- max-age=31536000
|
138
|
+
X-Content-Type-Options:
|
139
|
+
- nosniff
|
140
|
+
X-Served-By:
|
141
|
+
- c046d59f93ede9ab52d5ac29f1ed70f7
|
142
|
+
body:
|
143
|
+
encoding: UTF-8
|
144
|
+
string: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master","object":{"sha":"3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8","type":"commit","url":"https://api.github.com/repos/jekyll/jekyll/git/commits/3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8"}}'
|
145
|
+
http_version:
|
146
|
+
recorded_at: Sun, 29 Jun 2014 00:24:05 GMT
|
147
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,291 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json
|
12
|
+
User-Agent:
|
13
|
+
- Octokit Ruby Gem 3.1.2
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- GitHub.com
|
23
|
+
Date:
|
24
|
+
- Sun, 29 Jun 2014 00:24:06 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Status:
|
30
|
+
- 200 OK
|
31
|
+
X-Ratelimit-Limit:
|
32
|
+
- '60'
|
33
|
+
X-Ratelimit-Remaining:
|
34
|
+
- '55'
|
35
|
+
X-Ratelimit-Reset:
|
36
|
+
- '1404004838'
|
37
|
+
Cache-Control:
|
38
|
+
- public, max-age=60, s-maxage=60
|
39
|
+
Last-Modified:
|
40
|
+
- Sat, 28 Jun 2014 21:20:09 GMT
|
41
|
+
Etag:
|
42
|
+
- '"cc900739c902114785938b70ec00be83"'
|
43
|
+
Vary:
|
44
|
+
- Accept
|
45
|
+
- Accept-Encoding
|
46
|
+
X-Github-Media-Type:
|
47
|
+
- github.v3; format=json
|
48
|
+
X-Xss-Protection:
|
49
|
+
- 1; mode=block
|
50
|
+
X-Frame-Options:
|
51
|
+
- deny
|
52
|
+
Content-Security-Policy:
|
53
|
+
- default-src 'none'
|
54
|
+
Access-Control-Allow-Credentials:
|
55
|
+
- 'true'
|
56
|
+
Access-Control-Expose-Headers:
|
57
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
58
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
59
|
+
Access-Control-Allow-Origin:
|
60
|
+
- "*"
|
61
|
+
X-Github-Request-Id:
|
62
|
+
- DE962F8B:5BB9:2DC68ED:53AF5CA6
|
63
|
+
Strict-Transport-Security:
|
64
|
+
- max-age=31536000
|
65
|
+
X-Content-Type-Options:
|
66
|
+
- nosniff
|
67
|
+
X-Served-By:
|
68
|
+
- a8d8e492d6966f0c23dee2eed64c678a
|
69
|
+
body:
|
70
|
+
encoding: UTF-8
|
71
|
+
string: '{"name":"quickstart.md","path":"site/docs/quickstart.md","sha":"eedb976237a3f8aef6e3f0cc205fcab284370ef7","size":728,"url":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master","html_url":"https://github.com/jekyll/jekyll/blob/master/site/docs/quickstart.md","git_url":"https://api.github.com/repos/jekyll/jekyll/git/blobs/eedb976237a3f8aef6e3f0cc205fcab284370ef7","type":"file","content":"LS0tCmxheW91dDogZG9jcwp0aXRsZTogUXVpY2stc3RhcnQgZ3VpZGUKcHJl\ndl9zZWN0aW9uOiBob21lCm5leHRfc2VjdGlvbjogaW5zdGFsbGF0aW9uCnBl\ncm1hbGluazogL2RvY3MvcXVpY2tzdGFydC8KLS0tCgpGb3IgdGhlIGltcGF0\naWVudCwgaGVyZSdzIGhvdyB0byBnZXQgYSBib2lsZXJwbGF0ZSBKZWt5bGwg\nc2l0ZSB1cCBhbmQgcnVubmluZy4KCnslIGhpZ2hsaWdodCBiYXNoICV9Cn4g\nJCBnZW0gaW5zdGFsbCBqZWt5bGwKfiAkIGpla3lsbCBuZXcgbXlibG9nCn4g\nJCBjZCBteWJsb2cKfi9teWJsb2cgJCBqZWt5bGwgc2VydmUKIyA9PiBOb3cg\nYnJvd3NlIHRvIGh0dHA6Ly9sb2NhbGhvc3Q6NDAwMAp7JSBlbmRoaWdobGln\naHQgJX0KClRoYXQncyBub3RoaW5nLCB0aG91Z2guIFRoZSByZWFsIG1hZ2lj\nIGhhcHBlbnMgd2hlbiB5b3Ugc3RhcnQgY3JlYXRpbmcgYmxvZwpwb3N0cywg\ndXNpbmcgdGhlIGZyb250LW1hdHRlciB0byBjb250cm9sIHRlbXBsYXRlcyBh\nbmQgbGF5b3V0cywgYW5kIHRha2luZwphZHZhbnRhZ2Ugb2YgYWxsIHRoZSBh\nd2Vzb21lIGNvbmZpZ3VyYXRpb24gb3B0aW9ucyBKZWt5bGwgbWFrZXMgYXZh\naWxhYmxlLgoKSWYgeW91J3JlIHJ1bm5pbmcgaW50byBwcm9ibGVtcywgZW5z\ndXJlIHlvdSBoYXZlIGFsbCB0aGUgW3JlcXVpcmVtZW50cwppbnN0YWxsZWRd\nW0luc3RhbGxhdGlvbl0uCgpbSW5zdGFsbGF0aW9uXTogL2RvY3MvaW5zdGFs\nbGF0aW9uLwo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/quickstart.md?ref=master","git":"https://api.github.com/repos/jekyll/jekyll/git/blobs/eedb976237a3f8aef6e3f0cc205fcab284370ef7","html":"https://github.com/jekyll/jekyll/blob/master/site/docs/quickstart.md"}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sun, 29 Jun 2014 00:24:06 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: https://api.github.com/repos/jekyll/jekyll/contents/site/docs/migrations.md?ref=master
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
Accept:
|
82
|
+
- application/vnd.github.v3+json
|
83
|
+
User-Agent:
|
84
|
+
- Octokit Ruby Gem 3.1.2
|
85
|
+
Accept-Encoding:
|
86
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 200
|
90
|
+
message: OK
|
91
|
+
headers:
|
92
|
+
Server:
|
93
|
+
- GitHub.com
|
94
|
+
Date:
|
95
|
+
- Sun, 29 Jun 2014 00:24:06 GMT
|
96
|
+
Content-Type:
|
97
|
+
- application/json; charset=utf-8
|
98
|
+
Transfer-Encoding:
|
99
|
+
- chunked
|
100
|
+
Status:
|
101
|
+
- 200 OK
|
102
|
+
X-Ratelimit-Limit:
|
103
|
+
- '60'
|
104
|
+
X-Ratelimit-Remaining:
|
105
|
+
- '54'
|
106
|
+
X-Ratelimit-Reset:
|
107
|
+
- '1404004838'
|
108
|
+
Cache-Control:
|
109
|
+
- public, max-age=60, s-maxage=60
|
110
|
+
Last-Modified:
|
111
|
+
- Sat, 28 Jun 2014 21:20:09 GMT
|
112
|
+
Etag:
|
113
|
+
- '"cc1f1604a33f46a76ee717a0bef0d0db"'
|
114
|
+
Vary:
|
115
|
+
- Accept
|
116
|
+
- Accept-Encoding
|
117
|
+
X-Github-Media-Type:
|
118
|
+
- github.v3; format=json
|
119
|
+
X-Xss-Protection:
|
120
|
+
- 1; mode=block
|
121
|
+
X-Frame-Options:
|
122
|
+
- deny
|
123
|
+
Content-Security-Policy:
|
124
|
+
- default-src 'none'
|
125
|
+
Access-Control-Allow-Credentials:
|
126
|
+
- 'true'
|
127
|
+
Access-Control-Expose-Headers:
|
128
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
129
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
130
|
+
Access-Control-Allow-Origin:
|
131
|
+
- "*"
|
132
|
+
X-Github-Request-Id:
|
133
|
+
- DE962F8B:5BB7:18FD4B7:53AF5CA6
|
134
|
+
Strict-Transport-Security:
|
135
|
+
- max-age=31536000
|
136
|
+
X-Content-Type-Options:
|
137
|
+
- nosniff
|
138
|
+
X-Served-By:
|
139
|
+
- d818ddef80f4c7d10683dd483558952a
|
140
|
+
body:
|
141
|
+
encoding: UTF-8
|
142
|
+
string: '{"name":"migrations.md","path":"site/docs/migrations.md","sha":"a080c6c6ee28720ea347b0e4fe0660e3e333d501","size":359,"url":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/migrations.md?ref=master","html_url":"https://github.com/jekyll/jekyll/blob/master/site/docs/migrations.md","git_url":"https://api.github.com/repos/jekyll/jekyll/git/blobs/a080c6c6ee28720ea347b0e4fe0660e3e333d501","type":"file","content":"LS0tCmxheW91dDogZG9jcwp0aXRsZTogQmxvZyBtaWdyYXRpb25zCnByZXZf\nc2VjdGlvbjogYXNzZXRzCm5leHRfc2VjdGlvbjogdGVtcGxhdGVzCnBlcm1h\nbGluazogL2RvY3MvbWlncmF0aW9ucy8KLS0tCgpJZiB5b3XigJlyZSBzd2l0\nY2hpbmcgdG8gSmVreWxsIGZyb20gYW5vdGhlciBibG9nZ2luZyBzeXN0ZW0s\nIEpla3lsbOKAmXMgaW1wb3J0ZXJzCmNhbiBoZWxwIHlvdSB3aXRoIHRoZSBt\nb3ZlLiBUbyBsZWFybiBtb3JlIGFib3V0IGltcG9ydGluZyB5b3VyIHNpdGUg\ndG8gSmVreWxsLAp2aXNpdCBvdXIgW2BqZWt5bGwtaW1wb3J0YCBkb2NzIHNp\ndGVdKGh0dHA6Ly9pbXBvcnQuamVreWxscmIuY29tL2RvY3MvaG9tZS8pLgo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/jekyll/jekyll/contents/site/docs/migrations.md?ref=master","git":"https://api.github.com/repos/jekyll/jekyll/git/blobs/a080c6c6ee28720ea347b0e4fe0660e3e333d501","html":"https://github.com/jekyll/jekyll/blob/master/site/docs/migrations.md"}}'
|
143
|
+
http_version:
|
144
|
+
recorded_at: Sun, 29 Jun 2014 00:24:06 GMT
|
145
|
+
- request:
|
146
|
+
method: get
|
147
|
+
uri: https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master
|
148
|
+
body:
|
149
|
+
encoding: US-ASCII
|
150
|
+
string: ''
|
151
|
+
headers:
|
152
|
+
Accept:
|
153
|
+
- application/vnd.github.v3+json
|
154
|
+
User-Agent:
|
155
|
+
- Octokit Ruby Gem 3.1.2
|
156
|
+
Accept-Encoding:
|
157
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
158
|
+
response:
|
159
|
+
status:
|
160
|
+
code: 200
|
161
|
+
message: OK
|
162
|
+
headers:
|
163
|
+
Server:
|
164
|
+
- GitHub.com
|
165
|
+
Date:
|
166
|
+
- Sun, 29 Jun 2014 00:24:07 GMT
|
167
|
+
Content-Type:
|
168
|
+
- application/json; charset=utf-8
|
169
|
+
Transfer-Encoding:
|
170
|
+
- chunked
|
171
|
+
Status:
|
172
|
+
- 200 OK
|
173
|
+
X-Ratelimit-Limit:
|
174
|
+
- '60'
|
175
|
+
X-Ratelimit-Remaining:
|
176
|
+
- '53'
|
177
|
+
X-Ratelimit-Reset:
|
178
|
+
- '1404004838'
|
179
|
+
Cache-Control:
|
180
|
+
- public, max-age=60, s-maxage=60
|
181
|
+
Last-Modified:
|
182
|
+
- Sat, 28 Jun 2014 18:54:14 GMT
|
183
|
+
Etag:
|
184
|
+
- '"8176d2e718f3b57d68b2969a1a663c4f"'
|
185
|
+
X-Poll-Interval:
|
186
|
+
- '300'
|
187
|
+
Vary:
|
188
|
+
- Accept
|
189
|
+
- Accept-Encoding
|
190
|
+
X-Github-Media-Type:
|
191
|
+
- github.v3; format=json
|
192
|
+
X-Xss-Protection:
|
193
|
+
- 1; mode=block
|
194
|
+
X-Frame-Options:
|
195
|
+
- deny
|
196
|
+
Content-Security-Policy:
|
197
|
+
- default-src 'none'
|
198
|
+
Access-Control-Allow-Credentials:
|
199
|
+
- 'true'
|
200
|
+
Access-Control-Expose-Headers:
|
201
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
202
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
203
|
+
Access-Control-Allow-Origin:
|
204
|
+
- "*"
|
205
|
+
X-Github-Request-Id:
|
206
|
+
- DE962F8B:5BB9:2DC6A29:53AF5CA7
|
207
|
+
Strict-Transport-Security:
|
208
|
+
- max-age=31536000
|
209
|
+
X-Content-Type-Options:
|
210
|
+
- nosniff
|
211
|
+
X-Served-By:
|
212
|
+
- 62a1303ae95931e56e387e87d354bb24
|
213
|
+
body:
|
214
|
+
encoding: UTF-8
|
215
|
+
string: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master","object":{"sha":"3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8","type":"commit","url":"https://api.github.com/repos/jekyll/jekyll/git/commits/3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8"}}'
|
216
|
+
http_version:
|
217
|
+
recorded_at: Sun, 29 Jun 2014 00:24:07 GMT
|
218
|
+
- request:
|
219
|
+
method: get
|
220
|
+
uri: https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master
|
221
|
+
body:
|
222
|
+
encoding: US-ASCII
|
223
|
+
string: ''
|
224
|
+
headers:
|
225
|
+
Accept:
|
226
|
+
- application/vnd.github.v3+json
|
227
|
+
User-Agent:
|
228
|
+
- Octokit Ruby Gem 3.1.2
|
229
|
+
Accept-Encoding:
|
230
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
231
|
+
response:
|
232
|
+
status:
|
233
|
+
code: 200
|
234
|
+
message: OK
|
235
|
+
headers:
|
236
|
+
Server:
|
237
|
+
- GitHub.com
|
238
|
+
Date:
|
239
|
+
- Sun, 29 Jun 2014 00:24:08 GMT
|
240
|
+
Content-Type:
|
241
|
+
- application/json; charset=utf-8
|
242
|
+
Transfer-Encoding:
|
243
|
+
- chunked
|
244
|
+
Status:
|
245
|
+
- 200 OK
|
246
|
+
X-Ratelimit-Limit:
|
247
|
+
- '60'
|
248
|
+
X-Ratelimit-Remaining:
|
249
|
+
- '52'
|
250
|
+
X-Ratelimit-Reset:
|
251
|
+
- '1404004838'
|
252
|
+
Cache-Control:
|
253
|
+
- public, max-age=60, s-maxage=60
|
254
|
+
Last-Modified:
|
255
|
+
- Sat, 28 Jun 2014 18:54:14 GMT
|
256
|
+
Etag:
|
257
|
+
- '"8176d2e718f3b57d68b2969a1a663c4f"'
|
258
|
+
X-Poll-Interval:
|
259
|
+
- '300'
|
260
|
+
Vary:
|
261
|
+
- Accept
|
262
|
+
- Accept-Encoding
|
263
|
+
X-Github-Media-Type:
|
264
|
+
- github.v3; format=json
|
265
|
+
X-Xss-Protection:
|
266
|
+
- 1; mode=block
|
267
|
+
X-Frame-Options:
|
268
|
+
- deny
|
269
|
+
Content-Security-Policy:
|
270
|
+
- default-src 'none'
|
271
|
+
Access-Control-Allow-Credentials:
|
272
|
+
- 'true'
|
273
|
+
Access-Control-Expose-Headers:
|
274
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
275
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
276
|
+
Access-Control-Allow-Origin:
|
277
|
+
- "*"
|
278
|
+
X-Github-Request-Id:
|
279
|
+
- DE962F8B:5BB7:18FD5E3:53AF5CA8
|
280
|
+
Strict-Transport-Security:
|
281
|
+
- max-age=31536000
|
282
|
+
X-Content-Type-Options:
|
283
|
+
- nosniff
|
284
|
+
X-Served-By:
|
285
|
+
- 6d7de9e645814cac34ea2a8d72ba3141
|
286
|
+
body:
|
287
|
+
encoding: UTF-8
|
288
|
+
string: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/jekyll/jekyll/git/refs/heads/master","object":{"sha":"3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8","type":"commit","url":"https://api.github.com/repos/jekyll/jekyll/git/commits/3dffa8284f604e4ac87ce6eb4bc8bbaa257da8d8"}}'
|
289
|
+
http_version:
|
290
|
+
recorded_at: Sun, 29 Jun 2014 00:24:08 GMT
|
291
|
+
recorded_with: VCR 2.9.2
|