guard-spork 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -78,7 +78,7 @@ end
78
78
  Guard::Spork automatically detect RSpec/Cucumber/Test::Unit/Bundler presence but you can disable any of them with the corresponding options:
79
79
 
80
80
  ``` ruby
81
- guard 'spork', :cucumber => false, :bundler => false do
81
+ guard 'spork', :rspec => false, :cucumber => false, :test_unit => false, :bundler => false do
82
82
  # ...
83
83
  end
84
84
  ```
@@ -105,7 +105,8 @@ Available options:
105
105
  :test_unit_env => { 'RAILS_ENV' => 'baz' } # Default: nil
106
106
  :rspec_env => { 'RAILS_ENV' => 'foo' } # Default: nil
107
107
  :cucumber_env => { 'RAILS_ENV' => 'bar' } # Default: nil
108
- :aggressive_kill => false # Default: true, will search Spork pids from `ps aux` and kill them all on start.
108
+ :aggressive_kill => false # Default: true, will search Spork pids from `ps aux` and kill them all on start.
109
+ :notify_on_start => true # Default: false, will notify as soon as starting begins.
109
110
  ```
110
111
 
111
112
  ## Common troubleshooting
@@ -22,6 +22,9 @@ module Guard
22
22
  def launch_sporks(action, type = nil)
23
23
  instances = find_instances(type)
24
24
  UI.info "#{action.capitalize}ing Spork for #{instances.join(', ')}", :reset => true
25
+ if options[:notify_on_start]
26
+ Notifier.notify "#{action.capitalize}ing #{instances.join(', ')}", :title => "Spork", :image => :success
27
+ end
25
28
  instances.each(&:start)
26
29
  verify_launches(action, instances)
27
30
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module SporkVersion
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
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.5.1
4
+ version: 0.5.2
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-01-09 00:00:00.000000000 Z
12
+ date: 2012-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70272019748480 !ruby/object:Gem::Requirement
16
+ requirement: &70329766878060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.10.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70272019748480
24
+ version_requirements: *70329766878060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spork
27
- requirement: &70272019747920 !ruby/object:Gem::Requirement
27
+ requirement: &70329766877580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.8.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70272019747920
35
+ version_requirements: *70329766877580
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &70272020095300 !ruby/object:Gem::Requirement
38
+ requirement: &70329766877100 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '1.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70272020095300
46
+ version_requirements: *70329766877100
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70272020094740 !ruby/object:Gem::Requirement
49
+ requirement: &70329766876640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '2.6'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70272020094740
57
+ version_requirements: *70329766876640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: guard-rspec
60
- requirement: &70272020094200 !ruby/object:Gem::Requirement
60
+ requirement: &70329766876180 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0.4'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70272020094200
68
+ version_requirements: *70329766876180
69
69
  description: Guard::Spork automatically manage Spork DRb servers.
70
70
  email:
71
71
  - thibaud@thibaud.me
@@ -100,8 +100,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: 1.3.6
101
101
  requirements: []
102
102
  rubyforge_project: guard-spork
103
- rubygems_version: 1.8.12
103
+ rubygems_version: 1.8.15
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: Guard gem for Spork
107
107
  test_files: []
108
+ has_rdoc: