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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f91b35d6fe28c32deee9770c57314be29c9a009472950b46e762eb5c8cc6a61
4
- data.tar.gz: 37158afb12b6a04053e47e895098f6b51c95c4278d381d9d7ce2a6eb82ef51d3
3
+ metadata.gz: 95d0922df4d35b88d781c8a316282305792c23f26251f15a01da66493fc34bac
4
+ data.tar.gz: e32e2c38601c630c27575b3d14e2d9a931e556e1bbb09908106038ccdc2527b3
5
5
  SHA512:
6
- metadata.gz: ae7fcf35e172a983abd64f4d02cacc55860403fc01a263de41d531cb686018508f0c5c5453f97bc93111a736d263daa39bbc2e548bbc408eefba5f33053e7e54
7
- data.tar.gz: e1923407e45123b695147b01a8088fc681eaf476428bc38203a7ff990ecdd9c89b0702fafaf6f68412f046132710347705e27d57e1c1cdae0a089eace17a060d
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GithubBot
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
 
6
6
  # version module
7
7
  module Version
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.0
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-09-29 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git