Permalink
Commits on Jun 5, 2012
Commits on May 28, 2012
Commits on May 13, 2012
  1. bunch of shiznite

    committed May 13, 2012
Commits on May 11, 2012
Commits on May 10, 2012
Commits on May 5, 2012
Commits on Apr 30, 2012
  1. added reinstall script

    committed Apr 10, 2012
Commits on Apr 23, 2012
  1. added class_browser_manager

    committed Apr 23, 2012
Commits on Apr 15, 2012
  1. added ClassBrowserManager, upated JSON protocol

    * now support retrieving method and module source code
    * 'br' channel has a bunch of other sub channels
    committed Apr 15, 2012
Commits on Apr 10, 2012
  1. ignore autoloaded constants

    committed Apr 10, 2012
Commits on Apr 4, 2012
Commits on Apr 1, 2012
  1. br now returns a hash

    committed Apr 1, 2012
Commits on Mar 30, 2012
Commits on Mar 25, 2012
  1. updates changelog

    simulacre committed Mar 25, 2012
  2. fixes #34 reset starts a new session

    doesn't work correctly with 'bundle exec pry-remote-em ...'
    doesn't work correctly with 'ruby -I lib bin/pry-remote-em ...'
    simulacre committed Mar 25, 2012
Commits on Feb 12, 2012
Commits on Feb 11, 2012
  1. refs #15 adds ruby-termios to gem dependencies; warns about EM < 1.0.…

    …0.beta
    
    Interactive shell commands on EM < 1.0.0.beta will remain line buffered
    because Termios and rb-readline don't get along EM 1.0.0.beta.4 either
    adjusts STDIN in some way that is necessary, or EM < 1.0.0.beta.4
    adjusts it in some way this is not good. Long story short, VIM is
    definitely unusable as a shell command if the client is running on EM <
    1.0.0.beta.4.
    simulacre committed Feb 11, 2012
  2. refs #15 - adds basic support for shell commands

    services started with :allow_shell_cmds => true will execute shell
    commands when requested.
    
    the client uses termios to fully unbuffer STDIN. the server still needs
    to make stdin and stdout of the spawned process appear as a tty: vim
    doesn't work yet.
    simulacre committed Feb 11, 2012
  3. closes #16 server takes a :logger; if not specified then STDERR will …

    …be used
    
    It expects that the :logger will respond to #info and #debug.
    simulacre committed Feb 11, 2012
  4. refs #28 adds authentication event callbacks to server

    Available events are:
     - auth_attempt
     - auth_fail
     - auth_ok
    
    ```ruby
    log         = ::Logger.new('/var/log/auth.pry.log')
    obj.new.remote_pry_em('0.0.0.0', :auto, :tls => true, :auth => auth_hash) do |pry|
      pry.auth_attempt do |user, ip|
        log.info("got an authentication attempt for #{user} from #{ip}")
      end
      pry.auth_fail do |user, ip|
        log.fatal("failed authentication attempt for #{user} from #{ip}")
      end
      pry.auth_ok do |user, ip|
        log.info("successful authentication for #{user} from #{ip}")
      end
    end
    ```
    simulacre committed Feb 11, 2012
Commits on Feb 6, 2012
  1. refs #25 Adds simple chat with '!' and '!!'

    Any line read from the client that starts with '!' or '!!' will be sent
    to other clients as a message for the user. ! messages will be sent to
    all connections for the same object. !! messages will be sent to all
    users of the current Process.
    
    The client will not display the message until the users presses enter.
    If there is a message to display it will be written to STDOUT and
    highlighted. It will also be preceeded with the marker for the type of
    message it was. There is no support for one-to-one messages. There is no
    support for identifying the sender of the message.
    
    The client side still blocks on readline. Ultimately I'd like the client
    to be non blocking and display message as they are received in a
    dedicated area of the terminal.
    simulacre committed Feb 6, 2012
Commits on Feb 5, 2012
Commits on Feb 4, 2012
  1. Fixes #24 arity check on procs is correct

    The issue wasn't just in MRI 1.9 p180.
    
    Proc#arity returns the correct arity. Proc#method(:call)#arity returns
    -1 in MRI.
    simulacre committed Feb 4, 2012
  2. version bump

    simulacre committed Feb 4, 2012
  3. closes #23 - doesn't rely on get_peername returning truthy

    Also EM::Deferrable has #fail not #error
    simulacre committed Feb 4, 2012
Commits on Jan 31, 2012
  1. log change

    simulacre committed Jan 31, 2012