puppet-community-rangefinder-webhook 0.0.6 → 0.0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/rangefinder/webhook.rb +1 -1
- data/lib/rangefinder/webhook/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: 8872284ad051b92ba6b526b725e9998bbeb0878f68d6b19a1bd96b33ed5f8365
|
4
|
+
data.tar.gz: 93ee34d248e08a1c99aa7e1f93b6d3f96b25f78b3a2f0dc61be8a2ce7d8a1d55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 550e263e9657425654e2cb2ef134f514d58f399f622eef0ab9b043531fa320b8488ab5469c40021ca4da1d79b25285e3b544419a6736dda9fa2b7622131edf3c
|
7
|
+
data.tar.gz: 7eaf6be60efab5391efd4a01f24fb50fc3b136c47791ce9515740a8d648e64ba6263749ea56c7e64e23be1ede3350ca0cd22e03aaf307e79dfb853faec59e423
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
# v0.0.6.1
|
2
|
+
|
3
|
+
Fixed a crasher when encountering unhandled filetypes.
|
4
|
+
|
5
|
+
|
6
|
+
# v0.0.6
|
7
|
+
|
8
|
+
Spawn the actual analysis in a worker thread so that the webhook can respond
|
9
|
+
immediately. This should hopefully reduce the number of 503 timeouts.
|
10
|
+
Added some actual docs on how to run this thing.
|
11
|
+
|
1
12
|
# v0.0.5
|
2
13
|
|
3
14
|
Cleaned up output format so that the github comment is more readable.
|
data/lib/rangefinder/webhook.rb
CHANGED
@@ -96,7 +96,7 @@ class Rangefinder::Webhook < Sinatra::Base
|
|
96
96
|
return if @impact.compact.empty?
|
97
97
|
|
98
98
|
# This really only works on a single module root anyways
|
99
|
-
@puppetfiles = @impact.map { |item| item[:puppetfile] }.compact.
|
99
|
+
@puppetfiles = @impact.map { |item| item && item[:puppetfile] }.compact.first
|
100
100
|
|
101
101
|
# Add the file url to each entry
|
102
102
|
@impact.each do |item|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-community-rangefinder-webhook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6
|
4
|
+
version: 0.0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Ford
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|