boxen 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "boxen"
5
- gem.version = "0.7.2"
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)."
@@ -16,9 +16,5 @@ module Boxen
16
16
  @dir = dir
17
17
  @name = File.basename @dir
18
18
  end
19
-
20
- def installed?
21
- File.directory? dir
22
- end
23
19
  end
24
20
  end
@@ -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
- prefix = project.installed? ? "*" : " "
57
- puts "#{prefix} #{project.name}"
58
+ puts " #{project.name}"
58
59
  end
59
60
 
60
61
  exit
@@ -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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
9
- version: 0.7.2
8
+ - 3
9
+ version: 0.7.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Barnette