homesick 0.9.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/ChangeLog.markdown +9 -0
- data/Gemfile +5 -1
- data/Guardfile +6 -0
- data/README.markdown +28 -1
- data/Rakefile +2 -1
- data/homesick.gemspec +27 -9
- data/lib/homesick.rb +10 -0
- data/lib/homesick/version.rb +10 -0
- data/spec/homesick_spec.rb +62 -9
- data/spec/spec_helper.rb +2 -2
- metadata +101 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc68ba4de11dcb178297a225d07adff5c405da50
|
4
|
+
data.tar.gz: 0f91eaf463e96a84458c6e663512edec02ccf249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d17b812e2934ff6b30c15f6275a624fb58b82388f7e615846c3df9092af51cbcbec879e7bf7b843de1323dedd172bd0a5b43b49e998730306741e0f499ae4d3d
|
7
|
+
data.tar.gz: 020f491019da376ed5a825f9d23706501b1d7255a2c33c8fc21cf4bd3a8135edc8dc33dde84be6dd66166f71fecd1d732c8089c6b65be8ded7d6b0b5d44592b5
|
data/.travis.yml
CHANGED
data/ChangeLog.markdown
CHANGED
data/Gemfile
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'rbconfig'
|
1
2
|
source 'https://rubygems.org'
|
2
3
|
|
3
4
|
# Add dependencies required to use your gem here.
|
@@ -14,8 +15,11 @@ group :development do
|
|
14
15
|
gem "jeweler", ">= 1.6.2"
|
15
16
|
gem "rcov", :platforms => :mri_18
|
16
17
|
gem "simplecov", :platforms => :mri_19
|
17
|
-
gem "
|
18
|
+
gem "test_construct"
|
18
19
|
gem "capture-output", "~> 1.0.0"
|
20
|
+
if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/
|
21
|
+
gem 'libnotify'
|
22
|
+
end
|
19
23
|
if RUBY_VERSION >= '1.9.2'
|
20
24
|
gem "rubocop"
|
21
25
|
end
|
data/Guardfile
ADDED
data/README.markdown
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# homesick
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/homesick.png)](http://badge.fury.io/rb/homesick)
|
3
4
|
[![Build Status](https://travis-ci.org/technicalpickles/homesick.png?branch=master)](https://travis-ci.org/technicalpickles/homesick)
|
5
|
+
[![Dependency Status](https://gemnasium.com/technicalpickles/homesick.png)](https://gemnasium.com/technicalpickles/homesick)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/technicalpickles/homesick.png)](https://codeclimate.com/github/technicalpickles/homesick)
|
4
7
|
|
5
8
|
Your home directory is your castle. Don't leave your dotfiles behind.
|
6
9
|
|
@@ -27,11 +30,16 @@ With the castle cloned, you can now link its contents into your home dir:
|
|
27
30
|
|
28
31
|
homesick symlink pickled-vim
|
29
32
|
|
30
|
-
|
31
33
|
You can remove symlinks anytime when you don't need them anymore
|
32
34
|
|
33
35
|
homesick unlink pickled-vim
|
34
36
|
|
37
|
+
If you need to add further configuration steps you can add these in a file called '.homesickrc' in the root of a castle. Once you've cloned a castle with a .homesickrc run the configuration with:
|
38
|
+
|
39
|
+
homesick rc CASTLE
|
40
|
+
|
41
|
+
The contents of the .homesickrc file must be valid Ruby code as the file will be executed with Ruby's eval construct. The .homesickrc is also passed the current homesick object during its execution and this is available within the .homesickrc file as the 'self' variable.
|
42
|
+
|
35
43
|
If you're not sure what castles you have around, you can easily list them:
|
36
44
|
|
37
45
|
homesick list
|
@@ -48,10 +56,22 @@ To push your castle:
|
|
48
56
|
|
49
57
|
homesick push CASTLE
|
50
58
|
|
59
|
+
To open a terminal in the root of a castle:
|
60
|
+
|
61
|
+
homesick cd CASTLE
|
62
|
+
|
63
|
+
To open your default editor in the root of a castle (the $EDITOR environment variable must be set):
|
64
|
+
|
65
|
+
homesick open CASTLE
|
66
|
+
|
51
67
|
Not sure what else homesick has up its sleeve? There's always the built in help:
|
52
68
|
|
53
69
|
homesick help
|
54
70
|
|
71
|
+
If you ever want to see what version of homesick you have type:
|
72
|
+
|
73
|
+
homesick version|-v|--version
|
74
|
+
|
55
75
|
## .homesick_subdir
|
56
76
|
|
57
77
|
`homesick symlink` basically makes symlink to only first depth in `castle/home`. If you want to link nested files/directories, please use .homesick_subdir.
|
@@ -130,6 +150,13 @@ and castle
|
|
130
150
|
`-- .emacs.d
|
131
151
|
`-- elisp
|
132
152
|
|
153
|
+
## Supported Ruby Versions
|
154
|
+
|
155
|
+
Homesick is tested on the following Ruby versions:
|
156
|
+
|
157
|
+
* 1.9.3
|
158
|
+
* 2.0.0
|
159
|
+
|
133
160
|
## Note on Patches/Pull Requests
|
134
161
|
|
135
162
|
* Fork the project.
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'bundler'
|
3
|
+
require_relative 'lib/homesick/version'
|
3
4
|
begin
|
4
5
|
Bundler.setup(:default, :development)
|
5
6
|
rescue Bundler::BundlerError => e
|
@@ -23,7 +24,7 @@ Jeweler::Tasks.new do |gem|
|
|
23
24
|
gem.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
|
24
25
|
gem.homepage = "http://github.com/technicalpickles/homesick"
|
25
26
|
gem.authors = ["Joshua Nichols", "Yusuke Murata"]
|
26
|
-
gem.version =
|
27
|
+
gem.version = Homesick::Version::STRING
|
27
28
|
gem.license = "MIT"
|
28
29
|
# Have dependencies? Add them to Gemfile
|
29
30
|
|
data/homesick.gemspec
CHANGED
@@ -2,15 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: homesick 1.0.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "homesick"
|
8
|
-
s.version = "0.
|
9
|
+
s.version = "1.0.0"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Joshua Nichols", "Yusuke Murata"]
|
12
|
-
s.date = "
|
13
|
-
s.description = "\n
|
13
|
+
s.date = "2014-01-16"
|
14
|
+
s.description = "\n Your home directory is your castle. Don't leave your dotfiles behind.\n \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
15
|
s.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
|
15
16
|
s.executables = ["homesick"]
|
16
17
|
s.extra_rdoc_files = [
|
@@ -24,6 +25,7 @@ Gem::Specification.new do |s|
|
|
24
25
|
".travis.yml",
|
25
26
|
"ChangeLog.markdown",
|
26
27
|
"Gemfile",
|
28
|
+
"Guardfile",
|
27
29
|
"LICENSE",
|
28
30
|
"README.markdown",
|
29
31
|
"Rakefile",
|
@@ -32,6 +34,7 @@ Gem::Specification.new do |s|
|
|
32
34
|
"lib/homesick.rb",
|
33
35
|
"lib/homesick/actions.rb",
|
34
36
|
"lib/homesick/shell.rb",
|
37
|
+
"lib/homesick/version.rb",
|
35
38
|
"spec/homesick_spec.rb",
|
36
39
|
"spec/spec.opts",
|
37
40
|
"spec/spec_helper.rb"
|
@@ -39,39 +42,54 @@ Gem::Specification.new do |s|
|
|
39
42
|
s.homepage = "http://github.com/technicalpickles/homesick"
|
40
43
|
s.licenses = ["MIT"]
|
41
44
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = "1.
|
43
|
-
s.summary = "
|
45
|
+
s.rubygems_version = "2.1.11"
|
46
|
+
s.summary = "Your home directory is your castle. Don't leave your dotfiles behind."
|
44
47
|
|
45
48
|
if s.respond_to? :specification_version then
|
46
|
-
s.specification_version =
|
49
|
+
s.specification_version = 4
|
47
50
|
|
48
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
52
|
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
|
50
53
|
s.add_development_dependency(%q<rake>, [">= 0.8.7"])
|
51
54
|
s.add_development_dependency(%q<rspec>, ["~> 2.10"])
|
55
|
+
s.add_development_dependency(%q<guard>, [">= 0"])
|
56
|
+
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<rb-readline>, ["~> 0.5.0"])
|
52
58
|
s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
|
53
59
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
54
60
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
55
|
-
s.add_development_dependency(%q<
|
61
|
+
s.add_development_dependency(%q<test_construct>, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<capture-output>, ["~> 1.0.0"])
|
63
|
+
s.add_development_dependency(%q<libnotify>, [">= 0"])
|
56
64
|
s.add_development_dependency(%q<rubocop>, [">= 0"])
|
57
65
|
else
|
58
66
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
59
67
|
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
60
68
|
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
69
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
70
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
71
|
+
s.add_dependency(%q<rb-readline>, ["~> 0.5.0"])
|
61
72
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
62
73
|
s.add_dependency(%q<rcov>, [">= 0"])
|
63
74
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
64
|
-
s.add_dependency(%q<
|
75
|
+
s.add_dependency(%q<test_construct>, [">= 0"])
|
76
|
+
s.add_dependency(%q<capture-output>, ["~> 1.0.0"])
|
77
|
+
s.add_dependency(%q<libnotify>, [">= 0"])
|
65
78
|
s.add_dependency(%q<rubocop>, [">= 0"])
|
66
79
|
end
|
67
80
|
else
|
68
81
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
69
82
|
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
70
83
|
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
84
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
85
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
86
|
+
s.add_dependency(%q<rb-readline>, ["~> 0.5.0"])
|
71
87
|
s.add_dependency(%q<jeweler>, [">= 1.6.2"])
|
72
88
|
s.add_dependency(%q<rcov>, [">= 0"])
|
73
89
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
74
|
-
s.add_dependency(%q<
|
90
|
+
s.add_dependency(%q<test_construct>, [">= 0"])
|
91
|
+
s.add_dependency(%q<capture-output>, ["~> 1.0.0"])
|
92
|
+
s.add_dependency(%q<libnotify>, [">= 0"])
|
75
93
|
s.add_dependency(%q<rubocop>, [">= 0"])
|
76
94
|
end
|
77
95
|
end
|
data/lib/homesick.rb
CHANGED
@@ -4,9 +4,11 @@ require 'thor'
|
|
4
4
|
class Homesick < Thor
|
5
5
|
autoload :Shell, 'homesick/shell'
|
6
6
|
autoload :Actions, 'homesick/actions'
|
7
|
+
autoload :Version, 'homesick/version'
|
7
8
|
|
8
9
|
include Thor::Actions
|
9
10
|
include Homesick::Actions
|
11
|
+
include Homesick::Version
|
10
12
|
|
11
13
|
add_runtime_options!
|
12
14
|
|
@@ -15,6 +17,9 @@ class Homesick < Thor
|
|
15
17
|
|
16
18
|
DEFAULT_CASTLE_NAME = 'dotfiles'
|
17
19
|
|
20
|
+
map '-v' => :version
|
21
|
+
map '--version' => :version
|
22
|
+
|
18
23
|
def initialize(args = [], options = {}, config = {})
|
19
24
|
super
|
20
25
|
self.shell = Homesick::Shell.new
|
@@ -264,6 +269,11 @@ class Homesick < Thor
|
|
264
269
|
end
|
265
270
|
end
|
266
271
|
|
272
|
+
desc 'version', 'Display the current version of homesick'
|
273
|
+
def version
|
274
|
+
say Homesick::Version::STRING
|
275
|
+
end
|
276
|
+
|
267
277
|
protected
|
268
278
|
|
269
279
|
def home_dir
|
data/spec/homesick_spec.rb
CHANGED
@@ -23,6 +23,7 @@ describe 'homesick' do
|
|
23
23
|
|
24
24
|
expect($stdout).to receive(:print)
|
25
25
|
expect($stdin).to receive(:gets).and_return('y')
|
26
|
+
expect_any_instance_of(Thor::Shell::Basic).to receive(:say_status).with('eval', kind_of(Pathname))
|
26
27
|
homesick.clone local_repo
|
27
28
|
|
28
29
|
castles.join('some_repo').join('testing').should exist
|
@@ -55,8 +56,10 @@ describe 'homesick' do
|
|
55
56
|
it 'should clone git repo like file:///path/to.git' do
|
56
57
|
bare_repo = File.join(create_construct.to_s, 'dotfiles.git')
|
57
58
|
system "git init --bare #{bare_repo} >/dev/null 2>&1"
|
58
|
-
|
59
|
-
|
59
|
+
# Capture stderr to suppress message about cloning an empty repo.
|
60
|
+
Capture.stderr do
|
61
|
+
homesick.clone "file://#{bare_repo}"
|
62
|
+
end
|
60
63
|
File.directory?(File.join(home.to_s, '.homesick/repos/dotfiles')).should be_true
|
61
64
|
end
|
62
65
|
|
@@ -116,6 +119,7 @@ describe 'homesick' do
|
|
116
119
|
file << "File.open(Dir.pwd + '/testing', 'w') { |f| f.print 'testing' }"
|
117
120
|
end
|
118
121
|
|
122
|
+
expect_any_instance_of(Thor::Shell::Basic).to receive(:say_status).with('eval', kind_of(Pathname))
|
119
123
|
homesick.rc castle
|
120
124
|
|
121
125
|
castle.join('testing').should exist
|
@@ -133,6 +137,7 @@ describe 'homesick' do
|
|
133
137
|
file << "File.open(Dir.pwd + '/testing', 'w') { |f| f.print 'testing' }"
|
134
138
|
end
|
135
139
|
|
140
|
+
expect_any_instance_of(Thor::Shell::Basic).to receive(:say_status).with('eval skip', /not evaling.+/, :blue)
|
136
141
|
homesick.rc castle
|
137
142
|
|
138
143
|
castle.join('testing').should_not exist
|
@@ -358,9 +363,26 @@ describe 'homesick' do
|
|
358
363
|
end
|
359
364
|
|
360
365
|
describe 'diff' do
|
366
|
+
it 'should output an empty message when there are no changes to commit' do
|
367
|
+
given_castle('castle_repo')
|
368
|
+
some_rc_file = home.file '.some_rc_file'
|
369
|
+
homesick.track(some_rc_file.to_s, 'castle_repo')
|
370
|
+
Capture.stdout { homesick.commit 'castle_repo', 'Adding a file to the test' }
|
371
|
+
text = Capture.stdout { homesick.diff('castle_repo') }
|
372
|
+
text.should eq('')
|
373
|
+
end
|
361
374
|
|
362
|
-
|
363
|
-
|
375
|
+
it 'should output a diff message when there are changes to commit' do
|
376
|
+
given_castle('castle_repo')
|
377
|
+
some_rc_file = home.file '.some_rc_file'
|
378
|
+
homesick.track(some_rc_file.to_s, 'castle_repo')
|
379
|
+
Capture.stdout { homesick.commit 'castle_repo', 'Adding a file to the test' }
|
380
|
+
File.open(some_rc_file.to_s, 'w') do |file|
|
381
|
+
file.puts "Some test text"
|
382
|
+
end
|
383
|
+
text = Capture.stdout { homesick.diff('castle_repo') }
|
384
|
+
text.should =~ /diff --git.+Some test text$/m
|
385
|
+
end
|
364
386
|
end
|
365
387
|
|
366
388
|
describe 'show_path' do
|
@@ -374,19 +396,43 @@ describe 'homesick' do
|
|
374
396
|
end
|
375
397
|
|
376
398
|
describe 'pull' do
|
399
|
+
it 'should perform a pull, submodule init and update when the given castle exists' do
|
400
|
+
given_castle('castle_repo')
|
401
|
+
homesick.stub(:system).once.with('git pull --quiet')
|
402
|
+
homesick.stub(:system).once.with('git submodule --quiet init')
|
403
|
+
homesick.stub(:system).once.with('git submodule --quiet update --init --recursive >/dev/null 2>&1')
|
404
|
+
homesick.pull 'castle_repo'
|
405
|
+
end
|
377
406
|
|
378
|
-
|
407
|
+
it 'should print an error message when trying to pull a non-existant castle' do
|
408
|
+
homesick.should_receive("say_status").once.with(:error, /Could not pull castle_repo, expected \/tmp\/construct_container.* exist and contain dotfiles/, :red)
|
409
|
+
expect { homesick.pull "castle_repo" }.to raise_error(SystemExit)
|
410
|
+
end
|
379
411
|
|
380
412
|
describe '--all' do
|
381
|
-
|
413
|
+
it 'should pull each castle when invoked with --all' do
|
414
|
+
given_castle('castle_repo')
|
415
|
+
given_castle('glencairn')
|
416
|
+
homesick.stub(:system).exactly(2).times.with('git pull --quiet')
|
417
|
+
homesick.stub(:system).exactly(2).times.with('git submodule --quiet init')
|
418
|
+
homesick.stub(:system).exactly(2).times.with('git submodule --quiet update --init --recursive >/dev/null 2>&1')
|
419
|
+
Capture.stdout { Capture.stderr { homesick.invoke 'pull', [], all: true } }
|
420
|
+
end
|
382
421
|
end
|
383
422
|
|
384
423
|
end
|
385
424
|
|
386
425
|
describe 'push' do
|
426
|
+
it 'should perform a git push on the given castle' do
|
427
|
+
given_castle('castle_repo')
|
428
|
+
homesick.stub(:system).once.with('git push')
|
429
|
+
homesick.push 'castle_repo'
|
430
|
+
end
|
387
431
|
|
388
|
-
|
389
|
-
|
432
|
+
it 'should print an error message when trying to push a non-existant castle' do
|
433
|
+
homesick.should_receive("say_status").once.with(:error, /Could not push castle_repo, expected \/tmp\/construct_container.* exist and contain dotfiles/, :red)
|
434
|
+
expect { homesick.push "castle_repo" }.to raise_error(SystemExit)
|
435
|
+
end
|
390
436
|
end
|
391
437
|
|
392
438
|
describe 'track' do
|
@@ -555,7 +601,7 @@ describe 'homesick' do
|
|
555
601
|
|
556
602
|
it "returns an error message when the $EDITOR environment variable is not set" do
|
557
603
|
ENV.stub(:[]).with('EDITOR').and_return(nil) # Set the default editor to make sure it fails.
|
558
|
-
homesick.should_receive("say_status").once.with(:error,"The $EDITOR environment variable must be set to use this command", :red)
|
604
|
+
homesick.should_receive("say_status").once.with(:error, "The $EDITOR environment variable must be set to use this command", :red)
|
559
605
|
expect { homesick.open "castle_repo" }.to raise_error(SystemExit)
|
560
606
|
end
|
561
607
|
|
@@ -565,4 +611,11 @@ describe 'homesick' do
|
|
565
611
|
expect { homesick.open "castle_repo" }.to raise_error(SystemExit)
|
566
612
|
end
|
567
613
|
end
|
614
|
+
|
615
|
+
describe 'version' do
|
616
|
+
it 'should print the current version of homesick' do
|
617
|
+
text = Capture.stdout { homesick.version }
|
618
|
+
text.chomp.should =~ /\d+\.\d+\.\d+/
|
619
|
+
end
|
620
|
+
end
|
568
621
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -3,11 +3,11 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
3
3
|
require 'homesick'
|
4
4
|
require 'rspec'
|
5
5
|
require 'rspec/autorun'
|
6
|
-
require '
|
6
|
+
require 'test_construct'
|
7
7
|
require 'tempfile'
|
8
8
|
|
9
9
|
RSpec.configure do |config|
|
10
|
-
config.include
|
10
|
+
config.include TestConstruct::Helpers
|
11
11
|
|
12
12
|
config.before { ENV['HOME'] = home.to_s }
|
13
13
|
|
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.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Nichols
|
@@ -9,123 +9,193 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.14.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.14.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.8.7
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - '>='
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.8.7
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '2.10'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '2.10'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: guard
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: guard-rspec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rb-readline
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.5.0
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ~>
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.5.0
|
56
98
|
- !ruby/object:Gem::Dependency
|
57
99
|
name: jeweler
|
58
100
|
requirement: !ruby/object:Gem::Requirement
|
59
101
|
requirements:
|
60
|
-
- -
|
102
|
+
- - '>='
|
61
103
|
- !ruby/object:Gem::Version
|
62
104
|
version: 1.6.2
|
63
105
|
type: :development
|
64
106
|
prerelease: false
|
65
107
|
version_requirements: !ruby/object:Gem::Requirement
|
66
108
|
requirements:
|
67
|
-
- -
|
109
|
+
- - '>='
|
68
110
|
- !ruby/object:Gem::Version
|
69
111
|
version: 1.6.2
|
70
112
|
- !ruby/object:Gem::Dependency
|
71
113
|
name: rcov
|
72
114
|
requirement: !ruby/object:Gem::Requirement
|
73
115
|
requirements:
|
74
|
-
- -
|
116
|
+
- - '>='
|
75
117
|
- !ruby/object:Gem::Version
|
76
118
|
version: '0'
|
77
119
|
type: :development
|
78
120
|
prerelease: false
|
79
121
|
version_requirements: !ruby/object:Gem::Requirement
|
80
122
|
requirements:
|
81
|
-
- -
|
123
|
+
- - '>='
|
82
124
|
- !ruby/object:Gem::Version
|
83
125
|
version: '0'
|
84
126
|
- !ruby/object:Gem::Dependency
|
85
127
|
name: simplecov
|
86
128
|
requirement: !ruby/object:Gem::Requirement
|
87
129
|
requirements:
|
88
|
-
- -
|
130
|
+
- - '>='
|
89
131
|
- !ruby/object:Gem::Version
|
90
132
|
version: '0'
|
91
133
|
type: :development
|
92
134
|
prerelease: false
|
93
135
|
version_requirements: !ruby/object:Gem::Requirement
|
94
136
|
requirements:
|
95
|
-
- -
|
137
|
+
- - '>='
|
96
138
|
- !ruby/object:Gem::Version
|
97
139
|
version: '0'
|
98
140
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
141
|
+
name: test_construct
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: capture-output
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ~>
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 1.0.0
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 1.0.0
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: libnotify
|
100
170
|
requirement: !ruby/object:Gem::Requirement
|
101
171
|
requirements:
|
102
|
-
- -
|
172
|
+
- - '>='
|
103
173
|
- !ruby/object:Gem::Version
|
104
174
|
version: '0'
|
105
175
|
type: :development
|
106
176
|
prerelease: false
|
107
177
|
version_requirements: !ruby/object:Gem::Requirement
|
108
178
|
requirements:
|
109
|
-
- -
|
179
|
+
- - '>='
|
110
180
|
- !ruby/object:Gem::Version
|
111
181
|
version: '0'
|
112
182
|
- !ruby/object:Gem::Dependency
|
113
183
|
name: rubocop
|
114
184
|
requirement: !ruby/object:Gem::Requirement
|
115
185
|
requirements:
|
116
|
-
- -
|
186
|
+
- - '>='
|
117
187
|
- !ruby/object:Gem::Version
|
118
188
|
version: '0'
|
119
189
|
type: :development
|
120
190
|
prerelease: false
|
121
191
|
version_requirements: !ruby/object:Gem::Requirement
|
122
192
|
requirements:
|
123
|
-
- -
|
193
|
+
- - '>='
|
124
194
|
- !ruby/object:Gem::Version
|
125
195
|
version: '0'
|
126
|
-
description: "\n
|
127
|
-
|
128
|
-
a repository containing dotfiles, and saves them in ~/.homesick. It then allows
|
196
|
+
description: "\n Your home directory is your castle. Don't leave your dotfiles
|
197
|
+
behind.\n \n\n Homesick is sorta like rip, but for dotfiles. It uses git to
|
198
|
+
clone a repository containing dotfiles, and saves them in ~/.homesick. It then allows
|
129
199
|
you to symlink all the dotfiles into place with a single command. \n\n "
|
130
200
|
email:
|
131
201
|
- josh@technicalpickles.com
|
@@ -138,11 +208,12 @@ extra_rdoc_files:
|
|
138
208
|
- LICENSE
|
139
209
|
- README.markdown
|
140
210
|
files:
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
211
|
+
- .document
|
212
|
+
- .rspec
|
213
|
+
- .travis.yml
|
144
214
|
- ChangeLog.markdown
|
145
215
|
- Gemfile
|
216
|
+
- Guardfile
|
146
217
|
- LICENSE
|
147
218
|
- README.markdown
|
148
219
|
- Rakefile
|
@@ -151,6 +222,7 @@ files:
|
|
151
222
|
- lib/homesick.rb
|
152
223
|
- lib/homesick/actions.rb
|
153
224
|
- lib/homesick/shell.rb
|
225
|
+
- lib/homesick/version.rb
|
154
226
|
- spec/homesick_spec.rb
|
155
227
|
- spec/spec.opts
|
156
228
|
- spec/spec_helper.rb
|
@@ -164,18 +236,18 @@ require_paths:
|
|
164
236
|
- lib
|
165
237
|
required_ruby_version: !ruby/object:Gem::Requirement
|
166
238
|
requirements:
|
167
|
-
- -
|
239
|
+
- - '>='
|
168
240
|
- !ruby/object:Gem::Version
|
169
241
|
version: '0'
|
170
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
243
|
requirements:
|
172
|
-
- -
|
244
|
+
- - '>='
|
173
245
|
- !ruby/object:Gem::Version
|
174
246
|
version: '0'
|
175
247
|
requirements: []
|
176
248
|
rubyforge_project:
|
177
249
|
rubygems_version: 2.1.11
|
178
250
|
signing_key:
|
179
|
-
specification_version:
|
180
|
-
summary:
|
251
|
+
specification_version: 4
|
252
|
+
summary: Your home directory is your castle. Don't leave your dotfiles behind.
|
181
253
|
test_files: []
|