lita-github-pinger 0.5.8 → 0.5.9

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: b594bf9b9431f0ad27149c953c92e38dddbf1f26
4
- data.tar.gz: d78897eae20042b7b049f67e96d1f68af2bdf8a5
3
+ metadata.gz: 6f8065083222641e5df4268b79de9f171cf153e0
4
+ data.tar.gz: 682ca1ffe9e6966d00c9b15665ec346080809afa
5
5
  SHA512:
6
- metadata.gz: b3bc94bb6a94c3e92a402aa473d70b9c963e5484af79a61e127ca8bd65db14576a854e39bfb5deba671d6db9093144d521609c67dbb8b1ccf903b1d6ee1ec72e
7
- data.tar.gz: bae42cbe1d15873aa803031cfcd78ab2c017c0ca0b2f07329eea0a7c6af09a0ca5e780141036bf26cefc03ac59f21aee36869fd533c823c0624533b9c337da71
6
+ metadata.gz: b3a5981143fd8084f7e60d7b4c02e93ebbe0f0b32ee7f955390136683c17c937aa3790016c6082e2bf8588fb18eb556b8061242245f5848d19a5e4ae6b15327d
7
+ data.tar.gz: f6a735b679ee233c78722cc0320a43f2e4f08d575f5a3b6df19f96463f072fdbc1bf169d2620e347a5cd148311e752e8e7c4be13c43b94e97ace1a19cf602b2a
@@ -21,16 +21,23 @@ module Lita
21
21
  # }
22
22
  #}
23
23
  #
24
- # :ping_location can be...
24
+ # :github_preferences[:ping_location] can be...
25
25
  # - "dm"
26
26
  # - "eng-pr" (pings you in #eng-pr)
27
27
  # default: "dm"
28
28
  #
29
- # :frequency can be
29
+ # :github_preferences[:frequency] can be
30
30
  # - "all_discussion" (pings you about any comments on your PRs and @mentions)
31
31
  # - "only_mentions" (will only ping you when you are explicitly @mentioned)
32
32
  # - "off"
33
33
  # default: "all_discussion"
34
+ #
35
+ # :travis_preferences[:frequency] can be
36
+ # - "only_passes"
37
+ # - "only_failures"
38
+ # - "everything"
39
+ # - "off"
40
+ # default: "all_discussion"
34
41
  config :engineers, type: Hash, required: true
35
42
 
36
43
  http.post("/ghping", :ghping)
@@ -66,6 +73,8 @@ module Lita
66
73
 
67
74
  return if ["off", "only_passes"].include?(commiter[:travis_preferences][:frequency])
68
75
  send_dm(commiter[:usernames][:slack], message)
76
+
77
+ response
69
78
  end
70
79
 
71
80
  def act_on_build_success(body, response)
@@ -78,6 +87,8 @@ module Lita
78
87
 
79
88
  return if ["off", "only_failures"].include?(commiter[:travis_preferences][:frequency])
80
89
  send_dm(commiter[:usernames][:slack], message)
90
+
91
+ response
81
92
  end
82
93
 
83
94
  def act_on_assign(body, response)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.5.8"
3
+ spec.version = "0.5.9"
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.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Lapeyre