machinery-tool 1.16.0 → 1.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git_revision +1 -1
- data/NEWS +5 -0
- data/lib/rpm_database.rb +8 -3
- data/lib/version.rb +1 -1
- data/machinery-helper/version.go +1 -1
- data/man/generated/machinery.1.gz +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c16d006a71ff2c81996b586fdc18486e2e27494a
|
4
|
+
data.tar.gz: da1bc592275c11d1ef83244166280458dd3dc1be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad6aa65605ad725a21de1b259de9306631a4c73015f954cc987e320c62171b696ad9a2c35f5ee53783cda9ed1711b2964b312ae1b31bad41766c33e2cc0429f2
|
7
|
+
data.tar.gz: e1ff5d9957007a85d203bcb5291f0f7de189edb6cbec815d5e2e05ff054b92142ded258fdf669412394b5f828920ef547dbdb7b30739ca7bdc3c6bcc58ae3e0f
|
data/.git_revision
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e2a5941fcf2ffbbcbd765e23e860fc417592fdd1
|
data/NEWS
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Machinery Release Notes
|
2
2
|
|
3
3
|
|
4
|
+
## Version 1.16.1 - Mon Nov 09 17:55:15 CET 2015 - thardeck@suse.de
|
5
|
+
|
6
|
+
* Fix type recognition in case of empty files for config- and changed-managed-files
|
7
|
+
inspectors (gh#SUSE/machinery#1612)
|
8
|
+
|
4
9
|
## Version 1.16.0 - Fri Nov 06 14:20:47 CET 2015 - thardeck@suse.de
|
5
10
|
|
6
11
|
* The error message "There is already a server with the same port running" has
|
data/lib/rpm_database.rb
CHANGED
@@ -122,7 +122,8 @@ class RpmDatabase
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def parse_stat_line(line)
|
125
|
-
mode, user, group, uid, gid, type, *
|
125
|
+
mode, user, group, uid, gid, type, *path_line = line.split(":")
|
126
|
+
path = path_line.join(":").chomp
|
126
127
|
|
127
128
|
user = uid if user == "UNKNOWN"
|
128
129
|
group = gid if group == "UNKNOWN"
|
@@ -132,11 +133,15 @@ class RpmDatabase
|
|
132
133
|
"dir"
|
133
134
|
when "symbolic link"
|
134
135
|
"link"
|
135
|
-
when
|
136
|
+
when /file$/
|
136
137
|
"file"
|
138
|
+
else
|
139
|
+
raise(
|
140
|
+
"The inspection failed because of the unknown type `#{type}` of file `#{path}`."
|
141
|
+
)
|
137
142
|
end
|
138
143
|
|
139
|
-
[path
|
144
|
+
[path,
|
140
145
|
{
|
141
146
|
mode: mode,
|
142
147
|
user: user,
|
data/lib/version.rb
CHANGED
data/machinery-helper/version.go
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: machinery-tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SUSE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cheetah
|