added ebuild for gitlabhq-7.10.3
This commit is contained in:
parent
724130d849
commit
622e6396f9
3 changed files with 402 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb
|
||||
index 9aeed5e..7d909f6 100644
|
||||
--- a/lib/gitlab/regex.rb
|
||||
+++ b/lib/gitlab/regex.rb
|
||||
@@ -1,3 +1,5 @@
|
||||
+encoding: utf-8
|
||||
+
|
||||
module Gitlab
|
||||
module Regex
|
||||
extend self
|
||||
@@ -24,12 +26,12 @@ module Gitlab
|
||||
|
||||
|
||||
def project_name_regex
|
||||
- @project_name_regex ||= /\A[a-zA-Z0-9_.][a-zA-Z0-9_\-\. ]*\z/.freeze
|
||||
+ @project_name_regex ||= /\A[\p{Word}_.][\p{Word}_\-\. ]*\z/.freeze
|
||||
end
|
||||
|
||||
def project_name_regex_message
|
||||
"can contain only letters, digits, '_', '-', '.' and space. " \
|
||||
- "It must start with letter, digit or '_'."
|
||||
+ "It must start with letter, digit, '.' or '_'."
|
||||
end
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue