John Bellone
9c52108035
Update specs to for change to https vs. git protocol.
2013-11-23 19:38:51 +01:00
Trae Robrock
5b954b93e3
Fix #19 homesickrc pathname needs a to_s to eval
...
Also, moved the file evaluation into a new function so the script can be
ran manually which should make testing these scripts easier.
2013-11-23 19:38:50 +01:00
Trae Robrock
b596e063f5
Add unlink functionality
2013-11-23 19:38:50 +01:00
Trae Robrock
965b35b78c
Ignore vendor dir
2013-11-23 19:37:25 +01:00
muratayusuke
9551b3acb4
Regenerate gemspec for version 0.9.3
2013-11-23 19:37:25 +01:00
muratayusuke
27ac1c7782
bump up version
2013-11-23 19:37:25 +01:00
muratayusuke
f9d0b69bce
add recursive option to 'homesick clone'
2013-11-23 19:37:25 +01:00
muratayusuke
a91ce82d77
Regenerate gemspec for version 0.9.2
2013-11-23 19:37:25 +01:00
muratayusuke
d8b5d8163b
remove Gemfile.lock from repository
2013-11-23 19:37:25 +01:00
muratayusuke
6fca06d341
bump up version
2013-11-23 19:37:24 +01:00
Austin Lin
44080829e3
Update readme with correct file path for .homesick_subdir per technicalpickles/homesick@360e8185f7
2013-11-23 19:37:24 +01:00
David Simon
651e028d5b
Whoops, fixed typo
2013-11-23 19:37:24 +01:00
David Simon
6f3186df2f
Using DEFAULT_CASTLE_NAME in show_path, diff, status
2013-11-23 19:37:24 +01:00
David Simon
92c61f928e
Added three commands: show_path, status, diff
2013-11-23 19:37:24 +01:00
akahige
d3cb45f879
default castle name to constant
2013-11-23 19:37:24 +01:00
John Bellone
314e2932fb
Update homesick.rb to make https default for GitHub clones.
...
If we use HTTPS it is a lot easier for corporate worlds to manage proxies since its usually already done for us. Also HTTPS cloning is just as fast as the git protocol as of more recent versions.
2013-11-23 19:37:24 +01:00
akahige
8ee5165ccf
set default castle name: 'dotfiles' for some commands
2013-11-23 19:37:24 +01:00
muratayusuke
8f2a9e6703
remove duplicate spec
2013-11-23 19:37:24 +01:00
muratayusuke
f8a6fb9ce2
follow Ruby Style Guide for some points
2013-11-23 19:37:23 +01:00
muratayusuke
bf248cd645
don't fail test even if rubocop detects some offence
2013-11-23 19:36:38 +01:00
muratayusuke
1563814cb0
use single-quate if don't need double-quate
2013-11-23 19:36:37 +01:00
muratayusuke
91770998a7
don't install rubocop under ruby 1.9.2
2013-11-23 19:36:37 +01:00
muratayusuke
d7aca1025f
don't run rubocode on ruby 1.8.7
2013-11-23 19:36:37 +01:00
muratayusuke
b3298d18c8
fix coding style
2013-11-23 19:36:37 +01:00
muratayusuke
359147e7e8
use rubocop
2013-11-23 19:36:37 +01:00
muratayusuke
937f1912d7
Regenerate gemspec for version 0.9.1
2013-11-23 19:36:37 +01:00
muratayusuke
18c0e32309
bump up version
2013-11-23 19:36:37 +01:00
Fletcher Nichol
1518cb1155
Remove .git suffix on destination directory if URL ends with it.
...
For example, the following:
homesick clone git://github.com/technicalpickles/pickled-vim.git
should produce a castle directory of:
$HOME/.homesick/repos/pickled-vim
2013-11-23 19:36:37 +01:00
muratayusuke
c5b7dd2918
fix #35
2013-11-23 19:36:36 +01:00
muratayusuke
b668b7eda2
Regenerate gemspec for version 0.9.0
2013-11-23 19:36:36 +01:00
muratayusuke
a595ead2c6
bump up version and update changelog
2013-11-23 19:36:36 +01:00
muratayusuke
cc1ee544c3
move castle/home/.homesick_subdir to castle/.homesick_subdir
2013-11-23 19:36:36 +01:00
Yusuke Murata
a0862936e8
fix typo
2013-11-23 19:36:36 +01:00
Yusuke Murata
f91f5743b6
fix style of README
2013-11-23 19:36:36 +01:00
Yusuke Murata
eb74b90b42
fix style of README
2013-11-23 19:36:36 +01:00
muratayusuke
c3c108bd50
add .homesick_subdir explanation to README
2013-11-23 19:36:36 +01:00
muratayusuke
06975f79f5
deal with edge case: the parent and descendant are both listed in the manifest
2013-11-23 19:36:36 +01:00
muratayusuke
830106a168
refactor symlink
2013-11-23 19:36:35 +01:00
muratayusuke
aa2dfcc42f
refactor given_castle
2013-11-23 19:36:35 +01:00
muratayusuke
ed71fd6227
add ruby-2.0.0 to travis
2013-11-23 19:36:35 +01:00
muratayusuke
fd60528567
fix spec for ruby-1.8.7
2013-11-23 19:36:35 +01:00
muratayusuke
01934d5b00
replace .manifest to .homesick_subdir
2013-11-23 19:36:35 +01:00
muratayusuke
bba0e3ed7d
support nested dir in .homesick_subdir
2013-11-23 19:36:35 +01:00
Eric West
7db0b13d30
refactor, cleanup and tweak
2013-11-23 19:36:35 +01:00
Eric West
b1c6c8f835
Handling edge cases
...
Covers only edge cases related to tracking, not yet
handling linking or updating. Getting a bit hairy,
must be refactored.
2013-11-23 19:36:35 +01:00
muratayusuke
7620f40cb2
symlink subdirs with .homesick_subdir
2013-11-23 19:36:34 +01:00
Eric West
cf9058be04
Track makes entries in .manifest
...
When a user tracks a file or directory that is in
a nested folder, Homesick creates a .manifest in the
user's castle (if there isn't one already) and adds
an entry listing the file or directory's parent
directory (if it isn't already listed).
2013-11-23 19:36:34 +01:00
Eric West
234532ebef
Specs for track
2013-11-23 19:36:34 +01:00
Eric West
ccddbb1316
Track now properly traverses folder structure
2013-11-23 19:36:34 +01:00
muratayusuke
4ef315d4e2
Regenerate gemspec for version 0.8.1
2013-11-23 19:36:34 +01:00