Skip to content
Commits on Jan 3, 2014
  1. @kirs

    Merge pull request #91 from lucapette/use_custom_process_name

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

    Set a custom name for spin serve command

    lucapette committed Jan 3, 2014
    - It makes it easier to check if the server is running
Commits on Jan 1, 2014
  1. @kirs

    Merge pull request #90 from rubemz/feature/rspec-runner

    kirs committed Jan 1, 2014
    refactor rspec runner
  2. @rubemz

    empty

    rubemz committed Jan 1, 2014
  3. @rubemz

    refactor rspec runner

    rubemz committed Jan 1, 2014
Commits on Aug 18, 2013
  1. @kirs

    Mention folks in changelog

    kirs committed Aug 19, 2013
  2. @kirs

    Version bump

    kirs committed Aug 19, 2013
  3. @kirs

    Merge pull request #85 from jdelStrother/signal-handlers

    kirs committed Aug 18, 2013
    Signal handlers
Commits on Aug 16, 2013
  1. @toddmazierski

    Fix bug where SIGINT would not exit test.

    toddmazierski committed Aug 15, 2013
    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.
Commits on Aug 9, 2013
  1. @jdelStrother

    Remove unnecessary TestProcess code

    jdelStrother committed Aug 9, 2013
    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.
  2. @jdelStrother

    Only write to the self-pipe from the server process

    jdelStrother committed Aug 9, 2013
    Fixes Ctrl-\ re-running the test twice
Commits on Jul 31, 2013
  1. @jdelStrother

    Fix Ruby 2.0 signal handling

    jdelStrother committed Jul 31, 2013
    Use the self-pipe trick to make the signal handlers safe in Ruby 2.0
  2. @jdelStrother
Commits on Jul 23, 2013
  1. @kirs

    Version bump (0.7.0)

    kirs committed Jul 23, 2013
  2. @kirs
Commits on Jul 22, 2013
  1. @kirs

    Merge pull request #84 from paperlesspost/prevent_multiple_child_proc…

    kirs committed Jul 22, 2013
    …esses
    
    Prevent multiple test processes from running
Commits on Jul 19, 2013
  1. @toddmazierski

    Simplify TestProcess#alive? method.

    toddmazierski committed Jul 19, 2013
    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).
  2. @toddmazierski

    Prevent multiple test processes from running.

    toddmazierski committed Jul 19, 2013
    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)
  3. @kirs

    Merge pull request #83 from paperlesspost/2_layers_of_sigint_handling

    kirs committed Jul 19, 2013
    2 layers of SIGINT handling
  4. @toddmazierski

    Fix tests broken in 255f058.

    toddmazierski committed Jul 19, 2013
  5. @toddmazierski

    Add 2 layers of SIGINT handling to Spin server.

    toddmazierski committed Jul 19, 2013
    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.
  6. @toddmazierski

    Replace puts with Ruby Logger.

    toddmazierski committed Jul 19, 2013
    With the custom "formatter", this makes messages from Spin easier to
    distinguish from test and hook output.
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

    Kir Shatrov committed Jun 7, 2013
    Compact `files_to_load` before checking if it's empty
Commits on Jun 6, 2013
  1. @ekampp

    Allows reverse lookup from filename

    ekampp committed Jun 6, 2013
    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.
Commits on May 31, 2013
  1. @kirs

    Changelog for master

    kirs committed May 31, 2013
  2. @kirs

    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

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

    Unify run outputs with inspect

    rosic committed May 28, 2013
  3. @kirs
  4. @kirs

    1.8 hash fix

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

    Kir Shatrov committed May 28, 2013
    Put RSpec trailing args after files to run
  6. @rosic
  7. @kirs

    New way of running specs

    kirs committed May 28, 2013
Commits on May 27, 2013
  1. @kirs
Something went wrong with that request. Please try again.