readapt 0.3.1 → 0.3.2

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: c67633f1de57cb29613083f2e241ad6ca9c3f86b0d273fbd1e78e86d7a804b37
4
- data.tar.gz: 0c3994366532e303edc51afd01642a3417c8247ef5af5d9cd16942b385de41c3
3
+ metadata.gz: 70b747008c76ef92ca4628babda7d807affaee949d9a08ba945dbb207d6b82d5
4
+ data.tar.gz: 25efa50517df6cae16e565a9979eb35e133f57078e473c55b0d394260c96c1c8
5
5
  SHA512:
6
- metadata.gz: 9cd6fa0b2a4a3f17e9bc8ef2e44fc8b553667ece8eff3313c8be1dc582a55436f4a909ed33fcd4b01d73e0a2f77b6f3a99dca9c94f66260e8b57193cb01f9276
7
- data.tar.gz: bdbda94a34fb6c36cc8ad867ca5def4ea950d03066ef07b6b2e7b44819ea77e13382594ecf909464850cb99aa2d76933e1d37a932a12e48da904c65a13180995
6
+ metadata.gz: eaf13a0d530de1dc329813c56b7b94272764aba2b82f984dc0efe4ab0e54abd3bcc97b7fc8749d603f25b056ef1258334faecafc3150a0e050f04abc20ba7771
7
+ data.tar.gz: 144896884b4fa35e62436287e5ce29868d9d93f0cf4c7ab01ca756b87a62f0586a22d7e401f150ad64b8003eaf257953bbd1d805eae17efbc1416fc2ff70eb69
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.3.2 - August 11, 2019
2
+ - Unnecessary thread in Backport.run
3
+
1
4
  # 0.3.1 - August 10. 2019
2
5
  - Require Ruby >= 2.2
3
6
 
data/lib/readapt/shell.rb CHANGED
@@ -25,11 +25,9 @@ module Readapt
25
25
  Backport.stop
26
26
  end
27
27
  debugger = Readapt::Debugger.new(machine)
28
- ::Thread.new do
29
- Readapt::Adapter.host debugger
30
- machine.prepare Backport::Server::Tcpip.new(host: options[:host], port: options[:port], adapter: Readapt::Adapter)
31
- end
32
- STDERR.puts "Readapt Debugger #{Readapt::VERSION} is listening HOST=#{options[:host]} PORT=#{options[:port]}"
28
+ Readapt::Adapter.host debugger
29
+ machine.prepare Backport::Server::Tcpip.new(host: options[:host], port: options[:port], adapter: Readapt::Adapter)
30
+ STDERR.puts "Readapt Debugger #{Readapt::VERSION} is listening HOST=#{options[:host]} PORT=#{options[:port]} PID=#{Process.pid}"
33
31
  # Redirect STDOUT and STDERR through the adapter protocol
34
32
  # @todo This feature does not always work with STDERR, e.g, when
35
33
  # running RSpec
@@ -1,3 +1,3 @@
1
1
  module Readapt
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readapt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-10 00:00:00.000000000 Z
11
+ date: 2019-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backport