weeklyplanner_template 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e1e50b7a67906db5428efe10637473b63d39ebbd
4
+ data.tar.gz: 196cb96eacc741196999e16ca35506d5c8cd785c
5
+ SHA512:
6
+ metadata.gz: f8c3c8988ee1809fc22c92f9dd4eb7f2d5e06716752537b3e7040533a068c741d4dd451ac866e9709f7da370d5e34a68a113e34cab50c74d778e1e642ecfe0cd
7
+ data.tar.gz: 2a1e14b03fc65115db8d4017ef2bcd33ca08bd81b62baee16405d1c6d1cae1cde2420328d9db88f7dd36d5d5fb4c94bb78fc42bbf1dad559b452712e7774be8c
checksums.yaml.gz.sig ADDED
Binary file
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # file: weeklyplanner_template.rb
4
+
5
+
6
+ require 'planner_template'
7
+
8
+
9
+ class WeeklyplannerTemplate < PlannerTemplate
10
+
11
+ attr_reader :no
12
+
13
+ def initialize(src, template: 'default')
14
+
15
+ super(src, template: template)
16
+ @no = @xmldoc.root.text('summary/no')
17
+ @template = 'landscape1' if @template == 'default'
18
+
19
+ end
20
+
21
+ def to_h()
22
+
23
+ layout, style = fetch_css
24
+
25
+ {
26
+ 'week' + @no + '_planner.html' => self.to_html,
27
+ 'week_layout.css' => layout,
28
+ 'week.css' => style
29
+ }
30
+ end
31
+
32
+ end
data.tar.gz.sig ADDED
@@ -0,0 +1 @@
1
+ S���=wK*3x���d+���D�˽�d~3u;~(�̧d�C`��yQg����$��_��8�s�\1� HL$��Pەދ�:⃽���mH�P��rh a�2���b�m���y)���xL�� �{m�{^���Cs�2�Sve�ћ�fU�2�BK*>vK@��פ
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: weeklyplanner_template
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Robertson
8
+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xZwQLWVqsCaqbH8QZiAJ4UHJjYQeqePxN+r
28
+ jFdf4k3UzxdWmgH7f/bkDDOdItu9pr6ClTF/8O1Sk6GEJs7KZevJsO8GIZWJ2uTC
29
+ /YktTZWBQ0FFskjq6HlZbrecStnQprL5hHrWqI2MHfKg0tc0bko+CLWVxjwayVa/
30
+ GiuWx18x7hyST0Rpowh8I5a1kefsCi8IS48/sGIN3CGCn6bicvbelwMl2YqEeQxG
31
+ 1DyqsmJTvUCK6ZrGLdbJmfj72i4t9nbM4xn1upRhSME4AgzAHNNmad8rQg9lR0Ke
32
+ gd0TYgvCKw5uIw==
33
+ -----END CERTIFICATE-----
34
+ date: 2017-05-07 00:00:00.000000000 Z
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: planner_template
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.1'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 0.1.0
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '0.1'
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 0.1.0
56
+ description:
57
+ email: james@jamesrobertson.eu
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - lib/weeklyplanner_template.rb
63
+ homepage: https://github.com/jrobertson/weeklyplanner_template
64
+ licenses:
65
+ - MIT
66
+ metadata: {}
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ requirements: []
82
+ rubyforge_project:
83
+ rubygems_version: 2.6.8
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Generates an HTML based weekly planner
87
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1 @@
1
+ �"��0��̓�L��� &��Y�����N���o_LږNi9`���U���=� μ��(����E��}��Baȁk��@����H�E���͕���Y�#|K�*2