daily_planner 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eecc84c39aae6930b39ad07b5a889444ee717c77
4
- data.tar.gz: 31a7e569c8a95accde246a6169a7157e7b0e6f3b
3
+ metadata.gz: 99782481d4676fb9672e493b6aef4923ae47d3be
4
+ data.tar.gz: a60a1939f9402d3fa946783acdba0a47af6fb770
5
5
  SHA512:
6
- metadata.gz: 1ae0df2d3db93b35fcb6a7e465ba069555a0491bb54c1b8a9c988d572ff71bfed982d4da5fc4ac0a17c4a8eb363e140bd0902c90b6220bb9d84926b54ffff852
7
- data.tar.gz: a1793cbc9b0941f8152c098934ea1abdcde636188ad13d824f98b5f50330bd3e2932329689120173b73cda133b1a8ed9de5b9d99b774eba1d106e7551e3999f1
6
+ metadata.gz: 3906d142b71449650134aa0ecf7bd81472b3dac7a3c8a8df8efc5a36f119ac7726ff530b3701324c832e4d7d59126ac1515e8b509a3470ff070208eaf18d80bc
7
+ data.tar.gz: 838e6f1ca9edd044aad5f8ab0f52dea90ee94b46d87b73b2143c49dbb61d60aa1b709eb10d9fef2cd235ea818c5333b67e263e63109fa6062c8c185e04e7fd17
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- }�?���/�rd�:�<�&C ��^��oXF�4mR7��p�>u�3�F��6d�!���3drہ�4u:��]�;1[���B� �6��'���7c�� ��@��y�ˍ3�����C�~��R̟nN��:�i�������'��MвE��Ewd;��YU���P�rq�,�",vU4���wg�����Ѡ#�KN ~�&lx\y�H$�
1
+ #��3��F���ot2��v줚�|���Pb�� �U/�Đ�e"D�8dqz���0.�3���������^�}-h���}���2u��NUa+�>В�&�NdV j��DinZ����GvKr;�Zh��!�e��NqM�:���˿RbA7�ԋ/$������
@@ -36,10 +36,12 @@ class DailyPlanner
36
36
  weeklyplanner_filepath = config[:weeklyplanner_filepath]
37
37
 
38
38
  if weeklyplanner_filepath then
39
-
39
+
40
40
  dx = Dynarex.new weeklyplanner_filepath
41
41
  record = dx.find_by_id (now+1).strftime("%Y%m%d")
42
- @rx.tomorrow << "\n" + record.x.lines[2..-1].join if record
42
+
43
+ items = record.x.lines[2..-1]
44
+ @rx.tomorrow << "\n" + items.join if record and items
43
45
 
44
46
  end
45
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daily_planner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  52/Qhn5QdVacSO+YlHFgL6wMk/FAnJzGgADFpvq/QgXbDkH5G2eRKpvJP9J1E34V
32
32
  iT9ytBP7h9+uFg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-12-14 00:00:00.000000000 Z
34
+ date: 2015-12-17 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex
metadata.gz.sig CHANGED
Binary file