dir-to-xml 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3abbbcbec98ad9435fd8032a23da267df6e9009e50f854e6ec0dc2b5eadeb35d
4
- data.tar.gz: cb0d28da749982e7dae85ce547eaed51b39b63ef12e2bab57352a32a051389af
3
+ metadata.gz: c0d019bf13b52e143181d63f55ecb59d4afd6d0528316f8eabc98dad63d7701e
4
+ data.tar.gz: 706dfd39b2ec9a414394374736bc390a9fc786243181ccdc65ca4c7b42f16f90
5
5
  SHA512:
6
- metadata.gz: d5c672578f47b4ef23b2b9fd1a2ea7359e78f1c0084c168128ee4dfbb706bdecc0f0a2f813e851cb4965bf00669fa4dfd751644fff2401c64f1e3f61e86c67c9
7
- data.tar.gz: 57e2f7d63483f4c601c35a2d69d5e53e69bb25c6119995e1a88faa41596c6d02e541ac87317d6faa5dc3d9f39ca8c558bf5eb378e12482e683b73414571cf4b9
6
+ metadata.gz: 761c9d38635ad4b9391a8b532713c2c8aa0c3b7e08172d811bf60772135392e4e8fbfc477239083cae926255c005aa689963d03b13aa5965b6a32804f7270067
7
+ data.tar.gz: d067ed9b1577125f7bc3b6cf8527531f9ced333a687486e65576307b4462d8ce27f2216042121147d64561e107e5f97d18d82b42a3e6cb4e732ddcbd4f1e9b61
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/dir-to-xml.rb CHANGED
@@ -31,6 +31,7 @@ require 'dxlite'
31
31
 
32
32
  class DirToXML
33
33
  using ColouredText
34
+ include RXFHelperModule
34
35
 
35
36
  attr_reader :new_files, :deleted_files, :dx, :latest_files, :latest_file
36
37
 
@@ -101,7 +102,7 @@ class DirToXML
101
102
 
102
103
  a = records.map {|x| x[:name]}
103
104
 
104
- if File.exists? File.join(@path, @index) then
105
+ if FileX.exists? File.join(@path, @index) then
105
106
 
106
107
  @dx = read()
107
108
 
@@ -256,7 +257,7 @@ class DirToXML
256
257
 
257
258
  def scan_dir(path)
258
259
 
259
- a = Dir.glob(File.join(path, "*")).map {|x| File.basename(x) }
260
+ a = DirX.glob(File.join(path, "*")).map {|x| File.basename(x) }
260
261
  a.delete @index
261
262
  a.map {|filename| getfile_info(filename) }
262
263
 
data.tar.gz.sig CHANGED
Binary file
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: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  m7hEq9GAsvYejQNMhcxlvi+e70d3QiEg+2SVsBHaUGURzv0LjycCOjOaUxQA5swC
36
36
  JKGINad8xoEL7XIDoO6EnBcY
37
37
  -----END CERTIFICATE-----
38
- date: 2022-02-10 00:00:00.000000000 Z
38
+ date: 2022-02-15 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: c32
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0.5'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.5.1
69
+ version: 0.5.2
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0.5'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.5.1
79
+ version: 0.5.2
80
80
  description:
81
81
  email: digital.robertson@gmail.com
82
82
  executables: []
metadata.gz.sig CHANGED
Binary file