rookout 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rookout/augs/aug.rb +2 -1
- data/lib/rookout/services/position.rb +3 -3
- data/lib/rookout/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: a3a993062399dcf0f6408e5cd2d000227505057a3a2275f71fa9846ba19d428c
|
4
|
+
data.tar.gz: 6c1de8cc013b75819c51bbd0ef9171777805534d78a9d9d35c2a14a8fc8c2b8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a11af9b274e600aeb0a8c7625002812a6fcdf039de6090351e019b3627344893475766481858c8cfd102d1bc3e3f468ee86bf4c4bcd90609a2c0bcac40db17bc
|
7
|
+
data.tar.gz: aad7c874a9e5ad677b47c763864fa6ad84794d749d2a087f83d332ede065ac3186192afffc6bfa5c9077c02c6f488c8b9fc59248dfa9c1f1a549e49e45063f6c
|
data/lib/rookout/augs/aug.rb
CHANGED
@@ -46,7 +46,8 @@ module Rookout
|
|
46
46
|
"store" => Processor::Namespaces::ContainerNamespace.new,
|
47
47
|
"temp" => Processor::Namespaces::ContainerNamespace.new,
|
48
48
|
"utils" => Processor::Namespaces::RubyUtilsNamespace.new,
|
49
|
-
"trace" => Processor::Namespaces::NoopNamespace.new
|
49
|
+
"trace" => Processor::Namespaces::NoopNamespace.new,
|
50
|
+
"state" => Processor::Namespaces::NoopNamespace.new
|
50
51
|
)
|
51
52
|
end
|
52
53
|
end
|
@@ -18,14 +18,14 @@ module Rookout
|
|
18
18
|
def initialize tracer
|
19
19
|
@tracer = tracer
|
20
20
|
@augs = {}
|
21
|
-
@iseqs =
|
21
|
+
@iseqs = []
|
22
22
|
@trace_point = TracePoint.new :script_compiled do |tp|
|
23
23
|
begin
|
24
24
|
begin
|
25
25
|
iseq = tp.instruction_sequence
|
26
26
|
# Ignore script without sources
|
27
27
|
if iseq.absolute_path
|
28
|
-
@iseqs
|
28
|
+
@iseqs << iseq
|
29
29
|
evaluate_script iseq
|
30
30
|
end
|
31
31
|
rescue Exception => e
|
@@ -83,7 +83,7 @@ module Rookout
|
|
83
83
|
|
84
84
|
def evaluate_all_scripts_to_location location
|
85
85
|
positions = []
|
86
|
-
@iseqs.
|
86
|
+
@iseqs.each do |iseq|
|
87
87
|
position = evaluate_script_to_location iseq, iseq.absolute_path, location
|
88
88
|
next if position.nil?
|
89
89
|
|
data/lib/rookout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rookout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liran Haimovitch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binding_of_caller
|