runit-man 2.3.7 → 2.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,3 @@
1
1
  *.sw?
2
2
  *.gem
3
- Gemfile.lock
3
+ .bundle/
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ runit-man (2.3.8)
5
+ file-tail (>= 1.0.5)
6
+ haml (>= 3.0)
7
+ i18n (>= 0.5.0)
8
+ sinatra (>= 1.1)
9
+ sinatra-content-for2 (>= 0.2.4)
10
+ yajl-ruby (>= 0.7.8)
11
+
12
+ GEM
13
+ remote: http://rubygems.org/
14
+ specs:
15
+ diff-lcs (1.1.2)
16
+ file-tail (1.0.5)
17
+ spruz (>= 0.1.0)
18
+ haml (3.1.2)
19
+ i18n (0.6.0)
20
+ kgio (2.5.0)
21
+ rack (1.3.0)
22
+ rack-test (0.6.0)
23
+ rack (>= 1.0)
24
+ rainbows (3.4.0)
25
+ kgio (~> 2.4)
26
+ rack (~> 1.1)
27
+ unicorn (~> 3.6)
28
+ rake (0.8.7)
29
+ rr (1.0.2)
30
+ rspec-core (2.6.4)
31
+ rspec-expectations (2.6.0)
32
+ diff-lcs (~> 1.1.2)
33
+ sendfile (1.1.0)
34
+ sinatra (1.2.6)
35
+ rack (~> 1.1)
36
+ tilt (>= 1.2.2, < 2.0)
37
+ sinatra-content-for2 (0.2.4)
38
+ sinatra
39
+ spruz (0.2.8)
40
+ tilt (1.3.2)
41
+ unicorn (3.7.0)
42
+ kgio (~> 2.3)
43
+ rack
44
+ yajl-ruby (0.8.2)
45
+
46
+ PLATFORMS
47
+ ruby
48
+
49
+ DEPENDENCIES
50
+ bundler (>= 1.0.10)
51
+ rack (>= 1.3.0)
52
+ rack-test
53
+ rainbows
54
+ rake (!= 0.9.0)
55
+ rr
56
+ rspec-core
57
+ rspec-expectations
58
+ runit-man!
59
+ sendfile
data/Rakefile CHANGED
@@ -24,6 +24,7 @@ end
24
24
 
25
25
  begin
26
26
  require 'bundler'
27
+ Bundler.setup(:default)
27
28
  Bundler::GemHelper.install_tasks
28
29
  rescue LoadError
29
30
  $stderr.puts "Bundler not available. Install it with: gem install bundler"
@@ -88,11 +88,14 @@ private
88
88
  def log_folder_base_name(lpid)
89
89
  args = log_command_args(lpid)
90
90
  return nil if args.nil?
91
- args.first
91
+ result = args.first
92
+ # we should remove : from the end of the line for logger installations.
93
+ result = $1 if result =~ /^(.+)\:$/
94
+ result
92
95
  end
93
96
 
94
97
  def log_folder(lpid)
95
- folder = log_folder_base_name(lpid)
98
+ folder = log_folder_base_name(lpid)
96
99
  (log_base_folder.nil? || folder.nil?) ? folder : File.join(log_base_folder, folder)
97
100
  end
98
101
 
@@ -1,5 +1,5 @@
1
1
  module RunitManVersion
2
- VERSION = '2.3.7'.freeze
2
+ VERSION = '2.3.8'.freeze
3
3
 
4
4
  class << self
5
5
  attr_accessor :sendfile
data/runit-man.gemspec CHANGED
@@ -24,6 +24,7 @@ spec = Gem::Specification.new do |s|
24
24
  s.add_dependency 'sinatra-content-for2', '>= 0.2.4'
25
25
  s.add_dependency 'i18n', '>= 0.5.0'
26
26
  s.add_dependency 'file-tail', '>= 1.0.5'
27
+ s.add_development_dependency 'rake', '!= 0.9.0'
27
28
  s.add_development_dependency 'rspec-core'
28
29
  s.add_development_dependency 'rspec-expectations'
29
30
  s.add_development_dependency 'rr'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runit-man
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 7
10
- version: 2.3.7
9
+ - 8
10
+ version: 2.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akzhan Abdulin
@@ -15,13 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-23 00:00:00 +04:00
18
+ date: 2011-08-15 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: yajl-ruby
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ">="
@@ -32,12 +30,12 @@ dependencies:
32
30
  - 7
33
31
  - 8
34
32
  version: 0.7.8
33
+ name: yajl-ruby
35
34
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: haml
39
35
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
41
  - - ">="
@@ -47,12 +45,12 @@ dependencies:
47
45
  - 3
48
46
  - 0
49
47
  version: "3.0"
48
+ name: haml
50
49
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: sinatra
54
50
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
51
+ requirement: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
54
  none: false
57
55
  requirements:
58
56
  - - ">="
@@ -62,12 +60,12 @@ dependencies:
62
60
  - 1
63
61
  - 1
64
62
  version: "1.1"
63
+ name: sinatra
65
64
  type: :runtime
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: sinatra-content-for2
69
65
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirement: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
69
  none: false
72
70
  requirements:
73
71
  - - ">="
@@ -78,12 +76,12 @@ dependencies:
78
76
  - 2
79
77
  - 4
80
78
  version: 0.2.4
79
+ name: sinatra-content-for2
81
80
  type: :runtime
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: i18n
85
81
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
82
+ requirement: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
87
85
  none: false
88
86
  requirements:
89
87
  - - ">="
@@ -94,12 +92,12 @@ dependencies:
94
92
  - 5
95
93
  - 0
96
94
  version: 0.5.0
95
+ name: i18n
97
96
  type: :runtime
98
- version_requirements: *id005
99
- - !ruby/object:Gem::Dependency
100
- name: file-tail
101
97
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
98
+ requirement: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
101
  none: false
104
102
  requirements:
105
103
  - - ">="
@@ -110,12 +108,28 @@ dependencies:
110
108
  - 0
111
109
  - 5
112
110
  version: 1.0.5
111
+ name: file-tail
113
112
  type: :runtime
114
- version_requirements: *id006
113
+ prerelease: false
114
+ requirement: *id006
115
115
  - !ruby/object:Gem::Dependency
116
- name: rspec-core
116
+ version_requirements: &id007 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - "!="
120
+ - !ruby/object:Gem::Version
121
+ hash: 59
122
+ segments:
123
+ - 0
124
+ - 9
125
+ - 0
126
+ version: 0.9.0
127
+ name: rake
128
+ type: :development
117
129
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
130
+ requirement: *id007
131
+ - !ruby/object:Gem::Dependency
132
+ version_requirements: &id008 !ruby/object:Gem::Requirement
119
133
  none: false
120
134
  requirements:
121
135
  - - ">="
@@ -124,12 +138,12 @@ dependencies:
124
138
  segments:
125
139
  - 0
126
140
  version: "0"
141
+ name: rspec-core
127
142
  type: :development
128
- version_requirements: *id007
129
- - !ruby/object:Gem::Dependency
130
- name: rspec-expectations
131
143
  prerelease: false
132
- requirement: &id008 !ruby/object:Gem::Requirement
144
+ requirement: *id008
145
+ - !ruby/object:Gem::Dependency
146
+ version_requirements: &id009 !ruby/object:Gem::Requirement
133
147
  none: false
134
148
  requirements:
135
149
  - - ">="
@@ -138,12 +152,12 @@ dependencies:
138
152
  segments:
139
153
  - 0
140
154
  version: "0"
155
+ name: rspec-expectations
141
156
  type: :development
142
- version_requirements: *id008
143
- - !ruby/object:Gem::Dependency
144
- name: rr
145
157
  prerelease: false
146
- requirement: &id009 !ruby/object:Gem::Requirement
158
+ requirement: *id009
159
+ - !ruby/object:Gem::Dependency
160
+ version_requirements: &id010 !ruby/object:Gem::Requirement
147
161
  none: false
148
162
  requirements:
149
163
  - - ">="
@@ -152,12 +166,12 @@ dependencies:
152
166
  segments:
153
167
  - 0
154
168
  version: "0"
169
+ name: rr
155
170
  type: :development
156
- version_requirements: *id009
157
- - !ruby/object:Gem::Dependency
158
- name: rack-test
159
171
  prerelease: false
160
- requirement: &id010 !ruby/object:Gem::Requirement
172
+ requirement: *id010
173
+ - !ruby/object:Gem::Dependency
174
+ version_requirements: &id011 !ruby/object:Gem::Requirement
161
175
  none: false
162
176
  requirements:
163
177
  - - ">="
@@ -166,12 +180,12 @@ dependencies:
166
180
  segments:
167
181
  - 0
168
182
  version: "0"
183
+ name: rack-test
169
184
  type: :development
170
- version_requirements: *id010
171
- - !ruby/object:Gem::Dependency
172
- name: bundler
173
185
  prerelease: false
174
- requirement: &id011 !ruby/object:Gem::Requirement
186
+ requirement: *id011
187
+ - !ruby/object:Gem::Dependency
188
+ version_requirements: &id012 !ruby/object:Gem::Requirement
175
189
  none: false
176
190
  requirements:
177
191
  - - ">="
@@ -182,8 +196,10 @@ dependencies:
182
196
  - 0
183
197
  - 10
184
198
  version: 1.0.10
199
+ name: bundler
185
200
  type: :development
186
- version_requirements: *id011
201
+ prerelease: false
202
+ requirement: *id012
187
203
  description: |
188
204
  Simple runit (http://smarden.org/runit/) web management tool with i18n.
189
205
 
@@ -203,6 +219,7 @@ files:
203
219
  - CHANGELOG.markdown
204
220
  - DESCRIPTION
205
221
  - Gemfile
222
+ - Gemfile.lock
206
223
  - INSTALL
207
224
  - LICENSE
208
225
  - README.markdown
@@ -277,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
277
294
  requirements:
278
295
  - none
279
296
  rubyforge_project:
280
- rubygems_version: 1.5.2
297
+ rubygems_version: 1.6.2
281
298
  signing_key:
282
299
  specification_version: 3
283
300
  summary: Runit web management tool.