dir-to-xml 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -1
- data.tar.gz.sig +0 -0
- data/lib/dir-to-xml.rb +8 -0
- metadata +8 -8
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ab508aac678d73d04dfc280a8124444d2238186
|
4
|
+
data.tar.gz: 67015e70f7e481dcbe5cd17f463f01e677402c2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d5d3f5454277ad5a8cc6a2c5e8a78afa185d2d13ae4b7d4eaa33486bab7649a1997005337e6c79528c7984659afd2961650da3eecb975b185a75af23e3305e
|
7
|
+
data.tar.gz: be19cb2cda2265b8ef25f206710fbf94f5f1b24cc15bef797eeec49dbae68c4e0e2a990f60267f6eeb8fec5e02cc7ca2739093cc7751b2792966ad6a01033047
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
�����}�.��҆�[���C��3e#gb�7���Mi�[|E�$c''rw�_̵����&�j��Ɯ:ؕ����1��G��問���#��(�=���# � �&]:��>��Rʷ#������5>�qU}���-&���
|
2
|
+
���-o��5
|
3
|
+
vN"��Z�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dir-to-xml.rb
CHANGED
@@ -36,6 +36,7 @@ class DirToXML
|
|
36
36
|
|
37
37
|
x = File.join(path, filename)
|
38
38
|
|
39
|
+
begin
|
39
40
|
r << {
|
40
41
|
name: filename,
|
41
42
|
type: File::ftype(x),
|
@@ -44,6 +45,9 @@ class DirToXML
|
|
44
45
|
mtime: File::mtime(x),
|
45
46
|
atime: File::atime(x)
|
46
47
|
}
|
48
|
+
rescue
|
49
|
+
r
|
50
|
+
end
|
47
51
|
|
48
52
|
end
|
49
53
|
|
@@ -56,6 +60,10 @@ class DirToXML
|
|
56
60
|
|
57
61
|
end
|
58
62
|
|
63
|
+
def filter(&blk)
|
64
|
+
@dx.filter &blk
|
65
|
+
end
|
66
|
+
|
59
67
|
def filter_by(pattern=/.*/, type: nil)
|
60
68
|
|
61
69
|
@object = @a.select do |x|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dir-to-xml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
KsWUx1RJXP2nrd/DuPwuyaNM0fcsnnqFnbAO7RjbYXWS96dGA0WVmxdO7PcMnJ9K
|
32
32
|
PneSyA3VrnMuNQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-01-02 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex
|
@@ -39,22 +39,22 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '1.
|
42
|
+
version: '1.7'
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
45
|
+
version: 1.7.17
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '1.
|
52
|
+
version: '1.7'
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
55
|
+
version: 1.7.17
|
56
56
|
description:
|
57
|
-
email: james@
|
57
|
+
email: james@jamesrobertson.eu
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Dir-to-xml saves a directory listing in the Dynarex XML format
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
C*\v�_]���<�u(I��ʧc$��4
|
2
|
+
(}�
|