falcon 0.22.2 → 0.22.3

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: 8ad8912f89a8a19ccbe962c4c381ca16eb6d840336df23d0c4a5891ada31ca7f
4
- data.tar.gz: 75891fe68eb4027572a7e3f34d14881dbc3d74dab98bbd013eb066080d412bbf
3
+ metadata.gz: 73ad61202855a3d1a3e2137b03a7aab80a77537f86b381e9c9194f98f1a834d0
4
+ data.tar.gz: ee94ebd2cacdaeea91eab74dde099c82170069b29a25423a6879120287e40299
5
5
  SHA512:
6
- metadata.gz: 0fe2de11207ab1887eeb78252abe448c3fbfc01abc4d3dc9bf777f004bba65ea2ae35bad8b7ac5485799ae473598e4e824ff4095800afb9fb5402908f0c87360
7
- data.tar.gz: dbee0d708311e799dbc2f2e7a184fe10ae6d98380e11a9b54499e52df1e938bf2452a372021227279b8b0b2e17daaa5c561d2327b8a825b346f5a4728f86c73c
6
+ metadata.gz: f51b62cd4c1b46fbeafe76347e1050e64a9a6885a39a13e21080cc412a776335d930c42a4f13a176aa92d912f5e48e1fefd8b22321bb974374be1b90337e63c2
7
+ data.tar.gz: 18989ca95db8bf6f384d9c60bb9cd359302ba30b7c15c0e2f0a56480521993512ba268a8152cd14fb7d17e4f31ddfd39f502babdc1d1c0ffb495d50be39ec890
@@ -33,7 +33,7 @@ module Falcon
33
33
  task = Async::Task.current
34
34
  address = request.remote_address
35
35
 
36
- @logger.info(request.authority) {"#{request.method} #{request.path} #{request.version} #{request.headers.to_h} from #{address.inspect}"}
36
+ @logger.info(request) {"Headers: #{request.headers.to_h} from #{address.inspect}"}
37
37
 
38
38
  task.annotate("#{request.method} #{request.path} from #{address.inspect}")
39
39
  end
@@ -46,9 +46,9 @@ module Falcon
46
46
  response = super
47
47
 
48
48
  statistics.wrap(response) do |statistics, error|
49
- @logger.info(request.authority) {"#{request.method} #{request.path} #{request.version} -> #{response.status} #{response.headers.to_h}; #{statistics.inspect}"}
49
+ @logger.info(request) {"Responding with: #{response.status} #{response.headers.to_h}; #{statistics.inspect}"}
50
50
 
51
- @logger.error(request.authority) {"#{error.class}: #{error.message}"} if error
51
+ @logger.error(request) {"#{error.class}: #{error.message}"} if error
52
52
  end
53
53
 
54
54
  return response
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Falcon
22
- VERSION = "0.22.2"
22
+ VERSION = "0.22.3"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
4
+ version: 0.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams