power_trace 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/.ruby-version +1 -0
- data/Gemfile.lock +2 -2
- data/lib/power_trace/entry.rb +1 -2
- data/lib/power_trace/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50de15a293011f6ecb4eea0b038887a8f7464d6710a0ab1ec86d543fe672d6d5
|
4
|
+
data.tar.gz: a30ed54a320eed790138bc06d0a440718aa3d684e1aaacb9d18b8fbad2cc8ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1180aaa9d14886e1ae1f97c71cc021a9dac81e50023030d920665852c3ff703746c4557a7f0d3b049bb5b3384c116ce39e32f99725195bad82e225a0f27f3dc
|
7
|
+
data.tar.gz: 3cc3f32b84765bb5474e6dc64a17d44b1398b4b87e8c66d7716ec90a0d5d9581a8ae5ff6571e7cca870bc3dde43177eed2a0f0ddf21e2ef04150037c0c81969d
|
data/.github/workflows/ruby.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.1
|
data/Gemfile.lock
CHANGED
data/lib/power_trace/entry.rb
CHANGED
@@ -10,8 +10,7 @@ module PowerTrace
|
|
10
10
|
|
11
11
|
def initialize(frame)
|
12
12
|
@frame = frame
|
13
|
-
@filepath = frame.
|
14
|
-
@line_number = frame.eval("__LINE__")
|
13
|
+
@filepath, @line_number = frame.source_location
|
15
14
|
@receiver = frame.receiver
|
16
15
|
@locals, @arguments = colloct_locals_and_arguments
|
17
16
|
end
|
data/lib/power_trace/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power_trace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- st0012
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- ".github/workflows/ruby.yml"
|
67
67
|
- ".gitignore"
|
68
68
|
- ".rspec"
|
69
|
+
- ".ruby-version"
|
69
70
|
- ".travis.yml"
|
70
71
|
- CODE_OF_CONDUCT.md
|
71
72
|
- Gemfile
|