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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e713c4efdd8e9c27ecb0f294cbde87df56c09e7d81379f66dcb5a2e10ac4691
4
- data.tar.gz: 0c9b364b18fa96341b7897e80499425412c53102b7169d02dcdb06768413cf35
3
+ metadata.gz: d111c304b309c14c3f125d5c1bef33ccde85f55338aeecee7213abc8c9fb9563
4
+ data.tar.gz: 2ab5de520b21bf4a50a72cb1745c213417bd1638abec24ea584527abe105d22e
5
5
  SHA512:
6
- metadata.gz: 5d6177ff169465b3633e006177ee041b6c07f80df301695b185a9dd2888bb4a5e26e3bbf86267e0e94d6c5f3919c024aac68565a3d23ff5fbcd6e7238d6852f3
7
- data.tar.gz: f84c5b79733abed9c8080c1a3bb407ba420beaadf70ace5f78061777fa2c91875f5a30970cdeb903ed6b95058e9a021ff15a9f9b607bc7ba991f4e24a2978512
6
+ metadata.gz: f3da3eb0f391e26d04afe72ea6f04a4b04f78c3cb9a12281c6aafcd15f237ed80704c2dcd06a003f6c70ba226379d48a06c800f33ff6006d8bd32431deeb469c
7
+ data.tar.gz: '04923d99def0bdadc9cbe955b62d30d030fd42d2d3be1da47b66c3d999c8a45cf754b7aaf66f92fe6d14051baded348e2c1c93368f6a6d97cacee7d96e3d8380'
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- {self.title.downcase[0..2] + '_calendar.html' => html,
52
- self.css_layout => month_layout_css, self.css_style => month_css}
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.2
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.0
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.0
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