File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ module Gist
80
80
end
81
81
end
82
82
module Gist
83
- VERSION = Version = '2 .0.3 '
83
+ VERSION = Version = '3 .0.0 '
84
84
end
85
85
require 'open-uri'
86
86
require 'net/https'
@@ -203,7 +203,6 @@ module Gist
203
203
204
204
req = Net ::HTTP ::Post . new ( url . path )
205
205
req . body = JSON . generate ( data ( files , private_gist , description ) )
206
- p req . body
207
206
208
207
if auth_header = auth ( )
209
208
req . add_field ( 'Authorization' , auth_header )
@@ -214,7 +213,6 @@ module Gist
214
213
when Net ::HTTPCreated
215
214
JSON . parse ( response . body ) [ 'html_url' ]
216
215
else
217
- p response . body
218
216
puts "Creating gist failed: #{ response . code } #{ response . message } "
219
217
exit ( false )
220
218
end
@@ -338,7 +336,7 @@ __END__
338
336
.\" generated with Ronn/v0.7.3
339
337
.\" http://github.com/rtomayko/ronn/tree/0.7.3
340
338
.
341
- .TH "GIST" "1" "June 2011 " "GITHUB" "Gist Manual"
339
+ .TH "GIST" "1" "March 2012 " "GITHUB" "Gist Manual"
342
340
.
343
341
.SH "NAME"
344
342
\fBgist\fR \- gist on the command line
Original file line number Diff line number Diff line change 1
1
module Gist
2
- VERSION = Version = '2 .0.3 '
2
+ VERSION = Version = '3 .0.0 '
3
3
end
You can’t perform that action at this time.
0 commit comments