slack-notifier 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Slack
2
2
  class Notifier
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -29,7 +29,7 @@ module Slack
29
29
 
30
30
  def default_payload
31
31
  payload = {}
32
- payload[:channel] = team if team
32
+ payload[:channel] = channel if channel
33
33
  payload[:username] = username if username
34
34
  payload
35
35
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Steven Sloan
@@ -13,6 +14,7 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: httparty
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,11 +22,12 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.11.0
27
- description: ' A simple wrapper for posting to slack channels '
30
+ description: ! ' A simple wrapper for posting to slack channels '
28
31
  email:
29
32
  - stevenosloan@gmail.com
30
33
  executables: []
@@ -36,25 +39,27 @@ files:
36
39
  homepage: http://github.com/stevenosloan/slack-notifier
37
40
  licenses:
38
41
  - MIT
39
- metadata: {}
40
42
  post_install_message:
41
43
  rdoc_options: []
42
44
  require_paths:
43
45
  - lib
44
46
  required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
45
48
  requirements:
46
- - - '>='
49
+ - - ! '>='
47
50
  - !ruby/object:Gem::Version
48
51
  version: '0'
49
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
50
54
  requirements:
51
- - - '>='
55
+ - - ! '>='
52
56
  - !ruby/object:Gem::Version
53
57
  version: '0'
54
58
  requirements: []
55
59
  rubyforge_project:
56
- rubygems_version: 2.0.5
60
+ rubygems_version: 1.8.25
57
61
  signing_key:
58
- specification_version: 4
62
+ specification_version: 3
59
63
  summary: A simple wrapper for posting to slack channels
60
64
  test_files: []
65
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: a218d8098c4a507b24dfabf7d41c1b97cbdddcf8
4
- data.tar.gz: c1032a1bec30c243919bc765f176780bb18197a7
5
- SHA512:
6
- metadata.gz: 1d3a04d6314781ec07df75aed2d0734543ba31228744fd20169c44613527364e4832cac10140505757ec66cdaab0ef4cdcbc11ff1af1568a59ff4d0a77530e7c
7
- data.tar.gz: 3bfd02e02985ee952a363d0155fd6f695b6f4bc75cc1bef52026be541bb9d870d0938c32a2aabf714514b04b817255ab33fcac9ac9c8f732a1e6bb99b9ba4e85