trace_location 0.9.5 → 0.9.6
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/.rubocop.yml +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/lib/trace_location/config.rb +1 -1
- data/lib/trace_location/report.rb +1 -0
- data/lib/trace_location/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b99f37cfbaa87f60634dcecdc9d318da8a650ceaa49e8250fb1a2f845ba41143
|
|
4
|
+
data.tar.gz: 359e39f882d890826b351bbc55137d97b035d3e60df84944743ebd2bfc6472b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60a6a07c494abe8c796880792ba05616551f884e89f8a1ebb0199d9fc4c03751b26d2a68e67e9f931433914dc571bfee44ca65ba63b0b48dc72b8545531e77a3
|
|
7
|
+
data.tar.gz: 1db632d2595a66baf34facbe56ca976e530a385d37646f847176bfbd146164682c76859ff4140ea17f7b5b55bd07ddc581abda866a5636c2a1c43c2bf89b8a22
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ Then you can get logs like this: [.md](https://github.com/yhirano55/trace_locati
|
|
|
37
37
|
|
|
38
38
|
| name | content | example |
|
|
39
39
|
|:-----|:--------|:--------|
|
|
40
|
-
| format | `:
|
|
40
|
+
| format | `:md`, `:log`, `:csv` (default: `:md`) | `:md` |
|
|
41
41
|
| match | Regexp, Symbol, String or Array for allow list | `[:activerecord, :activesupport]` |
|
|
42
42
|
| ignore | Regexp, Symbol, String or Array for deny list | `/bootsnap\|activesupport/` |
|
|
43
43
|
|
|
@@ -69,7 +69,7 @@ Results: [.md](https://github.com/yhirano55/trace_location/blob/master/examples/
|
|
|
69
69
|
```ruby
|
|
70
70
|
class User < ApplicationRecord
|
|
71
71
|
# temporary surrounding with TraceLocation#trace
|
|
72
|
-
|
|
72
|
+
TraceLocation.trace(format: :md, ignore: /activesupport/) do
|
|
73
73
|
has_secure_password
|
|
74
74
|
end
|
|
75
75
|
```
|
|
@@ -87,7 +87,7 @@ class BooksController < ApplicationController
|
|
|
87
87
|
@books = Book.all
|
|
88
88
|
|
|
89
89
|
# temporary surrounding with TraceLocation#trace
|
|
90
|
-
TraceLocation.trace(format: :
|
|
90
|
+
TraceLocation.trace(format: :md, ignore: /activesupport|rbenv|concurrent-ruby/) do
|
|
91
91
|
render json: @books
|
|
92
92
|
end
|
|
93
93
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trace_location
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yoshiyuki Hirano
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: binding_of_caller
|