pkg_noisrev 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -3
- data/bin/pkg_noisrev +11 -3
- data/doc/NEWS.rdoc +6 -0
- data/doc/README.rdoc +2 -3
- data/lib/pkg_noisrev/meta.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -42,9 +42,8 @@ The options are as follows:
|
|
42
42
|
|
43
43
|
-V:: Show version and exit.
|
44
44
|
|
45
|
-
-v::
|
46
|
-
|
47
|
-
debug info.
|
45
|
+
-v:: Tries to create a log in
|
46
|
+
/tmp/pkg_noisrev.log file.
|
48
47
|
|
49
48
|
--pkg-dir STR:: Set the alternate package db directory.
|
50
49
|
|
data/bin/pkg_noisrev
CHANGED
@@ -48,9 +48,17 @@ if $conf[:verbose] >= 2
|
|
48
48
|
pp $conf
|
49
49
|
end
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
log = nil
|
52
|
+
if $conf[:verbose] >= 1
|
53
|
+
File.delete $conf[:log] rescue nil
|
54
|
+
begin
|
55
|
+
log = Logger.new($conf[:log], 'weekly')
|
56
|
+
File.chmod 0666, $conf[:log]
|
57
|
+
log.formatter = proc { |severity, d, p, msg| "#{severity}: #{msg}\n" }
|
58
|
+
log.info 'New Iteration'
|
59
|
+
rescue
|
60
|
+
end
|
61
|
+
end
|
54
62
|
|
55
63
|
Signal.trap(:INT) do
|
56
64
|
if $conf[:int_attempts] >= 0
|
data/doc/NEWS.rdoc
CHANGED
data/doc/README.rdoc
CHANGED
@@ -42,9 +42,8 @@ The options are as follows:
|
|
42
42
|
|
43
43
|
-V:: Show version and exit.
|
44
44
|
|
45
|
-
-v::
|
46
|
-
|
47
|
-
debug info.
|
45
|
+
-v:: Tries to create a log in
|
46
|
+
/tmp/pkg_noisrev.log file.
|
48
47
|
|
49
48
|
--pkg-dir STR:: Set the alternate package db directory.
|
50
49
|
|
data/lib/pkg_noisrev/meta.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pkg_noisrev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Alexander Gromnitsky
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: open4
|