yahomesick 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog.markdown +1 -50
- data/LICENSE +1 -1
- data/README.markdown +11 -9
- data/Rakefile +6 -5
- data/homesick.gemspec +17 -16
- data/spec/homesick_spec.rb +1 -1
- data/yahomesick.gemspec +77 -0
- metadata +3 -2
data/ChangeLog.markdown
CHANGED
@@ -1,55 +1,6 @@
|
|
1
|
-
# 0.7.0
|
2
|
-
* Fixed double-cloning #14
|
3
|
-
* New option for pull command: --all
|
4
|
-
* pulls each castle, instead of just one
|
5
|
-
|
6
|
-
# 0.6.1
|
7
|
-
|
8
|
-
* Add a license
|
9
|
-
|
10
|
-
# 0.6.0
|
11
|
-
|
12
|
-
* Introduce .homesickrc
|
13
|
-
* Castles can now have a .homesickrc inside them
|
14
|
-
* On clone, this is eval'd inside the destination directory
|
15
|
-
* Introduce track command
|
16
|
-
* Allows easily moving an existing file into a castle, and symlinking it back
|
17
|
-
|
18
|
-
# 0.5.0
|
19
|
-
|
20
|
-
* Fixed listing of castles cloned using `homesick clone <github-user>/<github-repo>` (issue 3)
|
21
|
-
* Added `homesick pull <CASTLE>` for updating castles (thanks Jorge Dias!)
|
22
|
-
* Added a very basic `homesick generate <CASTLE>`
|
23
|
-
|
24
|
-
# 0.4.1
|
25
|
-
|
26
|
-
* Improved error message when a castle's home dir doesn't exist
|
27
|
-
|
28
|
-
# 0.4.0
|
29
|
-
|
30
|
-
* `homesick clone` can now take a path to a directory on the filesystem, which will be symlinked into place
|
31
|
-
* `homesick clone` now tries to `git submodule init` and `git submodule update` if git submodules are defined for a cloned repo
|
32
|
-
* Fixed missing dependency on thor and others
|
33
|
-
* Use HOME environment variable for where to store files, instead of assuming ~
|
34
|
-
|
35
|
-
# 0.3.0
|
36
|
-
|
37
|
-
* Renamed 'link' to 'symlink'
|
38
|
-
* Fixed conflict resolution when symlink destination exists and is a normal file
|
39
|
-
|
40
|
-
# 0.2.0
|
41
|
-
|
42
|
-
* Better support for recognizing git urls (thanks jacobat!)
|
43
|
-
* if it looks like a github user/repo, do that
|
44
|
-
* otherwise hand off to git clone
|
45
|
-
* Listing now displays in color, and show git remote
|
46
|
-
* Support pretend, force, and quiet modes
|
47
|
-
|
48
1
|
# 0.1.1
|
49
2
|
|
50
|
-
*
|
51
|
-
* Fixed linking, which tries to exclude . and .. from the list of files to
|
52
|
-
link (thanks Martinos!)
|
3
|
+
* only change some docs and release test
|
53
4
|
|
54
5
|
# 0.1.0
|
55
6
|
|
data/LICENSE
CHANGED
data/README.markdown
CHANGED
@@ -11,25 +11,23 @@ We call a repository that is compatible with homesick to be a 'castle'. To act a
|
|
11
11
|
|
12
12
|
To get started, install homesick first:
|
13
13
|
|
14
|
-
|
15
|
-
cd homesick/gems
|
16
|
-
gem install homesick.gem
|
14
|
+
gem install yahomesick
|
17
15
|
|
18
16
|
Next, you use the homesick command to clone a castle:
|
19
17
|
|
20
|
-
homesick clone git://github.com/
|
18
|
+
homesick clone git://github.com/muratayusuke/dotfiles.git
|
21
19
|
|
22
20
|
Alternatively, if it's on github, there's a slightly shorter way:
|
23
21
|
|
24
|
-
homesick clone
|
22
|
+
homesick clone muratayusuke/dotfiles
|
25
23
|
|
26
24
|
With the castle cloned, you can now link its contents into your home dir:
|
27
25
|
|
28
|
-
homesick symlink
|
26
|
+
homesick symlink dotfiles
|
29
27
|
|
30
28
|
If you use the shorthand syntax for GitHub repositories in your clone, please note you will instead need to run:
|
31
29
|
|
32
|
-
homesick symlink
|
30
|
+
homesick symlink muratayusuke/dotfiles
|
33
31
|
|
34
32
|
If you're not sure what castles you have around, you can easily list them:
|
35
33
|
|
@@ -61,8 +59,12 @@ Not sure what else homesick has up its sleeve? There's always the built in help:
|
|
61
59
|
|
62
60
|
## Need homesick without the ruby dependency?
|
63
61
|
|
64
|
-
Check out [
|
62
|
+
Check out [yahomeshick](https://github.com/muratayusuke/yahomeshick).
|
63
|
+
|
64
|
+
## Homesick
|
65
|
+
|
66
|
+
YAHomesick is a fork from [technicalpickles/homesick](https://github.com/technicalpickles/homesick).
|
65
67
|
|
66
68
|
## Copyright
|
67
69
|
|
68
|
-
Copyright (c)
|
70
|
+
Copyright (c) Yusuke Murata. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -11,18 +11,19 @@ require 'rake'
|
|
11
11
|
|
12
12
|
require 'jeweler'
|
13
13
|
Jeweler::Tasks.new do |gem|
|
14
|
-
gem.name = "
|
14
|
+
gem.name = "yahomesick"
|
15
|
+
gem.version = "0.1.1"
|
15
16
|
gem.summary = %Q{A man's home is his castle. Never leave your dotfiles behind.}
|
16
17
|
gem.description = %Q{
|
17
18
|
A man's home (directory) is his castle, so don't leave home with out it.
|
18
19
|
|
20
|
+
YAHomesick is yet another homesick.
|
19
21
|
Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into place with a single command.
|
20
22
|
|
21
23
|
}
|
22
|
-
gem.email = "
|
23
|
-
gem.homepage = "http://github.com/
|
24
|
-
gem.authors = ["
|
25
|
-
gem.version = "0.7.0"
|
24
|
+
gem.email = "info@muratayusuke.com"
|
25
|
+
gem.homepage = "http://github.com/muratayusuke/yahomesick"
|
26
|
+
gem.authors = ["Yusuke Murata"]
|
26
27
|
gem.license = "MIT"
|
27
28
|
# Have dependencies? Add them to Gemfile
|
28
29
|
|
data/homesick.gemspec
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "homesick"
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["
|
12
|
-
s.date = "
|
11
|
+
s.authors = ["Joshua Nichols"]
|
12
|
+
s.date = "2013-01-10"
|
13
13
|
s.description = "\n A man's home (directory) is his castle, so don't leave home with out it.\n\n Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into place with a single command. \n\n "
|
14
|
-
s.email = "
|
14
|
+
s.email = "josh@technicalpickles.com"
|
15
15
|
s.executables = ["homesick"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"ChangeLog.markdown",
|
@@ -28,18 +28,19 @@ Gem::Specification.new do |s|
|
|
28
28
|
"README.markdown",
|
29
29
|
"Rakefile",
|
30
30
|
"bin/homesick",
|
31
|
-
"homesick.
|
31
|
+
"gems/homesick.gem",
|
32
32
|
"lib/homesick.rb",
|
33
33
|
"lib/homesick/actions.rb",
|
34
34
|
"lib/homesick/shell.rb",
|
35
35
|
"spec/homesick_spec.rb",
|
36
36
|
"spec/spec.opts",
|
37
|
-
"spec/spec_helper.rb"
|
37
|
+
"spec/spec_helper.rb",
|
38
|
+
"yahomesick.gemspec"
|
38
39
|
]
|
39
40
|
s.homepage = "http://github.com/technicalpickles/homesick"
|
40
41
|
s.licenses = ["MIT"]
|
41
42
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = "1.8.
|
43
|
+
s.rubygems_version = "1.8.24"
|
43
44
|
s.summary = "A man's home is his castle. Never leave your dotfiles behind."
|
44
45
|
|
45
46
|
if s.respond_to? :specification_version then
|
@@ -47,29 +48,29 @@ Gem::Specification.new do |s|
|
|
47
48
|
|
48
49
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
50
|
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
|
50
|
-
s.add_development_dependency(%q<rake>, ["
|
51
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.
|
51
|
+
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
52
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.10"])
|
52
53
|
s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
|
53
54
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
54
56
|
s.add_development_dependency(%q<test-construct>, [">= 0"])
|
55
|
-
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
56
57
|
else
|
57
58
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
58
|
-
s.add_dependency(%q<rake>, ["
|
59
|
-
s.add_dependency(%q<rspec>, ["~> 2.
|
59
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
60
|
+
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
60
61
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
61
62
|
s.add_dependency(%q<rcov>, [">= 0"])
|
63
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
62
64
|
s.add_dependency(%q<test-construct>, [">= 0"])
|
63
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
64
65
|
end
|
65
66
|
else
|
66
67
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
67
|
-
s.add_dependency(%q<rake>, ["
|
68
|
-
s.add_dependency(%q<rspec>, ["~> 2.
|
68
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
69
|
+
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
69
70
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
70
71
|
s.add_dependency(%q<rcov>, [">= 0"])
|
72
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
71
73
|
s.add_dependency(%q<test-construct>, [">= 0"])
|
72
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
73
74
|
end
|
74
75
|
end
|
75
76
|
|
data/spec/homesick_spec.rb
CHANGED
@@ -80,7 +80,7 @@ describe "homesick" do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
it "should clone a github repo" do
|
83
|
-
homesick.should_receive(:git_clone).with('git
|
83
|
+
homesick.should_receive(:git_clone).with('git@github.com:wfarr/dotfiles.git', :destination => Pathname.new('wfarr/dotfiles'))
|
84
84
|
|
85
85
|
homesick.clone "wfarr/dotfiles"
|
86
86
|
end
|
data/yahomesick.gemspec
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "yahomesick"
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Yusuke Murata"]
|
12
|
+
s.date = "2013-01-10"
|
13
|
+
s.description = "\n A man's home (directory) is his castle, so don't leave home with out it.\n\n YAHomesick is yet another homesick.\n Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into place with a single command. \n\n "
|
14
|
+
s.email = "info@muratayusuke.com"
|
15
|
+
s.executables = ["homesick"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"ChangeLog.markdown",
|
18
|
+
"LICENSE",
|
19
|
+
"README.markdown"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".rspec",
|
24
|
+
"ChangeLog.markdown",
|
25
|
+
"Gemfile",
|
26
|
+
"Gemfile.lock",
|
27
|
+
"LICENSE",
|
28
|
+
"README.markdown",
|
29
|
+
"Rakefile",
|
30
|
+
"bin/homesick",
|
31
|
+
"gems/homesick.gem",
|
32
|
+
"homesick.gemspec",
|
33
|
+
"lib/homesick.rb",
|
34
|
+
"lib/homesick/actions.rb",
|
35
|
+
"lib/homesick/shell.rb",
|
36
|
+
"spec/homesick_spec.rb",
|
37
|
+
"spec/spec.opts",
|
38
|
+
"spec/spec_helper.rb",
|
39
|
+
"yahomesick.gemspec"
|
40
|
+
]
|
41
|
+
s.homepage = "http://github.com/muratayusuke/yahomesick"
|
42
|
+
s.licenses = ["MIT"]
|
43
|
+
s.require_paths = ["lib"]
|
44
|
+
s.rubygems_version = "1.8.24"
|
45
|
+
s.summary = "A man's home is his castle. Never leave your dotfiles behind."
|
46
|
+
|
47
|
+
if s.respond_to? :specification_version then
|
48
|
+
s.specification_version = 3
|
49
|
+
|
50
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
|
+
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
|
52
|
+
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
53
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.10"])
|
54
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
|
55
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
56
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<test-construct>, [">= 0"])
|
58
|
+
else
|
59
|
+
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
60
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
61
|
+
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
62
|
+
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
63
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
64
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
65
|
+
s.add_dependency(%q<test-construct>, [">= 0"])
|
66
|
+
end
|
67
|
+
else
|
68
|
+
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
69
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
70
|
+
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
71
|
+
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
72
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
73
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
74
|
+
s.add_dependency(%q<test-construct>, [">= 0"])
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yahomesick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- spec/homesick_spec.rb
|
155
155
|
- spec/spec.opts
|
156
156
|
- spec/spec_helper.rb
|
157
|
+
- yahomesick.gemspec
|
157
158
|
homepage: http://github.com/muratayusuke/yahomesick
|
158
159
|
licenses:
|
159
160
|
- MIT
|
@@ -169,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
169
170
|
version: '0'
|
170
171
|
segments:
|
171
172
|
- 0
|
172
|
-
hash:
|
173
|
+
hash: -490052687
|
173
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
175
|
none: false
|
175
176
|
requirements:
|