weeklyplanner_template 0.1.3 → 0.1.4

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: f0110088fb61a450c4dee23f5e58335beb902442
4
- data.tar.gz: 6fee8245ee642e4fcc3474d335f68cff15e9e775
3
+ metadata.gz: a3fdca2eb786e62a991c72e6f334345687a50d93
4
+ data.tar.gz: c9ab2e536ec57530fe4c68ebaff96f9f8e0307cf
5
5
  SHA512:
6
- metadata.gz: 5fa23082889ba06b48e96681fc71c17f20b141b1f8e485aecc6af2739191480d8cd89b7138547fed954b5729746b752479b55697769829bfe0451d6f28de4c88
7
- data.tar.gz: d842bb852c006496f4dbcba8783b6f7a05eec5a030b52f206a85555cce61b8fd6114181612e8255fe7ec8484d6d89bef6ddca03c94cbb18f624fa8cad4b0c929
6
+ metadata.gz: fbde0d1921bbfd0e96996ec87cb3d90fb5985680f4a32a784ac95bb585c90126d043065347f6a15517b726f6aa686c866a588edc22c5dc698ae4f913cdfb2ead
7
+ data.tar.gz: 4d14d528308f33e45f38d45e6a1da9d097d86efab306586685ba4cd88c3c8d5e06bb83c98f7c84fedbd7be23302c2e54448962c24d9ac9f26022e2fc9f20d9d9
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,7 +14,10 @@ class WeeklyplannerTemplate < PlannerTemplate
14
14
 
15
15
  super(src, template: template)
16
16
  @no = @xmldoc.root.text('summary/no')
17
- @template = 'landscape1' if @template == 'default'
17
+ template = 'landscape1' if template == 'default'
18
+
19
+ lib = File.dirname(__FILE__)
20
+ @template = File.join(lib, '..', 'template', template)
18
21
 
19
22
  end
20
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weeklyplanner_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file