github_bot 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github_bot/github/client.rb +2 -1
- data/lib/github_bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95d0922df4d35b88d781c8a316282305792c23f26251f15a01da66493fc34bac
|
4
|
+
data.tar.gz: e32e2c38601c630c27575b3d14e2d9a931e556e1bbb09908106038ccdc2527b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a697a81c30d684e102a1ac891bcca06d3c2c02ae59fa2a256676823c7eb0a32f0c399a9859c442f233cb458cdade3cf583375addbeaa34f367a8fef236f2ae69
|
7
|
+
data.tar.gz: 6b2bfebb551d02bf586364b36b2706e8ee3b10bbf5f8e4ae52aeff511751560091a301104ba8977e544a6515e56b71e6f56a927dc58dc7ef34e56f92d9c2ba32
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'octokit'
|
4
4
|
require 'uri'
|
5
|
+
require 'jwt'
|
5
6
|
require_relative 'payload'
|
6
7
|
|
7
8
|
module GithubBot
|
@@ -180,7 +181,7 @@ module GithubBot
|
|
180
181
|
exp: current + (10 * 60),
|
181
182
|
iss: ENV['GITHUB_APP_IDENTIFIER']
|
182
183
|
}
|
183
|
-
JWT.encode(payload, private_key, 'RS256')
|
184
|
+
::JWT.encode(payload, private_key, 'RS256')
|
184
185
|
end
|
185
186
|
|
186
187
|
# relay messages to Octokit::Client if responds to allow extension
|
data/lib/github_bot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Howdeshell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|