ruboty-slack_rtm 2.7.1 → 2.7.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: b7cdebf2deea4f28f02fe09935cfe09209cd11b2
4
- data.tar.gz: 66efc797eba41efaa8db8c47fdcbb45593aa9a41
3
+ metadata.gz: 9d460a6a2f0c7a73b56abe1111e76ed33ddbe450
4
+ data.tar.gz: 0ee042b91b916d03bc3ef87edcc55234294338b7
5
5
  SHA512:
6
- metadata.gz: d3d2a7c32523eaba3258b073eb595940afa64f19e0b1f010033660018bd45d6dcc8cd6da71aff80e542d7baaff76c141e9be9045dac8519157de94eb1e4d82d8
7
- data.tar.gz: b3df731d88761c36d364888fd25b9e79c5866a9c730e940002e8233b42546082a4c2a07204eaf03cbdcea1b27262a024034dd749066df50e7ef9091afe58322d
6
+ metadata.gz: 41a30fff610dd812f016081d4a77f0baaba4f0e82e0c5f83e9e09c7d4db4bef0768f930cd1ad1a0f47094010f9d13153bf103cee9f6c672d97bbdd6e35cb5c17
7
+ data.tar.gz: d76ad144279c88facfa5ef7d5c51a33e0753390f998e5442aab9ad1448061780fa1b484db076cda5a4ecce12bdb909011a17a76d05682e0e94708eb55d25035a
@@ -12,7 +12,7 @@ module Ruboty
12
12
  end
13
13
 
14
14
  def send_message(data)
15
- data[:id] = Time.now.to_i * 10 + rand(10)
15
+ data[:id] = (Time.now.to_i * 10 + rand(10)) % (1 << 31)
16
16
  @queue.enq(data.to_json)
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '2.7.1'
3
+ VERSION = '2.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack_rtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-17 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler