Sha256: 558be3272163213fb422ebb28676abb3c42519f7533ba4e3fa25c3d03ea149aa

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

Contents

if RUBY_VERSION < '2.0' || defined?(JRUBY_VERSION)
  require 'ruby-debug-base'
else
  require 'debase'
end

require 'ruby-debug-ide/version'
require 'ruby-debug-ide/ide_processor'

module Debugger

  class << self
    def print_greeting_msg(stream, host, port)
      base_gem_name = if defined?(JRUBY_VERSION) || RUBY_VERSION < '1.9.0'
                        'ruby-debug-base'
                      elsif RUBY_VERSION < '2.0.0'
                        'ruby-debug-base19x'
                      else
                        'debase'
                      end

      file_filtering_support = if Command.file_filter_supported?
                                 'supported'
                               else
                                 'not supported'
                               end

      if host && port
        listens_on = " listens on #{host}:#{port}\n"
      else
        listens_on = "\n"
      end

      msg = "Fast Debugger (ruby-debug-ide #{IDE_VERSION}, #{base_gem_name} #{VERSION}, file filtering is #{file_filtering_support})" + listens_on

      stream.printf msg
    end
  end

end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ruby-debug-ide-docker-0.6.1 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta12 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta11 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta9 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta8 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta7 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta6 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta4 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.6.1.beta3 lib/ruby-debug-ide/greeter.rb