debugger-xml 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,15 @@
1
1
  module Debugger
2
- class TextMateCommand < Command
2
+ if RUBY_PLATFORM =~ /darwin/
3
+ class TextMateCommand < Command
3
4
 
4
- def execute_with_xml(*args)
5
- errmsg(pr("general.errors.unsupported", cmd: 'tmate')) && return if Debugger.printer.type == "xml"
6
- execute_without_xml(*args)
7
- end
5
+ def execute_with_xml(*args)
6
+ errmsg(pr("general.errors.unsupported", cmd: 'tmate')) && return if Debugger.printer.type == "xml"
7
+ execute_without_xml(*args)
8
+ end
8
9
 
9
- alias_method :execute_without_xml, :execute
10
- alias_method :execute, :execute_with_xml
10
+ alias_method :execute_without_xml, :execute
11
+ alias_method :execute, :execute_with_xml
11
12
 
13
+ end
12
14
  end
13
15
  end
@@ -1,5 +1,5 @@
1
1
  module Debugger
2
2
  module Xml
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debugger-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: