Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Apr 7, 2010
1 parent fb379d9 commit 046e0f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/gist.rb
Expand Up @@ -98,7 +98,8 @@ def write(content, private_gist = false, gist_extension = nil, gist_filename = n

# Net::HTTP::Proxy returns Net::HTTP if PROXY_HOST is nil
proxy = Net::HTTP::Proxy(PROXY_HOST, PROXY_PORT)
req = proxy.post_form(url, data(gist_filename, gist_extension, content, private_gist))
req = proxy.post_form(url,
data(gist_filename, gist_extension, content, private_gist))

req['Location']
end
Expand Down Expand Up @@ -145,7 +146,7 @@ def data(name, ext, content, private_gist)
}.merge(private_gist ? { 'action_button' => 'private' } : {}).merge(auth)
end

# Returns a hash of the user's GitHub credentials if see.
# Returns a hash of the user's GitHub credentials if set.
# http://github.com/guides/local-github-config
def auth
user = config("github.user")
Expand Down

0 comments on commit 046e0f1

Please sign in to comment.