compose-hook 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/compose_hook/webhook.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d42935efb1a192e801b52676a652bb147d8bb6cc336882642c5cbe521ced73be
|
4
|
+
data.tar.gz: 8df9796ec516750546320b8387b61bb75f0a4e40647b6a486c1ccc5eda547146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc94c79785d8f8f3653711921daaa79fd00a989bb6028a65bf900e526c2285aa0c0a8a47fffd2f38dddad82fcec05227bdbd83bfc37b8ecf2589e9d8e993486
|
7
|
+
data.tar.gz: 192bac7b5aef9a68212b29af3325428b78fe8875fcb5081dcaad6f2e5f10677c513586ec3d96fd3a8c2d2a7a799fa30a8b3889fac14bd86f1036b9f78f342d1c
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/compose_hook/webhook.rb
CHANGED
@@ -39,7 +39,7 @@ class ComposeHook::WebHook < Sinatra::Base
|
|
39
39
|
def find_service(service, path)
|
40
40
|
puts "find_service: #{path}"
|
41
41
|
|
42
|
-
Dir[File.join(path, "*.yml")].each do |file|
|
42
|
+
Dir[File.join(path, "*.{yml,yaml}")].each do |file|
|
43
43
|
begin
|
44
44
|
return file unless YAML.load_file(file)["services"][service].empty?
|
45
45
|
rescue StandardError => e
|