debugger-xml 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 98874b6194eaf3c72c8ba09e443582e57e5281fb
4
- data.tar.gz: d1fe6d74d8df7637183be84338228be5bc8fe2a7
5
- SHA512:
6
- metadata.gz: 63057dac2a9ba666d28d35d313c2c45bc7f3390da2e5a09137bfd24a4d4060e98c91771c249505f158ade226ce800058bbd6dc7e4a535b85fc0617ff86795eea
7
- data.tar.gz: 73c0084884692e483db2a3f78b885bda9e93d643b8b0f9d2c88f7d4acbe44bab1b3130bc49236b1c2888337ee8638f1df12b6d6f2acb7a595ce2b4b7324d38a3
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MWY0ODA1ZGQwMDQxNWI3NjEwZjVhYmE5ZTBiMzBmMWE4MjU1OTgzZA==
5
+ data.tar.gz: !binary |-
6
+ ZmQyN2ZkNzA4NWE0OThkYTRkYzM1OTUzYjcxOGYwNTE5NzNmZjZlOQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YmUzZTdkN2MzMDkzZjQyZjFkOGUxNzRlNTNiMTA2MTllM2EwYTNmZTAxNGE4
10
+ OTk3MzFlOTg0NGQxZGY4Njg1MGZlNGU0MjU1YTFjMTA1NzU5YWU4MzZmY2M2
11
+ NmM4Y2EwYTc1ZTBhYzFjMWViZTM3MmU4OWU1YmY1NjIxMTAyZjM=
12
+ data.tar.gz: !binary |-
13
+ NjQ5MDQwMGMzMDZhZjU0ZGEwZDQ5ZDE0YTBlZGU2NWI0ODExYjkwM2M1NGY0
14
+ YWY5MDlmZTcwYjAxZGVmZmE2YzgzZWIxZmI3MGIzYzk5ZDgzNjJkM2QwNDUz
15
+ MDU1ZGIzZjAwYzkzMGJkMDA0YjIyMTQwYTBmOTgwZDVlMzE5NTU=
@@ -14,7 +14,7 @@ class RdebugIde
14
14
  check_argv!
15
15
  Debugger.const_set("ARGV", ARGV.clone)
16
16
  Debugger.const_set("RDEBUG_SCRIPT", rdebug_path)
17
- install_interruption_hander
17
+ install_interruption_hander if options.int_handler
18
18
  Debugger.tracing = options.tracing
19
19
  Debugger.wait_for_start = options.wait_for_start
20
20
  Debugger.wait_connection = true
@@ -61,7 +61,7 @@ class RdebugIde
61
61
 
62
62
  def opts
63
63
  @opts ||= begin
64
- @options = OpenStruct.new(host: "127.0.0.1", port: 12345, stop: false, tracing: false, wait_for_start: true)
64
+ @options = OpenStruct.new(host: "127.0.0.1", port: 12345, stop: false, tracing: false, wait_for_start: true, int_handler: true)
65
65
  opts = OptionParser.new do |opts|
66
66
  opts.banner = %{
67
67
  Using rdebug-ide
@@ -79,6 +79,7 @@ class RdebugIde
79
79
  opts.on('--stop', 'stop when the script is loaded') { @options.stop = true }
80
80
  opts.on("-x", "--trace", "turn on line tracing") { @options.tracing = true }
81
81
  opts.on("-I", "--include PATH", String, "Add PATH to $LOAD_PATH") { |path| $LOAD_PATH.unshift(path) }
82
+ opts.on('--disable-int-handler', 'Disables interrupt signal handler') { options.int_handler = false }
82
83
  end
83
84
  opts.parse!
84
85
  opts
@@ -8,6 +8,7 @@ module Debugger
8
8
  @proceed = ConditionVariable.new
9
9
  start
10
10
  @control_thread = DebugThread.new do
11
+ $stderr.printf "Fast Debugger (debugger-xml #{Xml::VERSION}) listens on #{host}:#{port}\n"
11
12
  server = TCPServer.new(host, port)
12
13
  while (session = server.accept)
13
14
  interface = Xml::Ide::Interface.new(session)
@@ -1,5 +1,5 @@
1
1
  module Debugger
2
2
  module Xml
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debugger-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Astashov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-30 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debugger
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.6.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.6.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.0.0
41
41
  - !ruby/object:Gem::Dependency
@@ -185,17 +185,17 @@ require_paths:
185
185
  - lib
186
186
  required_ruby_version: !ruby/object:Gem::Requirement
187
187
  requirements:
188
- - - '>='
188
+ - - ! '>='
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - '>='
193
+ - - ! '>='
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project:
198
- rubygems_version: 2.0.2
198
+ rubygems_version: 2.0.7
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Implements XML interface for the 'debugger' gem, compatible with ruby-debug-ide