puppet-community-rangefinder-webhook 0.0.6 → 0.0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 319aee1e86528e1bbb04db33413c8bbcb80bc98cbffa6d73ad1f9b9eca25ae3e
4
- data.tar.gz: 22cea689b62bfe35abc5118763c1a5c17ca34a9ee97776a1a7561070429d9f86
3
+ metadata.gz: 8872284ad051b92ba6b526b725e9998bbeb0878f68d6b19a1bd96b33ed5f8365
4
+ data.tar.gz: 93ee34d248e08a1c99aa7e1f93b6d3f96b25f78b3a2f0dc61be8a2ce7d8a1d55
5
5
  SHA512:
6
- metadata.gz: ae34ea922dae618cf9cfbc621ec42cd2b91f1f5d97e808ed56bd692737d2358fed6c24fa410db58223a853a6b860d8d87658245a5cbfc778f43d9d9724d9528b
7
- data.tar.gz: 2eebbfd33d9544e40213c8ce8aa77a936e2ecd9a737f612b3f5e84a2dd53cb45695ac852d9a3845ee64d136e3457311ae023f648ca2e21e2b632bc527a04db71
6
+ metadata.gz: 550e263e9657425654e2cb2ef134f514d58f399f622eef0ab9b043531fa320b8488ab5469c40021ca4da1d79b25285e3b544419a6736dda9fa2b7622131edf3c
7
+ data.tar.gz: 7eaf6be60efab5391efd4a01f24fb50fc3b136c47791ce9515740a8d648e64ba6263749ea56c7e64e23be1ede3350ca0cd22e03aaf307e79dfb853faec59e423
@@ -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.
@@ -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.uniq.first
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|
@@ -1,5 +1,5 @@
1
1
  require 'rangefinder/version' # this is the Rangefinder version, not the Webhook!
2
2
  class Rangefinder::Webhook
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.6.1'
4
4
  end
5
5
 
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-01 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra