dynarex-daily 0.6.0 → 0.8.0

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: 00f7ad05f669c0844f8593b020b7b6365dde43ed38d92a9ef7b7da91c3f8829a
4
- data.tar.gz: 415a516bce9564a6c91db463522c26485b48c26373fb2788ec282fa437968d03
3
+ metadata.gz: 61a1e1ac7f980320298b0ac46db608a93e893a7f4bf664cfe92184e3724bf62b
4
+ data.tar.gz: 0a417e7676cd0e50bd1f2327ad09c2bae4b0cfcc8749776648488a59a0b88945
5
5
  SHA512:
6
- metadata.gz: 84fe28c1d077a3633140d2f4b1660cbf77a648f93ef175d13e6651e937bdea52bfa1fe112788242bd2788e6454379042a07268e20d2d74af30ec4971c7844427
7
- data.tar.gz: 57a59988df1d7bb38a666cb9583d153acdaa8a256a3733e6d6d0fed71dd7ff662427876c7479de8af1b1a762c7df0a398ace76bb602cfaf8c1eb0ae0b8596ef2
6
+ metadata.gz: bd88c14c2e770169cc24a23613627634a9c7d259ef18ea975c88f7d096229bc5fabbfaa808853c5c2d755c0f32b54a887372677d3b56b666f35c461c89fc65c7
7
+ data.tar.gz: f84b652e6d0eb9eb4023e428a2795f33a81405388381453ae4d3271d0b395c513af66e2b1efaf8ea6153a797734d57e355d92232db9268144c03498eca55cb8b
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', debug: false)
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, desc)'
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.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,32 +10,33 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjIwMjIzMTI0MTQyWhcN
15
- MjMwMjIzMTI0MTQyWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC5OZWx
17
- pUEpHvFjiIdiIuY5fhIeew52YizZ3AWQL349rf1mUn6JwpLCFxwhteHlp5W/CNq4
18
- HeZXt0HT1OKbHcQyfVWa1FpRBXEkSiu3oKCCdlQfcKKxcCePavZbKfpmyX2C4cQH
19
- 4xS4vozBYzfCu+cjznHHtV3pb4o5mrpHAEDhwK8nKJbn1ZIteglmCvvijv009tDZ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OTAmBgNVHREEHzAdgRtnZW1tYXN0ZXJAamFt
28
+ ZXNyb2JlcnRzb24uZXUwJgYDVR0SBB8wHYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0
29
+ c29uLmV1MA0GCSqGSIb3DQEBCwUAA4IBgQBm5j+j676KRhy+OR8eAJQ7FU/8XS9F
30
+ RUE0xcTpVt11/tCmr01dUHt/FWC5oQrKMf59eYn+Xj6t+6vKmSBmeuO8PyZKxGvY
31
+ t9RvjrwzmD48Bga7ksqXyHn+6sbAYv3Vc76DbciW+KYRDNGX3TZ6bIxFEs7qjpiv
32
+ qv+uZLLLtOiyeHXnCjNwqXfveIgkHZPDkYwZiuCSsA82HSdNeX7CFTwGscuGVUHY
33
+ qFfkZ42MvmIOfZbfJjEAnztkWU1iCnNXxWU6ImE9r+6kknfxh/flCFGTIRFjygoU
34
+ LocDEiA9yXf/PE9BvKAKsavaFxxQNIzdRgYmKDhWHKQRWe1n7Ww2ynBRuL7Rhhl8
35
+ eoRPUJ63jZSAq9/Zw42HD4DhSrSaLDLBQ3lka8rlB97dX5V24KEkzlqN6WR4zT+V
36
+ O8Zej2CYBNtjCITBbBiGnkiiQzYsPY0GUVVzlL4JiHnONb49mvQzzvJzaHXTrYdD
37
+ ejrXGtVTPFm8D1VwAMle5Qh1SWYCRVGsJwU=
37
38
  -----END CERTIFICATE-----
38
- date: 2023-01-30 00:00:00.000000000 Z
39
+ date: 2023-04-02 00:00:00.000000000 Z
39
40
  dependencies:
40
41
  - !ruby/object:Gem::Dependency
41
42
  name: dynarex
@@ -57,6 +58,26 @@ dependencies:
57
58
  - - ">="
58
59
  - !ruby/object:Gem::Version
59
60
  version: 1.10.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: rxfileio
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '0.2'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 0.2.4
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '0.2'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 0.2.4
60
81
  description:
61
82
  email: digital.robertson@gmail.com
62
83
  executables: []
metadata.gz.sig CHANGED
Binary file