lita-github-pinger 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 201b0f677bee39107f49efb8f151cd4de99aabf4
4
- data.tar.gz: 310399c15cf0c0bbf2c699980a88a8a3fd6a4f04
3
+ metadata.gz: 3b5e3bf8f9557663e6b1fcc9cd891aca132f4dfe
4
+ data.tar.gz: aff9d9747cde46cab4e86b6fae38e0cdcada32cf
5
5
  SHA512:
6
- metadata.gz: 1f97d562a94220c7915e7a3aa26816845b127c25de68bf2054c8af192f62d5a3d53ed7784194cf5e73a5e192503e0aba4fbdabfd35918b057fbe1b1c2fbab99e
7
- data.tar.gz: 56889b9b09e7167d17bb77f28f35c3b5b7fc7e531a7210856b436c0d07a7e83f37d5f960952f80f04fb44291cd738ddacf4d80b980c0d71d6c99952dcbad5f63
6
+ metadata.gz: 464979d993761a7c2a91d9a3ab13cff69804ca6e810cf37df879f97cc6f81c68d2377afb4281b05092548193a4e7002a1521100fb2a965f48721d230ec588f85
7
+ data.tar.gz: 3b3b5fa464d9cebf2bcb52cf0c344499330d0c9989801411ec493302e209f4a1b0a29922bdaa5723c423229770ee21a4fb7b309ddfb8f2c01c91fc836c970f40
@@ -7,9 +7,7 @@ module Lita
7
7
  route(/@(\w*)/, :detect_comment, command: false)
8
8
 
9
9
  def detect_comment(message)
10
- puts message.user.metadata + " was detected as a github bot"
11
-
12
- return unless message.user.metadata["name"] == "github"
10
+ return unless message.user.metadata["name"] == "" # Integrations don't have names
13
11
  mentioned_username = message.matches[0][0]
14
12
 
15
13
  # side effects intentional
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.1.4"
3
+ spec.version = "0.1.5"
4
4
  spec.authors = ["Taylor Lapeyre"]
5
5
  spec.email = ["taylorlapeyre@gmail.com"]
6
6
  spec.description = "A Lita handler that detects github comment notifications and regurgitates a ping to the correct slack username."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-github-pinger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Lapeyre