Commit Graph

330 Commits

Author SHA1 Message Date
Yusuke Murata
763cf8aa0a Merge pull request #28 from muratayusuke/enable_recursive_submodule
yeah merged :)
2013-03-28 08:01:24 -07:00
Josh Nichols
9f0d3e0f3c Merge pull request #30 from wjbuys/master
Build with Travis CI
2013-03-26 16:51:46 -07:00
Jacob Buys
937bb65a14 Build with Travis CI 2013-03-18 23:03:44 +02:00
Josh Nichols
376fd88fc9 Fix git_clone to work with github URLs like https://github.com/technicalpickles/dotpickles 2012-12-09 15:33:15 -05:00
muratayusuke
fca23274bf enable recursive submodule 2012-12-06 20:10:18 +09:00
Jason Buckner
27d038512c perform a git add when doing a homesick track 2012-11-24 23:56:12 -08:00
Jason Buckner
d8291edae0 splits up castle commit from castle push for more fine-grained control 2012-11-24 23:18:48 -08:00
Jason Buckner
e6c0ac91cd update documentation for naming consistency 2012-11-24 22:56:17 -08:00
Jason Buckner
74713f8b7c fix homesick pull documentation 2012-11-24 22:36:45 -08:00
Jason Buckner
38a43ba7ff add homesick push to readme, a placeholder test, and removed the all option from git push 2012-11-24 21:24:41 -08:00
Jason Buckner
ca832a38e2 start adding git push functionality 2012-11-24 21:01:37 -08:00
Thilko Richter
54b2b9b339 correct typo 2012-09-06 21:23:45 +02:00
Thilko Richter
fede78c337 cleanup correctly 2012-09-06 21:12:31 +02:00
Thilko Richter
8a41dca46d destroy action implemented 2012-09-06 07:38:54 +02:00
Jacob Buys
d084128297 Add support for Ruby 1.9.
Some dependencies needed updating, and String#start_with? behaves
slightly differently.
2012-05-30 22:54:18 +02:00
Jacob Buys
a141f9cbbd Fix test that fails on 1.9 due to behaviour of String#start_with?
On ruby 1.9, the argument of String#start_with? does not automatically
get coerced into a string. In Homesick#clone, we use start_with? with a
Pathname instance, which now always returns false.
2012-05-30 22:53:00 +02:00
Jacob Buys
e415da13e4 Fix dependencies that break with ruby 1.9.3
Ruby 1.9.3 requires a recent version of RSpec 2, and simplecov
supercedes rcov on ruby 1.9+.
2012-05-30 22:51:40 +02:00
Jacob Buys
10d65abf47 Merge remote-tracking branch 'technicalpickles/master' 2012-05-30 22:39:51 +02:00
Josh Nichols
a03e580b36 Regenerate gemspec for version 0.7.0 v0.7.0 2012-05-28 15:02:10 -04:00
Josh Nichols
79e982d198 Update jeweler to a non-prelease 2012-05-28 15:01:25 -04:00
Josh Nichols
453bd8fc04 Add link to homeshick. 2012-05-28 15:58:08 -03:00
Jacob Buys
9ced2921d9 Fix overriding existing symlinks that point to directories. 2011-08-23 22:04:00 +02:00
Jacob Buys
fa99a89bbf Use RSpec's let feature instead of instance variables. 2011-08-21 22:36:50 +02:00
Jacob Buys
f1a02b8afa Added support for linking non-dotfiles. 2011-08-21 22:22:23 +02:00
Jacob Buys
6e4e60fc64 Silence thor output during tests. 2011-08-21 22:19:06 +02:00
Jacob Buys
4f5e77d189 Refactored tests to use given_castle and fewer mocks. 2011-08-21 22:18:55 +02:00
Jacob Buys
4fa7ce416b Made specs for list pass, refactored track to use given_castle. 2011-08-21 22:04:57 +02:00
Jacob Buys
4d9f75b7b0 Extract common setup into spec_helper, add given_castle helper. 2011-08-21 21:54:25 +02:00
Jorge Dias
bfd83f2e87 Merge branch 'master' of git://github.com/technicalpickles/homesick 2011-05-31 14:09:35 +02:00
Josh Nichols
f0c947a50b Version bump to 0.7.0, and catch up on ChangeLog. 2011-05-30 21:22:21 -04:00
Josh Nichols
e19617be2f Don't try to symlink a castle to itself. Fixes #14 2011-05-30 21:04:41 -04:00
Josh Nichols
54697866f5 Add ruby-debug as a development dependency. 2011-05-30 21:03:34 -04:00
Josh Nichols
8c1f0bd05c Add placeholder specs to fill out eventually. 2011-05-30 20:14:04 -04:00
Ilkka Laukkanen
c3999f92b1 Print each castle's name when pulling all castles 2011-04-27 21:51:08 +03:00
Ilkka Laukkanen
c3f6bef152 Don't treat git repos in other repos as castles
Further abstracted locating castles into Homesick.all_castles which globs as
before, but after that rejects any paths that lie in other paths. This way
castles that have submodules don't cause extra output in e.g. list.
2011-04-27 21:39:02 +03:00
Ilkka Laukkanen
c870bfe442 Add --all option to pull to update all castles
Abstracted the logic for doing some operation for all castles into
Homesick.inside_each_castle() which takes a block argument. Homesick.list() is
also reimplemented to use this new method, because that's where the logic was
stolen from. The actual updating is also moved to the private method
update_castle() to make pull() shorter.
2011-04-27 21:01:29 +03:00
Sam Whitlock
06846afa77 Fixed minor spelling error in README 2011-03-02 08:22:21 -05:00
Joshua Nichols
944988cb63 Regenerate gemspec for version 0.6.1 v0.6.1 2010-11-13 14:05:24 -06:00
Joshua Nichols
6cd51597a3 Version bump to 0.6.1. 2010-11-13 13:59:34 -06:00
Joshua Nichols
6209080e0c Remove debug code. 2010-11-13 13:57:55 -06:00
Joshua Nichols
4a7e369c36 Add license. 2010-11-13 13:51:22 -06:00
Joshua Nichols
984da79210 Update to rspec 2.1.0. 2010-11-13 13:49:21 -06:00
Jorge
38b40c0f50 Making git repos uri non greedy so it works with uris with / 2010-10-30 21:31:59 +02:00
Joshua Nichols
d0097eb5b6 Regenerated gemspec for version 0.6.0 v0.6.0 2010-10-27 10:42:16 -04:00
Joshua Nichols
71303376ee Version bump to 0.6.0 2010-10-27 10:41:57 -04:00
Joshua Nichols
8dbd5a9b21 Spiked homesickrc support. Create a .homesickrc in a castle, and you will be prompted to eval it at clone. Runs in castle directory, and runs in the context of a Homesick instance 2010-10-27 10:09:24 -04:00
Joshua Nichols
f82dc905a2 Tweaks to track. Don't add & commit newly tracked file. Also fix tests to not be spitting out to stdout. 2010-10-27 08:38:30 -04:00
Joshua Nichols
bfbabc05d5 Removing copy-pasta 2010-10-27 08:38:30 -04:00
j.c.sackett
58767454b3 Added track command.
* Moves a specified file into the specified castle.
* Symlinks it into its original position.

Signed-off-by: Joshua Nichols <josh@technicalpickles.com>
2010-10-27 08:37:56 -04:00
Jon Sackett
4776651b27 Updated dependencies to use a version of jeweler that's available in rubygems. 2010-09-30 19:59:45 -04:00