relax-rb 0.1.2 → 0.1.3

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: 8ddc29eafd7bf7eb62ad8df426fcfd8011b522ae
4
- data.tar.gz: aee347554c9732a0997d066245c0221e748db60e
3
+ metadata.gz: 62a0df14669076e9278da5f3892d2c46d38dd98c
4
+ data.tar.gz: ab67305cef13e1ffa4bf6b5f820dd955f083958f
5
5
  SHA512:
6
- metadata.gz: 6b5f11f790bf2683e3e90876131fcd5bc2fbb318939dfa529fa40d078c1d0d07503ba71e6c732eddf1d63f3341691cd77ea71bbaa7251650216ead4cfb03200e
7
- data.tar.gz: 23e89901f432217bb3f6b82e56c711351ec67713ffe1bf0886b59fb31d8c67694edf481b35ef7f1856b3d19281d96c8a79da2626d285d54cd0bde66f934d6a6a
6
+ metadata.gz: 177266e7d0c87c2d5afca62eef12199e6c1eec813855d54a2e0d5dff7b6489f22d086239e4acb229b87b5a1b312b1143180c2fd9171c0b2b087de767e4de7969
7
+ data.tar.gz: 793595b3199140ccd292dff7a4baeb631896e7a60bdaa50f882436452448c77613c2fd2dbbb39c8888e1c8c475a72c5954de04a1622ea13437e18dcdf31e2e10
data/lib/relax/event.rb CHANGED
@@ -16,7 +16,10 @@ module Relax
16
16
  end
17
17
 
18
18
  def ==(other)
19
- self.channel_uid == other.channel_uid && self.timestamp == other.timestamp
19
+ other.respond_to?('channel_uid') &&
20
+ other.respond_to?('timestamp') &&
21
+ self.channel_uid == other.channel_uid &&
22
+ self.timestamp == other.timestamp
20
23
  end
21
24
  alias_method :eql?, :==
22
25
  end
data/lib/relax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Relax
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relax-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - arunthampi