rack-toolbar 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/toolbar.rb +2 -4
- data/lib/rack/toolbar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb812c64d373ec16bc0bc399105dc9eede9ebf3d
|
4
|
+
data.tar.gz: 8fdbe504dda8e4035ffd7cf437e0b5c734dcb234
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdf110f49bad7d0f2c21f5dcce65e877dd61e556e14f11837787cc0d1a484e1537f7101937feb8155fdb5451b48dbcdd13ed4a05fc6aabf47e5425fb0d4264c
|
7
|
+
data.tar.gz: 14026382f4528706567e92652045ac1a29b7a970111f004342d54ad6263c5f8a5d1e6030ea0818ad3607277a41edd6000ca97f77b27340a06027d1b691760081
|
data/lib/rack/toolbar.rb
CHANGED
@@ -41,10 +41,8 @@ EOS
|
|
41
41
|
|
42
42
|
def each(&block)
|
43
43
|
if okay_to_modify?
|
44
|
-
body =
|
45
|
-
|
46
|
-
memo
|
47
|
-
end
|
44
|
+
body = ""
|
45
|
+
@response.each {|part| body << part }
|
48
46
|
index = body.rindex(@options[:insertion_point])
|
49
47
|
if index
|
50
48
|
if @options[:insertion_method] != :before
|
data/lib/rack/toolbar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-toolbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.4.
|
122
|
+
rubygems_version: 2.4.2
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Provides an easy way to create Rack Middleware that injects things into the
|