rack-dev-mark 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rack/dev-mark/middleware.rb +1 -1
- data/lib/rack/dev-mark/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a832063ab4805d433362c8cadbf1d2da6270bf8504f76fef1702b30c3b0f79c
|
4
|
+
data.tar.gz: 38362668cbd56fc63075c51c52f0cb5fd8a124bff5d0298bb24d7c5d39bd0bfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eeb1ef96ef8b48faae4a0df3995bb98ca71b0299322ba4d1ea8440e03f006346a01f506b0f540d8690d022cdc290f400411998ba833fd8be4f96eb538893d86
|
7
|
+
data.tar.gz: f26fbfe4ae7f283f8d40bcde9c7cebcef94dfcd47d5b255a3d5602a86c4ae8acd995a431ac1db5af1afd313bc2a81492d75ad288e9b2515c4560094a71f4209f
|
@@ -24,7 +24,7 @@ module Rack
|
|
24
24
|
|
25
25
|
redirect = 300 <= status.to_i && status.to_i < 400
|
26
26
|
if !redirect && !Rack::DevMark.tmp_disabled && read_headers['Content-Type'].to_s =~ %r{\btext/html\b}i
|
27
|
-
new_body = ''
|
27
|
+
new_body = +''
|
28
28
|
response.each do |b|
|
29
29
|
begin
|
30
30
|
new_body << insert_dev_marks(b)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-dev-mark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daisuke Taniwaki
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -132,7 +132,7 @@ homepage: https://github.com/dtaniwaki/rack-dev-mark
|
|
132
132
|
licenses:
|
133
133
|
- MIT
|
134
134
|
metadata: {}
|
135
|
-
post_install_message:
|
135
|
+
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
138
138
|
- lib
|
@@ -147,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
151
|
-
signing_key:
|
150
|
+
rubygems_version: 3.5.16
|
151
|
+
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Differentiate development environment from production
|
154
154
|
test_files:
|