polyrex-calendar 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/polyrex-calendar.rb +8 -2
- metadata +3 -3
- 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: d111c304b309c14c3f125d5c1bef33ccde85f55338aeecee7213abc8c9fb9563
|
4
|
+
data.tar.gz: 2ab5de520b21bf4a50a72cb1745c213417bd1638abec24ea584527abe105d22e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3da3eb0f391e26d04afe72ea6f04a4b04f78c3cb9a12281c6aafcd15f237ed80704c2dcd06a003f6c70ba226379d48a06c800f33ff6006d8bd32431deeb469c
|
7
|
+
data.tar.gz: '04923d99def0bdadc9cbe955b62d30d030fd42d2d3be1da47b66c3d999c8a45cf754b7aaf66f92fe6d14051baded348e2c1c93368f6a6d97cacee7d96e3d8380'
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-calendar.rb
CHANGED
@@ -31,6 +31,7 @@ class PolyrexObjects
|
|
31
31
|
month_xsl = fetch_file self.xslt
|
32
32
|
month_layout_css = fetch_file self.css_layout
|
33
33
|
month_css = fetch_file self.css_style
|
34
|
+
month_print_css = fetch_file self.css_print
|
34
35
|
|
35
36
|
File.write 'lmonth.xsl', month_xsl
|
36
37
|
doc = self.to_doc
|
@@ -48,8 +49,12 @@ class PolyrexObjects
|
|
48
49
|
File.write 'month.xml', doc.xml(pretty: true)
|
49
50
|
|
50
51
|
html = generate_webpage doc.xml, month_xsl
|
51
|
-
|
52
|
-
|
52
|
+
|
53
|
+
{
|
54
|
+
self.title.downcase[0..2] + '_calendar.html' => html,
|
55
|
+
self.css_layout => month_layout_css, self.css_style => month_css,
|
56
|
+
self.css_print => month_print_css
|
57
|
+
}
|
53
58
|
end
|
54
59
|
end
|
55
60
|
|
@@ -102,6 +107,7 @@ class PolyrexCalendar < PolyrexCalendarBase
|
|
102
107
|
px.xslt = 'kplanner.xsl'
|
103
108
|
px.css_layout = 'monthday_layout.css'
|
104
109
|
px.css_style = 'monthday.css'
|
110
|
+
px.css_print = 'monthday_print.css'
|
105
111
|
px.filename = @year + '-kitchen-planner.html'
|
106
112
|
|
107
113
|
px
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex-calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '0.3'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.3.
|
49
|
+
version: 0.3.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version: '0.3'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.3.
|
59
|
+
version: 0.3.1
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: weeklyplanner_template
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|