heroku-request-id 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Heroku::Request::Id
1
+ # HerokuRequestId
2
2
 
3
- TODO: Write a gem description
3
+ Simple Rack middleware to log the heroku request id and write it to the end of html requests. Both optionally, of course.
4
4
 
5
5
  ## Installation
6
6
 
@@ -38,7 +38,6 @@ module HerokuRequestId
38
38
  end
39
39
 
40
40
  def each(&block)
41
- puts "html_comment = #{self.class.html_comment}"
42
41
  if self.class.html_comment && @headers["Content-Type"].include?("text/html")
43
42
  block.call("<!-- Heroku request id : #{@request_id} - Elapsed time : #{@elapsed} -->\n")
44
43
  end
@@ -1,3 +1,3 @@
1
1
  module HerokuRequestId
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-request-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: 1047826155926526819
115
+ hash: 517563045889090347
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  segments:
123
123
  - 0
124
- hash: 1047826155926526819
124
+ hash: 517563045889090347
125
125
  requirements: []
126
126
  rubyforge_project:
127
127
  rubygems_version: 1.8.24