gh-events 0.4.2 → 0.4.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
  SHA256:
3
- metadata.gz: e5217f56c464ce1dcbe106daf7189b1042f4da183d15f93260ec0961fb2ca1ed
4
- data.tar.gz: 54ea9fd8362d6fb7c9bfd433d4ca3ea6513c152039365a8fe035c7232704b515
3
+ metadata.gz: 58713f91216287189dcfaa4923c5d6ed5fc39793b53ea7501734bd987b25361a
4
+ data.tar.gz: 00cb26e34a5001bc3299cb770111c188b68fc65d79d77a0b0b07938769f1e728
5
5
  SHA512:
6
- metadata.gz: bb7352b06d73891bc99263527b52c64db40d9693976698b88e7e5741ea727c726ae6add0764221ac29e84952405b9976b621414b2f72c889013b9cc1f7ebc278
7
- data.tar.gz: 14e8f0834a1957ec296e2b7d5e1169e9250f9dce689fe2d29e22805005425580719e874a0244aacac129247cb04edba5cb0f5fd7c3f7430f6e696355e5646e41
6
+ metadata.gz: c66799eef1c74131c6ea21fa9c9ed5dd22ef1ce9f500ab0c275c75ee39f2171511dc7372a86e4e2d270bf74389efe61177d95af79283f8c14a970c09ee9067aa
7
+ data.tar.gz: 1a4169ba66b98a0ed1cbbf6fa502c91f782358c18a247360c0e8f7c657cda8926bf63e05a584909d8041842feb8f32929b2d96252787967e8c31d24b371cc188
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gh-events (0.4.2)
4
+ gh-events (0.4.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  module GH
2
2
  module Events
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.4"
4
4
  end
5
5
  end
data/res/slack.yml CHANGED
@@ -69,6 +69,12 @@ pull_request.labeled: >-
69
69
  on <<%= repository.html_url %>|<%= repository.full_name %>>
70
70
  as `<%= label.name %>`
71
71
 
72
+ pull_request_review_comment: >-
73
+ :left_speech_bubble:
74
+ <<%= sender.html_url %>|<%= sender.login %>>
75
+ commented
76
+ on <<%= comment.html_url %>|<%= .pull_request.title %>>: _<%= comment.body %>_
77
+
72
78
  star: >-
73
79
  :star:
74
80
  <<%= sender.html_url %>|<%= sender.login %>>
@@ -83,6 +89,16 @@ watch: >-
83
89
  <<%= repository.html_url %>|<%= repository.full_name %>>
84
90
  :eye: <%= repository.watchers_count %>
85
91
 
92
+ # Ignore other status udpates than CircleCI failures for the moment
93
+ status: >-
94
+ <% if context.match(/circleci/) and state == 'failure' %>
95
+ <<%= target_url %> | CircleCI build >
96
+ fails for commit
97
+ <<%= commit.html_url %> | <%= commit.commit.message %>>
98
+ from
99
+ <<%= sender.html_url %>|<%= sender.login %>>
100
+ <% end %>
101
+
86
102
  deployment: An event of type `deployment` occurred.
87
103
  deployment_status: An event of type `deployment_status` occurred.
88
104
  fork: An event of type `fork` occurred.
@@ -91,8 +107,6 @@ member: An event of type `member` occurred.
91
107
  membership: An event of type `membership` occurred.
92
108
  page_build: An event of type `page_build` occurred.
93
109
  public: An event of type `public` occurred.
94
- pull_request_review_comment: An event of type `pull_request_review_comment` occurred.
95
110
  release: An event of type `release` occurred.
96
111
  repository: An event of type `repository` occurred.
97
- status: An event of type `status` occurred.
98
112
  team_add: An event of type `team_add` occurred.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Hofmann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-25 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler