timex_datalink_caldav 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: 8301c0dee4e085d6ebbbebbcd41872211625f6798980f688cf66765550519622
4
- data.tar.gz: 30171ce1fcdb85fa57b17121982c85ab5805cdbef1f12106d56561397bd82ee6
3
+ metadata.gz: 5f4612f1904efd157ba195ed9b4b1db17877025eaa38801a8c00b02e2bd302d5
4
+ data.tar.gz: bb734ba73ba8ebde1ef50fda7c85a25e6be05bbaa59b7273bbbabe7bca172b9c
5
5
  SHA512:
6
- metadata.gz: 31a43cf2e995bcd29d51ebae9d3a30002239ac0bea6862f97b0f967daf25734409432e75fbced7727ecc2126e6ec509bdb0c09fd6dc7fcbffed87e9c124d73a5
7
- data.tar.gz: 5b8b1f14b62a03c6354c2b555651ae6336b6248ddc633b4749b966929c2e8b6e39c8d6f8845cb57329a46a5dc18c35522bd8a193c115efa781922ead52853705
6
+ metadata.gz: 0cedac907434c2f7dc0c4f28cefc85d1c09b8b1186dc671d8fca6a0365f44c9fd7afd42967b9bc48314206d7caf47ac0f0de476204ade0df3e9a2e46bc23dc98
7
+ data.tar.gz: 4e8f924a23cd5fe3401f70ae1d7a28070070a412de12ba6d1848818661b2ee616069feba1e993b47454874dc1ff1d3ba1261a09921ecca413877d3e32a2671e7
data/README.md CHANGED
@@ -79,3 +79,7 @@ If you want to use this, I highly recommend pairing it with the Raspberry Pi Pic
79
79
  - This gem is not affiliated with Timex, nor is it affiliated with any CalDAV server. It is simply a tool that I wrote to sync my events from my CalDAV server to my Timex Datalink watch.
80
80
 
81
81
  - This gem uses the anniversary feature for full day events, and the appointments feature for events with a start and end time.
82
+
83
+ ## Thanks
84
+
85
+ - This project would not exist without the hard work of the people who reverse engineered the Timex Datalink protocol. I would like to thank them for their hard work. Mainly this gem https://github.com/synthead/timex_datalink_client
@@ -143,10 +143,10 @@ module TimexDatalinkCaldav
143
143
  est_time = occurrence.start_time.in_time_zone(get_localzone)
144
144
  key = "#{est_time}_#{summary_words}"
145
145
  unless appointment_map[key]
146
- puts "Adding appointment: #{summary_words} at time #{est_time}"
146
+ puts "Adding appointment: #{summary_words.join(' ')} at time #{est_time}"
147
147
  appointment = @protocol_class::Eeprom::Appointment.new(
148
148
  time: est_time,
149
- message: summary_words
149
+ message: summary_words.join(' ')
150
150
  )
151
151
  appointments << appointment
152
152
  appointment_map[key] = true
@@ -159,10 +159,10 @@ module TimexDatalinkCaldav
159
159
  est_time = occurrence.start_time.in_time_zone(get_localzone)
160
160
  key = "#{est_time}_#{summary_words}"
161
161
  unless anniversary_map[key]
162
- puts "Adding anniversary: #{summary_words} at date #{event.dtstart.to_s}"
162
+ puts "Adding anniversary: #{summary_words.join(' ')} at date #{event.dtstart.to_s}"
163
163
  anniversary = @protocol_class::Eeprom::Anniversary.new(
164
164
  time: event.dtstart.to_time,
165
- anniversary: summary_words
165
+ anniversary: summary_words.join(' ')
166
166
  )
167
167
  anniversaries << anniversary
168
168
  anniversary_map[key] = true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TimexDatalinkCaldav
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timex_datalink_caldav
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willy Hardy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-26 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Adds a CLI and a feature to pull your next day of calendar events into
14
14
  the Timex Datalink watch. Note: Hardcoded protocol1 and EST timezone. At the moment.'