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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 006f75b106d3f76a7d590ba99eccba0ff72e7aea23684b02b512dfc073bbed52
4
- data.tar.gz: bcee7987a7bb0cb49d5ec4ee44ff431ca9bdf7119db300b65d8bd81274422f6b
3
+ metadata.gz: 8a832063ab4805d433362c8cadbf1d2da6270bf8504f76fef1702b30c3b0f79c
4
+ data.tar.gz: 38362668cbd56fc63075c51c52f0cb5fd8a124bff5d0298bb24d7c5d39bd0bfc
5
5
  SHA512:
6
- metadata.gz: 7871101dd8a87910bc642d28cb486ef54d9a9f3b4c33d70446a81c9ac4ad6eca8a7a48015dee6ae98a325f9d6c77367ad6fcd095c24d46798d19ee2e5b4f7ab1
7
- data.tar.gz: 6edddaec3239997410ca0a3beeca50aca49930d1b00b854a92443a8849178af0a88b9e3d59b5b5a240b3c922486a91380d920af308dfcaa1b4a20aa0fe11c274
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)
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module DevMark
3
- VERSION = '0.8.0'.freeze
3
+ VERSION = '0.8.1'.freeze
4
4
  end
5
5
  end
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.0
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: 2024-01-17 00:00:00.000000000 Z
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.1.6
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: