power_trace 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 489aca17c7b57c040a81bcb25149149c616f3c822c23f65b20f94fc630178eaa
4
- data.tar.gz: 0bcc29315b7c6c5399b840340ecec4f8e628b463e90e2288515c020d849deb26
3
+ metadata.gz: 50de15a293011f6ecb4eea0b038887a8f7464d6710a0ab1ec86d543fe672d6d5
4
+ data.tar.gz: a30ed54a320eed790138bc06d0a440718aa3d684e1aaacb9d18b8fbad2cc8ac0
5
5
  SHA512:
6
- metadata.gz: 91826f382a2687ca209f52498789410eb712fa371ba2f5205b20fb6c1831e75637874c593e8b98520368deed3ad19c6a047389921066bb7686b69b9f2ec666b8
7
- data.tar.gz: d62169e40fbdb3fe21b209ce788eab7cfa8426bc776b0d336da9544389ac0590b98b93fc7f8ce260521bfccb237c6312ed79c1f885667296737e015fb514a1a0
6
+ metadata.gz: a1180aaa9d14886e1ae1f97c71cc021a9dac81e50023030d920665852c3ff703746c4557a7f0d3b049bb5b3384c116ce39e32f99725195bad82e225a0f27f3dc
7
+ data.tar.gz: 3cc3f32b84765bb5474e6dc64a17d44b1398b4b87e8c66d7716ec90a0d5d9581a8ae5ff6571e7cca870bc3dde43177eed2a0f0ddf21e2ef04150037c0c81969d
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ${{ matrix.os }}
9
9
  strategy:
10
10
  matrix:
11
- ruby_version: ['2.6']
11
+ ruby_version: ['2.6', '2.7']
12
12
  os: [ubuntu-latest]
13
13
  steps:
14
14
  - uses: actions/checkout@v1
@@ -0,0 +1 @@
1
+ 2.7.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- power_trace (0.2.0)
4
+ power_trace (0.2.1)
5
5
  activesupport
6
6
  binding_of_caller (~> 0.8.0)
7
7
 
@@ -56,4 +56,4 @@ DEPENDENCIES
56
56
  rspec (~> 3.0)
57
57
 
58
58
  BUNDLED WITH
59
- 2.1.1
59
+ 2.1.4
@@ -10,8 +10,7 @@ module PowerTrace
10
10
 
11
11
  def initialize(frame)
12
12
  @frame = frame
13
- @filepath = frame.eval("__FILE__")
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
@@ -1,3 +1,3 @@
1
1
  module PowerTrace
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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