OSDN Git Service
(root)
/
tdcgexplorer
/
nimono-crawlers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f587c
)
fixed
0.0.3
author
nomeu
<nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 16:31:03 +0000
(
01:31
+0900)
committer
nomeu
<nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 16:31:03 +0000
(
01:31
+0900)
lib/bowl.rb
patch
|
blob
|
history
diff --git
a/lib/bowl.rb
b/lib/bowl.rb
index
6b0a1ff
..
8eff655
100644
(file)
--- a/
lib/bowl.rb
+++ b/
lib/bowl.rb
@@
-35,7
+35,7
@@
class Bowl
http = Net::HTTP.new('bowlroll.net')
http.start do
http.request_get("/up/#{code}") do |response|
- open(src_path
(code)
, 'wb') { |f|
+ open(src_path, 'wb') { |f|
response.read_body { |buf| f.write buf }
}
end