guard-sidekiq 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -42,7 +42,7 @@ You can customize the sidekiq task via the following options:
42
42
  * `timeout`: shutdown timeout
43
43
  * `concurrency`: the number of threads to include (defaults to `1`)
44
44
  * `verbose`: whether to use verbose logging (defaults to `nil`)
45
- * `stop_signal`: how to kill the process when restarting (defaults to `QUIT`)
45
+ * `stop_signal`: how to kill the process when restarting (defaults to `TERM`)
46
46
 
47
47
 
48
48
  ## Development
@@ -2,7 +2,7 @@ module Guard
2
2
  module SidekiqVersion
3
3
  MAJOR = 0 # api
4
4
  MINOR = 0 # features
5
- PATCH = 7 # bug fixes
5
+ PATCH = 8 # bug fixes
6
6
  BUILD = nil # beta, rc1, etc
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
data/lib/guard/sidekiq.rb CHANGED
@@ -5,7 +5,7 @@ require 'timeout'
5
5
  module Guard
6
6
  class Sidekiq < Guard
7
7
 
8
- DEFAULT_SIGNAL = :QUIT
8
+ DEFAULT_SIGNAL = :TERM
9
9
  DEFAULT_CONCURRENCY = 1
10
10
 
11
11
  # Allowable options are:
@@ -15,7 +15,7 @@ module Guard
15
15
  # - :config e.g. config/sidekiq.yml
16
16
  # - :concurrency, e.g. 20
17
17
  # - :verbose e.g. true
18
- # - :stop_signal e.g. :QUIT or :SIGQUIT
18
+ # - :stop_signal e.g. :TERM, :QUIT or :SIGQUIT
19
19
  def initialize(watchers = [], options = {})
20
20
  @options = options
21
21
  @pid = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-09 00:00:00.000000000 Z
13
+ date: 2012-09-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard
17
- requirement: &2157128320 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '1.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2157128320
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '1.1'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: sidekiq
28
- requirement: &2157127900 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ! '>='
@@ -33,10 +38,15 @@ dependencies:
33
38
  version: '0'
34
39
  type: :runtime
35
40
  prerelease: false
36
- version_requirements: *2157127900
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: bundler
39
- requirement: &2157127420 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ! '>='
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: '0'
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *2157127420
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: rake
50
- requirement: &2157126800 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ! '>='
@@ -55,10 +70,15 @@ dependencies:
55
70
  version: '0'
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *2157126800
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: rspec
61
- requirement: &2157126080 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
84
  - - ~>
@@ -66,10 +86,15 @@ dependencies:
66
86
  version: 2.5.0
67
87
  type: :development
68
88
  prerelease: false
69
- version_requirements: *2157126080
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 2.5.0
70
95
  - !ruby/object:Gem::Dependency
71
96
  name: guard-rspec
72
- requirement: &2157125500 !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
73
98
  none: false
74
99
  requirements:
75
100
  - - ! '>='
@@ -77,10 +102,15 @@ dependencies:
77
102
  version: 0.2.0
78
103
  type: :development
79
104
  prerelease: false
80
- version_requirements: *2157125500
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.2.0
81
111
  - !ruby/object:Gem::Dependency
82
112
  name: guard-bundler
83
- requirement: &2157124800 !ruby/object:Gem::Requirement
113
+ requirement: !ruby/object:Gem::Requirement
84
114
  none: false
85
115
  requirements:
86
116
  - - ! '>='
@@ -88,7 +118,12 @@ dependencies:
88
118
  version: 0.1.1
89
119
  type: :development
90
120
  prerelease: false
91
- version_requirements: *2157124800
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: 0.1.1
92
127
  description: Guard::Sidekiq automatically starts/stops/restarts sidekiq worker
93
128
  email:
94
129
  - team@uken.com
@@ -122,21 +157,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
157
  - - ! '>='
123
158
  - !ruby/object:Gem::Version
124
159
  version: '0'
125
- segments:
126
- - 0
127
- hash: -701714516467018123
128
160
  required_rubygems_version: !ruby/object:Gem::Requirement
129
161
  none: false
130
162
  requirements:
131
163
  - - ! '>='
132
164
  - !ruby/object:Gem::Version
133
165
  version: '0'
134
- segments:
135
- - 0
136
- hash: -701714516467018123
137
166
  requirements: []
138
167
  rubyforge_project:
139
- rubygems_version: 1.8.11
168
+ rubygems_version: 1.8.23
140
169
  signing_key:
141
170
  specification_version: 3
142
171
  summary: guard gem for sidekiq