gh-events 0.4.0 → 0.4.1

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: f5cf57e6ba3a08aafb7621eccddd5caa9d23dc2ef08a28946aed52a5d386349c
4
- data.tar.gz: 60101c32e6d363aae13676305e8b3b79c3ec4780f7f9c0a38ad5551db628eac3
3
+ metadata.gz: e853bd16964bb1b29db8b34400a0107fcd97585e081a1c51210f0a09fa277e3e
4
+ data.tar.gz: 47f398f36af2a431aa6f4b1f3c13982d3ca1ec427d26ab2546be11e129c6c369
5
5
  SHA512:
6
- metadata.gz: 7f2a72933f62af883eb804e78a1b1bf8578fb1f1d12447665968ffc4fe2f609ae46234004b8287014f2cc8648dcd0d66214a85bad23cf893ef3ecd47c1a24613
7
- data.tar.gz: 472672fd5e5dae021d33b804bd82013fe0ef1ce78fa0c07c8f9fb3ed1a4093953eb0b26cebf5b5c77c43cc6c2b15f544461b66d4aa57fc2012eaeb087640c559
6
+ metadata.gz: 847c83c95d8c66d6317ec8d8a265e662ae173336c17768a905eec78d7f592a4094b466abd1531f1e889c9a2c3490223c496452654b68ae1de483de960f0e12ca
7
+ data.tar.gz: edb8bf1308d0741f1c7eb143d10fbe87218bd668dcf59f35cdd2a428554145d139e1541703ed8cf9eb9b462ad4d91283fb1e181a95e7ae21d7eff307c868a58e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gh-events (0.4.0)
4
+ gh-events (0.4.1)
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.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
data/res/slack.yml CHANGED
@@ -4,61 +4,80 @@ unknown: >-
4
4
  An unknown event occurred.
5
5
 
6
6
  push: >-
7
- _<%= pusher.name %>_ <%= forced ? 'force-' : '' %>pushed
7
+ :soon:
8
+ <<%= sender.html_url %>|<%= sender.login %>>
9
+ <%= forced ? 'force-' : '' %>pushed
8
10
  <% if ref_type == 'branch' %><%= num = size || commits.count %> commit<%= num > 1 ? 's' : '' %> to<% end %>
9
11
  <%= ref_type %> `<%= ref %>`
10
12
  on <<%= repository.html_url %>|<%= repository.full_name %>>
11
13
  (<<%= compare %>|compare>)
12
14
 
13
15
  commit_comment: >-
16
+ :left_speech_bubble:
14
17
  <<%= sender.html_url %>|<%= sender.login %>>
15
18
  commented
16
19
  commit <<%= comment.html_url %>|`<%= comment.commit_id %>`> on
17
20
  <<%= repository.html_url %>|<%= repository.full_name %>>: _<%= comment.body %>_
18
21
 
19
22
  create: >-
23
+ :sparkles:
20
24
  <<%= sender.html_url %>|<%= sender.login %>>
21
25
  created
22
26
  <%= ref_type %> `<%= ref %>`
23
27
  on <<%= repository.html_url %>|<%= repository.full_name %>>
24
28
 
25
29
  delete: >-
30
+ :collision:
26
31
  <<%= sender.html_url %>|<%= sender.login %>>
27
32
  deleted
28
33
  <%= ref_type %> `<%= ref %>`
29
34
  on <<%= repository.html_url %>|<%= repository.full_name %>>
30
35
 
31
36
  issue_comment: >-
37
+ :left_speech_bubble:
32
38
  <<%= sender.html_url %>|<%= sender.login %>>
33
39
  commented
34
40
  on <<%= comment.html_url %>|<%= issue.title %>>: _<%= comment.body %>_
35
41
 
36
42
  issues: >-
43
+ :inbox_tray:
37
44
  <<%= sender.html_url %>|<%= sender.login %>>
38
45
  <%= action %>
39
- issue <<%= issue.url %>|<%= issue.title %>>
46
+ issue <<%= issue.html_url %>|<%= issue.title %>>
40
47
  on <<%= repository.html_url %>|<%= repository.full_name %>>
41
- <% if action == 'opened' %>| <%= issue.body %><% end %>
48
+ <% if action == 'opened' %>\n| <%= issue.body %><% end %>
42
49
 
43
50
  issues.labeled:
51
+ :label:
44
52
  <<%= sender.html_url %>|<%= sender.login %>>
45
53
  labeled
46
- issue <<%= issue.url %>|<%= issue.title %>>
54
+ issue <<%= issue.html_url %>|<%= issue.title %>>
55
+ on <<%= repository.html_url %>|<%= repository.full_name %>>
47
56
  as `<%= label.name %>`
48
57
 
49
58
  pull_request: >-
59
+ :gift:
50
60
  <<%= sender.html_url %>|<%= sender.login %>>
51
61
  <%= action %>
52
62
  PR <<%= pull_request.html_url %>|<%= pull_request.title %>>
53
63
  on <<%= repository.html_url %>|<%= repository.full_name %>>
54
64
 
65
+ pull_request.labeled: >-
66
+ <<%= sender.html_url %>|<%= sender.login %>>
67
+ labeled
68
+ PR <<%= pull_request.html_url %>|<%= pull_request.title %>>
69
+ on <<%= repository.html_url %>|<%= repository.full_name %>>
70
+ as `<%= label.name %>`
71
+
55
72
  star: >-
73
+ :star:
56
74
  <<%= sender.html_url %>|<%= sender.login %>>
57
75
  <%= action == 'created' ? 'starred' : 'unstarred' %>
58
76
  <<%= repository.html_url %>|<%= repository.full_name %>>
59
77
  :star: <%= repository.stargazers_count %>
60
78
 
61
79
  watch: >-
80
+ :eye:
62
81
  <<%= sender.html_url %>|<%= sender.login %>>
63
82
  <%= action == 'created' ? 'started' : 'stopped' %> watching
64
83
  <<%= repository.html_url %>|<%= repository.full_name %>>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Hofmann