slack-poster 0.0.3 → 0.0.4

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: 2e14cf397de2bf4dc0af6ace274213e6271af5af
4
- data.tar.gz: 82332c088dfa575457a00277aa1417e70f5b8ab6
3
+ metadata.gz: 5249484a668973cfc0d259ae96503cec59118451
4
+ data.tar.gz: 58236ac7caa81963298cb817931ed224f99c848f
5
5
  SHA512:
6
- metadata.gz: a9e439e4fb0c094f531f1d78947608b9ea26e05fd70ada99e37006684a19f5216ee1970fd287e437de98eba5845bc50cf9e676e26cc84b71c47f731060ba9280
7
- data.tar.gz: 17ae929ac17d9af14f877362ed95aafc07e4bd3f16547c90f115e609f7605a8393824e615d74c9131a3d2b852d14e165436e7ea3e14efa03e9424c7a8b079c66
6
+ metadata.gz: 17bd59116e431eb6d4abd08e0c1c3970d18ec9c200725a96e21fb58ed70666d9fe11cace9b44a41e81921d5a4a4d7c31b4411ad0224686b378e1aecaec06c08e
7
+ data.tar.gz: c1fddda791d8130e304a7c76529e76735c62b383176fef600779e809a6e3cf4ac30de6f84332026e76de64efd45de2300e45e8c81a122020d31395f372332682
@@ -46,8 +46,8 @@ module Slack
46
46
  @icon_emoji = format_emoji(options[:icon_emoji])
47
47
  @icon_url = options[:icon_url]
48
48
 
49
- raise ArgumentError, 'Team name is required' if team.blank?
50
- raise ArgumentError, 'Token is' if token.blank?
49
+ raise ArgumentError, 'Team name is required' if team.nil?
50
+ raise ArgumentError, 'Token is' if token.nil?
51
51
  end
52
52
 
53
53
  # This method will post to the configured team Slack.
@@ -1,3 +1,3 @@
1
1
  module Slack
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-poster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero