From 92338d4728e0eb8fb340899e96b174059f7fe1db Mon Sep 17 00:00:00 2001 From: Mitsutoshi Aoe Date: Tue, 20 Oct 2015 23:49:37 -0700 Subject: [PATCH] Allow + in a package name --- resources/preference.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/preference.rb b/resources/preference.rb index a1fdf3b0..f2fc3d9d 100644 --- a/resources/preference.rb +++ b/resources/preference.rb @@ -31,7 +31,7 @@ def initialize(*args) :pin, :pin_priority -attribute :package_name, kind_of: String, name_attribute: true, regex: [/^([a-z]|[A-Z]|[0-9]|_|-|\.|\*)+$/] +attribute :package_name, kind_of: String, name_attribute: true, regex: [/^([a-z]|[A-Z]|[0-9]|_|-|\.|\*|\+)+$/] attribute :glob, kind_of: String attribute :pin, kind_of: String attribute :pin_priority, kind_of: String