leadlight 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/Gemfile.lock +20 -18
  2. data/default.gems +1 -1
  3. data/leadlight.gemspec +24 -4
  4. data/lib/leadlight.rb +4 -5
  5. data/lib/leadlight/connection_builder.rb +29 -0
  6. data/lib/leadlight/errors.rb +11 -5
  7. data/lib/leadlight/hyperlinkable.rb +31 -10
  8. data/lib/leadlight/lib_ext.rb +3 -0
  9. data/lib/leadlight/lib_ext/faraday/README +6 -0
  10. data/lib/leadlight/lib_ext/faraday/adapter.rb +7 -0
  11. data/lib/leadlight/lib_ext/faraday/builder.rb +47 -0
  12. data/lib/leadlight/lib_ext/faraday/connection.rb +40 -0
  13. data/lib/leadlight/lib_ext/faraday/middleware.rb +7 -0
  14. data/lib/leadlight/link.rb +91 -4
  15. data/lib/leadlight/link_template.rb +13 -5
  16. data/lib/leadlight/null_link.rb +21 -0
  17. data/lib/leadlight/param_hash.rb +42 -0
  18. data/lib/leadlight/representation.rb +23 -3
  19. data/lib/leadlight/request.rb +42 -10
  20. data/lib/leadlight/service.rb +11 -9
  21. data/lib/leadlight/service_class_methods.rb +11 -3
  22. data/lib/leadlight/tint_helper.rb +32 -2
  23. data/spec/cassettes/Leadlight/authorized_GitHub_example/_user/has_the_expected_content.yml +72 -54
  24. data/spec/cassettes/Leadlight/authorized_GitHub_example/_user/indicates_the_expected_oath_scopes.yml +73 -55
  25. data/spec/cassettes/Leadlight/authorized_GitHub_example/adding_and_removing_team_members.yml +353 -265
  26. data/spec/cassettes/Leadlight/authorized_GitHub_example/adding_and_removing_teams.yml +75 -175
  27. data/spec/cassettes/Leadlight/authorized_GitHub_example/team_list/should_have_a_link_back_to_the_org.yml +196 -0
  28. data/spec/cassettes/Leadlight/authorized_GitHub_example/test_team/.yml +152 -108
  29. data/spec/cassettes/Leadlight/authorized_GitHub_example/test_team/has_a_root_link.yml +197 -0
  30. data/spec/cassettes/Leadlight/basic_GitHub_example/_root/.yml +15 -43
  31. data/spec/cassettes/Leadlight/basic_GitHub_example/_root/__location__/.yml +15 -43
  32. data/spec/cassettes/Leadlight/basic_GitHub_example/_root/should_be_a_204_no_content.yml +15 -43
  33. data/spec/cassettes/Leadlight/tinted_GitHub_example/_root/.yml +15 -43
  34. data/spec/cassettes/Leadlight/tinted_GitHub_example/_root/__location__/.yml +15 -43
  35. data/spec/cassettes/Leadlight/tinted_GitHub_example/_root/should_be_a_204_no_content.yml +15 -43
  36. data/spec/cassettes/Leadlight/tinted_GitHub_example/_user/has_the_expected_content.yml +35 -90
  37. data/spec/cassettes/Leadlight/tinted_GitHub_example/bad_links/enables_custom_error_matching.yml +25 -17
  38. data/spec/cassettes/Leadlight/tinted_GitHub_example/bad_links/should_raise_ResourceNotFound.yml +26 -90
  39. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_followers/.yml +57 -140
  40. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_followers/should_be_able_to_follow_next_link.yml +79 -192
  41. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_followers/should_be_enumerable.yml +279 -350
  42. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_followers/should_be_enumerable_over_page_boundaries.yml +98 -243
  43. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_followers/should_have_next_and_last_links.yml +59 -142
  44. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_link/exists.yml +15 -43
  45. data/spec/cassettes/Leadlight/tinted_GitHub_example/user_link/links_to_the_expected_URL.yml +15 -43
  46. data/spec/leadlight/hyperlinkable_spec.rb +50 -4
  47. data/spec/leadlight/link_spec.rb +70 -10
  48. data/spec/leadlight/link_template_spec.rb +20 -4
  49. data/spec/leadlight/null_link_spec.rb +14 -0
  50. data/spec/leadlight/param_hash_spec.rb +26 -0
  51. data/spec/leadlight/representation_spec.rb +36 -4
  52. data/spec/leadlight/request_spec.rb +39 -22
  53. data/spec/leadlight/service_spec.rb +14 -13
  54. data/spec/leadlight/tint_helper_spec.rb +36 -2
  55. data/spec/leadlight_spec.rb +31 -17
  56. data/spec/support/link_matchers.rb +59 -0
  57. data/spec/support/misc.rb +9 -0
  58. metadata +49 -34
@@ -1,153 +1,197 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://api.github.com/
6
- body: ""
7
- headers:
8
- Authorization:
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
9
11
  - <AUTH FILTERED>
10
- Accept:
11
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html, text/plain
12
- response:
13
- status:
12
+ Accept:
13
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
+ text/plain
15
+ response:
16
+ status:
14
17
  code: 204
15
18
  message:
16
- headers:
17
- server:
18
- - nginx/1.0.4
19
- date:
20
- - Sun, 15 Jan 2012 19:38:46 GMT
21
- connection:
19
+ headers:
20
+ server:
21
+ - nginx/1.0.13
22
+ date:
23
+ - Wed, 01 Aug 2012 19:39:09 GMT
24
+ connection:
22
25
  - close
23
- status:
26
+ status:
24
27
  - 204 No Content
25
- x-ratelimit-limit:
26
- - "5000"
27
- etag:
28
- - "\"d41d8cd98f00b204e9800998ecf8427e\""
29
- x-oauth-scopes:
28
+ x-oauth-scopes:
30
29
  - repo
31
- x-ratelimit-remaining:
32
- - "4990"
33
- body: ""
30
+ x-ratelimit-remaining:
31
+ - '4977'
32
+ cache-control:
33
+ - ''
34
+ x-ratelimit-limit:
35
+ - '5000'
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
34
39
  http_version:
35
- recorded_at: Sun, 15 Jan 2012 19:38:46 GMT
36
- - request:
40
+ recorded_at: Wed, 01 Aug 2012 19:38:58 GMT
41
+ - request:
37
42
  method: get
38
43
  uri: https://api.github.com/orgs/shiprise
39
- body: ""
40
- headers:
41
- Authorization:
44
+ body:
45
+ encoding: US-ASCII
46
+ string: ''
47
+ headers:
48
+ Authorization:
42
49
  - <AUTH FILTERED>
43
- Accept:
44
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html, text/plain
45
- response:
46
- status:
50
+ Accept:
51
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
52
+ text/plain
53
+ response:
54
+ status:
47
55
  code: 200
48
56
  message:
49
- headers:
50
- server:
51
- - nginx/1.0.4
52
- date:
53
- - Sun, 15 Jan 2012 19:38:46 GMT
54
- content-type:
57
+ headers:
58
+ server:
59
+ - nginx/1.0.13
60
+ date:
61
+ - Wed, 01 Aug 2012 19:39:09 GMT
62
+ content-type:
55
63
  - application/json; charset=utf-8
56
- transfer-encoding:
64
+ transfer-encoding:
57
65
  - chunked
58
- connection:
66
+ connection:
59
67
  - close
60
- status:
68
+ status:
61
69
  - 200 OK
62
- x-ratelimit-limit:
63
- - "5000"
64
- etag:
65
- - "\"7af429e044ae12cbc1a71285d496b944\""
66
- x-oauth-scopes:
70
+ etag:
71
+ - ! '"5d02babf97893a4583b7052dec00a037"'
72
+ cache-control:
73
+ - private, max-age=60
74
+ vary:
75
+ - Accept, Authorization, Cookie
76
+ x-ratelimit-remaining:
77
+ - '4976'
78
+ last-modified:
79
+ - Fri, 27 Jul 2012 04:06:17 GMT
80
+ x-oauth-scopes:
67
81
  - repo
68
- x-ratelimit-remaining:
69
- - "4989"
70
- x-accepted-oauth-scopes:
82
+ x-ratelimit-limit:
83
+ - '5000'
84
+ x-accepted-oauth-scopes:
71
85
  - repo
72
- body: "{\"collaborators\":0,\"type\":\"Organization\",\"created_at\":\"2011-10-27T20:49:51Z\",\"email\":\"avdi@shiprise.net\",\"avatar_url\":\"https://secure.gravatar.com/avatar/6dd3c12e97a46ff08c358542cae955e2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png\",\"public_repos\":0,\"url\":\"https://api.github.com/orgs/ShipRise\",\"login\":\"ShipRise\",\"followers\":0,\"following\":0,\"total_private_repos\":1,\"billing_email\":\"avdi@shiprise.net\",\"blog\":\"http://shiprise.net\",\"owned_private_repos\":1,\"public_gists\":0,\"name\":\"ShipRise\",\"disk_usage\":552,\"plan\":{\"space\":2516582,\"private_repos\":10,\"name\":\"bronze\"},\"location\":null,\"id\":1156570,\"private_gists\":0,\"html_url\":\"https://github.com/ShipRise\",\"company\":null}"
86
+ body:
87
+ encoding: ASCII-8BIT
88
+ string: ! '{"private_gists":0,"followers":0,"type":"Organization","blog":"http://shiprise.net","billing_email":"avdi@shiprise.net","total_private_repos":5,"disk_usage":22816,"owned_private_repos":5,"following":0,"location":null,"collaborators":0,"login":"ShipRise","public_repos":0,"html_url":"https://github.com/ShipRise","name":"ShipRise","email":null,"avatar_url":"https://secure.gravatar.com/avatar/6dd3c12e97a46ff08c358542cae955e2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/orgs/ShipRise","public_gists":0,"created_at":"2011-10-27T20:49:51Z","company":null,"id":1156570,"plan":{"private_repos":10,"space":2516582,"name":"bronze"}}'
73
89
  http_version:
74
- recorded_at: Sun, 15 Jan 2012 19:38:46 GMT
75
- - request:
90
+ recorded_at: Wed, 01 Aug 2012 19:38:59 GMT
91
+ - request:
76
92
  method: get
77
93
  uri: https://api.github.com/orgs/shiprise/teams
78
- body: ""
79
- headers:
80
- Authorization:
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Authorization:
81
99
  - <AUTH FILTERED>
82
- Accept:
83
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html, text/plain
84
- response:
85
- status:
100
+ Accept:
101
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
102
+ text/plain
103
+ response:
104
+ status:
86
105
  code: 200
87
106
  message:
88
- headers:
89
- server:
90
- - nginx/1.0.4
91
- date:
92
- - Sun, 15 Jan 2012 19:38:46 GMT
93
- content-type:
107
+ headers:
108
+ server:
109
+ - nginx/1.0.13
110
+ date:
111
+ - Wed, 01 Aug 2012 19:39:10 GMT
112
+ content-type:
94
113
  - application/json; charset=utf-8
95
- transfer-encoding:
114
+ transfer-encoding:
96
115
  - chunked
97
- connection:
116
+ connection:
98
117
  - close
99
- status:
118
+ status:
100
119
  - 200 OK
101
- x-ratelimit-limit:
102
- - "5000"
103
- etag:
104
- - "\"00457d8d71ef8c5f77fd729ddcc288b7\""
105
- x-oauth-scopes:
120
+ x-accepted-oauth-scopes:
106
121
  - repo
107
- x-ratelimit-remaining:
108
- - "4988"
109
- x-accepted-oauth-scopes:
122
+ x-oauth-scopes:
110
123
  - repo
111
- body: "[{\"url\":\"https://api.github.com/teams/111894\",\"name\":\"BitBindery Development\",\"id\":111894},{\"url\":\"https://api.github.com/teams/127491\",\"name\":\"Leadlight Test Team\",\"id\":127491},{\"url\":\"https://api.github.com/teams/104018\",\"name\":\"Owners\",\"id\":104018}]"
124
+ last-modified:
125
+ - Mon, 09 Jul 2012 22:52:35 GMT
126
+ vary:
127
+ - Accept, Authorization, Cookie
128
+ x-ratelimit-limit:
129
+ - '5000'
130
+ cache-control:
131
+ - private, max-age=60
132
+ x-ratelimit-remaining:
133
+ - '4975'
134
+ etag:
135
+ - ! '"ae0dfae72ca6d563953a4ca8f906e03b"'
136
+ body:
137
+ encoding: ASCII-8BIT
138
+ string: ! '[{"url":"https://api.github.com/teams/111894","name":"BitBindery
139
+ Development","id":111894,"permission":"push"},{"url":"https://api.github.com/teams/210238","name":"BitBindery
140
+ Test Team","id":210238,"permission":"pull"},{"url":"https://api.github.com/teams/127491","name":"Leadlight
141
+ Test Team","id":127491,"permission":"pull"},{"url":"https://api.github.com/teams/176711","name":"Objects
142
+ on Rails Readers","id":176711,"permission":"pull"},{"url":"https://api.github.com/teams/104018","name":"Owners","id":104018,"permission":"admin"},{"url":"https://api.github.com/teams/154780","name":"Publishing","id":154780,"permission":"push"},{"url":"https://api.github.com/teams/148656","name":"ShipRise
143
+ Internal","id":148656,"permission":"pull"}]'
112
144
  http_version:
113
- recorded_at: Sun, 15 Jan 2012 19:38:46 GMT
114
- - request:
145
+ recorded_at: Wed, 01 Aug 2012 19:38:59 GMT
146
+ - request:
115
147
  method: get
116
148
  uri: https://api.github.com/teams/127491
117
- body: ""
118
- headers:
119
- Authorization:
149
+ body:
150
+ encoding: US-ASCII
151
+ string: ''
152
+ headers:
153
+ Authorization:
120
154
  - <AUTH FILTERED>
121
- Accept:
122
- - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html, text/plain
123
- response:
124
- status:
155
+ Accept:
156
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
157
+ text/plain
158
+ response:
159
+ status:
125
160
  code: 200
126
161
  message:
127
- headers:
128
- server:
129
- - nginx/1.0.4
130
- date:
131
- - Sun, 15 Jan 2012 19:38:47 GMT
132
- content-type:
162
+ headers:
163
+ server:
164
+ - nginx/1.0.13
165
+ date:
166
+ - Wed, 01 Aug 2012 19:39:10 GMT
167
+ content-type:
133
168
  - application/json; charset=utf-8
134
- transfer-encoding:
169
+ transfer-encoding:
135
170
  - chunked
136
- connection:
171
+ connection:
137
172
  - close
138
- status:
173
+ status:
139
174
  - 200 OK
140
- x-ratelimit-limit:
141
- - "5000"
142
- etag:
143
- - "\"bf758b4f06b0f92ee4712bfdfd9a06b2\""
144
- x-oauth-scopes:
175
+ vary:
176
+ - Accept, Authorization, Cookie
177
+ x-ratelimit-remaining:
178
+ - '4974'
179
+ cache-control:
180
+ - private, max-age=60
181
+ x-ratelimit-limit:
182
+ - '5000'
183
+ etag:
184
+ - ! '"7873ec2b76a99d0d68e8010119dd9e25"'
185
+ last-modified:
186
+ - Sat, 20 Oct 2007 11:24:19 GMT
187
+ x-oauth-scopes:
145
188
  - repo
146
- x-ratelimit-remaining:
147
- - "4987"
148
- x-accepted-oauth-scopes:
189
+ x-accepted-oauth-scopes:
149
190
  - repo
150
- body: "{\"url\":\"https://api.github.com/teams/127491\",\"members_count\":0,\"repos_count\":0,\"permission\":\"pull\",\"name\":\"Leadlight Test Team\",\"id\":127491}"
191
+ body:
192
+ encoding: ASCII-8BIT
193
+ string: ! '{"members_count":0,"url":"https://api.github.com/teams/127491","name":"Leadlight
194
+ Test Team","repos_count":0,"id":127491,"permission":"pull"}'
151
195
  http_version:
152
- recorded_at: Sun, 15 Jan 2012 19:38:47 GMT
153
- recorded_with: VCR 2.0.0.rc1
196
+ recorded_at: Wed, 01 Aug 2012 19:38:59 GMT
197
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,197 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - <AUTH FILTERED>
12
+ Accept:
13
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
+ text/plain
15
+ response:
16
+ status:
17
+ code: 204
18
+ message:
19
+ headers:
20
+ server:
21
+ - nginx/1.0.13
22
+ date:
23
+ - Wed, 01 Aug 2012 19:39:10 GMT
24
+ connection:
25
+ - close
26
+ status:
27
+ - 204 No Content
28
+ x-oauth-scopes:
29
+ - repo
30
+ x-ratelimit-limit:
31
+ - '5000'
32
+ cache-control:
33
+ - ''
34
+ x-ratelimit-remaining:
35
+ - '4973'
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ http_version:
40
+ recorded_at: Wed, 01 Aug 2012 19:39:00 GMT
41
+ - request:
42
+ method: get
43
+ uri: https://api.github.com/orgs/shiprise
44
+ body:
45
+ encoding: US-ASCII
46
+ string: ''
47
+ headers:
48
+ Authorization:
49
+ - <AUTH FILTERED>
50
+ Accept:
51
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
52
+ text/plain
53
+ response:
54
+ status:
55
+ code: 200
56
+ message:
57
+ headers:
58
+ server:
59
+ - nginx/1.0.13
60
+ date:
61
+ - Wed, 01 Aug 2012 19:39:10 GMT
62
+ content-type:
63
+ - application/json; charset=utf-8
64
+ transfer-encoding:
65
+ - chunked
66
+ connection:
67
+ - close
68
+ status:
69
+ - 200 OK
70
+ vary:
71
+ - Accept, Authorization, Cookie
72
+ x-ratelimit-remaining:
73
+ - '4972'
74
+ cache-control:
75
+ - private, max-age=60
76
+ x-ratelimit-limit:
77
+ - '5000'
78
+ etag:
79
+ - ! '"5d02babf97893a4583b7052dec00a037"'
80
+ last-modified:
81
+ - Fri, 27 Jul 2012 04:06:17 GMT
82
+ x-oauth-scopes:
83
+ - repo
84
+ x-accepted-oauth-scopes:
85
+ - repo
86
+ body:
87
+ encoding: ASCII-8BIT
88
+ string: ! '{"collaborators":0,"followers":0,"type":"Organization","private_gists":0,"billing_email":"avdi@shiprise.net","public_repos":0,"disk_usage":22816,"following":0,"location":null,"total_private_repos":5,"avatar_url":"https://secure.gravatar.com/avatar/6dd3c12e97a46ff08c358542cae955e2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","blog":"http://shiprise.net","login":"ShipRise","owned_private_repos":5,"html_url":"https://github.com/ShipRise","name":"ShipRise","email":null,"url":"https://api.github.com/orgs/ShipRise","created_at":"2011-10-27T20:49:51Z","company":null,"id":1156570,"plan":{"private_repos":10,"space":2516582,"name":"bronze"},"public_gists":0}'
89
+ http_version:
90
+ recorded_at: Wed, 01 Aug 2012 19:39:00 GMT
91
+ - request:
92
+ method: get
93
+ uri: https://api.github.com/orgs/shiprise/teams
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Authorization:
99
+ - <AUTH FILTERED>
100
+ Accept:
101
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
102
+ text/plain
103
+ response:
104
+ status:
105
+ code: 200
106
+ message:
107
+ headers:
108
+ server:
109
+ - nginx/1.0.13
110
+ date:
111
+ - Wed, 01 Aug 2012 19:39:11 GMT
112
+ content-type:
113
+ - application/json; charset=utf-8
114
+ transfer-encoding:
115
+ - chunked
116
+ connection:
117
+ - close
118
+ status:
119
+ - 200 OK
120
+ x-ratelimit-remaining:
121
+ - '4971'
122
+ x-oauth-scopes:
123
+ - repo
124
+ last-modified:
125
+ - Mon, 09 Jul 2012 22:52:35 GMT
126
+ vary:
127
+ - Accept, Authorization, Cookie
128
+ x-accepted-oauth-scopes:
129
+ - repo
130
+ cache-control:
131
+ - private, max-age=60
132
+ etag:
133
+ - ! '"ae0dfae72ca6d563953a4ca8f906e03b"'
134
+ x-ratelimit-limit:
135
+ - '5000'
136
+ body:
137
+ encoding: ASCII-8BIT
138
+ string: ! '[{"url":"https://api.github.com/teams/111894","name":"BitBindery
139
+ Development","id":111894,"permission":"push"},{"url":"https://api.github.com/teams/210238","name":"BitBindery
140
+ Test Team","id":210238,"permission":"pull"},{"url":"https://api.github.com/teams/127491","name":"Leadlight
141
+ Test Team","id":127491,"permission":"pull"},{"url":"https://api.github.com/teams/176711","name":"Objects
142
+ on Rails Readers","id":176711,"permission":"pull"},{"url":"https://api.github.com/teams/104018","name":"Owners","id":104018,"permission":"admin"},{"url":"https://api.github.com/teams/154780","name":"Publishing","id":154780,"permission":"push"},{"url":"https://api.github.com/teams/148656","name":"ShipRise
143
+ Internal","id":148656,"permission":"pull"}]'
144
+ http_version:
145
+ recorded_at: Wed, 01 Aug 2012 19:39:00 GMT
146
+ - request:
147
+ method: get
148
+ uri: https://api.github.com/teams/127491
149
+ body:
150
+ encoding: US-ASCII
151
+ string: ''
152
+ headers:
153
+ Authorization:
154
+ - <AUTH FILTERED>
155
+ Accept:
156
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
157
+ text/plain
158
+ response:
159
+ status:
160
+ code: 200
161
+ message:
162
+ headers:
163
+ server:
164
+ - nginx/1.0.13
165
+ date:
166
+ - Wed, 01 Aug 2012 19:39:11 GMT
167
+ content-type:
168
+ - application/json; charset=utf-8
169
+ transfer-encoding:
170
+ - chunked
171
+ connection:
172
+ - close
173
+ status:
174
+ - 200 OK
175
+ vary:
176
+ - Accept, Authorization, Cookie
177
+ etag:
178
+ - ! '"7873ec2b76a99d0d68e8010119dd9e25"'
179
+ x-accepted-oauth-scopes:
180
+ - repo
181
+ x-ratelimit-remaining:
182
+ - '4970'
183
+ x-oauth-scopes:
184
+ - repo
185
+ last-modified:
186
+ - Sat, 20 Oct 2007 11:24:19 GMT
187
+ x-ratelimit-limit:
188
+ - '5000'
189
+ cache-control:
190
+ - private, max-age=60
191
+ body:
192
+ encoding: ASCII-8BIT
193
+ string: ! '{"repos_count":0,"members_count":0,"url":"https://api.github.com/teams/127491","name":"Leadlight
194
+ Test Team","id":127491,"permission":"pull"}'
195
+ http_version:
196
+ recorded_at: Wed, 01 Aug 2012 19:39:01 GMT
197
+ recorded_with: VCR 2.2.4