rorvswild 1.4.0 → 1.4.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/rorvswild/installer.rb +4 -4
- data/lib/rorvswild/local/middleware.rb +1 -1
- data/lib/rorvswild/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: bc3686ac346205cd842de9125d9893b48a4ef27e
|
|
4
|
+
data.tar.gz: 69996c60666026d866dee0c958fa754a48aad21d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c18ad1a3433ffe0cc9c13171ca33581297d3c6a75d18f17b6c08504fdf7739b1e78a2de2be95030cc59bfc869e322f3e88f2146fc463a938e4a60f31bb8f145
|
|
7
|
+
data.tar.gz: e906b7b8ef3cbc701250545dde233df551b22abc3538c972d2d0b87200389f6f9ea3bd8a2169f390c3e34713e80ea841b65c7abf76658f1ad691b2cc93afb376
|
data/lib/rorvswild/installer.rb
CHANGED
|
@@ -19,10 +19,10 @@ module RorVsWild
|
|
|
19
19
|
<<YAML
|
|
20
20
|
production:
|
|
21
21
|
api_key: #{api_key}
|
|
22
|
-
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
#
|
|
22
|
+
# ignore_actions: # Do not track following endpoints
|
|
23
|
+
# - SecretController#index
|
|
24
|
+
# ignore_exceptions: # Do not track following exceptions
|
|
25
|
+
# - ActionController::RoutingError
|
|
26
26
|
YAML
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -23,7 +23,7 @@ module RorVsWild
|
|
|
23
23
|
if status >= 200 && status < 300 && headers["Content-Type"] && headers["Content-Type"].include?("text/html")
|
|
24
24
|
if headers["Content-Encoding"]
|
|
25
25
|
log_incompatible_middleware_warning
|
|
26
|
-
|
|
26
|
+
elsif body.respond_to?(:map) # Rack::File::Iterator does not implement map
|
|
27
27
|
body.each { |string| inject_into(string) }
|
|
28
28
|
headers["Content-Length"] = body.map(&:bytesize).reduce(0, :+).to_s if headers["Content-Length"]
|
|
29
29
|
end
|
data/lib/rorvswild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rorvswild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexis Bernard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Performances and quality insights for rails developers.
|
|
14
14
|
email:
|