toto-bongo 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/toto-bongo.rb +7 -1
- data/toto-bongo.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/toto-bongo.rb
CHANGED
@@ -520,7 +520,13 @@ module TotoBongo
|
|
520
520
|
route = (path || '/').split('/').reject {|i| i.empty? }
|
521
521
|
|
522
522
|
response = @site.go(route, env, *(mime ? mime : []))
|
523
|
-
|
523
|
+
|
524
|
+
TotoBongo.logger.debug("Line 524 response class = #{response.class}")
|
525
|
+
TotoBongo.logger.debug("Line 526 @esponse class = #{@response.class}")
|
526
|
+
TotoBongo.logger.debug("Line 526 @response.body class = #{@response.body.class}")
|
527
|
+
TotoBongo.logger.debug("Line 525 response = #{response}")
|
528
|
+
TotoBongo.logger.debug("Line 527 @response = #{@response}")
|
529
|
+
|
524
530
|
@response.body = [response[:body]]
|
525
531
|
@response['Content-Length'] = response[:body].length.to_s unless response[:body].empty?
|
526
532
|
@response['Content-Type'] = Rack::Mime.mime_type(".#{response[:type]}")
|
data/toto-bongo.gemspec
CHANGED