Skip to content

Commit

Permalink
Added a handler for https:// URIs in UriHelpers#handle_source.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoskings committed Jan 31, 2011
1 parent 44ecb34 commit 6668239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/babushka/helpers/uri_helpers.rb
Expand Up @@ -27,6 +27,7 @@ def handle_source uri, &block
uri = uri_processor(:parse).call(uri) unless uri.is_a?(URI)
({
'http' => L{ Resource.extract(uri, &block) },
'https' => L{ Resource.extract(uri, &block) },
'ftp' => L{ Resource.extract(uri, &block) },
'git' => L{ git(uri, &block) }
}[uri.scheme] || L{ unsupported_scheme(uri) }).call
Expand Down

0 comments on commit 6668239

Please sign in to comment.