timex_datalink_client 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/timex_datalink_client/alarm.rb +1 -1
- data/lib/timex_datalink_client/eeprom/anniversary.rb +1 -1
- data/lib/timex_datalink_client/eeprom/appointment.rb +1 -1
- data/lib/timex_datalink_client/time.rb +1 -1
- data/lib/timex_datalink_client/version.rb +1 -1
- data/lib/timex_datalink_client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 187352acb16bdc8baa7fec37d4793942f49b6c3d60da9a778b4afd94505c9f1e
|
4
|
+
data.tar.gz: 55214e32e3536da008eb7739d0921af0012c1af6ff70d17491ef37a2fd6008a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9106e98e689a8646ab779cd1ca38bce9c220c8aa80ae0fe984237e6a92270b0ee10bbdf9b31bc40c4492dc7b17d25c796baf7f3a5720a4649d7deb09a37b540f
|
7
|
+
data.tar.gz: 70e7601d4ba51ecfc3cb6d3f51549e8272ec3baf55ee39174a6fbc5f48272569efcfad25b3eef447a05af767c855f79a4b84d15c286a39d30d2ad7506d273213
|
@@ -18,7 +18,7 @@ class TimexDatalinkClient
|
|
18
18
|
#
|
19
19
|
# @param number [Integer] Alarm number (from 1 to 5).
|
20
20
|
# @param audible [Boolean] Toggle alarm sounds.
|
21
|
-
# @param time [Time] Time of alarm.
|
21
|
+
# @param time [::Time] Time of alarm.
|
22
22
|
# @param message [String] Alarm message text.
|
23
23
|
# @return [Alarm] Alarm instance.
|
24
24
|
def initialize(number:, audible:, time:, message:)
|
@@ -13,7 +13,7 @@ class TimexDatalinkClient
|
|
13
13
|
|
14
14
|
# Create an Anniversary instance.
|
15
15
|
#
|
16
|
-
# @param time [Time] Time of anniversary.
|
16
|
+
# @param time [::Time] Time of anniversary.
|
17
17
|
# @param anniversary [String] Anniversary text.
|
18
18
|
# @return [Anniversary] Anniversary instance.
|
19
19
|
def initialize(time:, anniversary:)
|
@@ -13,7 +13,7 @@ class TimexDatalinkClient
|
|
13
13
|
|
14
14
|
# Create an Appointment instance.
|
15
15
|
#
|
16
|
-
# @param time [Time] Time of appointment.
|
16
|
+
# @param time [::Time] Time of appointment.
|
17
17
|
# @param message [String] Appointment text.
|
18
18
|
# @return [Appointment] Appointment instance.
|
19
19
|
def initialize(time:, message:)
|
@@ -17,7 +17,7 @@ class TimexDatalinkClient
|
|
17
17
|
# @param zone [Integer] Time zone number (1 or 2).
|
18
18
|
# @param is_24h [Boolean] Toggle 24 hour time.
|
19
19
|
# @param date_format [Integer] Date format.
|
20
|
-
# @param time [Time] Time to set (including time zone).
|
20
|
+
# @param time [::Time] Time to set (including time zone).
|
21
21
|
# @return [Time] Time instance.
|
22
22
|
def initialize(zone:, is_24h:, date_format:, time:)
|
23
23
|
@zone = zone
|
@@ -24,8 +24,8 @@ class TimexDatalinkClient
|
|
24
24
|
# @param serial_device [String] Path to serial device.
|
25
25
|
# @param models [Array<Alarm, Eeprom, End, SoundOptions, SoundTheme, Start, Sync, Time, WristApp>] Models to compile
|
26
26
|
# data for.
|
27
|
-
# @param byte_sleep [Integer] Time to sleep after sending byte.
|
28
|
-
# @param packet_sleep [Integer] Time to sleep after sending packet of bytes.
|
27
|
+
# @param byte_sleep [Integer, nil] Time to sleep after sending byte.
|
28
|
+
# @param packet_sleep [Integer, nil] Time to sleep after sending packet of bytes.
|
29
29
|
# @param verbose [Boolean] Write verbose output to console.
|
30
30
|
# @return [TimexDatalinkClient] TimexDatalinkClient instance.
|
31
31
|
def initialize(serial_device:, models: [], byte_sleep: nil, packet_sleep: nil, verbose: false)
|