David Simon
8be3cdb6a0
Using DEFAULT_CASTLE_NAME in show_path, diff, status
2013-06-26 14:29:45 -04:00
David Simon
99760c27af
Added three commands: show_path, status, diff
2013-06-25 16:11:08 -04:00
Yusuke Murata
4aa76ce444
Merge pull request #42 from akahigeg/default-castle-name
...
set default castle name: 'dotfiles' for some commands
2013-06-23 09:56:55 -07:00
akahige
82ae128429
default castle name to constant
2013-06-24 00:44:17 +09:00
John Bellone
92dc611bb1
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-06-21 09:45:26 -03:00
akahige
dbf333c971
set default castle name: 'dotfiles' for some commands
2013-06-21 14:02:50 +09:00
Yusuke Murata
ca5dc3a4cc
Merge pull request #41 from muratayusuke/feature/rubocop
...
Feature/rubocop
2013-06-20 16:44:12 -07:00
muratayusuke
a267a9c0b8
remove duplicate spec
2013-06-19 17:42:16 +00:00
muratayusuke
21cbb2c697
follow Ruby Style Guide for some points
2013-06-19 17:21:24 +00:00
muratayusuke
00f49be42c
don't fail test even if rubocop detects some offence
2013-06-19 16:41:12 +00:00
muratayusuke
37b55bf934
use single-quate if don't need double-quate
2013-06-19 16:23:00 +00:00
muratayusuke
f2aca02b82
don't install rubocop under ruby 1.9.2
2013-06-19 15:58:45 +00:00
muratayusuke
dd101259f0
don't run rubocode on ruby 1.8.7
2013-06-19 15:41:53 +00:00
muratayusuke
b1f2742422
fix coding style
2013-06-19 15:30:18 +00:00
muratayusuke
114b44d4b6
use rubocop
2013-06-19 15:01:36 +00:00
muratayusuke
e07f3f0658
Regenerate gemspec for version 0.9.1
v0.9.1
2013-06-17 12:36:14 +00:00
muratayusuke
b21aef09be
bump up version
2013-06-17 12:35:39 +00:00
Yusuke Murata
d964e65a7e
Merge pull request #40 from fnichol/fix-clone-destination
...
Remove .git suffix on destination directory if URL ends with it.
2013-06-17 04:47:20 -07:00
Fletcher Nichol
024856e538
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-06-16 10:47:53 -06:00
muratayusuke
e530df7239
fix #35
2013-06-09 23:10:21 +00:00
muratayusuke
e817c816c9
Regenerate gemspec for version 0.9.0
v0.9.0
2013-06-06 12:59:00 +00:00
muratayusuke
14f0f8c121
bump up version and update changelog
2013-06-06 12:58:36 +00:00
Yusuke Murata
4c97948e04
Merge pull request #39 from technicalpickles/feature/merge_directory
...
Merge directories
2013-06-06 05:47:43 -07:00
muratayusuke
360e8185f7
move castle/home/.homesick_subdir to castle/.homesick_subdir
2013-06-06 12:39:41 +00:00
Yusuke Murata
da0958d455
fix typo
2013-06-06 21:19:21 +09:00
Yusuke Murata
70f5d24e0a
fix style of README
2013-06-05 03:18:40 +09:00
Yusuke Murata
6b281ef001
fix style of README
2013-06-05 03:15:44 +09:00
muratayusuke
3ddd3207b3
add .homesick_subdir explanation to README
2013-06-04 18:14:20 +00:00
muratayusuke
8e58a3f5e2
deal with edge case: the parent and descendant are both listed in the manifest
2013-06-04 17:36:47 +00:00
muratayusuke
a95c4b2446
refactor symlink
2013-06-03 18:17:38 +00:00
muratayusuke
97fe1686f5
refactor given_castle
2013-05-30 17:38:06 +00:00
muratayusuke
76fcf5d0b7
add ruby-2.0.0 to travis
2013-05-30 14:33:45 +00:00
muratayusuke
bf1fc58e10
fix spec for ruby-1.8.7
2013-05-30 14:33:08 +00:00
muratayusuke
3559d825ca
replace .manifest to .homesick_subdir
2013-05-27 18:08:09 +00:00
muratayusuke
2d54086d89
Merge remote-tracking branch 'edubkendo/nested_dirs' into feature/merge_directory
2013-05-27 16:13:31 +00:00
muratayusuke
c31c67a3eb
support nested dir in .homesick_subdir
2013-05-26 17:12:28 +00:00
Eric West
e924cbefda
refactor, cleanup and tweak
2013-05-24 21:57:12 -05:00
Eric West
6867ef78dc
Handling edge cases
...
Covers only edge cases related to tracking, not yet
handling linking or updating. Getting a bit hairy,
must be refactored.
2013-05-24 16:24:42 -05:00
muratayusuke
a76d09d3f6
symlink subdirs with .homesick_subdir
2013-05-24 17:40:35 +00:00
Eric West
b93eea0e24
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-05-24 07:52:54 -05:00
Eric West
7332aa4acd
Specs for track
2013-05-20 21:06:31 -05:00
Eric West
49e4d2844b
Track now properly traverses folder structure
2013-05-20 19:11:48 -05:00
muratayusuke
236373b7d7
Regenerate gemspec for version 0.8.1
v0.8.1
2013-05-19 13:42:49 +00:00
muratayusuke
21a9e4312d
update changelog
2013-05-19 13:42:32 +00:00
muratayusuke
628d9bc0c1
update rake version
...
"rake spec" showed following warning
/home/muratayusuke/.rvm/gems/ruby-1.9.3-p392/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /mnt/projects/homesick)
/home/muratayusuke/.rvm/rubies/ruby-1.9.3-p392/bin/ruby -S rspec spec/homesick_spec.rb
so update rake version to fix it.
2013-05-19 13:37:54 +00:00
Yusuke Murata
caf5ca04f5
Merge pull request #37 from edubkendo/glob_fix
...
Fixes glob to work with 2.0.0
2013-05-18 01:15:56 -07:00
Eric West
7cbbf2bdd7
Fixes glob to work with 2.0.0
...
homesick list fails on ruby 2.0.0-rc2, I think because they fixed this
bug: https://bugs.ruby-lang.org/issues/6977 , changing the way recursive
globs work. Test case:
```ruby
require "homesick"
require "pathname"
repos = Homesick.new.send :repos_dir
Dir.glob("#{repos}/**/*/.git") # => []
Dir.glob("#{repos}/**/*/.git", File::FNM_DOTMATCH) # => ["/home/eric/.homesick/repos/dotfiles/.git"]
```
This change, however, then broke 1.9.3, but removing the extra "/*"
works on both 1.9 and 2.0.
2013-05-17 02:37:44 -05:00
muratayusuke
9d6e77fd5a
add build status to README
2013-04-06 03:23:40 +09:00
muratayusuke
e7d251f8a1
prepare for release 0.8.0
v0.8.0
2013-04-06 03:07:11 +09:00
muratayusuke
af950d042a
fix merge miss
2013-03-29 01:58:35 +09:00