skylight 0.1.5 → 0.1.6.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skylight/messages/trace.rb +8 -2
- data/lib/skylight/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563ae386de883f09e3a0adf7a14042c38d2c7fd2
|
4
|
+
data.tar.gz: 90420768b5b5dcbc2cfbb89e68b416f6e38baa4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad206b26816c8d5bac219bf4878bf7661de49850bfe785f2e181374bfd787c93fcd3b85898fbf78ef37f70891d6e4219e4e03bc3997314dace6dd1e28b1691b2
|
7
|
+
data.tar.gz: a4e9254b1d9ec3f348453df808c9905a3fe7e0f68956820aca5d8f8edcc8b3fe1aa8c025fa77409e19314edffd0f2f486edceae49fd4c06fb9eeb2f7c0d8479c
|
@@ -111,7 +111,13 @@ module Skylight
|
|
111
111
|
|
112
112
|
def build
|
113
113
|
return if @busted
|
114
|
-
|
114
|
+
unless @stack.empty?
|
115
|
+
remaining = @stack.map do |sp|
|
116
|
+
sp == :skip ? :skip : sp.category
|
117
|
+
end
|
118
|
+
|
119
|
+
raise TraceError, "trace unbalanced; remaining=#{remaining.inspect}"
|
120
|
+
end
|
115
121
|
|
116
122
|
Trace.new(
|
117
123
|
uuid: 'TODO',
|
@@ -141,7 +147,7 @@ module Skylight
|
|
141
147
|
def pop
|
142
148
|
unless sp = @stack.pop
|
143
149
|
@busted = true
|
144
|
-
raise TraceError, "trace unbalanced"
|
150
|
+
raise TraceError, "closing span -- trace unbalanced"
|
145
151
|
end
|
146
152
|
|
147
153
|
@parents.pop if :skip != sp
|
data/lib/skylight/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
@@ -157,9 +157,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: 1.9.2
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
|
-
- - '
|
160
|
+
- - '>'
|
161
161
|
- !ruby/object:Gem::Version
|
162
|
-
version:
|
162
|
+
version: 1.3.1
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
165
|
rubygems_version: 2.0.3
|