polyrex-calendar 0.6.0 → 0.6.1
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 +2 -2
- data/lib/polyrex-calendar.rb +2 -8
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d90087f3db9b53554c953655b76f05786c0cb693
|
4
|
+
data.tar.gz: d60f5e572abd5c6add0f73e88a0f53f10fd837e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85a119ee780f51dce9109265cdc21a9c8d5c37fd3f113d93ba3a16b6722648b373bc5b9763b3fd267781bf2114cf45c15eaad5c10cd437fec89d511a1fa6519c
|
7
|
+
data.tar.gz: 325db8d46a06e2dee95bd03354d3a6398ce8c43e4124f494335887b76d2086970e17898ba1ffe1dbe710e0c6726d1113178fe795987948b17107539eba09f4f4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�B�ک�|�}���$�%'�xB|�B�
|
2
|
+
;{��|��_ $�(���U�2�V��L��սLK�
|
data/lib/polyrex-calendar.rb
CHANGED
@@ -29,9 +29,7 @@ class PolyrexObjects
|
|
29
29
|
"title='XSL_formatting' type='text/xsl' href='lmonth.xsl'"]
|
30
30
|
|
31
31
|
# add a css selector for the current day
|
32
|
-
|
33
|
-
e = doc.root.element("records/week/records/day/summary[sdate='#{date}']")
|
34
|
-
e.attributes[:css_style] = 'today' if e
|
32
|
+
highlight_today()
|
35
33
|
|
36
34
|
|
37
35
|
File.write 'month.xml', doc.xml(pretty: true)
|
@@ -56,11 +54,7 @@ class PolyrexObjects
|
|
56
54
|
#html = xsltproc 'week_calendar.xsl', self.to_xml
|
57
55
|
|
58
56
|
# add a css selector for the current day
|
59
|
-
|
60
|
-
|
61
|
-
e = self.element("records/day/summary[sdate='#{date}']")
|
62
|
-
e.attributes[:class] = 'selected' if e
|
63
|
-
highlight_today(self)
|
57
|
+
highlight_today()
|
64
58
|
|
65
59
|
|
66
60
|
html = generate_webpage self.to_xml, week_xsl
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|