Skip to content

Commit 6bdb244

Browse files
committed
3.0.0
1 parent 3651d35 commit 6bdb244

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

gist

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module Gist
8080
end
8181
end
8282
module Gist
83-
VERSION = Version = '2.0.3'
83+
VERSION = Version = '3.0.0'
8484
end
8585
require 'open-uri'
8686
require 'net/https'
@@ -203,7 +203,6 @@ module Gist
203203

204204
req = Net::HTTP::Post.new(url.path)
205205
req.body = JSON.generate(data(files, private_gist, description))
206-
p req.body
207206

208207
if auth_header = auth()
209208
req.add_field('Authorization', auth_header)
@@ -214,7 +213,6 @@ module Gist
214213
when Net::HTTPCreated
215214
JSON.parse(response.body)['html_url']
216215
else
217-
p response.body
218216
puts "Creating gist failed: #{response.code} #{response.message}"
219217
exit(false)
220218
end
@@ -338,7 +336,7 @@ __END__
338336
.\" generated with Ronn/v0.7.3
339337
.\" http://github.com/rtomayko/ronn/tree/0.7.3
340338
.
341-
.TH "GIST" "1" "June 2011" "GITHUB" "Gist Manual"
339+
.TH "GIST" "1" "March 2012" "GITHUB" "Gist Manual"
342340
.
343341
.SH "NAME"
344342
\fBgist\fR \- gist on the command line

lib/gist/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Gist
2-
VERSION = Version = '2.0.3'
2+
VERSION = Version = '3.0.0'
33
end

0 commit comments

Comments
 (0)