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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 866713e4d2ad9b6e923ad8c3f79956191003b5b3
4
- data.tar.gz: 4e9cc4c5fb4aab0b795775ecf169263f5ceec711
3
+ metadata.gz: bc3686ac346205cd842de9125d9893b48a4ef27e
4
+ data.tar.gz: 69996c60666026d866dee0c958fa754a48aad21d
5
5
  SHA512:
6
- metadata.gz: 6d4b4e2f4e07bb9a60e57a5761ee3bc0673131a259b6feec00df78291eb06d2279da5badced799861eb7c40188daa91c6a3a97a3de0bde3777fbcd0aaa4cc74e
7
- data.tar.gz: d6a7be8a7e745141cd7681455aadfe695c290bedb73ef1644552684a3f6845037ad66b18932fdf042444802bda498f2f85c247bdd476971f452a478f02e91420
6
+ metadata.gz: 3c18ad1a3433ffe0cc9c13171ca33581297d3c6a75d18f17b6c08504fdf7739b1e78a2de2be95030cc59bfc869e322f3e88f2146fc463a938e4a60f31bb8f145
7
+ data.tar.gz: e906b7b8ef3cbc701250545dde233df551b22abc3538c972d2d0b87200389f6f9ea3bd8a2169f390c3e34713e80ea841b65c7abf76658f1ad691b2cc93afb376
@@ -19,10 +19,10 @@ module RorVsWild
19
19
  <<YAML
20
20
  production:
21
21
  api_key: #{api_key}
22
- ignore_actions: # Do not track following endpoints
23
- # - SecretController#index
24
- ignore_exceptions: # Do not track following exceptions
25
- # - ActionController::RoutingError
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
- else
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
@@ -1,3 +1,3 @@
1
1
  module RorVsWild
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.4.1".freeze
3
3
  end
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.0
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-06-22 00:00:00.000000000 Z
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: