Skip to content

Commit

Permalink
Merge pull request #167 from maoe/allow-plus-package-name
Browse files Browse the repository at this point in the history
Allow + in a package name
  • Loading branch information
tas50 committed Mar 1, 2016
2 parents f5051ad + 92338d4 commit d3a94a0
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 @@ -25,7 +25,7 @@
: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 d3a94a0

Please sign in to comment.