radiant-ray-extension 3.0.0.alpha → 3.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/Rakefile +2 -0
- data/doc/NilClass.html +178 -0
- data/doc/Ray/CLI.html +211 -197
- data/doc/Ray/Extension/Git.html +435 -0
- data/doc/Ray/Extension/RubyGem.html +858 -0
- data/doc/Ray/Extension/Zip.html +453 -0
- data/doc/Ray/Extension.html +755 -0
- data/doc/Ray/{Cache.html → Search/Cache.html} +108 -256
- data/doc/Ray/{GitHub.html → Search/GitHub.html} +167 -81
- data/doc/Ray/{RubyGems.html → Search/RubyGems.html} +118 -68
- data/doc/Ray/Search.html +822 -0
- data/doc/Ray.html +89 -34
- data/doc/String.html +99 -29
- data/doc/_index.html +1 -1
- data/doc/file.LICENSE.html +1 -1
- data/doc/file.README.html +2 -4
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +3 -3
- data/lib/ray/cli.rb +146 -193
- data/lib/ray/constants.rb +7 -12
- data/lib/ray/extension.rb +203 -89
- data/lib/ray/search.rb +198 -43
- data/lib/ray/utility.rb +31 -0
- data/lib/ray.rb +2 -7
- data/spec/fixtures/cache_single.yml +2 -1
- data/spec/fixtures/cassettes/combined_search_empty.yml +71 -0
- data/spec/fixtures/cassettes/combined_search_multiple.yml +264 -0
- data/spec/fixtures/cassettes/combined_search_single.yml +108 -0
- data/spec/fixtures/cassettes/github_reorder_children_zip_file.yml +487 -0
- data/spec/fixtures/cassettes/github_sitemap_xml_zip_file.yml +553 -0
- data/spec/fixtures/cassettes/{github_v2_api_no_matches.yml → github_v2_search_empty.yml} +3 -3
- data/spec/fixtures/cassettes/github_v2_search_multiple.yml +225 -0
- data/spec/fixtures/cassettes/github_v2_search_single.yml +76 -0
- data/spec/fixtures/cassettes/{zip_file.yml → github_zip_file.yml} +3 -3
- data/spec/fixtures/cassettes/{rubygems_v1_api_gem_info.yml → rubygems_v1_gem_info.yml} +5 -5
- data/spec/fixtures/cassettes/{rubygems_v1_api_no_matches.yml → rubygems_v1_search_empty.yml} +3 -3
- data/spec/fixtures/cassettes/rubygems_v1_search_multiple.yml +40 -0
- data/spec/fixtures/cassettes/{rubygems_v1_api_search_reorder_children.yml → rubygems_v1_search_single.yml} +6 -6
- data/spec/fixtures/dummy.zip +0 -0
- data/spec/ray/extension_spec.rb +172 -0
- data/spec/ray/search_spec.rb +300 -0
- data/spec/spec_helper.rb +36 -9
- metadata +50 -85
- data/doc/Extension.html +0 -1189
- data/doc/Ray/Gem.html +0 -760
- data/doc/Ray/Git.html +0 -278
- data/doc/Ray/Zip.html +0 -300
- data/doc/Search.html +0 -433
- data/lib/ray/extension/gem.rb +0 -96
- data/lib/ray/extension/git.rb +0 -30
- data/lib/ray/extension/zip.rb +0 -44
- data/lib/ray/search/cache.rb +0 -61
- data/lib/ray/search/github.rb +0 -40
- data/lib/ray/search/rubygems.rb +0 -36
- data/lib/ray/string.rb +0 -18
- data/spec/fixtures/Gemfile +0 -4
- data/spec/fixtures/cassettes/github_v2_api_search_no_matches.yml +0 -38
- data/spec/fixtures/cassettes/github_v2_api_search_reorder_children.yml +0 -75
- data/spec/fixtures/cassettes/github_v2_api_search_single.yml +0 -74
- data/spec/fixtures/cassettes/github_v3_api_owner_name.yml +0 -75
- data/spec/fixtures/cassettes/rubygems_v1_api_search_no_matches.yml +0 -34
- data/spec/fixtures/cassettes/rubygems_v1_api_search_reorder.yml +0 -36
- data/spec/fixtures/cassettes/rubygems_v1_api_search_single.yml +0 -41
- data/spec/fixtures/dummy/README +0 -1
- data/spec/fixtures/dummy/Rakefile +0 -109
- data/spec/fixtures/dummy/config/initializers/radiant_config.rb +0 -3
- data/spec/fixtures/dummy/config/locales/en.yml +0 -3
- data/spec/fixtures/dummy/config/routes.rb +0 -5
- data/spec/fixtures/dummy/dummy_extension.rb +0 -21
- data/spec/fixtures/dummy/lib/radiant-dummy-extension.rb +0 -8
- data/spec/fixtures/dummy/lib/tasks/dummy_extension_tasks.rake +0 -47
- data/spec/fixtures/dummy/public/stylesheets/extensions/dummy/dummy.css +0 -0
- data/spec/fixtures/dummy/radiant-dummy-extension.gemspec +0 -29
- data/spec/ray/extension/gem_spec.rb +0 -214
- data/spec/ray/extension/git_spec.rb +0 -216
- data/spec/ray/extension/zip_spec.rb +0 -239
- data/spec/ray/search/cache_spec.rb +0 -74
- data/spec/ray/search/github_spec.rb +0 -137
- data/spec/ray/search/rubygems_spec.rb +0 -127
- data/spec/ray/string_spec.rb +0 -30
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://github.com:80/api/v2/json/repos/search/radiant+zzz
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
server:
|
14
|
+
- nginx/1.0.4
|
15
|
+
date:
|
16
|
+
- Sat, 05 Nov 2011 22:10:46 GMT
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
connection:
|
20
|
+
- keep-alive
|
21
|
+
status:
|
22
|
+
- 200 OK
|
23
|
+
x-ratelimit-limit:
|
24
|
+
- '60'
|
25
|
+
etag:
|
26
|
+
- ! '"56b08340755bc2851ce6c91d650b849f"'
|
27
|
+
x-frame-options:
|
28
|
+
- deny
|
29
|
+
x-ratelimit-remaining:
|
30
|
+
- '57'
|
31
|
+
x-runtime:
|
32
|
+
- 8ms
|
33
|
+
content-length:
|
34
|
+
- '19'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[]}'
|
38
|
+
http_version: '1.1'
|
39
|
+
- !ruby/struct:VCR::HTTPInteraction
|
40
|
+
request: !ruby/struct:VCR::Request
|
41
|
+
method: :get
|
42
|
+
uri: https://rubygems.org:443/api/v1/search.json?query=radiant-zzz
|
43
|
+
body:
|
44
|
+
headers:
|
45
|
+
response: !ruby/struct:VCR::Response
|
46
|
+
status: !ruby/struct:VCR::ResponseStatus
|
47
|
+
code: 200
|
48
|
+
message: OK
|
49
|
+
headers:
|
50
|
+
date:
|
51
|
+
- Sat, 05 Nov 2011 22:10:47 GMT
|
52
|
+
server:
|
53
|
+
- Apache/2.2.3 (Red Hat) mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 Phusion_Passenger/3.0.0
|
54
|
+
x-powered-by:
|
55
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.0
|
56
|
+
etag:
|
57
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
58
|
+
x-ua-compatible:
|
59
|
+
- IE=Edge,chrome=1
|
60
|
+
x-runtime:
|
61
|
+
- '1.187299'
|
62
|
+
cache-control:
|
63
|
+
- max-age=0, private, must-revalidate
|
64
|
+
status:
|
65
|
+
- '200'
|
66
|
+
transfer-encoding:
|
67
|
+
- chunked
|
68
|
+
content-type:
|
69
|
+
- application/json; charset=utf-8
|
70
|
+
body: ! '[]'
|
71
|
+
http_version: '1.1'
|
@@ -0,0 +1,264 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://rubygems.org:443/api/v1/search.json?query=radiant-archive
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Sat, 05 Nov 2011 22:19:37 GMT
|
15
|
+
server:
|
16
|
+
- Apache/2.2.3 (Red Hat) mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 Phusion_Passenger/3.0.0
|
17
|
+
x-powered-by:
|
18
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.0
|
19
|
+
etag:
|
20
|
+
- ! '"b844bc1aec402cbd5ef0702f6b94fd18"'
|
21
|
+
x-ua-compatible:
|
22
|
+
- IE=Edge,chrome=1
|
23
|
+
x-runtime:
|
24
|
+
- '1.168361'
|
25
|
+
cache-control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
|
+
status:
|
28
|
+
- '200'
|
29
|
+
transfer-encoding:
|
30
|
+
- chunked
|
31
|
+
content-type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
body: ! '[{"dependencies":{"runtime":[],"development":[]},"name":"radiant-archive-extension","downloads":1202,"info":"Provides
|
34
|
+
page types for news or blog archives.","version_downloads":4,"version":"1.0.4","homepage_uri":"http://radiantcms.org","bug_tracker_uri":null,"source_code_uri":null,"gem_uri":"http://rubygems.org/gems/radiant-archive-extension-1.0.4.gem","project_uri":"http://rubygems.org/gems/radiant-archive-extension","authors":"Radiant
|
35
|
+
CMS Dev Team","mailing_list_uri":null,"documentation_uri":null,"wiki_uri":null},{"dependencies":{"runtime":[],"development":[]},"name":"radiant-archive_tabs-extension","downloads":424,"info":"Display
|
36
|
+
Archive pages in their own paginated tab.","version_downloads":116,"version":"1.0.5","homepage_uri":"https://github.com/jsntv200/radiant-archive_tabs-extension","bug_tracker_uri":null,"source_code_uri":null,"gem_uri":"http://rubygems.org/gems/radiant-archive_tabs-extension-1.0.5.gem","project_uri":"http://rubygems.org/gems/radiant-archive_tabs-extension","authors":"Jason
|
37
|
+
Taylor","mailing_list_uri":null,"documentation_uri":null,"wiki_uri":null},{"dependencies":{"runtime":[],"development":[]},"name":"radiant-archive_children-extension","downloads":62,"info":"Makes
|
38
|
+
Radiant better by adding archive_children!","version_downloads":62,"version":"1.0.0","homepage_uri":"http://yourwebsite.com/archive_children","bug_tracker_uri":null,"source_code_uri":null,"gem_uri":"http://rubygems.org/gems/radiant-archive_children-extension-1.0.0.gem","project_uri":"http://rubygems.org/gems/radiant-archive_children-extension","authors":"Benny
|
39
|
+
Degezelle","mailing_list_uri":null,"documentation_uri":null,"wiki_uri":null}]'
|
40
|
+
http_version: '1.1'
|
41
|
+
- !ruby/struct:VCR::HTTPInteraction
|
42
|
+
request: !ruby/struct:VCR::Request
|
43
|
+
method: :get
|
44
|
+
uri: http://github.com:80/api/v2/json/repos/search/radiant+archive
|
45
|
+
body:
|
46
|
+
headers:
|
47
|
+
response: !ruby/struct:VCR::Response
|
48
|
+
status: !ruby/struct:VCR::ResponseStatus
|
49
|
+
code: 200
|
50
|
+
message: OK
|
51
|
+
headers:
|
52
|
+
server:
|
53
|
+
- nginx/1.0.4
|
54
|
+
date:
|
55
|
+
- Sat, 05 Nov 2011 22:19:39 GMT
|
56
|
+
content-type:
|
57
|
+
- application/json; charset=utf-8
|
58
|
+
connection:
|
59
|
+
- keep-alive
|
60
|
+
status:
|
61
|
+
- 200 OK
|
62
|
+
x-ratelimit-limit:
|
63
|
+
- '60'
|
64
|
+
etag:
|
65
|
+
- ! '"f66a011f67c307aa79511b3a288e0e89"'
|
66
|
+
x-frame-options:
|
67
|
+
- deny
|
68
|
+
x-ratelimit-remaining:
|
69
|
+
- '59'
|
70
|
+
x-runtime:
|
71
|
+
- 156ms
|
72
|
+
content-length:
|
73
|
+
- '3246'
|
74
|
+
cache-control:
|
75
|
+
- private, max-age=0, must-revalidate
|
76
|
+
body: ! '{"repositories":[{"type":"repo","followers":7,"description":"Page archiving
|
77
|
+
for Radiant CMS bundled with the main project","url":"https://github.com/radiant/radiant-archive-extension","has_wiki":true,"created_at":"2010/04/30
|
78
|
+
13:17:08 -0700","organization":"radiant","homepage":"http://radiantcms.org","has_issues":true,"fork":false,"language":"Ruby","pushed_at":"2011/11/05
|
79
|
+
14:13:34 -0700","open_issues":1,"username":"radiant","pushed":"2011/11/05 14:13:34
|
80
|
+
-0700","size":128,"private":false,"name":"radiant-archive-extension","owner":"radiant","has_downloads":true,"created":"2010/04/30
|
81
|
+
13:17:08 -0700","watchers":7,"score":4.2640243,"forks":4},{"type":"repo","followers":4,"description":"Extends
|
82
|
+
the core Archive extension to add Quarter archives.","url":"https://github.com/tricycle/radiant-archive-by-quarter-extension","has_wiki":true,"created_at":"2009/04/05
|
83
|
+
22:25:22 -0700","organization":"tricycle","homepage":"http://github.com/tricycle/radiant-archive-by-quarter-extension","has_issues":true,"language":"","fork":false,"pushed_at":"2009/04/05
|
84
|
+
22:27:09 -0700","open_issues":0,"username":"tricycle","pushed":"2009/04/05 22:27:09
|
85
|
+
-0700","size":0,"private":false,"name":"radiant-archive-by-quarter-extension","owner":"tricycle","has_downloads":true,"created":"2009/04/05
|
86
|
+
22:25:22 -0700","watchers":4,"score":3.2216234,"forks":0},{"type":"repo","followers":3,"description":"Some
|
87
|
+
hacks for standart Radiant CMS archive extension, improving its usability","url":"https://github.com/alno/radiant-archive-hacks-extension","has_wiki":true,"created_at":"2009/02/04
|
88
|
+
12:07:46 -0800","homepage":"http://github.com/alno/radiant-archive-hacks-extension","has_issues":true,"fork":false,"language":"Ruby","pushed_at":"2009/02/27
|
89
|
+
00:03:13 -0800","open_issues":0,"username":"alno","pushed":"2009/02/27 00:03:13
|
90
|
+
-0800","size":336,"private":false,"name":"radiant-archive-hacks-extension","owner":"alno","has_downloads":true,"created":"2009/02/04
|
91
|
+
12:07:46 -0800","watchers":3,"score":3.7428238,"forks":3},{"type":"repo","followers":1,"description":"Adds
|
92
|
+
radius tags that lets you iterate over all pages that have an ArchivePage as
|
93
|
+
parent.","url":"https://github.com/jomz/radiant-archive_children-extension","has_wiki":true,"created_at":"2011/07/18
|
94
|
+
05:43:22 -0700","homepage":"","has_issues":true,"fork":false,"language":"Ruby","pushed_at":"2011/07/18
|
95
|
+
05:45:50 -0700","open_issues":0,"username":"jomz","pushed":"2011/07/18 05:45:50
|
96
|
+
-0700","size":100,"private":false,"name":"radiant-archive_children-extension","owner":"jomz","has_downloads":true,"created":"2011/07/18
|
97
|
+
05:43:22 -0700","watchers":1,"score":3.7428238,"forks":1},{"type":"repo","followers":1,"description":"Radiant
|
98
|
+
extension for displaying Archive pages in their own paginated tab","url":"https://github.com/jsntv200/radiant-archive_tabs-extension","has_wiki":true,"created_at":"2010/08/28
|
99
|
+
02:22:25 -0700","master_branch":"master","homepage":"","has_issues":true,"fork":false,"language":"Ruby","pushed_at":"2011/09/01
|
100
|
+
01:38:10 -0700","open_issues":0,"username":"jsntv200","pushed":"2011/09/01 01:38:10
|
101
|
+
-0700","size":3204,"private":false,"name":"radiant-archive_tabs-extension","owner":"jsntv200","has_downloads":true,"created":"2010/08/28
|
102
|
+
02:22:25 -0700","watchers":1,"score":3.7428238,"forks":1}]}'
|
103
|
+
http_version: '1.1'
|
104
|
+
- !ruby/struct:VCR::HTTPInteraction
|
105
|
+
request: !ruby/struct:VCR::Request
|
106
|
+
method: :get
|
107
|
+
uri: https://api.github.com:443/users/radiant
|
108
|
+
body:
|
109
|
+
headers:
|
110
|
+
response: !ruby/struct:VCR::Response
|
111
|
+
status: !ruby/struct:VCR::ResponseStatus
|
112
|
+
code: 200
|
113
|
+
message: OK
|
114
|
+
headers:
|
115
|
+
server:
|
116
|
+
- nginx/1.0.4
|
117
|
+
date:
|
118
|
+
- Sat, 05 Nov 2011 22:19:40 GMT
|
119
|
+
content-type:
|
120
|
+
- application/json; charset=utf-8
|
121
|
+
connection:
|
122
|
+
- keep-alive
|
123
|
+
status:
|
124
|
+
- 200 OK
|
125
|
+
x-ratelimit-limit:
|
126
|
+
- '5000'
|
127
|
+
etag:
|
128
|
+
- ! '"4664e88ea39d1c635e772adac39b7380"'
|
129
|
+
x-ratelimit-remaining:
|
130
|
+
- '4959'
|
131
|
+
content-length:
|
132
|
+
- '547'
|
133
|
+
body: ! '{"followers":181,"type":"Organization","created_at":"2008-06-20T15:23:06Z","url":"https://api.github.com/orgs/radiant","html_url":"https://github.com/radiant","location":null,"login":"radiant","public_repos":46,"company":null,"public_gists":2,"following":0,"name":"Radiant
|
134
|
+
CMS dev team","avatar_url":"https://secure.gravatar.com/avatar/b2fed76c7a4cf1778adb683b70281481?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","blog":"http://radiantcms.org/blog/","email":"radiantcms-dev@googlegroups.com","id":14429}'
|
135
|
+
http_version: '1.1'
|
136
|
+
- !ruby/struct:VCR::HTTPInteraction
|
137
|
+
request: !ruby/struct:VCR::Request
|
138
|
+
method: :get
|
139
|
+
uri: https://api.github.com:443/users/tricycle
|
140
|
+
body:
|
141
|
+
headers:
|
142
|
+
response: !ruby/struct:VCR::Response
|
143
|
+
status: !ruby/struct:VCR::ResponseStatus
|
144
|
+
code: 200
|
145
|
+
message: OK
|
146
|
+
headers:
|
147
|
+
server:
|
148
|
+
- nginx/1.0.4
|
149
|
+
date:
|
150
|
+
- Sat, 05 Nov 2011 22:19:40 GMT
|
151
|
+
content-type:
|
152
|
+
- application/json; charset=utf-8
|
153
|
+
connection:
|
154
|
+
- keep-alive
|
155
|
+
status:
|
156
|
+
- 200 OK
|
157
|
+
x-ratelimit-limit:
|
158
|
+
- '5000'
|
159
|
+
etag:
|
160
|
+
- ! '"55918420e6a30dbb83026a0671f3cf0c"'
|
161
|
+
x-ratelimit-remaining:
|
162
|
+
- '4958'
|
163
|
+
content-length:
|
164
|
+
- '530'
|
165
|
+
body: ! '{"public_gists":0,"followers":10,"type":"Organization","created_at":"2008-05-28T03:53:36Z","url":"https://api.github.com/orgs/tricycle","public_repos":83,"login":"tricycle","blog":"http://trikeapps.com/","location":"Melbourne,
|
166
|
+
AU","company":null,"avatar_url":"https://secure.gravatar.com/avatar/ab214309fb1c99948cbda45b1f4b0560?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","following":0,"html_url":"https://github.com/tricycle","name":"TrikeApps","email":"info@trikeapps.com","id":11724}'
|
167
|
+
http_version: '1.1'
|
168
|
+
- !ruby/struct:VCR::HTTPInteraction
|
169
|
+
request: !ruby/struct:VCR::Request
|
170
|
+
method: :get
|
171
|
+
uri: https://api.github.com:443/users/alno
|
172
|
+
body:
|
173
|
+
headers:
|
174
|
+
response: !ruby/struct:VCR::Response
|
175
|
+
status: !ruby/struct:VCR::ResponseStatus
|
176
|
+
code: 200
|
177
|
+
message: OK
|
178
|
+
headers:
|
179
|
+
server:
|
180
|
+
- nginx/1.0.4
|
181
|
+
date:
|
182
|
+
- Sat, 05 Nov 2011 22:19:40 GMT
|
183
|
+
content-type:
|
184
|
+
- application/json; charset=utf-8
|
185
|
+
connection:
|
186
|
+
- keep-alive
|
187
|
+
status:
|
188
|
+
- 200 OK
|
189
|
+
x-ratelimit-limit:
|
190
|
+
- '5000'
|
191
|
+
etag:
|
192
|
+
- ! '"38183432277966574f5e4b3084272abc"'
|
193
|
+
x-ratelimit-remaining:
|
194
|
+
- '4957'
|
195
|
+
content-length:
|
196
|
+
- '593'
|
197
|
+
body: ! '{"followers":10,"type":"User","avatar_url":"https://secure.gravatar.com/avatar/7ba93c0a07d2caa804c0d4874e7fac0e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","created_at":"2008-10-24T05:47:27Z","url":"https://api.github.com/users/alno","hireable":true,"html_url":"https://github.com/alno","bio":"","gravatar_id":"7ba93c0a07d2caa804c0d4874e7fac0e","login":"alno","location":"Moscow","company":"Evil
|
198
|
+
Martians","public_gists":8,"following":3,"name":"Alexey Noskov","blog":"http://alno.name/","email":"alexey.noskov@gmail.com","id":30774,"public_repos":26}'
|
199
|
+
http_version: '1.1'
|
200
|
+
- !ruby/struct:VCR::HTTPInteraction
|
201
|
+
request: !ruby/struct:VCR::Request
|
202
|
+
method: :get
|
203
|
+
uri: https://api.github.com:443/users/jomz
|
204
|
+
body:
|
205
|
+
headers:
|
206
|
+
response: !ruby/struct:VCR::Response
|
207
|
+
status: !ruby/struct:VCR::ResponseStatus
|
208
|
+
code: 200
|
209
|
+
message: OK
|
210
|
+
headers:
|
211
|
+
server:
|
212
|
+
- nginx/1.0.4
|
213
|
+
date:
|
214
|
+
- Sat, 05 Nov 2011 22:19:41 GMT
|
215
|
+
content-type:
|
216
|
+
- application/json; charset=utf-8
|
217
|
+
connection:
|
218
|
+
- keep-alive
|
219
|
+
status:
|
220
|
+
- 200 OK
|
221
|
+
x-ratelimit-limit:
|
222
|
+
- '5000'
|
223
|
+
etag:
|
224
|
+
- ! '"b70d27eaa8ce917c7077ca632a658d05"'
|
225
|
+
x-ratelimit-remaining:
|
226
|
+
- '4956'
|
227
|
+
content-length:
|
228
|
+
- '602'
|
229
|
+
body: ! '{"followers":30,"type":"User","login":"jomz","created_at":"2008-03-21T16:06:59Z","hireable":false,"url":"https://api.github.com/users/jomz","avatar_url":"https://secure.gravatar.com/avatar/e511b3937bae263e4f8ea596dabf8474?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_repos":72,"bio":null,"gravatar_id":"e511b3937bae263e4f8ea596dabf8474","location":"Ghent,
|
230
|
+
Belgium","public_gists":2,"company":"Monkeypatch","following":12,"html_url":"https://github.com/jomz","name":"Benny
|
231
|
+
Degezelle","blog":"http://monkeypatch.be","email":"hi@monkeypatch.be","id":3541}'
|
232
|
+
http_version: '1.1'
|
233
|
+
- !ruby/struct:VCR::HTTPInteraction
|
234
|
+
request: !ruby/struct:VCR::Request
|
235
|
+
method: :get
|
236
|
+
uri: https://api.github.com:443/users/jsntv200
|
237
|
+
body:
|
238
|
+
headers:
|
239
|
+
response: !ruby/struct:VCR::Response
|
240
|
+
status: !ruby/struct:VCR::ResponseStatus
|
241
|
+
code: 200
|
242
|
+
message: OK
|
243
|
+
headers:
|
244
|
+
server:
|
245
|
+
- nginx/1.0.4
|
246
|
+
date:
|
247
|
+
- Sat, 05 Nov 2011 22:19:41 GMT
|
248
|
+
content-type:
|
249
|
+
- application/json; charset=utf-8
|
250
|
+
connection:
|
251
|
+
- keep-alive
|
252
|
+
status:
|
253
|
+
- 200 OK
|
254
|
+
x-ratelimit-limit:
|
255
|
+
- '5000'
|
256
|
+
etag:
|
257
|
+
- ! '"50064003b0342749d53d8e7a07a88bda"'
|
258
|
+
x-ratelimit-remaining:
|
259
|
+
- '4955'
|
260
|
+
content-length:
|
261
|
+
- '563'
|
262
|
+
body: ! '{"followers":0,"type":"User","avatar_url":"https://secure.gravatar.com/avatar/c4d7f12f15a042f85af6c30aee18f21e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","created_at":"2010-08-27T05:22:35Z","url":"https://api.github.com/users/jsntv200","login":"jsntv200","public_gists":0,"html_url":"https://github.com/jsntv200","gravatar_id":"c4d7f12f15a042f85af6c30aee18f21e","location":"Australia","company":null,"blog":null,"public_repos":19,"following":0,"name":"Jason
|
263
|
+
Taylor","hireable":false,"email":null,"id":377644,"bio":null}'
|
264
|
+
http_version: '1.1'
|
@@ -0,0 +1,108 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://github.com:80/api/v2/json/repos/search/radiant+sitemap_xml
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
server:
|
14
|
+
- nginx/1.0.4
|
15
|
+
date:
|
16
|
+
- Sat, 05 Nov 2011 22:15:00 GMT
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
connection:
|
20
|
+
- keep-alive
|
21
|
+
status:
|
22
|
+
- 200 OK
|
23
|
+
x-ratelimit-limit:
|
24
|
+
- '60'
|
25
|
+
etag:
|
26
|
+
- ! '"0320e3c15233d06f73c0980cf90ddda5"'
|
27
|
+
x-frame-options:
|
28
|
+
- deny
|
29
|
+
x-ratelimit-remaining:
|
30
|
+
- '58'
|
31
|
+
x-runtime:
|
32
|
+
- 18ms
|
33
|
+
content-length:
|
34
|
+
- '723'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[{"type":"repo","followers":17,"description":"Radiant
|
38
|
+
Extension to automatically generate a sitemap.xml for your site.","url":"https://github.com/Aissac/radiant-sitemap-xml-extension","created_at":"2009/08/30
|
39
|
+
06:45:45 -0700","has_wiki":true,"has_issues":true,"organization":"Aissac","homepage":"http://blog.aissac.ro/radiant/sitemap-xml-extension","integrate_branch":"master","fork":false,"language":"Ruby","pushed_at":"2010/11/04
|
40
|
+
10:31:35 -0700","username":"Aissac","size":1456,"private":false,"open_issues":1,"pushed":"2010/11/04
|
41
|
+
10:31:35 -0700","name":"radiant-sitemap-xml-extension","owner":"Aissac","created":"2009/08/30
|
42
|
+
06:45:45 -0700","watchers":17,"has_downloads":true,"score":5.5420017,"forks":8}]}'
|
43
|
+
http_version: '1.1'
|
44
|
+
- !ruby/struct:VCR::HTTPInteraction
|
45
|
+
request: !ruby/struct:VCR::Request
|
46
|
+
method: :get
|
47
|
+
uri: https://rubygems.org:443/api/v1/search.json?query=radiant-sitemap_xml
|
48
|
+
body:
|
49
|
+
headers:
|
50
|
+
response: !ruby/struct:VCR::Response
|
51
|
+
status: !ruby/struct:VCR::ResponseStatus
|
52
|
+
code: 200
|
53
|
+
message: OK
|
54
|
+
headers:
|
55
|
+
date:
|
56
|
+
- Sat, 05 Nov 2011 22:15:01 GMT
|
57
|
+
server:
|
58
|
+
- Apache/2.2.3 (Red Hat) mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 Phusion_Passenger/3.0.0
|
59
|
+
x-powered-by:
|
60
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.0
|
61
|
+
etag:
|
62
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
63
|
+
x-ua-compatible:
|
64
|
+
- IE=Edge,chrome=1
|
65
|
+
x-runtime:
|
66
|
+
- '1.140775'
|
67
|
+
cache-control:
|
68
|
+
- max-age=0, private, must-revalidate
|
69
|
+
status:
|
70
|
+
- '200'
|
71
|
+
transfer-encoding:
|
72
|
+
- chunked
|
73
|
+
content-type:
|
74
|
+
- application/json; charset=utf-8
|
75
|
+
body: ! '[]'
|
76
|
+
http_version: '1.1'
|
77
|
+
- !ruby/struct:VCR::HTTPInteraction
|
78
|
+
request: !ruby/struct:VCR::Request
|
79
|
+
method: :get
|
80
|
+
uri: https://api.github.com:443/users/Aissac
|
81
|
+
body:
|
82
|
+
headers:
|
83
|
+
response: !ruby/struct:VCR::Response
|
84
|
+
status: !ruby/struct:VCR::ResponseStatus
|
85
|
+
code: 200
|
86
|
+
message: OK
|
87
|
+
headers:
|
88
|
+
server:
|
89
|
+
- nginx/1.0.4
|
90
|
+
date:
|
91
|
+
- Sat, 05 Nov 2011 22:15:03 GMT
|
92
|
+
content-type:
|
93
|
+
- application/json; charset=utf-8
|
94
|
+
connection:
|
95
|
+
- keep-alive
|
96
|
+
status:
|
97
|
+
- 200 OK
|
98
|
+
x-ratelimit-limit:
|
99
|
+
- '5000'
|
100
|
+
etag:
|
101
|
+
- ! '"54528ac29049fefa5ddacec9c83ec959"'
|
102
|
+
x-ratelimit-remaining:
|
103
|
+
- '4963'
|
104
|
+
content-length:
|
105
|
+
- '496'
|
106
|
+
body: ! '{"followers":11,"type":"Organization","created_at":"2008-04-16T10:50:48Z","url":"https://api.github.com/orgs/Aissac","public_gists":3,"avatar_url":"https://secure.gravatar.com/avatar/e24e1dad4aa73b36729ca561a1843284?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","html_url":"https://github.com/Aissac","blog":null,"location":"Cluj-Napoca,
|
107
|
+
Romania","company":null,"following":0,"name":"Aissac SRL","email":null,"id":7550,"public_repos":26,"login":"Aissac"}'
|
108
|
+
http_version: '1.1'
|