slacks 0.4.0 → 0.4.1

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: aad596b5f82cb0d07fcafd59cef70f2735323e94
4
- data.tar.gz: 8092ea9845af09dd940dbc719d16e3d3c9317033
3
+ metadata.gz: a5e7974456bcf8b2223d479d8492de45cc981488
4
+ data.tar.gz: 181de06bcf402d462617b5c714eaaefc512b4d70
5
5
  SHA512:
6
- metadata.gz: 9da37188565c88a663b69617e3bc3a8e7d8bf22637565bfbdecec868c6d7aba7e346d6e0a88a11d27e2b9fb2f5c0adf0815e6ef2e90213a2f6e2a75cd111f7fb
7
- data.tar.gz: 35586452696c67aa31a0e0bafbc18260b0cf89fa18f07ee50d7a3034e722089314a6850e808fcc8b1b832172eea651d229081ad83834282b8976454037aba2f4
6
+ metadata.gz: 35ed271357e6211130b5e62fa8680fc5e53e543e7cbe2617eeca7b27418ded2a1be9fb368c9ba1876241303241c99c167aa31af2d1e774c63ace1da034414be2
7
+ data.tar.gz: 255a781429d7f2a0d17cfdd6b7bf3fa01ccccadde1380fcff98e9b61337fe3f75417336d79bb143a70c8e6215a56368a55d60431695985c44c6ca76e1cc82d46
@@ -17,6 +17,7 @@ module Slacks
17
17
  attr_accessor :typing_speed
18
18
 
19
19
  def initialize(token, options={})
20
+ raise ArgumentError, "Missing required parameter: 'token'" if token.nil? or token.empty?
20
21
  @token = token
21
22
  @typing_speed = options.fetch(:typing_speed, 100.0)
22
23
 
@@ -1,3 +1,3 @@
1
1
  module Slacks
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slacks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-02 00:00:00.000000000 Z
11
+ date: 2016-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket-driver