Skip to content

Commit

Permalink
Allow + in a package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsutoshi Aoe committed Jan 11, 2016
1 parent 7a4ff0d commit 92338d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/preference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 92338d4

Please sign in to comment.