github_webhook 1.4.0 → 1.4.2

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: ec22b9a09fcb0d2833a46cffacf39ac9703b33fd0b909bfee2258f4191fdfc21
4
- data.tar.gz: 0f0fc361b3f1ccccb93dc66baf1b75d3ebc1f34fa3ef6022a0598dd6abc20c1b
3
+ metadata.gz: fa70acb6ee3b0d0c86fedf89cd0cd5abfa2b85112149ecb79810c691d3d6af10
4
+ data.tar.gz: 7fb5db48729f31f08fb62a20cc0e251cf8b67b823d9b13649625ec77485508bd
5
5
  SHA512:
6
- metadata.gz: 4292322d0e533e85de5fdedf0c67efe57847114beda60ba710a3fe191d9a59ad3c61fe8ead9c68272ba8067b53f709a10980059c6cb4a37f3898a6bc6b0b1f3a
7
- data.tar.gz: 767ce312e69c381ac91cc6bd4c9cf913b1297ca9d4ee990f38cf8e55f306c8607421dcaf1b0ab9941da41003f20674346512c53595d5d61c6a9866cdb6f5a559
6
+ metadata.gz: 062f18ed749edf436cd3bf4024d152923982c647c43b7184281a99adf9e6bd7f9591b490d990338630f03fae3486e2f26b89542ddc818e0e8a02d53e72cb7611
7
+ data.tar.gz: c3bcb2afb42473e7ce4485ed01fa12298e67028834768f234a0ddae7145965d37b3e1e7095da6925098a5ac9c39775b9f88120386bda1b33e51712d45a98344d
@@ -8,17 +8,17 @@ on:
8
8
 
9
9
  jobs:
10
10
  build:
11
-
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby: ['2.7', '3.0', '3.1', '3.2', head]
12
15
  runs-on: ubuntu-latest
13
-
14
16
  steps:
15
- - uses: actions/checkout@v2
16
- - name: Set up Ruby 2.7
17
- uses: actions/setup-ruby@v1
18
- with:
19
- ruby-version: 2.7.x
20
- - name: Build and test with Rake
21
- run: |
22
- gem install bundler
23
- bundle install --jobs 4 --retry 3
24
- bundle exec rake
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby 3.2
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ bundler-cache: true
23
+ - name: Build and test with Rake
24
+ run: bundle exec rake
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.4
1
+ 3.2.0
data/README.md CHANGED
@@ -41,7 +41,7 @@ Then create a new controller:
41
41
 
42
42
  ```ruby
43
43
  # app/controllers/github_webhooks_controller.rb
44
- class GithubWebhooksController < ActionController::Base
44
+ class GithubWebhooksController < ActionController::API
45
45
  include GithubWebhook::Processor
46
46
 
47
47
  # Handle push event
@@ -11,13 +11,14 @@ module GithubWebhook::Processor
11
11
  # run this little JS code in the console:
12
12
  # document.querySelectorAll('.list-style-none li.lh-condensed a').forEach(e => console.log(e.text))
13
13
  GITHUB_EVENTS = %w(
14
+ branch_protection_rule
14
15
  check_run
15
16
  check_suite
16
17
  code_scanning_alert
17
18
  commit_comment
18
- content_reference
19
19
  create
20
20
  delete
21
+ dependabot_alert
21
22
  deploy_key
22
23
  deployment
23
24
  deployment_status
@@ -28,41 +29,50 @@ module GithubWebhook::Processor
28
29
  gollum
29
30
  installation
30
31
  installation_repositories
32
+ installation_target
31
33
  issue_comment
32
34
  issues
33
35
  label
34
36
  marketplace_purchase
35
37
  member
36
38
  membership
39
+ merge_group
37
40
  meta
38
41
  milestone
39
- organization
40
42
  org_block
43
+ organization
41
44
  package
42
45
  page_build
43
46
  ping
44
47
  project_card
45
- project_column
46
48
  project
49
+ project_column
50
+ projects_v2
51
+ projects_v2_item
47
52
  public
48
53
  pull_request
49
- pull_request_review
50
54
  pull_request_review_comment
55
+ pull_request_review
56
+ pull_request_review_thread
51
57
  push
58
+ registry_package
52
59
  release
53
- repository_dispatch
54
60
  repository
61
+ repository_dispatch
55
62
  repository_import
56
63
  repository_vulnerability_alert
57
64
  secret_scanning_alert
65
+ secret_scanning_alert_location
58
66
  security_advisory
67
+ security_and_analysis
59
68
  sponsorship
60
69
  star
61
70
  status
62
- team
63
71
  team_add
72
+ team
64
73
  watch
65
74
  workflow_dispatch
75
+ workflow_job
66
76
  workflow_run
67
77
  )
68
78
 
@@ -1,3 +1,3 @@
1
1
  module GithubWebhook
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_webhook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Saunier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.1.6
141
+ rubygems_version: 3.4.2
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Process GitHub Webhooks in your Rails app (Controller mixin)