guard-spork 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -110,6 +110,7 @@ Available options:
110
110
  :aggressive_kill => false # Default: true, will search Spork pids from `ps aux` and kill them all on start.
111
111
  :notify_on_start => true # Default: false, will notify as soon as starting begins.
112
112
  :foreman => true # Default: false, will start Spork through `foreman run` to pick up environment variables used by Foreman.
113
+ :quiet => true # Default: false, will silence some of the debugging output which can get repetitive (only work with Spork edge at the moment).
113
114
  ```
114
115
 
115
116
  ## Common troubleshooting
@@ -19,6 +19,7 @@ module Guard
19
19
  options[:minitest] ||= false
20
20
  options[:aggressive_kill] = true unless options[:aggressive_kill] == false
21
21
  options[:foreman] ||= false
22
+ options[:quiet] ||= false
22
23
  @options = options
23
24
  initialize_spork_instances
24
25
  end
@@ -51,7 +52,7 @@ module Guard
51
52
  @spork_instances = []
52
53
  [:rspec, :cucumber, :test_unit, :minitest].each do |type|
53
54
  port, env = options[:"#{type}_port"], options[:"#{type}_env"]
54
- spork_instances << SporkInstance.new(type, port, env, :bundler => should_use?(:bundler), :foreman => should_use?(:foreman)) if should_use?(type)
55
+ spork_instances << SporkInstance.new(type, port, env, :bundler => should_use?(:bundler), :foreman => should_use?(:foreman), :quiet => should_use?(:quiet)) if should_use?(type)
55
56
  end
56
57
  end
57
58
 
@@ -63,6 +63,7 @@ module Guard
63
63
  end
64
64
 
65
65
  parts << "-p #{port}"
66
+ parts << "-q" if options[:quiet]
66
67
  parts.join(" ")
67
68
  end
68
69
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module SporkVersion
3
- VERSION = "0.7.1"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-24 00:00:00.000000000 Z
12
+ date: 2012-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70326695053200 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 0.10.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70326695053200
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.10.0
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: spork
27
- requirement: &70326695052740 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 0.8.4
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70326695052740
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.8.4
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: bundler
38
- requirement: &70326695052280 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '1.0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70326695052280
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rspec
49
- requirement: &70326695051820 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '2.6'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70326695051820
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2.6'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: guard-rspec
60
- requirement: &70326695051360 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0.4'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70326695051360
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '0.4'
69
94
  description: Guard::Spork automatically manage Spork DRb servers.
70
95
  email:
71
96
  - thibaud@thibaud.me
@@ -100,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
125
  version: 1.3.6
101
126
  requirements: []
102
127
  rubyforge_project: guard-spork
103
- rubygems_version: 1.8.16
128
+ rubygems_version: 1.8.24
104
129
  signing_key:
105
130
  specification_version: 3
106
131
  summary: Guard gem for Spork
107
132
  test_files: []
108
- has_rdoc: