eye-notify-hipchat 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: 826262c0809cddff98d59df83779d59647ac729c
4
- data.tar.gz: 12cc86effdbe173f8ae2f96ea9019632179b61d2
3
+ metadata.gz: 2d7a60519761f10e810c1c05354dea0cca1331e2
4
+ data.tar.gz: 279640ae853084b81525012bac21ddbe12d0fdf4
5
5
  SHA512:
6
- metadata.gz: 05dab276752db3809c262c344ea7a8de16b50093161a155deeb20952eb17b9bffa71a04e9899ba4044ee39516a0c700cd205cffc96c46024cba060c6e358d6d6
7
- data.tar.gz: dad1d4c2dc8ba69f67435ce0b06d6febd755171a566bbbb6f979a0fe2a2cc2b159038e02799469544169c11fdbb705adfef5df08147aa35f9725b77163cf5930
6
+ metadata.gz: 173fdb496e7a9013730a672f94b134774ae9b731ad8ad91f0b4cf6ffd058fb84222a884ef34b03e3df4e32d86cbf97676b328a900de22d69e1a20d192e719b02
7
+ data.tar.gz: d32f610d43f7130f5b40607a9cde5564cd07b9f257f46b5cb9f0ae5a9c019ba75919e7ae9b2d68f9dc36d8fb146fc18cc823f50f25944e3343f61c38dcc0011c
@@ -14,7 +14,7 @@ module Eye
14
14
 
15
15
  param :api_token, String, true # Required
16
16
  param :name, String, false, 'Eye' # Not required, defaults to 'Eye'
17
- param :notify, [TrueClass, FalseClass], false, true # Not required, defaults to true
17
+ param :notify_room, [TrueClass, FalseClass], false, true # Not required, defaults to true
18
18
  param :color, String, false, 'yellow', ['yellow', 'green', 'red', 'purple', 'gray', 'random']
19
19
 
20
20
  def execute
@@ -22,7 +22,7 @@ module Eye
22
22
  room_name = contact
23
23
 
24
24
  client = HipChat::Client.new(api_token, :api_version => 'v2')
25
- client[room_name].send(name, message_body, notify: notify, color: color)
25
+ client[room_name].send(name, message_body, notify: notify_room, color: color)
26
26
  end
27
27
  end
28
28
  end
@@ -2,7 +2,7 @@ module Eye
2
2
  class Notify
3
3
  class Eye::Notify::Custom < Eye::Notify; end
4
4
  class Hipchat < Eye::Notify::Custom
5
- VERSION = "0.0.3"
5
+ VERSION = "0.0.4"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eye-notify-hipchat
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
  - Ryan Schlesinger