guard-spin 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -32,6 +32,17 @@ Guardfile
32
32
 
33
33
  Please read [Guard doc](https://github.com/guard/guard#readme) for more information about the Guardfile DSL.
34
34
 
35
+ ### Options
36
+
37
+ Available options:
38
+
39
+ ``` ruby
40
+ :rspec => false # Don't use RSpec
41
+ :test_unit => false # Don't use Test::Unit
42
+ :bundler => false # Don't use "bundle exec"
43
+ :cli => '--time' # Pass options to spin serve. `spin -h` for more spin options
44
+ ```
45
+
35
46
  Development
36
47
  -----------
37
48
 
@@ -50,4 +61,4 @@ Authors
50
61
  Many Thanks To
51
62
  --------------
52
63
 
53
- * [Jesse Storimer](https://github.com/jstorimer)
64
+ * [Jesse Storimer](https://github.com/jstorimer)
@@ -82,6 +82,7 @@ module Guard
82
82
  def spin_serve_options
83
83
  opt_parts = []
84
84
  opt_parts << "-Itest" if test_unit?
85
+ opt_parts << options[:cli] unless options[:cli].nil?
85
86
  opt_parts.join(' ')
86
87
  end
87
88
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module SpinVersion
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
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.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: