dynarex-daily 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: 99977cda89db978d3c495abdfade5b9d8a88bb9d
4
- data.tar.gz: e6c048660cd2f0da2824b7bad7727b07f4a8cc65
3
+ metadata.gz: 60e9557d7695eed6b5ae2e07a965044af8c33290
4
+ data.tar.gz: 7ca1643fffdb9a0553d5d740d40c154bec01c49b
5
5
  SHA512:
6
- metadata.gz: 6f64d13d459d664fc9256c5c43f38df648a581184a7d26a1a63632e68a5ec1b8a72b2c9593b489c7c1bed526791f72260da97f03c04d1ceb73fe904041e6c277
7
- data.tar.gz: 146780043be5455dc4365e7800f7af894467fa2a4c25667c1b7a45ec4bfb1b8c09047afbae72a8183860ae19900d3266ae435cb72402b7187b1f2ceee86bda2e
6
+ metadata.gz: da2b64eebd856c8f750d4271485f8176dfe912dad221e9198f1c100eb8885f68e25f272d359d037cc4dcc91dcf72d3580f2dbe528e9fd70e50d821d531d25f4b
7
+ data.tar.gz: 85fb16762085613fa6986e1d681ad1fd29a6bf7f4c199a23280b17434492ea3dc0bbc0655643ee9f6e9182b059d5db892576f56f9b3059615b1f97b71cac9d64
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/dynarex-daily.rb CHANGED
@@ -11,10 +11,10 @@ class DynarexDaily < Dynarex
11
11
  def initialize(stringx=nil, options: {})
12
12
 
13
13
  @opt = {dir_archive: :days}.merge options
14
+
14
15
  @filename = 'dynarexdaily.xml'
15
16
  @schema = 'entries[date]/entry(time, desc)'
16
17
  @default_key = 'uid'
17
- self.xslt = @opt[:xslt] if @opt[:xslt]
18
18
 
19
19
  if File.exist?(@filename) then
20
20
 
@@ -31,6 +31,7 @@ class DynarexDaily < Dynarex
31
31
  super( stringx || @schema )
32
32
  create_file
33
33
  end
34
+ self.xslt = @opt[:xslt] if @opt[:xslt]
34
35
  end
35
36
 
36
37
  def save(filename='dynarexdaily.xml', options={})
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.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file