boxen 0.3.0 → 0.3.1

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.
Files changed (3) hide show
  1. data/boxen.gemspec +1 -1
  2. data/lib/boxen/puppeteer.rb +2 -8
  3. metadata +1 -1
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.3.0"
5
+ gem.version = "0.3.1"
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)."
@@ -12,15 +12,11 @@ module Boxen
12
12
  @config = config
13
13
  end
14
14
 
15
- def caffeinate
16
- "/usr/bin/caffeinate -dis"
17
- end
18
-
19
15
  def command
20
16
  manifest = "#{config.repodir}/manifests/site.pp"
21
17
  puppet = "#{config.repodir}/bin/puppet"
22
18
 
23
- [caffeinate, puppet, "apply", flags, manifest].flatten
19
+ [puppet, "apply", flags, manifest].flatten
24
20
  end
25
21
 
26
22
  def flags
@@ -73,9 +69,7 @@ module Boxen
73
69
 
74
70
  ENV["GITHUB_API_TOKEN"] = config.token
75
71
 
76
- # caffeinate ensures the system will not sleep during a run
77
- unless system caffeinate,
78
- librarian, "install", "--path=#{config.repodir}/shared"
72
+ unless system librarian, "install", "--path=#{config.repodir}/shared"
79
73
  abort "Can't run Puppet, fetching dependencies with librarian failed."
80
74
  end
81
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: