relax-rb 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 1e159f7cd23212ec321b69fe4755f9c8e16aa265
4
- data.tar.gz: 41a381874ff2ce87ca94ca97651f42b686906795
3
+ metadata.gz: 8ddc29eafd7bf7eb62ad8df426fcfd8011b522ae
4
+ data.tar.gz: aee347554c9732a0997d066245c0221e748db60e
5
5
  SHA512:
6
- metadata.gz: ada236c753ec78516014e664943e2fe095be97969d4e8102de773e38ce18a3a65e185b423b0a849ba6c63270a04499fffe34debf49f59fc8cdb11ad39e4446ee
7
- data.tar.gz: 383dd76a8809d2d8bbcee05f2a8f1a4253ad6775f370a9e4e1f2fa5da55ac098d9666985fbe9f75ecb07880fc9c4e9c425fd40db09e3cf927945a529e51f67ce
6
+ metadata.gz: 6b5f11f790bf2683e3e90876131fcd5bc2fbb318939dfa529fa40d078c1d0d07503ba71e6c732eddf1d63f3341691cd77ea71bbaa7251650216ead4cfb03200e
7
+ data.tar.gz: 23e89901f432217bb3f6b82e56c711351ec67713ffe1bf0886b59fb31d8c67694edf481b35ef7f1856b3d19281d96c8a79da2626d285d54cd0bde66f934d6a6a
data/lib/relax/event.rb CHANGED
@@ -14,5 +14,10 @@ module Relax
14
14
  ATTRIBUTES.each { |a| hash[a] = self.send(a) }
15
15
  hash
16
16
  end
17
+
18
+ def ==(other)
19
+ self.channel_uid == other.channel_uid && self.timestamp == other.timestamp
20
+ end
21
+ alias_method :eql?, :==
17
22
  end
18
23
  end
data/lib/relax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Relax
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relax-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - arunthampi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2015-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis