rookout 0.1.21 → 0.1.22
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/rookout/augs/aug_factory.rb +2 -2
- data/lib/rookout/commit.rb +1 -1
- data/lib/rookout/exceptions.rb +18 -0
- data/lib/rookout/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1189352fe3bb2817944ec553c3a658bcd0d677781ffee90190521e1ed55189c3
|
|
4
|
+
data.tar.gz: 63bf916c9f3140c4bf2be89a3469ffd3f451f37edc4741c39c6336ef1373269c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cace5dbc2f61f8e1987397345061080fecc85cbcaeb065976f8a8ae071621c01b717e46dd98df55a48fd399f7b2f02b467b786b335d9dcf4088e09a3094f1961
|
|
7
|
+
data.tar.gz: d33370845b6bb7166c93626e74b73a743d5a799f8b69722bae627561fbd747a36542c2a38e7f3135f099e90415d5b5219775407e942a8f3e25c60939a1be9012
|
|
@@ -45,7 +45,7 @@ module Rookout
|
|
|
45
45
|
|
|
46
46
|
def create_location configuration, aug
|
|
47
47
|
name = configuration["name"]
|
|
48
|
-
raise Exceptions
|
|
48
|
+
raise Exceptions::RookObjectNameMissing if name.nil?
|
|
49
49
|
|
|
50
50
|
case name
|
|
51
51
|
when "file_line"
|
|
@@ -53,7 +53,7 @@ module Rookout
|
|
|
53
53
|
when "exception_handler"
|
|
54
54
|
return Locations::LocationExceptionHandler.new configuration, @output, aug
|
|
55
55
|
else
|
|
56
|
-
raise Exceptions
|
|
56
|
+
raise Exceptions::RookUnsupportedLocation if name != "file_line"
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
data/lib/rookout/commit.rb
CHANGED
data/lib/rookout/exceptions.rb
CHANGED
|
@@ -201,5 +201,23 @@ module Rookout
|
|
|
201
201
|
super "Bad protobuf platform: #{platform}"
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
|
+
|
|
205
|
+
class RookObjectNameMissing < ToolException
|
|
206
|
+
def initialize configuration
|
|
207
|
+
super "Failed to find object name",
|
|
208
|
+
{
|
|
209
|
+
"configuration" => configuration
|
|
210
|
+
}
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
class RookUnsupportedLocation < ToolException
|
|
215
|
+
def initialize location
|
|
216
|
+
super "Unsupported aug location was specified: #{location}",
|
|
217
|
+
{
|
|
218
|
+
"location" => location
|
|
219
|
+
}
|
|
220
|
+
end
|
|
221
|
+
end
|
|
204
222
|
end
|
|
205
223
|
end
|
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.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Liran Haimovitch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: binding_of_caller
|
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
- !ruby/object:Gem::Version
|
|
269
269
|
version: '0'
|
|
270
270
|
requirements: []
|
|
271
|
-
rubygems_version: 3.1.
|
|
271
|
+
rubygems_version: 3.1.6
|
|
272
272
|
signing_key:
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: rookout is the Ruby SDK for the Rookout Debugging Platform
|