opensesame 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +11 -1
- data/app/controllers/open_sesame/sessions_controller.rb +6 -2
- data/lib/open_sesame.rb +8 -2
- data/lib/open_sesame/configuration.rb +23 -8
- data/lib/open_sesame/devise.rb +13 -0
- data/lib/open_sesame/engine.rb +12 -16
- data/lib/open_sesame/failure/devise_app.rb +1 -1
- data/lib/open_sesame/github_auth.rb +17 -1
- data/lib/open_sesame/github_warden.rb +6 -2
- data/lib/open_sesame/helpers/controller_helper.rb +1 -1
- data/lib/open_sesame/member.rb +52 -19
- data/lib/open_sesame/version.rb +1 -1
- data/spec/dummy/app/models/user.rb +8 -0
- data/spec/dummy/config/initializers/devise.rb +267 -0
- data/spec/dummy/config/initializers/opensesame.rb +5 -4
- data/spec/dummy/config/locales/devise.en.yml +59 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20140410210424_devise_create_users.rb +42 -0
- data/spec/dummy/db/schema.rb +19 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +153 -0
- data/spec/dummy/log/test.log +77170 -0
- data/spec/dummy/tmp/cache/assets/C72/560/sprockets%2F454956b6f70061da46ea7e27111c1008 +0 -0
- data/spec/dummy/tmp/cache/assets/C96/3A0/sprockets%2F97c9391b36c4982d0c9fc0807276627f +0 -0
- data/spec/dummy/tmp/cache/assets/CA9/460/sprockets%2F948e48dc820b40d8161dd1460b2064b9 +0 -0
- data/spec/dummy/tmp/cache/assets/CB9/D50/sprockets%2F2945a991966bdb26e54c2d48a63d6225 +0 -0
- data/spec/dummy/tmp/cache/assets/CFC/F00/sprockets%2F031f4282e0b852bc633f0bad24e56c63 +0 -0
- data/spec/dummy/tmp/cache/assets/D08/BA0/sprockets%2F796774ff7a0a9a7f394dd67d369c8693 +0 -0
- data/spec/dummy/tmp/cache/assets/D4C/C80/sprockets%2F3555b9b1ef17e63f54c7f2a819a2ce88 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D60/A00/sprockets%2F47747aad6a9bcc1d57003331c30e6cfd +0 -0
- data/spec/dummy/tmp/cache/assets/D61/6B0/sprockets%2Faa0ef972a2d713f5b0096ead0e9a0681 +0 -0
- data/spec/dummy/tmp/cache/assets/D6D/F40/sprockets%2F071c809d0cdd0bbad45a1b9f8d718858 +0 -0
- data/spec/dummy/tmp/cache/assets/D9D/E40/sprockets%2F81ceef9ff2401a52fa3d5777afa0348b +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/lib/open_sesame/configuration_spec.rb +9 -4
- data/spec/lib/open_sesame/github_warden_spec.rb +13 -8
- data/spec/lib/open_sesame/member_spec.rb +9 -25
- data/spec/lib/open_sesame/sessions_spec.rb +4 -5
- data/spec/spec_helper.rb +7 -5
- data/spec/support/capybara.rb +15 -11
- data/spec/support/request_helpers.rb +1 -1
- data/spec/support/vcr.rb +3 -2
- data/spec/vcr/1.9/member/retrieves_attributes_from_github.yml +491 -0
- data/spec/vcr/1.9/member/returns_nil_if_no_github_member_found.yml +185 -0
- data/spec/vcr/1.9/member/serialize_from_session_returns_member_from_given_member_id.yml +491 -0
- data/spec/vcr/1.9/member/serialize_into_session_returns_given_member_id_in_array.yml +491 -0
- data/spec/vcr/1.9/session/allows_auto_login.yml +491 -0
- data/spec/vcr/1.9/session/enforces_opensesame_login.yml +491 -0
- data/spec/vcr/1.9/session/skips_auto_login_if_just_logged_out.yml +491 -0
- data/spec/vcr/2.0/member/retrieves_attributes_from_github.yml +208 -0
- data/spec/vcr/2.0/member/returns_nil_if_no_github_member_found.yml +67 -0
- data/spec/vcr/2.0/member/serialize_from_session_returns_member_from_given_member_id.yml +208 -0
- data/spec/vcr/2.0/member/serialize_into_session_returns_given_member_id_in_array.yml +208 -0
- data/spec/vcr/2.0/session/allows_auto_login.yml +208 -0
- data/spec/vcr/2.0/session/enforces_opensesame_login.yml +208 -0
- data/spec/vcr/2.0/session/skips_auto_login_if_just_logged_out.yml +208 -0
- metadata +141 -81
- data/spec/vcr/member/retrieves_attributes_from_github.yml +0 -46
- data/spec/vcr/member/returns_nil_if_no_github_member_found.yml +0 -46
- data/spec/vcr/member/serialize_from_session_returns_member_from_given_member_id.yml +0 -89
- data/spec/vcr/member/serialize_into_session_returns_given_member_id_in_array.yml +0 -46
- data/spec/vcr/session/allows_auto_login.yml +0 -132
- data/spec/vcr/session/enforces_opensesame_login.yml +0 -132
- data/spec/vcr/session/skips_auto_login_if_just_logged_out.yml +0 -175
- data/spec/vcr/session/tries_auto_login_and_ends_up_on_opensesame_page_after_failure.yml +0 -46
@@ -0,0 +1,185 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/orgs/challengepost/members/-1?client_id=65c6c34afdfc113d4698&client_secret=59c44f344f9c45b4f15b03935bb2cc0501d40e46
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- application/vnd.github.beta+json
|
12
|
+
user-agent:
|
13
|
+
- Octokit Ruby Gem 2.3.1
|
14
|
+
accept-encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 404
|
19
|
+
message: !binary |-
|
20
|
+
Tm90IEZvdW5k
|
21
|
+
headers:
|
22
|
+
!binary "c2VydmVy":
|
23
|
+
- !binary |-
|
24
|
+
R2l0SHViLmNvbQ==
|
25
|
+
!binary "ZGF0ZQ==":
|
26
|
+
- !binary |-
|
27
|
+
RnJpLCAxMSBBcHIgMjAxNCAxNDo1NDo0MyBHTVQ=
|
28
|
+
!binary "Y29udGVudC10eXBl":
|
29
|
+
- !binary |-
|
30
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
31
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
32
|
+
- !binary |-
|
33
|
+
Y2h1bmtlZA==
|
34
|
+
!binary "Y29ubmVjdGlvbg==":
|
35
|
+
- !binary |-
|
36
|
+
Y2xvc2U=
|
37
|
+
!binary "c3RhdHVz":
|
38
|
+
- !binary |-
|
39
|
+
NDA0IE5vdCBGb3VuZA==
|
40
|
+
!binary "eC1yYXRlbGltaXQtbGltaXQ=":
|
41
|
+
- !binary |-
|
42
|
+
NTAwMA==
|
43
|
+
!binary "eC1yYXRlbGltaXQtcmVtYWluaW5n":
|
44
|
+
- !binary |-
|
45
|
+
NDkzOA==
|
46
|
+
!binary "eC1yYXRlbGltaXQtcmVzZXQ=":
|
47
|
+
- !binary |-
|
48
|
+
MTM5NzIzMDkyMw==
|
49
|
+
!binary "eC1naXRodWItbWVkaWEtdHlwZQ==":
|
50
|
+
- !binary |-
|
51
|
+
Z2l0aHViLmJldGE7IGZvcm1hdD1qc29u
|
52
|
+
!binary "eC14c3MtcHJvdGVjdGlvbg==":
|
53
|
+
- !binary |-
|
54
|
+
MTsgbW9kZT1ibG9jaw==
|
55
|
+
!binary "eC1mcmFtZS1vcHRpb25z":
|
56
|
+
- !binary |-
|
57
|
+
ZGVueQ==
|
58
|
+
!binary "Y29udGVudC1zZWN1cml0eS1wb2xpY3k=":
|
59
|
+
- !binary |-
|
60
|
+
ZGVmYXVsdC1zcmMgJ25vbmUn
|
61
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctY3JlZGVudGlhbHM=":
|
62
|
+
- !binary |-
|
63
|
+
dHJ1ZQ==
|
64
|
+
!binary "YWNjZXNzLWNvbnRyb2wtZXhwb3NlLWhlYWRlcnM=":
|
65
|
+
- !binary |-
|
66
|
+
RVRhZywgTGluaywgWC1HaXRIdWItT1RQLCBYLVJhdGVMaW1pdC1MaW1pdCwg
|
67
|
+
WC1SYXRlTGltaXQtUmVtYWluaW5nLCBYLVJhdGVMaW1pdC1SZXNldCwgWC1P
|
68
|
+
QXV0aC1TY29wZXMsIFgtQWNjZXB0ZWQtT0F1dGgtU2NvcGVzLCBYLVBvbGwt
|
69
|
+
SW50ZXJ2YWw=
|
70
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
|
71
|
+
- !binary |-
|
72
|
+
Kg==
|
73
|
+
!binary "eC1naXRodWItcmVxdWVzdC1pZA==":
|
74
|
+
- !binary |-
|
75
|
+
MzI0QTE4OEE6MDEzRToxQzQ3MEU6NTM0ODAyMzM=
|
76
|
+
!binary "c3RyaWN0LXRyYW5zcG9ydC1zZWN1cml0eQ==":
|
77
|
+
- !binary |-
|
78
|
+
bWF4LWFnZT0zMTUzNjAwMA==
|
79
|
+
!binary "eC1jb250ZW50LXR5cGUtb3B0aW9ucw==":
|
80
|
+
- !binary |-
|
81
|
+
bm9zbmlmZg==
|
82
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
83
|
+
- !binary |-
|
84
|
+
Z3ppcA==
|
85
|
+
body:
|
86
|
+
encoding: ASCII-8BIT
|
87
|
+
string: !binary |-
|
88
|
+
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1HSUUrJTy7NTc0rSSzJ
|
89
|
+
zM+LLy3KAcpnlJQUFFvp66eklqXm5BekFumlZ5ZklCbpJefn6pcZK9UCAP6T
|
90
|
+
TUJNAAAA
|
91
|
+
http_version: !binary |-
|
92
|
+
MS4x
|
93
|
+
recorded_at: Fri, 11 Apr 2014 14:54:53 GMT
|
94
|
+
- request:
|
95
|
+
method: get
|
96
|
+
uri: https://api.github.com/orgs/challengepost/members/-1?client_id=dummy_app_id&client_secret=dummy_secret
|
97
|
+
body:
|
98
|
+
encoding: US-ASCII
|
99
|
+
string: ''
|
100
|
+
headers:
|
101
|
+
accept:
|
102
|
+
- application/vnd.github.beta+json
|
103
|
+
user-agent:
|
104
|
+
- Octokit Ruby Gem 2.7.2
|
105
|
+
accept-encoding:
|
106
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
107
|
+
response:
|
108
|
+
status:
|
109
|
+
code: 404
|
110
|
+
message: !binary |-
|
111
|
+
Tm90IEZvdW5k
|
112
|
+
headers:
|
113
|
+
!binary "c2VydmVy":
|
114
|
+
- !binary |-
|
115
|
+
R2l0SHViLmNvbQ==
|
116
|
+
!binary "ZGF0ZQ==":
|
117
|
+
- !binary |-
|
118
|
+
RnJpLCAxMSBBcHIgMjAxNCAxODo0ODo1NSBHTVQ=
|
119
|
+
!binary "Y29udGVudC10eXBl":
|
120
|
+
- !binary |-
|
121
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
122
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
123
|
+
- !binary |-
|
124
|
+
Y2h1bmtlZA==
|
125
|
+
!binary "Y29ubmVjdGlvbg==":
|
126
|
+
- !binary |-
|
127
|
+
Y2xvc2U=
|
128
|
+
!binary "c3RhdHVz":
|
129
|
+
- !binary |-
|
130
|
+
NDA0IE5vdCBGb3VuZA==
|
131
|
+
!binary "eC1yYXRlbGltaXQtbGltaXQ=":
|
132
|
+
- !binary |-
|
133
|
+
NjA=
|
134
|
+
!binary "eC1yYXRlbGltaXQtcmVtYWluaW5n":
|
135
|
+
- !binary |-
|
136
|
+
MTg=
|
137
|
+
!binary "eC1yYXRlbGltaXQtcmVzZXQ=":
|
138
|
+
- !binary |-
|
139
|
+
MTM5NzI0MzY1MA==
|
140
|
+
!binary "eC1naXRodWItbWVkaWEtdHlwZQ==":
|
141
|
+
- !binary |-
|
142
|
+
Z2l0aHViLmJldGE7IGZvcm1hdD1qc29u
|
143
|
+
!binary "eC14c3MtcHJvdGVjdGlvbg==":
|
144
|
+
- !binary |-
|
145
|
+
MTsgbW9kZT1ibG9jaw==
|
146
|
+
!binary "eC1mcmFtZS1vcHRpb25z":
|
147
|
+
- !binary |-
|
148
|
+
ZGVueQ==
|
149
|
+
!binary "Y29udGVudC1zZWN1cml0eS1wb2xpY3k=":
|
150
|
+
- !binary |-
|
151
|
+
ZGVmYXVsdC1zcmMgJ25vbmUn
|
152
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctY3JlZGVudGlhbHM=":
|
153
|
+
- !binary |-
|
154
|
+
dHJ1ZQ==
|
155
|
+
!binary "YWNjZXNzLWNvbnRyb2wtZXhwb3NlLWhlYWRlcnM=":
|
156
|
+
- !binary |-
|
157
|
+
RVRhZywgTGluaywgWC1HaXRIdWItT1RQLCBYLVJhdGVMaW1pdC1MaW1pdCwg
|
158
|
+
WC1SYXRlTGltaXQtUmVtYWluaW5nLCBYLVJhdGVMaW1pdC1SZXNldCwgWC1P
|
159
|
+
QXV0aC1TY29wZXMsIFgtQWNjZXB0ZWQtT0F1dGgtU2NvcGVzLCBYLVBvbGwt
|
160
|
+
SW50ZXJ2YWw=
|
161
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
|
162
|
+
- !binary |-
|
163
|
+
Kg==
|
164
|
+
!binary "eC1naXRodWItcmVxdWVzdC1pZA==":
|
165
|
+
- !binary |-
|
166
|
+
MzI0QTE4OEE6MDEzRTo0MkEwOEI6NTM0ODM5MTc=
|
167
|
+
!binary "c3RyaWN0LXRyYW5zcG9ydC1zZWN1cml0eQ==":
|
168
|
+
- !binary |-
|
169
|
+
bWF4LWFnZT0zMTUzNjAwMA==
|
170
|
+
!binary "eC1jb250ZW50LXR5cGUtb3B0aW9ucw==":
|
171
|
+
- !binary |-
|
172
|
+
bm9zbmlmZg==
|
173
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
174
|
+
- !binary |-
|
175
|
+
Z3ppcA==
|
176
|
+
body:
|
177
|
+
encoding: ASCII-8BIT
|
178
|
+
string: !binary |-
|
179
|
+
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1HSUUrJTy7NTc0rSSzJ
|
180
|
+
zM+LLy3KAcpnlJQUFFvp66eklqXm5BekFumlZ5ZklCbpJefn6pcZK9UCAP6T
|
181
|
+
TUJNAAAA
|
182
|
+
http_version: !binary |-
|
183
|
+
MS4x
|
184
|
+
recorded_at: Fri, 11 Apr 2014 18:49:05 GMT
|
185
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,491 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/orgs/challengepost/members/rossta?client_id=65c6c34afdfc113d4698&client_secret=59c44f344f9c45b4f15b03935bb2cc0501d40e46
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- application/vnd.github.beta+json
|
12
|
+
user-agent:
|
13
|
+
- Octokit Ruby Gem 2.3.1
|
14
|
+
accept-encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 302
|
19
|
+
message: Found
|
20
|
+
headers:
|
21
|
+
server:
|
22
|
+
- GitHub.com
|
23
|
+
date:
|
24
|
+
- Fri, 11 Apr 2014 14:54:44 GMT
|
25
|
+
content-type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
connection:
|
28
|
+
- close
|
29
|
+
status:
|
30
|
+
- 302 Found
|
31
|
+
x-ratelimit-limit:
|
32
|
+
- '5000'
|
33
|
+
x-ratelimit-remaining:
|
34
|
+
- '4934'
|
35
|
+
x-ratelimit-reset:
|
36
|
+
- '1397230923'
|
37
|
+
location:
|
38
|
+
- https://api.github.com/organizations/199945/public_members/rossta
|
39
|
+
x-xss-protection:
|
40
|
+
- 1; mode=block
|
41
|
+
x-frame-options:
|
42
|
+
- deny
|
43
|
+
content-security-policy:
|
44
|
+
- default-src 'none'
|
45
|
+
content-length:
|
46
|
+
- '0'
|
47
|
+
access-control-allow-credentials:
|
48
|
+
- 'true'
|
49
|
+
access-control-expose-headers:
|
50
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
51
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
52
|
+
access-control-allow-origin:
|
53
|
+
- ! '*'
|
54
|
+
x-github-request-id:
|
55
|
+
- 324A188A:013E:1C47A3:53480233
|
56
|
+
strict-transport-security:
|
57
|
+
- max-age=31536000
|
58
|
+
x-content-type-options:
|
59
|
+
- nosniff
|
60
|
+
vary:
|
61
|
+
- Accept-Encoding
|
62
|
+
x-served-by:
|
63
|
+
- 88d924ed861736d2749ce1a55766cb53
|
64
|
+
body:
|
65
|
+
encoding: US-ASCII
|
66
|
+
string: ''
|
67
|
+
http_version: '1.1'
|
68
|
+
recorded_at: Fri, 11 Apr 2014 14:54:54 GMT
|
69
|
+
- request:
|
70
|
+
method: get
|
71
|
+
uri: https://api.github.com/organizations/199945/public_members/rossta?client_id=65c6c34afdfc113d4698&client_secret=59c44f344f9c45b4f15b03935bb2cc0501d40e46
|
72
|
+
body:
|
73
|
+
encoding: US-ASCII
|
74
|
+
string: ''
|
75
|
+
headers:
|
76
|
+
accept:
|
77
|
+
- application/vnd.github.beta+json
|
78
|
+
user-agent:
|
79
|
+
- Octokit Ruby Gem 2.3.1
|
80
|
+
accept-encoding:
|
81
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
82
|
+
response:
|
83
|
+
status:
|
84
|
+
code: 204
|
85
|
+
message: No Content
|
86
|
+
headers:
|
87
|
+
server:
|
88
|
+
- GitHub.com
|
89
|
+
date:
|
90
|
+
- Fri, 11 Apr 2014 14:54:44 GMT
|
91
|
+
connection:
|
92
|
+
- close
|
93
|
+
status:
|
94
|
+
- 204 No Content
|
95
|
+
x-ratelimit-limit:
|
96
|
+
- '5000'
|
97
|
+
x-ratelimit-remaining:
|
98
|
+
- '4933'
|
99
|
+
x-ratelimit-reset:
|
100
|
+
- '1397230923'
|
101
|
+
x-github-media-type:
|
102
|
+
- github.beta; format=json
|
103
|
+
x-xss-protection:
|
104
|
+
- 1; mode=block
|
105
|
+
x-frame-options:
|
106
|
+
- deny
|
107
|
+
content-security-policy:
|
108
|
+
- default-src 'none'
|
109
|
+
access-control-allow-credentials:
|
110
|
+
- 'true'
|
111
|
+
access-control-expose-headers:
|
112
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
113
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
114
|
+
access-control-allow-origin:
|
115
|
+
- ! '*'
|
116
|
+
x-github-request-id:
|
117
|
+
- 324A188A:013D:EE29F:53480234
|
118
|
+
strict-transport-security:
|
119
|
+
- max-age=31536000
|
120
|
+
x-content-type-options:
|
121
|
+
- nosniff
|
122
|
+
vary:
|
123
|
+
- Accept-Encoding
|
124
|
+
x-served-by:
|
125
|
+
- a1d8c69b807c8e21f06cad9da377d1b0
|
126
|
+
body:
|
127
|
+
encoding: US-ASCII
|
128
|
+
string: ''
|
129
|
+
http_version: '1.1'
|
130
|
+
recorded_at: Fri, 11 Apr 2014 14:54:54 GMT
|
131
|
+
- request:
|
132
|
+
method: get
|
133
|
+
uri: https://api.github.com/users/rossta?client_id=65c6c34afdfc113d4698&client_secret=59c44f344f9c45b4f15b03935bb2cc0501d40e46
|
134
|
+
body:
|
135
|
+
encoding: US-ASCII
|
136
|
+
string: ''
|
137
|
+
headers:
|
138
|
+
accept:
|
139
|
+
- application/vnd.github.beta+json
|
140
|
+
user-agent:
|
141
|
+
- Octokit Ruby Gem 2.3.1
|
142
|
+
accept-encoding:
|
143
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
144
|
+
response:
|
145
|
+
status:
|
146
|
+
code: 200
|
147
|
+
message: !binary |-
|
148
|
+
T0s=
|
149
|
+
headers:
|
150
|
+
!binary "c2VydmVy":
|
151
|
+
- !binary |-
|
152
|
+
R2l0SHViLmNvbQ==
|
153
|
+
!binary "ZGF0ZQ==":
|
154
|
+
- !binary |-
|
155
|
+
RnJpLCAxMSBBcHIgMjAxNCAxNDo1NDo0NCBHTVQ=
|
156
|
+
!binary "Y29udGVudC10eXBl":
|
157
|
+
- !binary |-
|
158
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
159
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
160
|
+
- !binary |-
|
161
|
+
Y2h1bmtlZA==
|
162
|
+
!binary "Y29ubmVjdGlvbg==":
|
163
|
+
- !binary |-
|
164
|
+
Y2xvc2U=
|
165
|
+
!binary "c3RhdHVz":
|
166
|
+
- !binary |-
|
167
|
+
MjAwIE9L
|
168
|
+
!binary "eC1yYXRlbGltaXQtbGltaXQ=":
|
169
|
+
- !binary |-
|
170
|
+
NTAwMA==
|
171
|
+
!binary "eC1yYXRlbGltaXQtcmVtYWluaW5n":
|
172
|
+
- !binary |-
|
173
|
+
NDkzMg==
|
174
|
+
!binary "eC1yYXRlbGltaXQtcmVzZXQ=":
|
175
|
+
- !binary |-
|
176
|
+
MTM5NzIzMDkyMw==
|
177
|
+
!binary "Y2FjaGUtY29udHJvbA==":
|
178
|
+
- !binary |-
|
179
|
+
cHVibGljLCBtYXgtYWdlPTYwLCBzLW1heGFnZT02MA==
|
180
|
+
!binary "bGFzdC1tb2RpZmllZA==":
|
181
|
+
- !binary |-
|
182
|
+
VGh1LCAxMCBBcHIgMjAxNCAyMjo0MDoxOCBHTVQ=
|
183
|
+
!binary "ZXRhZw==":
|
184
|
+
- !binary |-
|
185
|
+
ImY4ZmY0OWMzMWJiZTFhMTk3ZTJmYmJiYjg2YWQ1ZWRhIg==
|
186
|
+
!binary "dmFyeQ==":
|
187
|
+
- !binary |-
|
188
|
+
QWNjZXB0
|
189
|
+
- !binary |-
|
190
|
+
QWNjZXB0LUVuY29kaW5n
|
191
|
+
!binary "eC1naXRodWItbWVkaWEtdHlwZQ==":
|
192
|
+
- !binary |-
|
193
|
+
Z2l0aHViLmJldGE7IGZvcm1hdD1qc29u
|
194
|
+
!binary "eC14c3MtcHJvdGVjdGlvbg==":
|
195
|
+
- !binary |-
|
196
|
+
MTsgbW9kZT1ibG9jaw==
|
197
|
+
!binary "eC1mcmFtZS1vcHRpb25z":
|
198
|
+
- !binary |-
|
199
|
+
ZGVueQ==
|
200
|
+
!binary "Y29udGVudC1zZWN1cml0eS1wb2xpY3k=":
|
201
|
+
- !binary |-
|
202
|
+
ZGVmYXVsdC1zcmMgJ25vbmUn
|
203
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctY3JlZGVudGlhbHM=":
|
204
|
+
- !binary |-
|
205
|
+
dHJ1ZQ==
|
206
|
+
!binary "YWNjZXNzLWNvbnRyb2wtZXhwb3NlLWhlYWRlcnM=":
|
207
|
+
- !binary |-
|
208
|
+
RVRhZywgTGluaywgWC1HaXRIdWItT1RQLCBYLVJhdGVMaW1pdC1MaW1pdCwg
|
209
|
+
WC1SYXRlTGltaXQtUmVtYWluaW5nLCBYLVJhdGVMaW1pdC1SZXNldCwgWC1P
|
210
|
+
QXV0aC1TY29wZXMsIFgtQWNjZXB0ZWQtT0F1dGgtU2NvcGVzLCBYLVBvbGwt
|
211
|
+
SW50ZXJ2YWw=
|
212
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
|
213
|
+
- !binary |-
|
214
|
+
Kg==
|
215
|
+
!binary "eC1naXRodWItcmVxdWVzdC1pZA==":
|
216
|
+
- !binary |-
|
217
|
+
MzI0QTE4OEE6MDEzRjoyQTkxRkI6NTM0ODAyMzQ=
|
218
|
+
!binary "c3RyaWN0LXRyYW5zcG9ydC1zZWN1cml0eQ==":
|
219
|
+
- !binary |-
|
220
|
+
bWF4LWFnZT0zMTUzNjAwMA==
|
221
|
+
!binary "eC1jb250ZW50LXR5cGUtb3B0aW9ucw==":
|
222
|
+
- !binary |-
|
223
|
+
bm9zbmlmZg==
|
224
|
+
!binary "eC1zZXJ2ZWQtYnk=":
|
225
|
+
- !binary |-
|
226
|
+
YzA0NmQ1OWY5M2VkZTlhYjUyZDVhYzI5ZjFlZDcwZjc=
|
227
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
228
|
+
- !binary |-
|
229
|
+
Z3ppcA==
|
230
|
+
body:
|
231
|
+
encoding: ASCII-8BIT
|
232
|
+
string: !binary |-
|
233
|
+
H4sIAAAAAAAAA5VUwW6jMBT8lcjnpDYkAcplK/W40h5W3cP2EhkwYNXYyDaJ
|
234
|
+
sqj/vmOg2TbSHjiBzcy88fMbRqJMIzXJiTXOeU62RFYkj6Ik3W8JP3PP7Wmw
|
235
|
+
CoDW+97llM6b7qGRvh2KwQlbGu2F9g+l6ehAJ+43CDV24QdFUrAoeeRpVmfH
|
236
|
+
6DGJ2TGrkv1+n/KKRYe0SkC4q9PLpcYsjEKO3ly2vlN3xmZDE/gGq41S5gLm
|
237
|
+
/SH+L05vHFia36VuVvPBGanxrUD/YP09NEQ6v8bIhB9peJxkFRRwQ9aKaoWZ
|
238
|
+
hQErFw0XI7WiN5PUULjSyt5Lo9eY+sKDjrEN1/IPX6sDngM92FlTfsKDJ86Y
|
239
|
+
uDXEmTDS3sozL6+hBVaUQp7RztVid0xo+WsvMOW/cNWhudKLE6+6kKyaKye2
|
240
|
+
RPMuAH4iZpvvvK6FLoRtJjQmtuf6umQMEStbrpTQTTjrFCuACgT1HyIM+BtU
|
241
|
+
lo/KlNMFAPBDXDa/jX3bPEt/DY3quAzx/WA8NWFj4bXSCl4oGFtcFtKQXA9K
|
242
|
+
bUk/FEqWp7nheRLfdqaxJHmcfsQD8cKSfUoLlvh9lBD3aC/3qB8zlu3YcRen
|
243
|
+
L1EGch4lr7A39NVnTHTYscMuYi9xnB9YHmWv5P0vcuBjWqQEAAA=
|
244
|
+
http_version: !binary |-
|
245
|
+
MS4x
|
246
|
+
recorded_at: Fri, 11 Apr 2014 14:54:54 GMT
|
247
|
+
- request:
|
248
|
+
method: get
|
249
|
+
uri: https://api.github.com/orgs/challengepost/members/rossta?client_id=dummy_app_id&client_secret=dummy_secret
|
250
|
+
body:
|
251
|
+
encoding: US-ASCII
|
252
|
+
string: ''
|
253
|
+
headers:
|
254
|
+
accept:
|
255
|
+
- application/vnd.github.beta+json
|
256
|
+
user-agent:
|
257
|
+
- Octokit Ruby Gem 2.7.2
|
258
|
+
accept-encoding:
|
259
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
260
|
+
response:
|
261
|
+
status:
|
262
|
+
code: 302
|
263
|
+
message: Found
|
264
|
+
headers:
|
265
|
+
server:
|
266
|
+
- GitHub.com
|
267
|
+
date:
|
268
|
+
- Fri, 11 Apr 2014 18:48:56 GMT
|
269
|
+
content-type:
|
270
|
+
- text/html;charset=utf-8
|
271
|
+
connection:
|
272
|
+
- close
|
273
|
+
status:
|
274
|
+
- 302 Found
|
275
|
+
x-ratelimit-limit:
|
276
|
+
- '60'
|
277
|
+
x-ratelimit-remaining:
|
278
|
+
- '14'
|
279
|
+
x-ratelimit-reset:
|
280
|
+
- '1397243650'
|
281
|
+
location:
|
282
|
+
- https://api.github.com/organizations/199945/public_members/rossta
|
283
|
+
x-xss-protection:
|
284
|
+
- 1; mode=block
|
285
|
+
x-frame-options:
|
286
|
+
- deny
|
287
|
+
content-security-policy:
|
288
|
+
- default-src 'none'
|
289
|
+
content-length:
|
290
|
+
- '0'
|
291
|
+
access-control-allow-credentials:
|
292
|
+
- 'true'
|
293
|
+
access-control-expose-headers:
|
294
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
295
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
296
|
+
access-control-allow-origin:
|
297
|
+
- ! '*'
|
298
|
+
x-github-request-id:
|
299
|
+
- 324A188A:0140:8762C1:53483918
|
300
|
+
strict-transport-security:
|
301
|
+
- max-age=31536000
|
302
|
+
x-content-type-options:
|
303
|
+
- nosniff
|
304
|
+
vary:
|
305
|
+
- Accept-Encoding
|
306
|
+
x-served-by:
|
307
|
+
- a1d8c69b807c8e21f06cad9da377d1b0
|
308
|
+
body:
|
309
|
+
encoding: US-ASCII
|
310
|
+
string: ''
|
311
|
+
http_version: '1.1'
|
312
|
+
recorded_at: Fri, 11 Apr 2014 18:49:06 GMT
|
313
|
+
- request:
|
314
|
+
method: get
|
315
|
+
uri: https://api.github.com/organizations/199945/public_members/rossta?client_id=dummy_app_id&client_secret=dummy_secret
|
316
|
+
body:
|
317
|
+
encoding: US-ASCII
|
318
|
+
string: ''
|
319
|
+
headers:
|
320
|
+
accept:
|
321
|
+
- application/vnd.github.beta+json
|
322
|
+
user-agent:
|
323
|
+
- Octokit Ruby Gem 2.7.2
|
324
|
+
accept-encoding:
|
325
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
326
|
+
response:
|
327
|
+
status:
|
328
|
+
code: 204
|
329
|
+
message: No Content
|
330
|
+
headers:
|
331
|
+
server:
|
332
|
+
- GitHub.com
|
333
|
+
date:
|
334
|
+
- Fri, 11 Apr 2014 18:48:57 GMT
|
335
|
+
connection:
|
336
|
+
- close
|
337
|
+
status:
|
338
|
+
- 204 No Content
|
339
|
+
x-ratelimit-limit:
|
340
|
+
- '60'
|
341
|
+
x-ratelimit-remaining:
|
342
|
+
- '13'
|
343
|
+
x-ratelimit-reset:
|
344
|
+
- '1397243650'
|
345
|
+
x-github-media-type:
|
346
|
+
- github.beta; format=json
|
347
|
+
x-xss-protection:
|
348
|
+
- 1; mode=block
|
349
|
+
x-frame-options:
|
350
|
+
- deny
|
351
|
+
content-security-policy:
|
352
|
+
- default-src 'none'
|
353
|
+
access-control-allow-credentials:
|
354
|
+
- 'true'
|
355
|
+
access-control-expose-headers:
|
356
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
357
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
358
|
+
access-control-allow-origin:
|
359
|
+
- ! '*'
|
360
|
+
x-github-request-id:
|
361
|
+
- 324A188A:0140:876307:53483919
|
362
|
+
strict-transport-security:
|
363
|
+
- max-age=31536000
|
364
|
+
x-content-type-options:
|
365
|
+
- nosniff
|
366
|
+
vary:
|
367
|
+
- Accept-Encoding
|
368
|
+
x-served-by:
|
369
|
+
- 971af40390ac4398fcdd45c8dab0fbe7
|
370
|
+
body:
|
371
|
+
encoding: US-ASCII
|
372
|
+
string: ''
|
373
|
+
http_version: '1.1'
|
374
|
+
recorded_at: Fri, 11 Apr 2014 18:49:07 GMT
|
375
|
+
- request:
|
376
|
+
method: get
|
377
|
+
uri: https://api.github.com/users/rossta?client_id=dummy_app_id&client_secret=dummy_secret
|
378
|
+
body:
|
379
|
+
encoding: US-ASCII
|
380
|
+
string: ''
|
381
|
+
headers:
|
382
|
+
accept:
|
383
|
+
- application/vnd.github.beta+json
|
384
|
+
user-agent:
|
385
|
+
- Octokit Ruby Gem 2.7.2
|
386
|
+
accept-encoding:
|
387
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
388
|
+
response:
|
389
|
+
status:
|
390
|
+
code: 200
|
391
|
+
message: !binary |-
|
392
|
+
T0s=
|
393
|
+
headers:
|
394
|
+
!binary "c2VydmVy":
|
395
|
+
- !binary |-
|
396
|
+
R2l0SHViLmNvbQ==
|
397
|
+
!binary "ZGF0ZQ==":
|
398
|
+
- !binary |-
|
399
|
+
RnJpLCAxMSBBcHIgMjAxNCAxODo0ODo1NyBHTVQ=
|
400
|
+
!binary "Y29udGVudC10eXBl":
|
401
|
+
- !binary |-
|
402
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
403
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
404
|
+
- !binary |-
|
405
|
+
Y2h1bmtlZA==
|
406
|
+
!binary "Y29ubmVjdGlvbg==":
|
407
|
+
- !binary |-
|
408
|
+
Y2xvc2U=
|
409
|
+
!binary "c3RhdHVz":
|
410
|
+
- !binary |-
|
411
|
+
MjAwIE9L
|
412
|
+
!binary "eC1yYXRlbGltaXQtbGltaXQ=":
|
413
|
+
- !binary |-
|
414
|
+
NjA=
|
415
|
+
!binary "eC1yYXRlbGltaXQtcmVtYWluaW5n":
|
416
|
+
- !binary |-
|
417
|
+
MTI=
|
418
|
+
!binary "eC1yYXRlbGltaXQtcmVzZXQ=":
|
419
|
+
- !binary |-
|
420
|
+
MTM5NzI0MzY1MA==
|
421
|
+
!binary "Y2FjaGUtY29udHJvbA==":
|
422
|
+
- !binary |-
|
423
|
+
cHVibGljLCBtYXgtYWdlPTYwLCBzLW1heGFnZT02MA==
|
424
|
+
!binary "bGFzdC1tb2RpZmllZA==":
|
425
|
+
- !binary |-
|
426
|
+
RnJpLCAxMSBBcHIgMjAxNCAxNzozODo0NSBHTVQ=
|
427
|
+
!binary "ZXRhZw==":
|
428
|
+
- !binary |-
|
429
|
+
Ijc5OGM3MDA2NDBjMjcyN2JhYzNlNmMzYTM4NzIzY2MyIg==
|
430
|
+
!binary "dmFyeQ==":
|
431
|
+
- !binary |-
|
432
|
+
QWNjZXB0
|
433
|
+
- !binary |-
|
434
|
+
QWNjZXB0LUVuY29kaW5n
|
435
|
+
!binary "eC1naXRodWItbWVkaWEtdHlwZQ==":
|
436
|
+
- !binary |-
|
437
|
+
Z2l0aHViLmJldGE7IGZvcm1hdD1qc29u
|
438
|
+
!binary "eC14c3MtcHJvdGVjdGlvbg==":
|
439
|
+
- !binary |-
|
440
|
+
MTsgbW9kZT1ibG9jaw==
|
441
|
+
!binary "eC1mcmFtZS1vcHRpb25z":
|
442
|
+
- !binary |-
|
443
|
+
ZGVueQ==
|
444
|
+
!binary "Y29udGVudC1zZWN1cml0eS1wb2xpY3k=":
|
445
|
+
- !binary |-
|
446
|
+
ZGVmYXVsdC1zcmMgJ25vbmUn
|
447
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctY3JlZGVudGlhbHM=":
|
448
|
+
- !binary |-
|
449
|
+
dHJ1ZQ==
|
450
|
+
!binary "YWNjZXNzLWNvbnRyb2wtZXhwb3NlLWhlYWRlcnM=":
|
451
|
+
- !binary |-
|
452
|
+
RVRhZywgTGluaywgWC1HaXRIdWItT1RQLCBYLVJhdGVMaW1pdC1MaW1pdCwg
|
453
|
+
WC1SYXRlTGltaXQtUmVtYWluaW5nLCBYLVJhdGVMaW1pdC1SZXNldCwgWC1P
|
454
|
+
QXV0aC1TY29wZXMsIFgtQWNjZXB0ZWQtT0F1dGgtU2NvcGVzLCBYLVBvbGwt
|
455
|
+
SW50ZXJ2YWw=
|
456
|
+
!binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
|
457
|
+
- !binary |-
|
458
|
+
Kg==
|
459
|
+
!binary "eC1naXRodWItcmVxdWVzdC1pZA==":
|
460
|
+
- !binary |-
|
461
|
+
MzI0QTE4OEE6MDEzRTo0MkExRTE6NTM0ODM5MTk=
|
462
|
+
!binary "c3RyaWN0LXRyYW5zcG9ydC1zZWN1cml0eQ==":
|
463
|
+
- !binary |-
|
464
|
+
bWF4LWFnZT0zMTUzNjAwMA==
|
465
|
+
!binary "eC1jb250ZW50LXR5cGUtb3B0aW9ucw==":
|
466
|
+
- !binary |-
|
467
|
+
bm9zbmlmZg==
|
468
|
+
!binary "eC1zZXJ2ZWQtYnk=":
|
469
|
+
- !binary |-
|
470
|
+
NmQ3ZGU5ZTY0NTgxNGNhYzM0ZWEyYThkNzJiYTMxNDE=
|
471
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
472
|
+
- !binary |-
|
473
|
+
Z3ppcA==
|
474
|
+
body:
|
475
|
+
encoding: ASCII-8BIT
|
476
|
+
string: !binary |-
|
477
|
+
H4sIAAAAAAAAA5VUwW6jMBT8lcjnpMaQAOWylXpcaQ+r7mF7iQwYsGpsZJtE
|
478
|
+
2aj/vmOg2TbSHjiBzcy88fMbrkSZVmpSEGuc85xsiaxJwViaJVvCT9xzexyt
|
479
|
+
AqDzfnAFpfOme2il78ZydMJWRnuh/UNlejrSifsNQq1d+EGRlBFLH3mWN/mB
|
480
|
+
PaZxdMjrNEmSjNcR22d1CsJdnUEuNWZhFHL05rLzvbozNhuawDdYY5QyZzDv
|
481
|
+
D/F/cXrjwNL8LnW7mg/OlRrfCfQP1t9DQ6Tza4xM+CsNj6OsgwJuyFpRrzCz
|
482
|
+
MGDlrOHiSq0YzCQ1lq6ycvDS6DWmvvCgY2zLtfzD1+qA50APdtaUn/DgiRMm
|
483
|
+
bg1xJlzpYOWJV5fQAisqIU9o52qxOya0/GUQmPJfuOrQXOnFkdd9SFbDlRNb
|
484
|
+
onkfAD8Rs8133jRCl8K2ExoTO3B9WTKGiFUdV0roNpx1ihVAJYL6DxEG/A0q
|
485
|
+
y0dlqukCAPghzpvfxr5tnqW/hEb1XIb4fjCe2rCx8DppBS8VjC0uS2lIoUel
|
486
|
+
tmQYSyWr49zwIo1vO9NYkiLOPuKBeGEZfUoLlvh9VBD3aC/3qB9HUb6LDrs4
|
487
|
+
e2E5yAVLX2FvHOrPGLbfRfsdYy8sK5K82B9eyftfYYSe+6QEAAA=
|
488
|
+
http_version: !binary |-
|
489
|
+
MS4x
|
490
|
+
recorded_at: Fri, 11 Apr 2014 18:49:07 GMT
|
491
|
+
recorded_with: VCR 2.9.0
|