github_webhook 1.4.1 → 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: 5258160eacb5b95148087d5584ed9cd8f9e98ac9993fc118190887ec26c7a81a
4
- data.tar.gz: f7dbc1767b0f9c46976c36353a8c92945e300287cb4cf1d3a1f57c46dccb4cba
3
+ metadata.gz: fa70acb6ee3b0d0c86fedf89cd0cd5abfa2b85112149ecb79810c691d3d6af10
4
+ data.tar.gz: 7fb5db48729f31f08fb62a20cc0e251cf8b67b823d9b13649625ec77485508bd
5
5
  SHA512:
6
- metadata.gz: fa355a0f0fe12ed775a6a7729c737d457023d44b4d7574dac32ec38bfb90110d63c6c865c0c5f881ce8fe9ecd46656b50028c820e36e7c0039adad0a49837e2d
7
- data.tar.gz: ebc2b8aad487ab75f1881770e4b636bdc9b9fb9d1681ea0d2a8e3a2b9e83d48ade6d3adc376676f7964a9c42b782a037d669c14ef69f9c66abf35e66c6738410
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
- 3.1.2
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,42 +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
51
56
  pull_request_review_thread
52
57
  push
58
+ registry_package
53
59
  release
54
- repository_dispatch
55
60
  repository
61
+ repository_dispatch
56
62
  repository_import
57
63
  repository_vulnerability_alert
58
64
  secret_scanning_alert
65
+ secret_scanning_alert_location
59
66
  security_advisory
67
+ security_and_analysis
60
68
  sponsorship
61
69
  star
62
70
  status
63
- team
64
71
  team_add
72
+ team
65
73
  watch
66
74
  workflow_dispatch
75
+ workflow_job
67
76
  workflow_run
68
77
  )
69
78
 
@@ -1,3 +1,3 @@
1
1
  module GithubWebhook
2
- VERSION = "1.4.1"
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.1
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: 2022-07-05 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.3.7
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)