readapt 0.7.0 → 0.7.1

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: 7be0d8ef56332ff58877c89e39b738afc657a831c753c28412f4e418b5edfbc9
4
- data.tar.gz: cc7c1cc3bcf5e0ca5aadbc67dd03e97549ad9ef9fb047c737898ab7b9a7b1d96
3
+ metadata.gz: 8d414f01a0f666c2b96e522ca8eaed42a796cbb929c46d13e813837cad1bafc0
4
+ data.tar.gz: 18be9da48ce7f0ea2d2c1bcf038492fc73945617f9b650c51fedb69ae0aef8f5
5
5
  SHA512:
6
- metadata.gz: 5828479f0932064d54fb722763e31d0c9cf5c4edb65d24e1fb712254ff641ee2c10af0ec5b2f248b945fd2d3eecf8e08204face7ad884e6809cc0161ecaca0ac
7
- data.tar.gz: b7aaabdcf80008587403f20e24d03c537f20e33eaf977f18b3fea60687f8fb9e12e641baefda5a0ea85a31ff63339892dd78aa44fc1ae04f2e2aedcec4dfb285
6
+ metadata.gz: aa3fdb1fc8fc12a58dfec52c6f3cabe7876165efcbc56f88ee0c1f5ce1f734e79a2b53f4340be9f4ade0491c96ac0aec0683007022f93c598a70b25ef6b2606d
7
+ data.tar.gz: 3087142261e3e42add244d763dd1555db7f0318839896e342d4cddada267a8538801cf66c1bb952e8f11e26166a50d6b8efcb216fbab7d1d7f1be381acd0e147
@@ -1,3 +1,6 @@
1
+ # 0.7.1 - October 13, 2019
2
+ - Debugger sets program name
3
+
1
4
  # 0.7.0 - October 12, 2019
2
5
  - Conditional breakpoints
3
6
  - Graceful shutdown (#2)
@@ -22,6 +22,7 @@ module Readapt
22
22
  @request = nil
23
23
  @config = {}
24
24
  @original_argv = ARGV.clone
25
+ @original_prog = $0
25
26
  @machine = machine
26
27
  @breakpoints = {}
27
28
  end
@@ -178,11 +179,13 @@ module Readapt
178
179
  end
179
180
 
180
181
  def set_program_args
182
+ $0 = file
181
183
  ARGV.clear
182
184
  ARGV.replace(@config['programArgs'] || [])
183
185
  end
184
186
 
185
187
  def set_original_args
188
+ $0 = @original_prog
186
189
  ARGV.clear
187
190
  ARGV.replace @original_argv
188
191
  end
@@ -1,3 +1,3 @@
1
1
  module Readapt
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
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.7.0
4
+ version: 0.7.1
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-10-12 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backport