octokitted 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octokitted.rb +5 -0
- data/lib/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: 9e2273f42d15b208e1c3044e0357230b800cfc9e9868c0921df2c77b054ea9b9
|
4
|
+
data.tar.gz: c4ab08a959a98b1bce866644b7b8dcbbb7b3e40ac09fb6b5cc80a65d10803c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4687eb29d75b078b0e5f2b15ef4391a1a518aac3a64fb1a04c36c421b6e435967929df8287f71e159a80193a3404a38a0df49435d4ab49f4020c5b9acdeea87a
|
7
|
+
data.tar.gz: 24b3c9d44929a10a6ea7c0aea947b40f84c4694827a1f5d0901c919e0497c68195da963bf7e45b3d76996d499d55feed545905b91f45faeac0bef262ae11bcd0
|
data/lib/octokitted.rb
CHANGED
@@ -193,6 +193,11 @@ class Octokitted
|
|
193
193
|
|
194
194
|
issue_number = (github_event[:issue] || github_event[:pull_request] || github_event)[:number]
|
195
195
|
|
196
|
+
if issue_number.nil?
|
197
|
+
@log.debug("issue_number not found in GitHub event data - issue_number not auto-hydrated")
|
198
|
+
return nil
|
199
|
+
end
|
200
|
+
|
196
201
|
@log.info("issue_number auto-hydrated - issue_number: #{issue_number}")
|
197
202
|
return issue_number
|
198
203
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octokitted
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Birkinbine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|