relax-rb 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relax/event.rb +4 -1
- data/lib/relax/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62a0df14669076e9278da5f3892d2c46d38dd98c
|
4
|
+
data.tar.gz: ab67305cef13e1ffa4bf6b5f820dd955f083958f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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