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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/toto-bongo.rb +7 -1
  3. data/toto-bongo.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{toto-bongo}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Palacio"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Palacio