guard-spork 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,11 +28,11 @@ module Guard
28
28
  end
29
29
 
30
30
  def start
31
- cmd = command
31
+ executable, *cmd = command
32
32
 
33
33
  ::Guard::UI.debug "guard-spork command execution: #{cmd}"
34
34
 
35
- @process = ChildProcess.build *cmd
35
+ @process = ChildProcess.build(executable, *cmd)
36
36
  @process.environment.merge!(env) unless env.empty?
37
37
  @process.io.inherit!
38
38
  @process.start
@@ -49,7 +49,7 @@ module Guard
49
49
 
50
50
  def running?
51
51
  return false unless alive?
52
- TCPSocket.new('localhost', port).close
52
+ TCPSocket.new('127.0.0.1', port).close
53
53
  true
54
54
  rescue Errno::ECONNREFUSED
55
55
  false
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module SporkVersion
3
- VERSION = "1.4.1"
3
+ VERSION = "1.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,25 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
5
4
  prerelease:
5
+ version: 1.4.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thibaud Guillaume-Gentil
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-07 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
+ type: :runtime
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: '1.1'
22
- type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
@@ -29,13 +29,13 @@ dependencies:
29
29
  version: '1.1'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: spork
32
+ type: :runtime
32
33
  requirement: !ruby/object:Gem::Requirement
33
34
  none: false
34
35
  requirements:
35
36
  - - ! '>='
36
37
  - !ruby/object:Gem::Version
37
38
  version: 0.8.4
38
- type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
@@ -45,13 +45,13 @@ dependencies:
45
45
  version: 0.8.4
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: childprocess
48
+ type: :runtime
48
49
  requirement: !ruby/object:Gem::Requirement
49
50
  none: false
50
51
  requirements:
51
52
  - - ! '>='
52
53
  - !ruby/object:Gem::Version
53
54
  version: 0.2.3
54
- type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
@@ -61,13 +61,13 @@ dependencies:
61
61
  version: 0.2.3
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: bundler
64
+ type: :development
64
65
  requirement: !ruby/object:Gem::Requirement
65
66
  none: false
66
67
  requirements:
67
68
  - - ~>
68
69
  - !ruby/object:Gem::Version
69
70
  version: '1.0'
70
- type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
@@ -77,13 +77,13 @@ dependencies:
77
77
  version: '1.0'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: rspec
80
+ type: :development
80
81
  requirement: !ruby/object:Gem::Requirement
81
82
  none: false
82
83
  requirements:
83
84
  - - ~>
84
85
  - !ruby/object:Gem::Version
85
86
  version: '2.10'
86
- type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
@@ -93,13 +93,13 @@ dependencies:
93
93
  version: '2.10'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: guard-rspec
96
+ type: :development
96
97
  requirement: !ruby/object:Gem::Requirement
97
98
  none: false
98
99
  requirements:
99
100
  - - ~>
100
101
  - !ruby/object:Gem::Version
101
102
  version: '1.0'
102
- type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false