rookout 0.1.16 → 0.1.17

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: e08815efb5a89029e091fe5cd252dce182407411e6025de9db8e5ae2659d77d7
4
- data.tar.gz: 60bba85497d1f9253e3447283fa1adb97096cb21213b5911ba90371323f1de26
3
+ metadata.gz: 412df2821122abb540f4baeed9fd11432ebdc2a50373130ba148c43863c62b9b
4
+ data.tar.gz: afe3d60125a31190bc17dcf2b27a5fa18cf7da70acde921cc959438a8a285dfc
5
5
  SHA512:
6
- metadata.gz: 3d4744c8a0eda6615c1c9b503503d67a1ee647ac7dbf4607fe75b1d9aeff90f8ad98dd497df23eab4488f692f26266d5fd048db566a88a8713272ad072843200
7
- data.tar.gz: 7aec7fcff6e9637319f5867b19f2a5eb15d1a0c560a7e1ed212f21b730ed67253db853eff0d3aeacb89a66a6b558f06fbb9049c68d2a8d052cc6787630859247
6
+ metadata.gz: 4a576e0968b7fdc91b80e4ef7b6b465d046cb44ad5eac73e6817898c422796dedc0a33fc4749480966814029143c83984c26edfecad18b508aaf9da03455205e
7
+ data.tar.gz: 608e9960132a87e86fd1ab9fa6bc045d493b7f95dece96fa5dd8bcbceedc2ea538b4a30a28702ec4e7c8f7951005b9826755b48a4d3171f3a77345ac643b24ea
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- COMMIT = "809b0c180b1861b5f90a7ed0a14ccdd356e7edcf".freeze
2
+ COMMIT = "c966c378ce29011cd64cc0cd52ca6f4acbed2025".freeze
3
3
  end
@@ -189,5 +189,11 @@ module Rookout
189
189
  super 'Bad protobuf version. Please execute "bundle config force_ruby_platform true" before "bundler install".'
190
190
  end
191
191
  end
192
+
193
+ class RookBadProtobufPlatform < ToolException
194
+ def initialize platform
195
+ super "Bad protobuf platform: #{platform}"
196
+ end
197
+ end
192
198
  end
193
199
  end
@@ -77,7 +77,11 @@ module Rookout
77
77
  return unless File.exist? "/etc/alpine-release"
78
78
 
79
79
  protobuf = Gem::Specification.find_by_path "google/protobuf"
80
- raise RookBadProtobuf if protobuf.nil? || protobuf.platform != "ruby"
80
+ STDERR.puts RookBadProtobuf.new.message if protobuf.nil?
81
+ return unless protobuf.platform != "ruby"
82
+
83
+ error = RookBadProtobufPlatform.new protobuf.platform
84
+ STDERR.puts error.message
81
85
  end
82
86
 
83
87
  def configure_globals options
@@ -12,7 +12,8 @@ module Rookout
12
12
 
13
13
  def initialize
14
14
  # Detect unit tests
15
- if ($PROGRAM_NAME.end_with?("minitest_runner.rb") ||
15
+ if (Config.debug ||
16
+ $PROGRAM_NAME.end_with?("minitest_runner.rb") ||
16
17
  $PROGRAM_NAME.end_with?("tunit_or_minitest_in_folder_runner.rb")) &&
17
18
  Dir.pwd.end_with?("ruby-sdk")
18
19
  Config.logger_log_level = :DEBUG
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- VERSION = "0.1.16".freeze
2
+ VERSION = "0.1.17".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.16
4
+ version: 0.1.17
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-01-10 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller