trace_location 0.1.0 → 0.1.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/Gemfile.lock +1 -1
- data/README.md +3 -4
- data/lib/trace_location/version.rb +1 -1
- data/trace_location.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb85210c00084f35e0ec599fd74807dcd3d0db6e03ce25802f4088e0aa4f60a1
|
|
4
|
+
data.tar.gz: ae4e038de2ce1a518458211b88ce5a7b89d3444ded0073bd130bb005ad1362c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22fd9789dae1f5bc5027630c09aba9bc544575f3f281ddfa6c9aab33201c54c1f403f578d2d7052d6ca68a011a4b90abe70a4ead8e3441fd9a115cb92c24a0fa
|
|
7
|
+
data.tar.gz: 11420a3b2d4a2af2cc9e1b7f7cda1e02f4b62053de42bf4bbbefece74ce28c46b474ef249e3b90da0d0bb6131a93015f7e7757d55b3d2e677d55ff792cce6154
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TraceLocation
|
|
2
2
|
|
|
3
|
-
TraceLocation
|
|
3
|
+
TraceLocation helps you get tracing the source location of codes, and helps you can get reading the huge open souce libraries in Ruby.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -21,12 +21,11 @@ Or install it yourself as:
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
23
|
You just surround the code which you want to track the process.
|
|
24
|
-
For example, when you want to track the
|
|
24
|
+
For example, when you want to track **the lifecycle of Rails application request/response**:
|
|
25
25
|
|
|
26
26
|
```
|
|
27
27
|
% bin/rails c
|
|
28
|
-
|
|
29
|
-
Loading development environment (Rails 5.2.3)
|
|
28
|
+
|
|
30
29
|
irb(main):001:0> env = Rack::MockRequest.env_for('http://localhost:3000/api/stories')
|
|
31
30
|
irb(main):002:0> TraceLocation.trace { status, headers, body = Rails.application.call(env) }
|
|
32
31
|
Created at /path/to/sampleapp/log/trace_location-2019050105051556706139.log
|
data/trace_location.gemspec
CHANGED
|
@@ -10,8 +10,8 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.authors = ['Yoshiyuki Hirano']
|
|
11
11
|
s.email = ['yhirano@me.com']
|
|
12
12
|
s.homepage = 'https://github.com/yhirano55/trace_location'
|
|
13
|
-
s.summary = '
|
|
14
|
-
s.description = %(TraceLocation
|
|
13
|
+
s.summary = 'helps you get tracing the source location of codes'
|
|
14
|
+
s.description = %(TraceLocation helps you get tracing the source location of codes, and helps you can get reading the huge open souce libraries in Ruby)
|
|
15
15
|
s.license = 'MIT'
|
|
16
16
|
s.files = Dir.chdir(File.expand_path('.', __dir__)) do
|
|
17
17
|
`git ls-files -z`.split("\x0").reject do |f|
|
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.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yoshiyuki Hirano
|
|
@@ -52,8 +52,8 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.0'
|
|
55
|
-
description: TraceLocation
|
|
56
|
-
|
|
55
|
+
description: TraceLocation helps you get tracing the source location of codes, and
|
|
56
|
+
helps you can get reading the huge open souce libraries in Ruby
|
|
57
57
|
email:
|
|
58
58
|
- yhirano@me.com
|
|
59
59
|
executables: []
|
|
@@ -99,5 +99,5 @@ requirements: []
|
|
|
99
99
|
rubygems_version: 3.0.3
|
|
100
100
|
signing_key:
|
|
101
101
|
specification_version: 4
|
|
102
|
-
summary:
|
|
102
|
+
summary: helps you get tracing the source location of codes
|
|
103
103
|
test_files: []
|