guard-spin 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -41,6 +41,7 @@ Available options:
41
41
  :test_unit => false # Don't use Test::Unit
42
42
  :bundler => false # Don't use "bundle exec"
43
43
  :cli => '--time' # Pass options to spin serve. `spin -h` for more spin options
44
+ :run_all => true # Run all tests when hitting enter in guard
44
45
  ```
45
46
 
46
47
  Development
@@ -9,7 +9,7 @@ module Guard
9
9
  attr_reader :options
10
10
 
11
11
  def initialize(options = {})
12
- @options = options
12
+ @options = {:run_all => true}.merge(options)
13
13
  UI.info "Guard::Spin Initialized"
14
14
  end
15
15
 
@@ -27,6 +27,7 @@ module Guard
27
27
  end
28
28
 
29
29
  def run_all
30
+ return unless options[:run_all]
30
31
  if rspec?
31
32
  run(['spec'])
32
33
  elsif test_unit?
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module SpinVersion
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-spin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-08 00:00:00.000000000 Z
13
+ date: 2012-06-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 1.8.23
113
+ rubygems_version: 1.8.24
114
114
  signing_key:
115
115
  specification_version: 3
116
116
  summary: Pushes watched files to Spin