From 251010f1a8d5b08c6e4e4d37581ebed87c6c2789 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 5 Oct 2013 12:30:47 +0200 Subject: [PATCH] Ignore YAML document seperator --- pws | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pws b/pws index 83ab6bb..7a43e83 100755 --- a/pws +++ b/pws @@ -429,7 +429,7 @@ class EncryptedData def EncryptedData.targets(text) text.split("\n").each do |line| - if /^#/.match line + if /^(#|---)/.match line next end m = /^access: "?((?:(?:#{GROUP_PATTERN}|#{USER_PATTERN}),?\s*)+)"?/.match line -- 2.39.5