rookout 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c221072b65f45a39f76d5e19eef6fa16acca2195e24ccc5556e28891800bf2e
4
- data.tar.gz: 5d4bc9847e1492098888bd80433ed5bf62375a7a3ef22a22b3edbabc51157524
3
+ metadata.gz: 1189352fe3bb2817944ec553c3a658bcd0d677781ffee90190521e1ed55189c3
4
+ data.tar.gz: 63bf916c9f3140c4bf2be89a3469ffd3f451f37edc4741c39c6336ef1373269c
5
5
  SHA512:
6
- metadata.gz: eca7de50c075553184cc1b6d5ad394d3fdd63d8869a50d0fe654f72a7d332ca0a941ca54ae030b516193df0f06ed8069e898572a7ed770fb51191e097b3e291f
7
- data.tar.gz: 610f1de91359daa7b31f0554840fcde57f0506396a4deb9524bcfdb6dbc24eb981a6a42534e63ff65a3444d19fe64ea2148aae8c49cf81fe5abbb223a190f526
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.RookObjectNameMissing if name.nil?
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.RookUnsupportedLocation if name != "file_line"
56
+ raise Exceptions::RookUnsupportedLocation if name != "file_line"
57
57
  end
58
58
  end
59
59
 
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- COMMIT = "5fd8b00c48eceb85c0e6c633ed13b7dbddf6715d".freeze
2
+ COMMIT = "f6730b0a0901306d41b983fb4b7a8c7f85d46c81".freeze
3
3
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- VERSION = "0.1.21".freeze
2
+ VERSION = "0.1.22".freeze
3
3
  end
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.21
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-03-14 00:00:00.000000000 Z
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.4
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