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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 001b1128414967f46cf51eed61bcefb01ff02b60
4
- data.tar.gz: c117f734aa278878b124162010655d28cc83a334
3
+ metadata.gz: d90087f3db9b53554c953655b76f05786c0cb693
4
+ data.tar.gz: d60f5e572abd5c6add0f73e88a0f53f10fd837e4
5
5
  SHA512:
6
- metadata.gz: d732bef469d6d4d5d59e648054a055a660d2534361cb0268a47e0582717d76a701d723acfe5e882a818edbe6c12a880a4a36dd7f749b81015319d49bb80cbc4a
7
- data.tar.gz: 6e8b68ba13cb8963da914391472cb63f27d21fe0ba38f275c10c1b55d839d208f692686719469181fddace0c8a879577a8e44b1fd2f24b5b26ca30ea889ad293
6
+ metadata.gz: 85a119ee780f51dce9109265cdc21a9c8d5c37fd3f113d93ba3a16b6722648b373bc5b9763b3fd267781bf2114cf45c15eaad5c10cd437fec89d511a1fa6519c
7
+ data.tar.gz: 325db8d46a06e2dee95bd03354d3a6398ce8c43e4124f494335887b76d2086970e17898ba1ffe1dbe710e0c6726d1113178fe795987948b17107539eba09f4f4
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- sI���m ޫly�͎d'����1��]Ma�|�����lGxi�)c�@BW�D�{/5>�5�u^��P��/��&R�>_����y ��h�9�$w].��f\�G<J"Q&��Qd�TBB;wV�Rԍ�a7+�
2
- �څ���L�*\�yKZ�����Kj6Mz_>�}�Ϫ�.�)�•� zBzDjv��%^dz4d}��g�`j�ӝ��g]�t�
1
+ B�ک�|�}���$�%'�xB|�B
2
+ ;{��|��_ $�(���U2V��L��սLK
@@ -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
- date = Time.now.strftime("%Y-%b-%d")
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
- date = Time.now.strftime("%Y-%b-%d")
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
@@ -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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file