homesick 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.markdown +3 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +20 -20
- data/README.markdown +2 -0
- data/Rakefile +2 -2
- data/homesick.gemspec +6 -6
- data/lib/homesick.rb +3 -3
- metadata +6 -6
data/ChangeLog.markdown
CHANGED
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
# Add dependencies required to use your gem here.
|
4
4
|
gem "thor", ">= 0.14.0"
|
@@ -6,7 +6,7 @@ gem "thor", ">= 0.14.0"
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
8
|
group :development do
|
9
|
-
gem "rake", "
|
9
|
+
gem "rake", ">= 0.8.7"
|
10
10
|
gem "rspec", "~> 2.10"
|
11
11
|
gem "jeweler", ">= 1.6.2"
|
12
12
|
gem "rcov", :platforms => :mri_18
|
data/Gemfile.lock
CHANGED
@@ -1,40 +1,40 @@
|
|
1
1
|
GEM
|
2
|
-
remote:
|
2
|
+
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
diff-lcs (1.
|
4
|
+
diff-lcs (1.2.4)
|
5
5
|
git (1.2.5)
|
6
|
-
jeweler (1.8.
|
6
|
+
jeweler (1.8.4)
|
7
7
|
bundler (~> 1.0)
|
8
8
|
git (>= 1.2.5)
|
9
9
|
rake
|
10
10
|
rdoc
|
11
|
-
json (1.
|
12
|
-
multi_json (1.3
|
13
|
-
rake (0.
|
11
|
+
json (1.8.0)
|
12
|
+
multi_json (1.7.3)
|
13
|
+
rake (10.0.4)
|
14
14
|
rcov (1.0.0)
|
15
|
-
rdoc (
|
15
|
+
rdoc (4.0.1)
|
16
16
|
json (~> 1.4)
|
17
|
-
rspec (2.
|
18
|
-
rspec-core (~> 2.
|
19
|
-
rspec-expectations (~> 2.
|
20
|
-
rspec-mocks (~> 2.
|
21
|
-
rspec-core (2.
|
22
|
-
rspec-expectations (2.
|
23
|
-
diff-lcs (
|
24
|
-
rspec-mocks (2.
|
25
|
-
simplecov (0.
|
17
|
+
rspec (2.13.0)
|
18
|
+
rspec-core (~> 2.13.0)
|
19
|
+
rspec-expectations (~> 2.13.0)
|
20
|
+
rspec-mocks (~> 2.13.0)
|
21
|
+
rspec-core (2.13.1)
|
22
|
+
rspec-expectations (2.13.0)
|
23
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
24
|
+
rspec-mocks (2.13.1)
|
25
|
+
simplecov (0.7.1)
|
26
26
|
multi_json (~> 1.0)
|
27
|
-
simplecov-html (~> 0.
|
28
|
-
simplecov-html (0.
|
27
|
+
simplecov-html (~> 0.7.1)
|
28
|
+
simplecov-html (0.7.1)
|
29
29
|
test-construct (1.2.0)
|
30
|
-
thor (0.
|
30
|
+
thor (0.18.1)
|
31
31
|
|
32
32
|
PLATFORMS
|
33
33
|
ruby
|
34
34
|
|
35
35
|
DEPENDENCIES
|
36
36
|
jeweler (>= 1.6.2)
|
37
|
-
rake (
|
37
|
+
rake (>= 0.8.7)
|
38
38
|
rcov
|
39
39
|
rspec (~> 2.10)
|
40
40
|
simplecov
|
data/README.markdown
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# homesick
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/technicalpickles/homesick.png?branch=master)](https://travis-ci.org/technicalpickles/homesick)
|
4
|
+
|
3
5
|
A man's home (directory) is his castle, so don't leave home with out it.
|
4
6
|
|
5
7
|
Homesick is sorta like [rip](http://github.com/defunkt/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.
|
data/Rakefile
CHANGED
@@ -22,7 +22,7 @@ Jeweler::Tasks.new do |gem|
|
|
22
22
|
gem.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
|
23
23
|
gem.homepage = "http://github.com/technicalpickles/homesick"
|
24
24
|
gem.authors = ["Joshua Nichols", "Yusuke Murata"]
|
25
|
-
gem.version = "0.8.
|
25
|
+
gem.version = "0.8.1"
|
26
26
|
gem.license = "MIT"
|
27
27
|
# Have dependencies? Add them to Gemfile
|
28
28
|
|
@@ -44,7 +44,7 @@ end
|
|
44
44
|
|
45
45
|
task :default => :spec
|
46
46
|
|
47
|
-
require '
|
47
|
+
require 'rdoc/task'
|
48
48
|
Rake::RDocTask.new do |rdoc|
|
49
49
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
50
50
|
|
data/homesick.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "homesick"
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joshua Nichols", "Yusuke Murata"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-05-19"
|
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
14
|
s.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
|
15
15
|
s.executables = ["homesick"]
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = "http://github.com/technicalpickles/homesick"
|
41
41
|
s.licenses = ["MIT"]
|
42
42
|
s.require_paths = ["lib"]
|
43
|
-
s.rubygems_version = "1.8.
|
43
|
+
s.rubygems_version = "1.8.25"
|
44
44
|
s.summary = "A man's home is his castle. Never leave your dotfiles behind."
|
45
45
|
|
46
46
|
if s.respond_to? :specification_version then
|
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
|
|
48
48
|
|
49
49
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
50
|
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
|
51
|
-
s.add_development_dependency(%q<rake>, ["
|
51
|
+
s.add_development_dependency(%q<rake>, [">= 0.8.7"])
|
52
52
|
s.add_development_dependency(%q<rspec>, ["~> 2.10"])
|
53
53
|
s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
|
54
54
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.add_development_dependency(%q<test-construct>, [">= 0"])
|
57
57
|
else
|
58
58
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
59
|
-
s.add_dependency(%q<rake>, ["
|
59
|
+
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
60
60
|
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
61
61
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
62
62
|
s.add_dependency(%q<rcov>, [">= 0"])
|
@@ -65,7 +65,7 @@ Gem::Specification.new do |s|
|
|
65
65
|
end
|
66
66
|
else
|
67
67
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
68
|
-
s.add_dependency(%q<rake>, ["
|
68
|
+
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
69
69
|
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
70
70
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
71
71
|
s.add_dependency(%q<rcov>, [">= 0"])
|
data/lib/homesick.rb
CHANGED
@@ -124,7 +124,7 @@ class Homesick < Thor
|
|
124
124
|
home_path = home_dir + file
|
125
125
|
ln_s absolute_path, home_path
|
126
126
|
end
|
127
|
-
|
127
|
+
|
128
128
|
inside castle_path do
|
129
129
|
git_add absolute_path
|
130
130
|
end
|
@@ -181,7 +181,7 @@ class Homesick < Thor
|
|
181
181
|
end
|
182
182
|
|
183
183
|
def all_castles
|
184
|
-
dirs = Pathname.glob("#{repos_dir}
|
184
|
+
dirs = Pathname.glob("#{repos_dir}/**/.git", File::FNM_DOTMATCH)
|
185
185
|
# reject paths that lie inside another castle, like git submodules
|
186
186
|
return dirs.reject do |dir|
|
187
187
|
dirs.any? {|other| dir != other && dir.fnmatch(other.parent.join('*').to_s) }
|
@@ -205,7 +205,7 @@ class Homesick < Thor
|
|
205
205
|
git_submodule_update
|
206
206
|
end
|
207
207
|
end
|
208
|
-
|
208
|
+
|
209
209
|
def commit_castle(castle)
|
210
210
|
check_castle_existance(castle, "commit")
|
211
211
|
inside repos_dir.join(castle) do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: homesick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-05-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
none: false
|
35
35
|
requirements:
|
36
|
-
- -
|
36
|
+
- - ! '>='
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: 0.8.7
|
39
39
|
type: :development
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ! '>='
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 0.8.7
|
47
47
|
- !ruby/object:Gem::Dependency
|
@@ -171,7 +171,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
segments:
|
173
173
|
- 0
|
174
|
-
hash:
|
174
|
+
hash: -3689253364441722964
|
175
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
176
|
none: false
|
177
177
|
requirements:
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 1.8.
|
183
|
+
rubygems_version: 1.8.25
|
184
184
|
signing_key:
|
185
185
|
specification_version: 3
|
186
186
|
summary: A man's home is his castle. Never leave your dotfiles behind.
|