hatchet-hipchat 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 Hatchet
2
2
  module Hipchat
3
- VERSION = "0.0.1"
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -38,18 +38,15 @@ module Hatchet
38
38
  yield self if block_given?
39
39
  end
40
40
 
41
- # Internal: Sends a message to HipChat if the appender is configured to send
42
- # messages at the given level for the given context.
41
+ # Internal: Sends a message to HipChat.
43
42
  #
44
43
  # level - The level of the message.
45
44
  # context - The context of the message.
46
- # message - The message to add to the appender if it is configured to log
47
- # messages at the given level for the given context.
45
+ # message - The unformatted message.
48
46
  #
49
47
  # Returns nothing.
50
48
  #
51
49
  def add(level, context, message)
52
- return unless enabled? level, context
53
50
  message = @formatter.format(level, context, message)
54
51
  client.rooms_message @room_id, 'Hatchet', message
55
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatchet-hipchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,18 +13,18 @@ date: 2012-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hatchet
16
- requirement: &70143422560160 !ruby/object:Gem::Requirement
16
+ requirement: &70125504604660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.8
21
+ version: 0.0.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70143422560160
24
+ version_requirements: *70125504604660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hipchat-api
27
- requirement: &70143422559660 !ruby/object:Gem::Requirement
27
+ requirement: &70125504604160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.0.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70143422559660
35
+ version_requirements: *70125504604160
36
36
  description: Hatchet appender that sends messages to HipChat
37
37
  email:
38
38
  - garry@robustsoftware.co.uk