Skip to content

Commit

Permalink
new version file
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Feb 28, 2010
1 parent 827e45a commit d2b9a6c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions gist
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,19 @@ module Gist
end
end
end
module Gist
VERSION = Version = '1.0.1'
end
require 'open-uri'
require 'net/http'
require 'optparse'

begin
require 'gist/manpage'
rescue LoadError
nil
end
require 'gist/manpage' unless defined?(Gist::Manpage)
require 'gist/version' unless defined?(Gist::Version)

module Gist
extend self

VERSION = "1.0.0"

GIST_URL = 'http://gist.github.com/%s.txt'
CREATE_URL = 'http://gist.github.com/gists'

Expand Down
9 changes: 2 additions & 7 deletions lib/gist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
require 'net/http'
require 'optparse'

begin
require 'gist/manpage'
rescue LoadError
nil
end
require 'gist/manpage' unless defined?(Gist::Manpage)
require 'gist/version' unless defined?(Gist::Version)

# You can use this class from other scripts with the greatest of
# ease.
Expand All @@ -26,8 +23,6 @@
module Gist
extend self

VERSION = "1.0.0"

GIST_URL = 'http://gist.github.com/%s.txt'
CREATE_URL = 'http://gist.github.com/gists'

Expand Down
3 changes: 3 additions & 0 deletions lib/gist/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Gist
VERSION = Version = '1.0.1'
end

0 comments on commit d2b9a6c

Please sign in to comment.