rack-robots 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rack/robots.rb +1 -1
  2. metadata +1 -1
data/lib/rack/robots.rb CHANGED
@@ -15,7 +15,7 @@ Disallow: /
15
15
  else
16
16
  [404, "Not found"]
17
17
  end
18
- [status, { 'Content-Length' => body.length,
18
+ [status, { 'Content-Length' => body.length.to_s,
19
19
  'Content-Type' => 'text/plain' }, body]
20
20
  else
21
21
  @app.call(env)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-robots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: