From 6cc28450a41936a6e595fdcad75dfec8a3cf2711 Mon Sep 17 00:00:00 2001 From: mingkai Date: Fri, 18 Oct 2013 14:35:56 +0200 Subject: [PATCH] Change github-repo pattern to allow numbers for usernames/repos --- lib/homesick.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/homesick.rb b/lib/homesick.rb index 275f742..796da09 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -9,7 +9,7 @@ class Homesick < Thor add_runtime_options! - GITHUB_NAME_REPO_PATTERN = /\A([A-Za-z_-]+\/[A-Za-z_-]+)\Z/ + GITHUB_NAME_REPO_PATTERN = /\A([A-Za-z0-9_-]+\/[A-Za-z0-9_-]+)\Z/ SUBDIR_FILENAME = '.homesick_subdir' DEFAULT_CASTLE_NAME = 'dotfiles'