gh-events 0.3.7 → 0.3.8

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: ea9848bbbd2b4501936a321470762071d821927cc10a7643f0d51ac3d8c0d573
4
- data.tar.gz: d37584d585ffc2a361fc74609f0f395ea59ec2c8f8134b1a8009566bc73ebe3b
3
+ metadata.gz: 712118f1c6b8f41b0d936d09e9b24a667e1cc9f51ab5534418adf8b4919ab47b
4
+ data.tar.gz: ce35356926781a114738b40c29d7bc282478e5088cfd3383359ae2bae56d3622
5
5
  SHA512:
6
- metadata.gz: c4030f55226ff9b6c317a5357043ca464a366d06c2095e7b70572d8c62333041c21abd087e7db063f794710369a4d2615e41c3dfe3a842061c39b90e988299f3
7
- data.tar.gz: be3f3c741043e1385897f0a7f8b496b8387f60735401473fd285a4ddcda828c7e8c060f661a9792510418dc4cd43ea6d65981b2d5c2a6280cebd67cba4276de9
6
+ metadata.gz: 43d88aebdec1daceb51d1702f13bf4c841eab25d245e60d04d190108b58cbc63b671069a34de817c260beb0d1fe32ed3d5aa825c59e4fd73bf95fefef47223da
7
+ data.tar.gz: ce143b305ba4f081c72947d9daf267f0104d88e49e0aa67a8746af971f86cec5bef70ab4acdea8fec8c0f3eaf6200a0685bc5d61150afbad0989f69368d000d6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gh-events (0.3.7)
4
+ gh-events (0.3.8)
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.3.7"
3
+ VERSION = "0.3.8"
4
4
  end
5
5
  end
data/res/events.yml CHANGED
@@ -8,7 +8,7 @@ watch: # 49
8
8
  - action
9
9
  - repository
10
10
  exactly:
11
- action: started
11
+ :action: started
12
12
 
13
13
  # check_run # 1
14
14
 
data/res/slack.yml CHANGED
@@ -8,40 +8,55 @@ push: >-
8
8
  <% if ref_type == 'branch' %><%= num = size || commits.count %> commit<%= num > 1 ? 's' : '' %> to<% end %>
9
9
  <%= ref_type %> `<%= ref %>`
10
10
  on <<%= repository.html_url %>|<%= repository.full_name %>>
11
- :star: <%= repository.stargazers_count %>
12
- :eye: <%= repository.watchers_count %>
13
11
  (<<%= compare %>|compare>)
14
12
 
15
13
  commit_comment: >-
16
- _<%= comment.user.login %>_ commented
17
- commit <<%= comment.url %>|`<%= comment.commit_id %>`> on
14
+ <<%= sender.html_url %>|<%= sender.login %>>
15
+ commented
16
+ commit <<%= comment.html_url %>|`<%= comment.commit_id %>`> on
18
17
  <<%= repository.html_url %>|<%= repository.full_name %>>: _<%= comment.body %>_
19
18
 
20
19
  create: >-
21
- _<%= sender.login %>_ created
20
+ <<%= sender.html_url %>|<%= sender.login %>>
21
+ created
22
22
  <%= ref_type %> `<%= ref %>`
23
23
  on <<%= repository.html_url %>|<%= repository.full_name %>>
24
24
 
25
25
  delete: >-
26
- _<%= sender.login %>_ deleted
26
+ <<%= sender.html_url %>|<%= sender.login %>>
27
+ deleted
27
28
  <%= ref_type %> `<%= ref %>`
28
29
  on <<%= repository.html_url %>|<%= repository.full_name %>>
29
30
 
30
31
  issue_comment: >-
31
- _<%= comment.user.login %>_ commented
32
+ <<%= sender.html_url %>|<%= sender.login %>>
33
+ commented
32
34
  on <<%= comment.html_url %>|<%= issue.title %>>: _<%= comment.body %>_
33
35
 
34
36
  issues: >-
35
- _<%= issue.user.login %>_ <%= action %>
36
- <<%= issue.url %>|issue <%= issue.title %>>
37
+ <<%= sender.html_url %>|<%= sender.login %>>
38
+ <%= action %>
39
+ issue <<%= issue.url %>|<%= issue.title %>>
37
40
  on <<%= repository.html_url %>|<%= repository.full_name %>>
38
41
 
39
42
  pull_request: >-
40
- _<%= pull_request.user.login %>_ <%= action %>
41
- <<%= pull_request.url %>|pull request <%= pull_request.title %>>
43
+ <<%= sender.html_url %>|<%= sender.login %>>
44
+ <%= action %>
45
+ PR <<%= pull_request.html_url %>|<%= pull_request.title %>>
42
46
  on <<%= repository.html_url %>|<%= repository.full_name %>>
43
47
 
44
- watch: An event of type `watch` occurred.
48
+ star: >-
49
+ <<%= sender.html_url %>|<%= sender.login %>>
50
+ <%= action == 'created' ? 'starred' : 'unstarred' %>
51
+ <<%= repository.html_url %>|<%= repository.full_name %>>
52
+ :star: <%= repository.stargazers_count %>
53
+
54
+ watch: >-
55
+ <<%= sender.html_url %>|<%= sender.login %>>
56
+ <%= action == 'created' ? 'started' : 'stopped' %> watching
57
+ <<%= repository.html_url %>|<%= repository.full_name %>>
58
+ :eye: <%= repository.watchers_count %>
59
+
45
60
  deployment: An event of type `deployment` occurred.
46
61
  deployment_status: An event of type `deployment_status` occurred.
47
62
  fork: An event of type `fork` occurred.
@@ -53,6 +68,5 @@ public: An event of type `public` occurred.
53
68
  pull_request_review_comment: An event of type `pull_request_review_comment` occurred.
54
69
  release: An event of type `release` occurred.
55
70
  repository: An event of type `repository` occurred.
56
- star: An event of type `star` occurred.
57
71
  status: An event of type `status` occurred.
58
72
  team_add: An event of type `team_add` occurred.
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.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Hofmann