Guard::Spin automatically manage Spin server.
Ruby
Pull request Compare This branch is 70 commits ahead of jonsgreen:master.
Latest commit b09ee39 Apr 17, 2015 @jgeiger jgeiger Merge pull request #18 from nexiahome/master
Update guard-spin to use new Guard plugin method
Failed to load latest commit information.
lib/guard
spec Update to 0.4.0, update rspec syntax, add guard-compat Feb 11, 2015
.gitignore Ignore vendor/bundle Feb 11, 2015
CHANGELOG.md Version bump to 0.3.0 Jun 29, 2012
Gemfile Added Guard. Jul 2, 2012
Guardfile Added Guard. Jul 1, 2012
LICENSE Added an actual license. Nov 7, 2011
README.md update Readme to reflect env option Feb 2, 2014
Rakefile Initial guard runner support for Spin Nov 2, 2011
guard-spin.gemspec Update to 0.4.0, update rspec syntax, add guard-compat Feb 11, 2015

README.md

Guard::Spin

Guard::Spin automatically starts and stops Spin server.

Install

Please be sure to have Guard installed before continue.

Install the gem:

$ gem install guard-spin

Add it to your Gemfile (inside development group):

gem 'guard-spin'

Add guard definition to your Guardfile by running this command:

$ guard init spin

Usage

Please read Guard usage doc

Guardfile

Please read Guard doc for more information about the Guardfile DSL.

Options

Available options:

:rspec => false          # Don't use RSpec
:test_unit => false      # Don't use Test::Unit
:bundler => false        # Don't use "bundle exec"
:cli => '--time'         # Pass options to spin serve. `spin -h` for more spin options
:env => "ENVVAR=value"   # Pass ENV variables to the spin serve process
:run_all => true         # Run all tests when hitting enter in guard

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Many Thanks To