Merge pull request #152 from singular0/master

Thanks for taking care of this.
This commit is contained in:
Jeremy Cook
2016-12-24 12:13:55 -05:00
committed by GitHub
3 changed files with 14 additions and 5 deletions

5
.gitignore vendored
View File

@@ -13,7 +13,7 @@ pkg
.bundle
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
@@ -48,3 +48,6 @@ Gemfile.lock
vendor/
homesick*.gem
# rbenv configuration
.ruby-version

12
Gemfile
View File

@@ -12,8 +12,6 @@ group :development do
gem "guard"
gem "guard-rspec"
gem "rb-readline", "~> 0.5.0"
gem "jeweler", ">= 1.6.2"
gem 'coveralls', require: false
gem "test_construct"
gem "capture-output", "~> 1.0.0"
if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/
@@ -22,7 +20,13 @@ group :development do
if RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
gem 'terminal-notifier-guard', '~> 1.6.1'
end
if RUBY_VERSION >= '1.9.2'
gem "rubocop"
gem "coveralls", require: false
gem "rubocop"
if RUBY_VERSION < '2.3.0'
gem "rack", "< 2"
gem "listen", "< 3"
gem "jeweler", ">= 1.6.2", "< 2.2"
else
gem "jeweler", ">= 1.6.2"
end
end

View File

@@ -66,6 +66,7 @@ module Homesick
desc 'rc CASTLE', 'Run the .homesickrc for the specified castle'
method_option :force,
type: :boolean,
default: false,
desc: 'Evaluate .homesickrc without prompting.'
def rc(name = DEFAULT_CASTLE_NAME)
@@ -128,6 +129,7 @@ module Homesick
desc 'link CASTLE', 'Symlinks all dotfiles from the specified castle'
method_option :force,
type: :boolean,
default: false,
desc: 'Overwrite existing conflicting symlinks without prompting.'
def link(name = DEFAULT_CASTLE_NAME)