guard-unicorn 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cf3afb4c7342c19265f75f01c520fea71eef6bdf
4
+ data.tar.gz: e72e9d35972bd3a6882c243f97cfdaf144eb07e4
5
+ SHA512:
6
+ metadata.gz: 8f67535e57107cd8180a283ec242ebda84ea831b54ccd2639b26b1241e3f8ba03a8888f62fe71ab8b6a34b9a6f54aedc4588cd2298cf55516d75bd14fdd341f6
7
+ data.tar.gz: 0371d84650b45f7b0d1a738d3fa73d4a123d9ae2db5f811210007bc47788e1cb6dab31426331e1965975bf27e5da8daed8f8482bcdf6b2d351c60c120282e0af
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "guard-unicorn"
6
- s.version = "0.0.8"
6
+ s.version = "0.0.9"
7
7
  s.authors = ["Andrei Maxim"]
8
8
  s.email = ["andrei@andreimaxim.ro"]
9
9
  s.homepage = "https://github.com/xhr/guard-unicorn"
data/lib/guard/unicorn.rb CHANGED
@@ -26,6 +26,7 @@ module Guard
26
26
  @preloading = options.fetch(:preloading, false)
27
27
  @port = options.fetch(:port, DEFAULT_PORT)
28
28
  @environment = options.fetch(:environment, DEFAULT_ENVIRONMENT)
29
+ @socket = options.fetch(:socket, nil)
29
30
 
30
31
  super
31
32
  end
@@ -40,7 +41,8 @@ module Guard
40
41
  cmd << "bundle exec" if @enable_bundler
41
42
  cmd << "unicorn_rails"
42
43
  cmd << "-c #{@config_file}"
43
- cmd << "-p #{@port}"
44
+ cmd << "-p #{@port}" unless @socket
45
+ cmd << "-l #{@socket}" if @socket
44
46
  cmd << "-E #{@environment}"
45
47
  cmd << "-D" if @run_as_daemon
46
48
 
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andrei Maxim
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-18 00:00:00.000000000 Z
11
+ date: 2013-06-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: guard
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: minitest
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: guard
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: Guard plug-in that allows you to restart Unicorn
@@ -109,27 +98,26 @@ files:
109
98
  - test/test_helper.rb
110
99
  homepage: https://github.com/xhr/guard-unicorn
111
100
  licenses: []
101
+ metadata: {}
112
102
  post_install_message:
113
103
  rdoc_options: []
114
104
  require_paths:
115
105
  - lib
116
106
  required_ruby_version: !ruby/object:Gem::Requirement
117
- none: false
118
107
  requirements:
119
- - - ! '>='
108
+ - - '>='
120
109
  - !ruby/object:Gem::Version
121
110
  version: '0'
122
111
  required_rubygems_version: !ruby/object:Gem::Requirement
123
- none: false
124
112
  requirements:
125
- - - ! '>='
113
+ - - '>='
126
114
  - !ruby/object:Gem::Version
127
115
  version: '0'
128
116
  requirements: []
129
117
  rubyforge_project: guard-unicorn
130
- rubygems_version: 1.8.24
118
+ rubygems_version: 2.0.0
131
119
  signing_key:
132
- specification_version: 3
120
+ specification_version: 4
133
121
  summary: Guard for Unicorn
134
122
  test_files:
135
123
  - test/test_helper.rb