radiant-ray-extension 3.0.0.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +19 -0
- data/README.markdown +30 -0
- data/Rakefile +26 -0
- data/bin/ray +5 -0
- data/doc/Extension.html +1189 -0
- data/doc/Ray.html +175 -0
- data/doc/Ray/CLI.html +585 -0
- data/doc/Ray/Cache.html +709 -0
- data/doc/Ray/Gem.html +760 -0
- data/doc/Ray/Git.html +278 -0
- data/doc/Ray/GitHub.html +553 -0
- data/doc/Ray/RubyGems.html +501 -0
- data/doc/Ray/Zip.html +300 -0
- data/doc/Search.html +433 -0
- data/doc/String.html +242 -0
- data/doc/_index.html +84 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.LICENSE.html +85 -0
- data/doc/file.README.html +97 -0
- data/doc/file_list.html +46 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +84 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +46 -0
- data/doc/top-level-namespace.html +105 -0
- data/lib/ray.rb +8 -0
- data/lib/ray/cli.rb +271 -0
- data/lib/ray/constants.rb +17 -0
- data/lib/ray/extension.rb +116 -0
- data/lib/ray/extension/gem.rb +96 -0
- data/lib/ray/extension/git.rb +30 -0
- data/lib/ray/extension/zip.rb +44 -0
- data/lib/ray/search.rb +62 -0
- data/lib/ray/search/cache.rb +61 -0
- data/lib/ray/search/github.rb +40 -0
- data/lib/ray/search/rubygems.rb +36 -0
- data/lib/ray/string.rb +18 -0
- data/ray.gemspec +31 -0
- data/spec/fixtures/Gemfile +4 -0
- data/spec/fixtures/cache_single.yml +8 -0
- data/spec/fixtures/cassettes/github_v2_api_no_matches.yml +38 -0
- data/spec/fixtures/cassettes/github_v2_api_search_no_matches.yml +38 -0
- data/spec/fixtures/cassettes/github_v2_api_search_reorder_children.yml +75 -0
- data/spec/fixtures/cassettes/github_v2_api_search_single.yml +74 -0
- data/spec/fixtures/cassettes/github_v3_api_owner_name.yml +75 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_gem_info.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_no_matches.yml +34 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_no_matches.yml +34 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_reorder.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_reorder_children.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_single.yml +41 -0
- data/spec/fixtures/cassettes/zip_file.yml +101 -0
- data/spec/fixtures/dummy.zip +0 -0
- data/spec/fixtures/dummy/README +1 -0
- data/spec/fixtures/dummy/Rakefile +109 -0
- data/spec/fixtures/dummy/config/initializers/radiant_config.rb +3 -0
- data/spec/fixtures/dummy/config/locales/en.yml +3 -0
- data/spec/fixtures/dummy/config/routes.rb +5 -0
- data/spec/fixtures/dummy/dummy_extension.rb +21 -0
- data/spec/fixtures/dummy/lib/radiant-dummy-extension.rb +8 -0
- data/spec/fixtures/dummy/lib/tasks/dummy_extension_tasks.rake +47 -0
- data/spec/fixtures/dummy/public/stylesheets/extensions/dummy/dummy.css +0 -0
- data/spec/fixtures/dummy/radiant-dummy-extension.gemspec +29 -0
- data/spec/ray/cli_spec.rb +56 -0
- data/spec/ray/extension/gem_spec.rb +214 -0
- data/spec/ray/extension/git_spec.rb +216 -0
- data/spec/ray/extension/zip_spec.rb +239 -0
- data/spec/ray/search/cache_spec.rb +74 -0
- data/spec/ray/search/github_spec.rb +137 -0
- data/spec/ray/search/rubygems_spec.rb +127 -0
- data/spec/ray/string_spec.rb +30 -0
- data/spec/spec_helper.rb +27 -0
- metadata +205 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
require "ray/search"
|
2
|
+
|
3
|
+
module Ray
|
4
|
+
|
5
|
+
class RubyGems
|
6
|
+
|
7
|
+
include Search
|
8
|
+
|
9
|
+
attr_reader :query, :uri
|
10
|
+
attr_accessor :results
|
11
|
+
|
12
|
+
def initialize query
|
13
|
+
@query = query
|
14
|
+
@uri = "#{Ray::RG_V1_API}/search.json?query=radiant-#{@query}"
|
15
|
+
@results = search
|
16
|
+
end
|
17
|
+
|
18
|
+
def normalize response
|
19
|
+
response = MultiJson.decode response
|
20
|
+
results = {}
|
21
|
+
response.each do |extension|
|
22
|
+
results[extension["name"].to_extension_name] = {
|
23
|
+
:author => extension["authors"],
|
24
|
+
:description => extension["info"],
|
25
|
+
:homepage => extension["homepage_uri"],
|
26
|
+
:name => extension["name"].to_extension_name,
|
27
|
+
:uri => extension["gem_uri"],
|
28
|
+
:version => extension["version"]
|
29
|
+
}
|
30
|
+
end
|
31
|
+
return results
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
data/lib/ray/string.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
class String
|
2
|
+
|
3
|
+
def to_extension_name
|
4
|
+
return nil if self.empty?
|
5
|
+
|
6
|
+
name = self.gsub /radiant[-_]/i, ""
|
7
|
+
name.gsub! /[-_]extension/i, ""
|
8
|
+
name.gsub! /-/, "_"
|
9
|
+
|
10
|
+
return name.downcase
|
11
|
+
end
|
12
|
+
|
13
|
+
def wrap columns = 80, indent = 0, prefix = ""
|
14
|
+
indent = " " * indent
|
15
|
+
self.gsub(/(.{1,#{columns}})( +|$\n?)|(.{1,#{columns}})/,"#{prefix}#{indent}\\1\\3\n")
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
data/ray.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
$:.push File.expand_path "../lib", __FILE__
|
3
|
+
|
4
|
+
require "ray/constants"
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "radiant-ray-extension"
|
8
|
+
s.version = Ray::VERSION
|
9
|
+
s.authors = ["john muhl"]
|
10
|
+
s.email = ["git@johnmuhl.com"]
|
11
|
+
s.homepage = "http://johnmuhl.github.com/radiant-ray-extension/"
|
12
|
+
s.summary = "Friendly extension management for Radiant CMS"
|
13
|
+
s.description = %q{
|
14
|
+
Ray simplifies finding, installing, disabling, enabling and uninstalling
|
15
|
+
Radiant extensions. It uses RubyGems and GitHub to find (and cache) extension
|
16
|
+
information but you can install extensions from any location.
|
17
|
+
|
18
|
+
RubyGems, Git and zip archives are used to install extensions based on
|
19
|
+
preference or availability.
|
20
|
+
}.lstrip
|
21
|
+
|
22
|
+
s.files = Dir.glob("**/**").reject { |f| File.ftype(f) != "file" } - ["Gemfile", "Gemfile.lock", "Guardfile"]
|
23
|
+
s.test_files = Dir.glob("spec/**/**").reject { |f| File.ftype(f) != "file" }
|
24
|
+
s.executables = ["ray"]
|
25
|
+
s.require_paths = ["lib"]
|
26
|
+
|
27
|
+
s.add_runtime_dependency "multi_json", "~> 1"
|
28
|
+
s.add_runtime_dependency "rake", "~> 0.8"
|
29
|
+
s.add_runtime_dependency "thor", "~> 0.14"
|
30
|
+
s.add_runtime_dependency "zip", "~> 2"
|
31
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
---
|
2
|
+
reorder_children:
|
3
|
+
:author: Benny Degezelle
|
4
|
+
:description: Makes Radiant better by adding reorder_children!
|
5
|
+
:homepage: http://github.com/jomz/radiant-reorder_children-extension
|
6
|
+
:name: reorder_children
|
7
|
+
:uri: http://rubygems.org/gems/radiant-reorder_children-extension-1.0.5.gem
|
8
|
+
:version: 1.0.5
|
@@ -0,0 +1,38 @@
|
|
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+no-matches
|
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
|
+
- Fri, 18 Nov 2011 22:45:56 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
|
+
- '59'
|
31
|
+
x-runtime:
|
32
|
+
- 114ms
|
33
|
+
content-length:
|
34
|
+
- '19'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[]}'
|
38
|
+
http_version: '1.1'
|
@@ -0,0 +1,38 @@
|
|
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+no-matches
|
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
|
+
- Fri, 18 Nov 2011 21:52:16 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
|
+
- '58'
|
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'
|
@@ -0,0 +1,75 @@
|
|
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+reorder_children
|
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
|
+
- Fri, 18 Nov 2011 22:31: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
|
+
- ! '"0499cce19bbddf169e54003ffbcceb3b"'
|
27
|
+
x-frame-options:
|
28
|
+
- deny
|
29
|
+
x-ratelimit-remaining:
|
30
|
+
- '59'
|
31
|
+
x-runtime:
|
32
|
+
- 14ms
|
33
|
+
content-length:
|
34
|
+
- '627'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[{"type":"repo","has_issues":true,"language":"Ruby","username":"jomz","pushed":"2011/10/13
|
38
|
+
06:23:03 -0700","open_issues":0,"description":"Adds the ability to reorder the
|
39
|
+
children of a certain page with drag and drop.","watchers":2,"fork":false,"created":"2011/06/14
|
40
|
+
05:34:36 -0700","has_downloads":true,"followers":2,"url":"https://github.com/jomz/radiant-reorder_children-extension","size":128,"private":false,"name":"radiant-reorder_children-extension","owner":"jomz","created_at":"2011/06/14
|
41
|
+
05:34:36 -0700","score":6.8556094,"homepage":"","forks":2,"pushed_at":"2011/10/13
|
42
|
+
06:23:03 -0700","has_wiki":true}]}'
|
43
|
+
http_version: '1.1'
|
44
|
+
- !ruby/struct:VCR::HTTPInteraction
|
45
|
+
request: !ruby/struct:VCR::Request
|
46
|
+
method: :get
|
47
|
+
uri: https://api.github.com:443/users/jomz
|
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
|
+
server:
|
56
|
+
- nginx/1.0.4
|
57
|
+
date:
|
58
|
+
- Fri, 18 Nov 2011 22:31:03 GMT
|
59
|
+
content-type:
|
60
|
+
- application/json; charset=utf-8
|
61
|
+
connection:
|
62
|
+
- keep-alive
|
63
|
+
status:
|
64
|
+
- 200 OK
|
65
|
+
x-ratelimit-limit:
|
66
|
+
- '5000'
|
67
|
+
etag:
|
68
|
+
- ! '"6734e86608a2fc0b9026723f88356490"'
|
69
|
+
x-ratelimit-remaining:
|
70
|
+
- '4997'
|
71
|
+
content-length:
|
72
|
+
- '602'
|
73
|
+
body: ! '{"public_gists":2,"type":"User","location":"Ghent, Belgium","company":"Monkeypatch","email":"hi@monkeypatch.be","following":12,"gravatar_id":"e511b3937bae263e4f8ea596dabf8474","blog":"http://monkeypatch.be","hireable":false,"avatar_url":"https://secure.gravatar.com/avatar/e511b3937bae263e4f8ea596dabf8474?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_repos":73,"followers":30,"html_url":"https://github.com/jomz","bio":null,"url":"https://api.github.com/users/jomz","created_at":"2008-03-21T16:06:59Z","name":"Benny
|
74
|
+
Degezelle","id":3541,"login":"jomz"}'
|
75
|
+
http_version: '1.1'
|
@@ -0,0 +1,74 @@
|
|
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+ray
|
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
|
+
- Fri, 18 Nov 2011 22:11:52 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
|
+
- ! '"2875b402ba79e984857eac953499807c"'
|
27
|
+
x-frame-options:
|
28
|
+
- deny
|
29
|
+
x-ratelimit-remaining:
|
30
|
+
- '59'
|
31
|
+
x-runtime:
|
32
|
+
- 12ms
|
33
|
+
content-length:
|
34
|
+
- '702'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[{"type":"repo","has_wiki":true,"language":"Ruby","integrate_branch":"master","username":"johnmuhl","forks":9,"has_issues":true,"master_branch":"master","description":"friendly
|
38
|
+
extension management for radiant cms using git or http.","watchers":25,"fork":false,"open_issues":0,"pushed":"2011/11/15
|
39
|
+
18:10:53 -0800","created":"2008/07/14 18:22:15 -0700","followers":25,"url":"https://github.com/johnmuhl/radiant-ray-extension","size":377,"private":false,"has_downloads":true,"name":"radiant-ray-extension","owner":"johnmuhl","created_at":"2008/07/14
|
40
|
+
18:22:15 -0700","score":4.364375,"homepage":"http://johnmuhl.github.com/radiant-ray-extension/","pushed_at":"2011/11/15
|
41
|
+
18:10:53 -0800"}]}'
|
42
|
+
http_version: '1.1'
|
43
|
+
- !ruby/struct:VCR::HTTPInteraction
|
44
|
+
request: !ruby/struct:VCR::Request
|
45
|
+
method: :get
|
46
|
+
uri: https://api.github.com:443/users/johnmuhl
|
47
|
+
body:
|
48
|
+
headers:
|
49
|
+
response: !ruby/struct:VCR::Response
|
50
|
+
status: !ruby/struct:VCR::ResponseStatus
|
51
|
+
code: 200
|
52
|
+
message: OK
|
53
|
+
headers:
|
54
|
+
server:
|
55
|
+
- nginx/1.0.4
|
56
|
+
date:
|
57
|
+
- Fri, 18 Nov 2011 22:11:55 GMT
|
58
|
+
content-type:
|
59
|
+
- application/json; charset=utf-8
|
60
|
+
connection:
|
61
|
+
- keep-alive
|
62
|
+
status:
|
63
|
+
- 200 OK
|
64
|
+
x-ratelimit-limit:
|
65
|
+
- '5000'
|
66
|
+
etag:
|
67
|
+
- ! '"a088e48ac1c357a4c98a8fe6ed41d401"'
|
68
|
+
x-ratelimit-remaining:
|
69
|
+
- '4998'
|
70
|
+
content-length:
|
71
|
+
- '567'
|
72
|
+
body: ! '{"public_repos":51,"type":"User","blog":"","public_gists":59,"location":"tx","hireable":false,"company":"nope","html_url":"https://github.com/johnmuhl","email":"git@johnmuhl.com","bio":null,"following":0,"gravatar_id":"d551315856f31fc88e33c95cde28e5e8","avatar_url":"https://secure.gravatar.com/avatar/d551315856f31fc88e33c95cde28e5e8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"johnmuhl","followers":16,"url":"https://api.github.com/users/johnmuhl","created_at":"2008-04-19T19:51:49Z","name":"john
|
73
|
+
muhl","id":7944}'
|
74
|
+
http_version: '1.1'
|
@@ -0,0 +1,75 @@
|
|
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+ray
|
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
|
+
- Fri, 18 Nov 2011 22:10:23 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
|
+
- ! '"2bec1556e8df7de02ba703759d621248"'
|
27
|
+
x-frame-options:
|
28
|
+
- deny
|
29
|
+
x-ratelimit-remaining:
|
30
|
+
- '59'
|
31
|
+
x-runtime:
|
32
|
+
- 123ms
|
33
|
+
content-length:
|
34
|
+
- '702'
|
35
|
+
cache-control:
|
36
|
+
- private, max-age=0, must-revalidate
|
37
|
+
body: ! '{"repositories":[{"type":"repo","forks":9,"language":"Ruby","integrate_branch":"master","username":"johnmuhl","pushed_at":"2011/11/15
|
38
|
+
18:10:53 -0800","master_branch":"master","open_issues":0,"pushed":"2011/11/15
|
39
|
+
18:10:53 -0800","description":"friendly extension management for radiant cms
|
40
|
+
using git or http.","watchers":25,"fork":false,"created":"2008/07/14 18:22:15
|
41
|
+
-0700","has_downloads":true,"followers":25,"url":"https://github.com/johnmuhl/radiant-ray-extension","size":377,"private":false,"has_issues":true,"name":"radiant-ray-extension","owner":"johnmuhl","created_at":"2008/07/14
|
42
|
+
18:22:15 -0700","score":4.364375,"homepage":"http://johnmuhl.github.com/radiant-ray-extension/","has_wiki":true}]}'
|
43
|
+
http_version: '1.1'
|
44
|
+
- !ruby/struct:VCR::HTTPInteraction
|
45
|
+
request: !ruby/struct:VCR::Request
|
46
|
+
method: :get
|
47
|
+
uri: https://api.github.com:443/users/johnmuhl
|
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
|
+
server:
|
56
|
+
- nginx/1.0.4
|
57
|
+
date:
|
58
|
+
- Fri, 18 Nov 2011 22:10:26 GMT
|
59
|
+
content-type:
|
60
|
+
- application/json; charset=utf-8
|
61
|
+
connection:
|
62
|
+
- keep-alive
|
63
|
+
status:
|
64
|
+
- 200 OK
|
65
|
+
x-ratelimit-limit:
|
66
|
+
- '5000'
|
67
|
+
etag:
|
68
|
+
- ! '"66792fb4bfa9cb936ac07a8d9d48cb3d"'
|
69
|
+
x-ratelimit-remaining:
|
70
|
+
- '4999'
|
71
|
+
content-length:
|
72
|
+
- '567'
|
73
|
+
body: ! '{"type":"User","login":"johnmuhl","location":"tx","hireable":false,"company":"nope","html_url":"https://github.com/johnmuhl","email":"git@johnmuhl.com","bio":null,"public_repos":51,"following":0,"blog":"","gravatar_id":"d551315856f31fc88e33c95cde28e5e8","avatar_url":"https://secure.gravatar.com/avatar/d551315856f31fc88e33c95cde28e5e8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_gists":59,"followers":16,"url":"https://api.github.com/users/johnmuhl","created_at":"2008-04-19T19:51:49Z","name":"john
|
74
|
+
muhl","id":7944}'
|
75
|
+
http_version: '1.1'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://rubygems.org:80/api/v1/gems/radiant-reorder_children-extension.json
|
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
|
+
- Wed, 16 Nov 2011 23:32:10 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
|
+
- ! '"b38ad73fb2d55febe9bb897b50c1f2d0"'
|
21
|
+
x-ua-compatible:
|
22
|
+
- IE=Edge,chrome=1
|
23
|
+
x-runtime:
|
24
|
+
- '0.017880'
|
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-reorder_children-extension","downloads":602,"info":"Makes
|
34
|
+
Radiant better by adding reorder_children!","version_downloads":127,"version":"1.0.5","homepage_uri":"http://github.com/jomz/radiant-reorder_children-extension","bug_tracker_uri":null,"source_code_uri":null,"gem_uri":"http://rubygems.org/gems/radiant-reorder_children-extension-1.0.5.gem","project_uri":"http://rubygems.org/gems/radiant-reorder_children-extension","authors":"Benny
|
35
|
+
Degezelle","mailing_list_uri":null,"documentation_uri":null,"wiki_uri":null}'
|
36
|
+
http_version: '1.1'
|