homesick 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +13 -5
- data/Rakefile +7 -7
- data/homesick.gemspec +13 -12
- data/lib/homesick.rb +0 -1
- data/spec/spec_helper.rb +3 -3
- metadata +20 -20
- data/.gitignore +0 -41
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
CHANGED
@@ -7,9 +7,9 @@ gem "thor", ">= 0.14.0"
|
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
8
|
group :development do
|
9
9
|
gem "rake"
|
10
|
-
gem "rspec", "
|
11
|
-
gem "bundler", "
|
12
|
-
gem "jeweler", ">= 1.5.0.
|
10
|
+
gem "rspec", "~> 2.1.0"
|
11
|
+
gem "bundler", "~> 1.0.0"
|
12
|
+
gem "jeweler", ">= 1.5.0.pre6"
|
13
13
|
gem "rcov", ">= 0"
|
14
14
|
gem "test-construct"
|
15
15
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
diff-lcs (1.1.2)
|
4
5
|
git (1.2.5)
|
5
|
-
jeweler (1.5.0.
|
6
|
+
jeweler (1.5.0.pre6)
|
6
7
|
bundler (~> 1.0.0)
|
7
8
|
git (>= 1.2.5)
|
8
9
|
rake
|
9
10
|
rake (0.8.7)
|
10
11
|
rcov (0.9.8)
|
11
|
-
rspec (1.
|
12
|
+
rspec (2.1.0)
|
13
|
+
rspec-core (~> 2.1.0)
|
14
|
+
rspec-expectations (~> 2.1.0)
|
15
|
+
rspec-mocks (~> 2.1.0)
|
16
|
+
rspec-core (2.1.0)
|
17
|
+
rspec-expectations (2.1.0)
|
18
|
+
diff-lcs (~> 1.1.2)
|
19
|
+
rspec-mocks (2.1.0)
|
12
20
|
test-construct (1.2.0)
|
13
21
|
thor (0.14.0)
|
14
22
|
|
@@ -16,10 +24,10 @@ PLATFORMS
|
|
16
24
|
ruby
|
17
25
|
|
18
26
|
DEPENDENCIES
|
19
|
-
bundler (
|
20
|
-
jeweler (>= 1.5.0.
|
27
|
+
bundler (~> 1.0.0)
|
28
|
+
jeweler (>= 1.5.0.pre6)
|
21
29
|
rake
|
22
30
|
rcov
|
23
|
-
rspec (
|
31
|
+
rspec (~> 2.1.0)
|
24
32
|
test-construct
|
25
33
|
thor (>= 0.14.0)
|
data/Rakefile
CHANGED
@@ -22,7 +22,8 @@ Jeweler::Tasks.new do |gem|
|
|
22
22
|
gem.email = "josh@technicalpickles.com"
|
23
23
|
gem.homepage = "http://github.com/technicalpickles/homesick"
|
24
24
|
gem.authors = ["Joshua Nichols"]
|
25
|
-
gem.version = "0.6.
|
25
|
+
gem.version = "0.6.1"
|
26
|
+
gem.license = "MIT"
|
26
27
|
# Have dependencies? Add them to Gemfile
|
27
28
|
|
28
29
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
@@ -30,18 +31,17 @@ end
|
|
30
31
|
Jeweler::GemcutterTasks.new
|
31
32
|
|
32
33
|
|
33
|
-
require '
|
34
|
-
|
35
|
-
spec.
|
36
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
34
|
+
require 'rspec/core/rake_task'
|
35
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
36
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
37
37
|
end
|
38
38
|
|
39
|
-
|
40
|
-
spec.libs << 'lib' << 'spec'
|
39
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
41
40
|
spec.pattern = 'spec/**/*_spec.rb'
|
42
41
|
spec.rcov = true
|
43
42
|
end
|
44
43
|
|
44
|
+
|
45
45
|
task :default => :spec
|
46
46
|
|
47
47
|
require 'rake/rdoctask'
|
data/homesick.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{homesick}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.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"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-13}
|
13
13
|
s.default_executable = %q{homesick}
|
14
14
|
s.description = %q{
|
15
15
|
A man's home (directory) is his castle, so don't leave home with out it.
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
]
|
27
27
|
s.files = [
|
28
28
|
".document",
|
29
|
-
".
|
29
|
+
".rspec",
|
30
30
|
"ChangeLog.markdown",
|
31
31
|
"Gemfile",
|
32
32
|
"Gemfile.lock",
|
@@ -43,6 +43,7 @@ Gem::Specification.new do |s|
|
|
43
43
|
"spec/spec_helper.rb"
|
44
44
|
]
|
45
45
|
s.homepage = %q{http://github.com/technicalpickles/homesick}
|
46
|
+
s.licenses = ["MIT"]
|
46
47
|
s.require_paths = ["lib"]
|
47
48
|
s.rubygems_version = %q{1.3.7}
|
48
49
|
s.summary = %q{A man's home is his castle. Never leave your dotfiles behind.}
|
@@ -58,26 +59,26 @@ Gem::Specification.new do |s|
|
|
58
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
59
60
|
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
|
60
61
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
61
|
-
s.add_development_dependency(%q<rspec>, ["
|
62
|
-
s.add_development_dependency(%q<bundler>, ["
|
63
|
-
s.add_development_dependency(%q<jeweler>, [">= 1.5.0.
|
62
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
63
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
64
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.5.0.pre6"])
|
64
65
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
65
66
|
s.add_development_dependency(%q<test-construct>, [">= 0"])
|
66
67
|
else
|
67
68
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
68
69
|
s.add_dependency(%q<rake>, [">= 0"])
|
69
|
-
s.add_dependency(%q<rspec>, ["
|
70
|
-
s.add_dependency(%q<bundler>, ["
|
71
|
-
s.add_dependency(%q<jeweler>, [">= 1.5.0.
|
70
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
71
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
72
|
+
s.add_dependency(%q<jeweler>, [">= 1.5.0.pre6"])
|
72
73
|
s.add_dependency(%q<rcov>, [">= 0"])
|
73
74
|
s.add_dependency(%q<test-construct>, [">= 0"])
|
74
75
|
end
|
75
76
|
else
|
76
77
|
s.add_dependency(%q<thor>, [">= 0.14.0"])
|
77
78
|
s.add_dependency(%q<rake>, [">= 0"])
|
78
|
-
s.add_dependency(%q<rspec>, ["
|
79
|
-
s.add_dependency(%q<bundler>, ["
|
80
|
-
s.add_dependency(%q<jeweler>, [">= 1.5.0.
|
79
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
80
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
81
|
+
s.add_dependency(%q<jeweler>, [">= 1.5.0.pre6"])
|
81
82
|
s.add_dependency(%q<rcov>, [">= 0"])
|
82
83
|
s.add_dependency(%q<test-construct>, [">= 0"])
|
83
84
|
end
|
data/lib/homesick.rb
CHANGED
@@ -107,7 +107,6 @@ class Homesick < Thor
|
|
107
107
|
|
108
108
|
desc "list", "List cloned castles"
|
109
109
|
def list
|
110
|
-
#require 'ruby-debug'; breakpoint
|
111
110
|
Pathname.glob("#{repos_dir}/**/*/.git") do |git_dir|
|
112
111
|
castle = git_dir.dirname
|
113
112
|
Dir.chdir castle do # so we can call git config from the right contxt
|
data/spec/spec_helper.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
3
|
require 'homesick'
|
4
|
-
require '
|
5
|
-
require '
|
4
|
+
require 'rspec'
|
5
|
+
require 'rspec/autorun'
|
6
6
|
require 'construct'
|
7
7
|
|
8
|
-
|
8
|
+
Rspec.configure do |config|
|
9
9
|
config.include Construct::Helpers
|
10
10
|
|
11
11
|
config.before do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: homesick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Nichols
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-13 00:00:00 -06:00
|
19
19
|
default_executable: homesick
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -54,14 +54,14 @@ dependencies:
|
|
54
54
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
55
|
none: false
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ~>
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
59
|
+
hash: 11
|
60
60
|
segments:
|
61
|
-
- 1
|
62
61
|
- 2
|
63
|
-
-
|
64
|
-
|
62
|
+
- 1
|
63
|
+
- 0
|
64
|
+
version: 2.1.0
|
65
65
|
name: rspec
|
66
66
|
requirement: *id003
|
67
67
|
- !ruby/object:Gem::Dependency
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
71
71
|
none: false
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
hash:
|
75
|
+
hash: 23
|
76
76
|
segments:
|
77
|
+
- 1
|
77
78
|
- 0
|
78
|
-
-
|
79
|
-
|
80
|
-
version: 0.9.5
|
79
|
+
- 0
|
80
|
+
version: 1.0.0
|
81
81
|
name: bundler
|
82
82
|
requirement: *id004
|
83
83
|
- !ruby/object:Gem::Dependency
|
@@ -88,13 +88,13 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
hash: -
|
91
|
+
hash: -1876988219
|
92
92
|
segments:
|
93
93
|
- 1
|
94
94
|
- 5
|
95
95
|
- 0
|
96
|
-
-
|
97
|
-
version: 1.5.0.
|
96
|
+
- pre6
|
97
|
+
version: 1.5.0.pre6
|
98
98
|
name: jeweler
|
99
99
|
requirement: *id005
|
100
100
|
- !ruby/object:Gem::Dependency
|
@@ -137,7 +137,7 @@ extra_rdoc_files:
|
|
137
137
|
- README.markdown
|
138
138
|
files:
|
139
139
|
- .document
|
140
|
-
- .
|
140
|
+
- .rspec
|
141
141
|
- ChangeLog.markdown
|
142
142
|
- Gemfile
|
143
143
|
- Gemfile.lock
|
@@ -154,8 +154,8 @@ files:
|
|
154
154
|
- spec/spec_helper.rb
|
155
155
|
has_rdoc: true
|
156
156
|
homepage: http://github.com/technicalpickles/homesick
|
157
|
-
licenses:
|
158
|
-
|
157
|
+
licenses:
|
158
|
+
- MIT
|
159
159
|
post_install_message:
|
160
160
|
rdoc_options: []
|
161
161
|
|
data/.gitignore
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# rcov generated
|
2
|
-
coverage
|
3
|
-
|
4
|
-
# rdoc generated
|
5
|
-
rdoc
|
6
|
-
|
7
|
-
# yard generated
|
8
|
-
doc
|
9
|
-
.yardoc
|
10
|
-
|
11
|
-
# jeweler generated
|
12
|
-
pkg
|
13
|
-
|
14
|
-
.bundle
|
15
|
-
|
16
|
-
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
17
|
-
#
|
18
|
-
# * Create a file at ~/.gitignore
|
19
|
-
# * Include files you want ignored
|
20
|
-
# * Run: git config --global core.excludesfile ~/.gitignore
|
21
|
-
#
|
22
|
-
# After doing this, these files will be ignored in all your git projects,
|
23
|
-
# saving you from having to 'pollute' every project you touch with them
|
24
|
-
#
|
25
|
-
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
26
|
-
#
|
27
|
-
# For MacOS:
|
28
|
-
#
|
29
|
-
.DS_Store
|
30
|
-
#
|
31
|
-
# For TextMate
|
32
|
-
#*.tmproj
|
33
|
-
#tmtags
|
34
|
-
#
|
35
|
-
# For emacs:
|
36
|
-
*~
|
37
|
-
\#*
|
38
|
-
.\#*
|
39
|
-
#
|
40
|
-
# For vim:
|
41
|
-
*.swp
|