console-adapter-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d0d63b5d2eee8a85dd9af60f5ea38071d16ae6506c9d116dd61ff1af514d379
4
- data.tar.gz: b38c25092480c71bf7dbf6668cdba42e6f33886277869d9a852de693d2118de1
3
+ metadata.gz: b83029d181036c865ec489f6d59634fa975b3159664dc24d24638785e89c11d7
4
+ data.tar.gz: '039ca5efca96c8d0eece6892fed268cd60170f4573725cecb3c8779d68976fb9'
5
5
  SHA512:
6
- metadata.gz: 81faae0a7dc869ae12990880ef85368cc46dabd33a14c655c84b74865bbabecc7cde5ee9ff0e2c31db2733948b99f21da511bf6bbcfce6878af895a8c7bd53be
7
- data.tar.gz: 1c14615ebd356719fa8999d50552536c0963b4a9cf17adcc011ebeb73549e2e1274d6367b36aec8525283c1de22d42a356fd8d36b2f5790cd2b04e175ecb1696
6
+ metadata.gz: b4f710f1c68b72c2a58036f199a308d023ffaa251da28ed1608ba2ddd1ce2377aa6682c24aa732b53d597052870debe46307707870d7f1d91715a7e0ca8cfdf2
7
+ data.tar.gz: 6b2ca0f6ba996643d01bc501e810369875485f8ef23321ca0185e4bb647c6d745f2e6fe5f3758600219eee87bf1b89f9d0d221ffef6c8ca067b9bd80d9f794ec
checksums.yaml.gz.sig CHANGED
Binary file
@@ -6,7 +6,7 @@
6
6
  module Console
7
7
  module Adapter
8
8
  module Rails
9
- VERSION = "0.1.1"
9
+ VERSION = "0.1.2"
10
10
  end
11
11
  end
12
12
  end
@@ -4,6 +4,7 @@
4
4
  # Copyright, 2023, by Samuel Williams.
5
5
 
6
6
  require 'console'
7
+ require 'console/compatible/logger'
7
8
 
8
9
  require 'active_support/log_subscriber'
9
10
  require 'action_controller/log_subscriber'
@@ -28,11 +29,11 @@ module Console
28
29
  # - `method`: The HTTP method of the request.
29
30
  # - `path`: The path of the request.
30
31
  # - `status`: The HTTP status code of the response.
31
- # - `view_runtime`: The time spent rendering views.
32
- # - `db_runtime`: The time spent querying the database.
32
+ # - `view_runtime`: The time spent rendering views in milliseconds.
33
+ # - `db_runtime`: The time spent querying the database in milliseconds.
33
34
  # - `location`: The redirect location if any.
34
35
  # - `allocations`: The number of allocations performed.
35
- # - `duration`: The total time spent processing the request.
36
+ # - `duration`: The total time spent processing the request in milliseconds.
36
37
  def process_action(event)
37
38
  payload = event.payload.dup
38
39
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console-adapter-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file