Permalink
Commits on Jan 3, 2014
  1. Merge pull request #91 from lucapette/use_custom_process_name

    Set a custom name for spin serve command
    kirs committed Jan 3, 2014
  2. Set a custom name for spin serve command

    - It makes it easier to check if the server is running
    lucapette committed Jan 3, 2014
Commits on Jan 1, 2014
  1. Merge pull request #90 from rubemz/feature/rspec-runner

    refactor rspec runner
    kirs committed Jan 1, 2014
  2. empty

    rubemz committed Jan 1, 2014
  3. refactor rspec runner

    rubemz committed Jan 1, 2014
Commits on Aug 18, 2013
  1. Mention folks in changelog

    kirs committed Aug 18, 2013
  2. Version bump

    kirs committed Aug 18, 2013
  3. Merge pull request #85 from jdelStrother/signal-handlers

    Signal handlers
    kirs committed Aug 18, 2013
Commits on Aug 16, 2013
  1. Fix bug where SIGINT would not exit test.

    Now that signals are handled by a self-pipe queue (ef645ca), the changes
    made in 7a3c665 (2 layers of SIGINT handling) make less sense. This
    commit introduces new SIGINT handling behavior: if a test is running,
    the test is exited. Otherwise, the server is exited.
    
    Other changes:
    
    1. Move messages written to/read from queue into constants.
    
    2. Add a "ready" state to indicate whether or not the server is ready
    for new tests or commands.
    
    3. Reconnect signal traps to signal "handler" methods.
    toddmazierski committed Aug 15, 2013
Commits on Aug 9, 2013
  1. Remove unnecessary TestProcess code

    Now that our SIGINT/SIGQUIT are handled serially, it's impossible for the sigquit_handler method to be called while a previous test is still running.  Therefore, we don't need to keep track of the child process's pid, and can remove the TestProcess class.
    jdelStrother committed Aug 9, 2013
  2. Only write to the self-pipe from the server process

    Fixes Ctrl-\ re-running the test twice
    jdelStrother committed Aug 9, 2013
Commits on Jul 31, 2013
  1. Fix Ruby 2.0 signal handling

    Use the self-pipe trick to make the signal handlers safe in Ruby 2.0
    jdelStrother committed Jul 31, 2013
Commits on Jul 23, 2013
  1. Version bump (0.7.0)

    kirs committed Jul 23, 2013
Commits on Jul 22, 2013
  1. Merge pull request #84 from paperlesspost/prevent_multiple_child_proc…

    …esses
    
    Prevent multiple test processes from running
    kirs committed Jul 22, 2013
Commits on Jul 19, 2013
  1. Simplify TestProcess#alive? method.

    The presence of the @pid instance variable alone can be trusted to
    determine whether or not the test process is alive (there's no need to
    send a signal).
    toddmazierski committed Jul 19, 2013
  2. Prevent multiple test processes from running.

    This fixes a bug where if Ctrl+\ (SIGQUIT) was pressed multiple times,
    multiple test processes were spawned.
    
    Other changes:
    
    * Fix bug where if Ctrl+\ was pressed before first tests pushed, "You
    have a nil object when you didn't expect it!" exception was raised
    * Add notification when Spin server is ready
    * Consolidate duplicate Process.wait calls into one location
    (Spin.fork_and_run)
    toddmazierski committed Jul 19, 2013
  3. Merge pull request #83 from paperlesspost/2_layers_of_sigint_handling

    2 layers of SIGINT handling
    kirs committed Jul 19, 2013
  4. Add 2 layers of SIGINT handling to Spin server.

    Changes made:
    
    * If the process receiving the SIGINT is *not* the Spin server process,
    the SIGINT is "bubbled up" by exiting.
    
    * If the process receiving the SIGINT *is* the Spin server process, it's
    first ignored. If a second SIGINT is received within the time window (5
    seconds), the server exits.
    
    The overall effect of these changes is that when Ctrl+C is pressed, the
    child process (the test) exits, but leaves the server running.
    toddmazierski committed Jul 19, 2013
  5. Replace puts with Ruby Logger.

    With the custom "formatter", this makes messages from Spin easier to
    distinguish from test and hook output.
    toddmazierski committed Jul 19, 2013
Commits on Jun 24, 2013
  1. Added MIT license

    committed Jun 24, 2013
Commits on Jun 7, 2013
  1. Merge pull request #81 from ekampp/master

    Compact `files_to_load` before checking if it's empty
    Kir Shatrov committed Jun 7, 2013
Commits on Jun 6, 2013
  1. Allows reverse lookup from filename

    My guard file is setup to run acceptance/<file>_spec.rb,
    controllers/<file>_rspec.rb and routing/<file>_routing_spec.rb, when
    <file> is saved.
    
    Some of my controllers have routing specs, some doesn't. In case they
    doesn't spin will raise an error, because it can't invoke `empty?` on
    nil.
    
    This patch compmacts the `files_to_load` list, before testing if it's
    empty. This fixes the problem described above.
    ekampp committed Jun 6, 2013
Commits on May 31, 2013
  1. Changelog for master

    kirs committed May 31, 2013
  2. close #74 restored change log

    kirs committed May 31, 2013
Commits on May 28, 2013
  1. Merge pull request #79 from rosic/fix-rspec-trailing-args

    Unify run outputs with inspect
    Kir Shatrov committed May 28, 2013
  2. Unify run outputs with inspect

    rosic committed May 28, 2013
  3. 1.8 hash fix

    kirs committed May 28, 2013
  4. Merge pull request #78 from rosic/fix-rspec-trailing-args

    Put RSpec trailing args after files to run
    Kir Shatrov committed May 28, 2013
  5. New way of running specs

    kirs committed May 28, 2013
Commits on May 27, 2013