Skip to content

Commit

Permalink
standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 1, 2010
1 parent 8e80c38 commit bd3a4c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gist
Expand Up @@ -79,7 +79,7 @@ module Gist
end end
end end
module Gist module Gist
VERSION = Version = '1.0.1' VERSION = Version = '1.0.2'
end end
require 'open-uri' require 'open-uri'
require 'net/http' require 'net/http'
Expand Down Expand Up @@ -174,11 +174,11 @@ module Gist


def copy(content) def copy(content)
cmd = case true cmd = case true
when system("which pbcopy > /dev/null") when system("which pbcopy &> /dev/null")
:pbcopy :pbcopy
when system("which xclip > /dev/null") when system("which xclip &> /dev/null")
:xclip :xclip
when system("which putclip") when system("which putclip &> /dev/null")
:putclip :putclip
end end


Expand Down

0 comments on commit bd3a4c8

Please sign in to comment.