dynarex-daily 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dynarex-daily.rb +7 -4
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e5f46eeebb7b92758dc6bd8690ef5ac0117abf18b8d79b8c6c342c724fa384a
|
4
|
+
data.tar.gz: a359ed5ceb7684d678d1b6b0dcdcef68f70498c1e79a9fd3c27c68306c27f80a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b7c623a33a4fd818f0b1bf47f86c42f8972f89123480a7199a22e243ca70c65cd426ecd6d719ccdbc0e1cd6153004acbe3e389411d34e5c8f42bab4931c9bbc
|
7
|
+
data.tar.gz: bf79901a76421f628c1807a3fdde16b5278d67ce5402b602bf75fc4b115085887efb6a0725d5228c63b3844b316975d743cf1ce1c32ce6a2368c0e647d5ce39b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dynarex-daily.rb
CHANGED
@@ -10,12 +10,13 @@ class DynarexDaily < Dynarex
|
|
10
10
|
include RXFileIOModule
|
11
11
|
|
12
12
|
def initialize(stringx=nil, dir_archive: :days, xslt: '',
|
13
|
-
filename: 'dynarexdaily.xml',
|
13
|
+
filename: 'dynarexdaily.xml', fields: %i(desc),
|
14
|
+
autosave: false, order: 'ascending', debug: false)
|
14
15
|
|
15
16
|
@dir_archive = dir_archive
|
16
17
|
|
17
18
|
@filename = filename
|
18
|
-
@schema = 'entries[date]/entry(time,
|
19
|
+
@schema = 'entries[date]/entry(time, ' + fields.join(', ') + ')'
|
19
20
|
@default_key = 'uid'
|
20
21
|
@debug = debug
|
21
22
|
|
@@ -42,11 +43,13 @@ class DynarexDaily < Dynarex
|
|
42
43
|
|
43
44
|
else
|
44
45
|
puts 'before super: stringx: ' + stringx.inspect if @debug
|
45
|
-
super( stringx || @schema , debug: debug)
|
46
|
+
super( stringx || @schema , order: order, debug: debug)
|
46
47
|
puts 'after super' if @debug
|
47
48
|
@delimiter = ' # '
|
48
49
|
create_file
|
49
50
|
end
|
51
|
+
|
52
|
+
@autosave = autosave
|
50
53
|
|
51
54
|
self.xslt = xslt if xslt
|
52
55
|
end
|
@@ -62,7 +65,7 @@ class DynarexDaily < Dynarex
|
|
62
65
|
create_file
|
63
66
|
end
|
64
67
|
|
65
|
-
super(h)
|
68
|
+
super({time: Time.now.to_f.to_s}.merge(h))
|
66
69
|
end
|
67
70
|
|
68
71
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynarex-daily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
E/GgkjQ28u/f6qcQgMPVvPiO6Ku2M2Zp4D5AL6Pb4ipSACsLEZZHMWo/CJBLOQ7f
|
36
36
|
KYgoP6fr0Bkw0gyMZIHEwNMH
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dynarex
|
metadata.gz.sig
CHANGED
Binary file
|