Jeremy Cook
60d4458bbc
Merge pull request #124 from shioyama/clone_destination
...
Pass destination when cloning url.
2015-03-22 14:12:41 -04:00
Chris Salzberg
9ad171ab78
Pass destination when cloning url.
2015-03-05 22:26:41 +09:00
Alexander GQ Gerasiov
4641843ffd
Add "requite 'pathname'" to lib/homesick/utils.rb
...
Since Pathname is used in lib/homesick/utils.rb, it should require this module
itself.
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su >
2015-02-22 23:09:18 +03:00
William Boman
fb7595d254
Escape message correctly on git_commit_all.
2015-02-19 16:51:53 +01:00
Jeremy Cook
c8f0999035
Preparing for new release.
2015-01-02 00:06:20 -05:00
Jeremy Cook
46faec7857
Bug fix to make sure git check works properly.
2015-01-01 21:21:27 -05:00
Jeremy Cook
e35d3fe6ba
Merge pull request #128 from wireframe/force-rc
2014-12-13 08:12:04 -05:00
Ryan Sonnek
5700f55dc3
Add --force option to homesick rc command
...
Support automatically eval-ing .homesickrc file without prompting for user input.
This is particularly useful for headless scripts that do not support
user input.
2014-12-01 13:38:43 -06:00
Jeremy Cook
03490531d8
Changed name of git check method to be more descriptive.
2014-11-24 08:49:17 -05:00
Jeremy Cook
7bd9759e81
Added tests for a minimumGit version of 1.8.0.
2014-11-23 22:22:44 -05:00
Jeremy Cook
a808f56caf
Tightened up git checking to check for a minimum installed version of
...
Git.
2014-11-23 14:32:47 -05:00
Jeremy Cook
b7e2b45e69
Added simple implementation to check if git is installed before
...
executing commands.
2014-11-20 21:25:47 -05:00
Jeremy Cook
7451e8c739
Bug fix to cover cases where homes are symlinked.
2014-09-19 14:36:32 -04:00
Jeremy Cook
ee04b5788a
Removed the homesick shell module and folded its code in elsewhere.
2014-06-14 15:03:57 -04:00
Jeremy Cook
3465c37c0e
Updated version to 1.1.1
2014-05-21 20:56:07 -04:00
Jeremy Cook
b60703d496
Bumped version number in preparation for a release.
2014-04-26 18:06:54 -04:00
Jeremy Cook
9a8788fb80
Removed uneeded config lines since the pretend and quiet options are set
...
in global config.
2014-04-26 18:04:34 -04:00
Jeremy Cook
1a44edcde1
Merge pull request #111 from JCook21/Pretend
...
Edits to keep code DRY
2014-04-26 17:45:08 -04:00
Jeremy Cook
f55828f1d4
Fixing a bug that breaks the handling of collisions.
2014-04-22 20:54:05 -04:00
Jeremy Cook
d4f9633a0c
Added ability for methods to be overrode, through the pretend and quiet
...
options, skipping their default behaviour if so.
2014-04-22 19:43:40 -04:00
Nicolas McCurdy
d9ee74bf14
Move GitActions and FileActions into a new Actions module
2014-04-16 20:54:26 -04:00
Nicolas McCurdy
2148697864
Separate Actions into two new modules: FileActions and GitActions
2014-04-16 18:05:02 -04:00
Nicolas McCurdy
1c3403064e
Don't refer to Homesick as a class
2014-04-16 17:57:00 -04:00
Nicolas McCurdy
f6c4e5e42e
Require Thor in Homesick::Shell
2014-04-16 17:29:17 -04:00
Nicolas McCurdy
705a416d74
Extract the CLI into a new Homesick::CLI class, while making Homesick a module
2014-04-16 17:20:05 -04:00
Jeremy Cook
74cfd29272
Small refactoring to keep main homesick class smaller.
2014-04-15 22:20:12 -04:00
Nicolas McCurdy
5dc7b5068d
Replace any system calls in lib that don't use git with calls to FileUtils
2014-04-06 02:01:15 -04:00
Christian Bundy
7253bdd634
Merge pull request #82 from thenickperson/rubocop-fixes
...
Reduce Rubocop errors
2014-01-23 12:19:57 -08:00
Nicolas McCurdy
95943deb82
Revert changes that use "\" and disable the line length cop
2014-01-20 21:03:21 -05:00
Nicolas McCurdy
f1191d4b3c
Remove duplicate methods rm and rm_link
2014-01-16 02:44:04 -05:00
Nicolas McCurdy
82be04ad8a
Fix rubocop issues for some recently merged code
2014-01-16 00:22:13 -05:00
Nicolas McCurdy
bb735763c6
Separate the action handling of ln_s into a new method to lower complexity
2014-01-15 23:48:56 -05:00
Nicolas McCurdy
0bbb82f9ba
Wrap all lines of Ruby code to 79 characters (maximum)
2014-01-15 23:44:39 -05:00
Nicolas McCurdy
e42eff4e10
Refactor the ln_s method to decrease its cyclomatic complexity
2014-01-15 23:34:12 -05:00
Nicolas McCurdy
7e659f11fe
Fix some broken spec expectations and move/rename a method
2014-01-15 23:29:40 -05:00
Nicolas McCurdy
c667cefd4c
Refactor the clone method to decrease its cyclomatic complexity
2014-01-15 23:29:40 -05:00
Nicolas McCurdy
571c5799e9
Swap some if/else statements so the positive case is always first
2014-01-15 23:23:30 -05:00
Nicolas McCurdy
8f634b9d07
Add brief documentation comments for Homesick and Homesick::Actions
2014-01-15 23:23:30 -05:00
Nicolas McCurdy
12244abb56
Fix a few more syntax-related rubocop issues manually
2014-01-15 23:23:29 -05:00
Nicolas McCurdy
fc2bbb1d6e
Fix several rubocop issues with "rubocop -a"
2014-01-15 23:23:29 -05:00
Nicolas McCurdy
f03e7670cf
Fix an issue reported by rubocop that wasn't ignored in the todo config
...
Issue text: Favor modifier if/unless usage when you have a single-line body.
2014-01-15 23:22:03 -05:00
Jeremy Cook
e5a6e43333
Preparing for 1.0.0 release.
2014-01-15 20:23:25 -05:00
Jeremy Cook
8dac49548c
Added command to display current version of homesick.
2014-01-06 19:12:13 -05:00
Jeremy Cook
8f67188c19
Added new tests for status and commit
2013-12-31 21:18:14 -05:00
Christian Bundy
c73d556e6f
Merge branch 'thilko' into destroy-castles
...
Conflicts:
lib/homesick/actions.rb
spec/homesick_spec.rb
2013-11-24 19:01:30 -08:00
thilko
243ba70b33
using rm_rf to avoid confirmations on delete
2013-11-23 21:54:40 +01:00
Thilko Richter
44527850f6
destroy action implemented
2013-11-23 19:42:39 +01:00
bcd
545f5fc3e9
Git clone now uses config push.default upstream
2013-11-23 19:38:53 +01:00
Trae Robrock
17426583e0
Add test for parens in filenames, and fixed
2013-11-23 19:38:52 +01:00
Trae Robrock
b596e063f5
Add unlink functionality
2013-11-23 19:38:50 +01:00