Permalink
Browse files

v1.0.3

  • Loading branch information...
1 parent 77f428f commit 2c90f466e34dc4c2ca5714f1795eefccd77dd444 @defunkt committed Mar 1, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 gist
  2. +1 −1 lib/gist/version.rb
View
4 gist
@@ -79,7 +79,7 @@ module Gist
end
end
module Gist
- VERSION = Version = '1.0.2'
+ VERSION = Version = '1.0.3'
end
require 'open-uri'
require 'net/http'
@@ -192,7 +192,7 @@ module Gist
private
def data(name, ext, content, private_gist)
return {
- 'file_ext[gistfile1]' => ext,
+ 'file_ext[gistfile1]' => ext ? ext : '.txt',
'file_name[gistfile1]' => name,
'file_contents[gistfile1]' => content
}.merge(private_gist ? { 'action_button' => 'private' } : {}).merge(auth)
View
@@ -1,3 +1,3 @@
module Gist
- VERSION = Version = '1.0.2'
+ VERSION = Version = '1.0.3'
end

0 comments on commit 2c90f46

Please sign in to comment.