lita-ticket_notifier 0.0.6 → 0.0.7

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: 844d6cd9007329fbd18ed225d8e41753f4f35ae3
4
- data.tar.gz: b89126d401043c34f02d8974f91e3530f65a0a9e
3
+ metadata.gz: 3da7b78751d3c4d9847d1a9dd31d7d601000658d
4
+ data.tar.gz: eb9746c1212486291333c6f6566bb53a50b17c0d
5
5
  SHA512:
6
- metadata.gz: 4b9eb96a7c6000a1c8072916851134acb030d8d75fcb79f8987341686fe1af8c987594f10b288354341015880641c29e9e6bbcd903e3742cb3ca29ee06e129f9
7
- data.tar.gz: 3b3f0e3b01cb633250bf19cd987aa338b6b6734036d22db4aefce780f063561a37c4671a972ae87600d6e921e0e68135c3e668739ca4e6041f73e03d96562002
6
+ metadata.gz: 7728f1833597e4d89a505a198cb2aefbcbfcc013b2dd219ede166f8e82bb5e5b3dbf4230a2872c235845ee439647064a8418fe8230a75ca38b45ce021b4d285b
7
+ data.tar.gz: 66ee927897e5ed9831298b25833bc8c9cce34fc139c8abc4006a9ef59688aed895b1cb5698a6eaafd74adedc3b2c155ae9fd9c17275f0817e098b60b903d5151
@@ -4,11 +4,11 @@ module Lita
4
4
  http.post "/ticket_notification", :ticket_notification
5
5
 
6
6
  def ticket_notification(request, response)
7
- robot.send_message(target, "i got notified!")
7
+ robot.send_message(target, request.body)
8
8
  end
9
9
 
10
10
  def target
11
- Lita::Source.new({ room: Lita.config.adapter.rooms[0] })
11
+ Lita::Source.new({ user: 'MathieuGilbert' })
12
12
  end
13
13
  end
14
14
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-ticket_notifier"
3
- spec.version = "0.0.6"
3
+ spec.version = "0.0.7"
4
4
  spec.authors = ["Michael van den Beuken", "Ruben Estevez", "Jordan Babe", "Mathieu Gilbert", "Ryan Jones", "Darko Dosenovic"]
5
5
  spec.email = ["michael.beuken@gmail.com", "ruben.a.estevez@gmail.com", "jorbabe@gmail.com", "mathieu.gilbert@ama.ab.ca", "ryan.michael.jones@gmail.com", "darko.dosenovic@ama.ab.ca"]
6
6
  spec.description = %q{Notify users about new tickets coming in.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-ticket_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken