diver_down 0.0.1.alpha7 → 0.0.1.alpha8
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/lib/diver_down/trace/session.rb +1 -7
- data/lib/diver_down/version.rb +1 -1
- data/lib/diver_down/web/action.rb +1 -0
- data/lib/diver_down/web/module_store.rb +6 -0
- data/web/assets/bundle.js +23 -23
- 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: 0b6dec73d4653351d9d352e2576d572e3e16617d4b93b7fac88d1f92346f0d6d
|
4
|
+
data.tar.gz: '0429bc45357cdf12327e0960b379d65df8ffe6d345c23b99600b3ab9e9d02f98'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012d06bc87393013c42a7b6033507845c7efe36f654058a8afcde1e7b2f229d6b33e45e66e4465ac770c07b69a500adec6ef80e8da98c9ea2414f40f79a8ebc4
|
7
|
+
data.tar.gz: 391c6a56bc9440b60b59eab6a05dfca33095d41a4c1ed7353661ff387f4f227c80865504c51e961c5d512e6cd2caec4d7147547b3ab7dcf54cd7f4d5f250d056
|
@@ -91,13 +91,7 @@ module DiverDown
|
|
91
91
|
|
92
92
|
# Search is a heavy process and should be terminated early.
|
93
93
|
# The position of the most recently found caller or the start of trace is used as the maximum value.
|
94
|
-
|
95
|
-
call_stack.stack_size
|
96
|
-
else
|
97
|
-
call_stack.stack_size - call_stack.context_stack_size[-1]
|
98
|
-
end
|
99
|
-
|
100
|
-
caller_location = find_neast_caller_location(maximum_back_stack_size)
|
94
|
+
caller_location = find_neast_caller_location(call_stack.stack_size)
|
101
95
|
|
102
96
|
# `caller_location` is nil if it is filtered by caller_paths
|
103
97
|
if caller_location
|
data/lib/diver_down/version.rb
CHANGED
@@ -131,6 +131,7 @@ module DiverDown
|
|
131
131
|
definition_group: definition.definition_group,
|
132
132
|
title: definition.title,
|
133
133
|
sources_count: definition.sources.size,
|
134
|
+
unclassified_sources_count: definition.sources.reject { @module_store.include?(_1.source_name) }.size,
|
134
135
|
}
|
135
136
|
end,
|
136
137
|
pagination: pagination.to_h
|