boxen 0.7.2 → 0.7.3
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/boxen.gemspec +1 -1
- data/lib/boxen/project.rb +0 -4
- data/lib/boxen/runner.rb +3 -2
- data/test/boxen_project_test.rb +0 -7
- metadata +2 -2
data/boxen.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "boxen"
|
5
|
-
gem.version = "0.7.
|
5
|
+
gem.version = "0.7.3"
|
6
6
|
gem.authors = ["John Barnette", "Will Farrington"]
|
7
7
|
gem.email = ["jbarnette@github.com", "wfarr@github.com"]
|
8
8
|
gem.description = "Manage Mac development boxes with love (and Puppet)."
|
data/lib/boxen/project.rb
CHANGED
data/lib/boxen/runner.rb
CHANGED
@@ -52,9 +52,10 @@ module Boxen
|
|
52
52
|
# --projects prints a list of available projects and exits.
|
53
53
|
|
54
54
|
if flags.projects?
|
55
|
+
puts "You can install any of these projects with `#{$0} <project-name>`:\n"
|
56
|
+
|
55
57
|
config.projects.each do |project|
|
56
|
-
|
57
|
-
puts "#{prefix} #{project.name}"
|
58
|
+
puts " #{project.name}"
|
58
59
|
end
|
59
60
|
|
60
61
|
exit
|
data/test/boxen_project_test.rb
CHANGED
@@ -7,13 +7,6 @@ class BoxenProjectTest < Boxen::Test
|
|
7
7
|
assert_equal "foo", project.dir
|
8
8
|
end
|
9
9
|
|
10
|
-
def test_installed?
|
11
|
-
project = Boxen::Project.new "foo"
|
12
|
-
|
13
|
-
File.expects(:directory?).with("foo").returns true
|
14
|
-
assert project.installed?
|
15
|
-
end
|
16
|
-
|
17
10
|
def test_name
|
18
11
|
project = Boxen::Project.new "foo/bar/baz"
|
19
12
|
assert_equal "baz", project.name
|