timex_datalink_client 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 28aaa8e7fc767be8f9b0afe3f357b23d622ac04f126e141d29d4c7cb9ab7684a
4
- data.tar.gz: 380021a3acfe29dd07b439b85cb2b73ad5ef3085fbea3676ab5905fb454542f7
3
+ metadata.gz: 187352acb16bdc8baa7fec37d4793942f49b6c3d60da9a778b4afd94505c9f1e
4
+ data.tar.gz: 55214e32e3536da008eb7739d0921af0012c1af6ff70d17491ef37a2fd6008a8
5
5
  SHA512:
6
- metadata.gz: dac7dc2741fdba75032411794be8b6f8aae569ab1c5c1526d50456fb647c41bcbbf1bdd97e6c698a03a85f2a8502a4d75f7e81268e0b4a6a865bf99b99162cef
7
- data.tar.gz: a2e89e0916056a8efc4fdb27901fe92de076641caac96d81ce2d25345b23f6efee371b5efb654e98c7e347c79ffae3a5722359d6c8fc71177354e0a0d4604ee4
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class TimexDatalinkClient
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timex_datalink_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxwell Pray