shaddox 0.0.15 → 0.0.16

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 419b93e06f0b3d5e130fd8cee8a2d4e0dc1571c0
4
- data.tar.gz: c4b3e19104c9f25a8a6575b84ba7fedc924b405c
3
+ metadata.gz: 4624fa2c38431e41c21c8f8a093a173ea77b41f2
4
+ data.tar.gz: 7915f98f7f3b3f072f5cfbfbac514c89864db704
5
5
  SHA512:
6
- metadata.gz: 3ffcd10523a382ae5c6f68a714ceae7cbe0cab7ec9772f0fa76560e0ea0e3febe61b9ff6be2e36a0d94525e82144038d6780b36637a732476feb2a9d468e21f0
7
- data.tar.gz: a92844b5bb77ed1f009a1a053eae6e8a3ebca19eacc08ed60828856fd657b3fd1ebbd8a163fd1cf1181fead39400ea4c0cd06ca5fabf6fb8f7383abe51213f23
6
+ metadata.gz: 013bf3d37ea6358e25fa48a9bebcdb40f2772d3f4b54c6e86c31a8f21d040369eb2aa9e24393585d94675a498ae10860fc2a359f2629e74dbc1c46bc895d8f06
7
+ data.tar.gz: 164789e155520065fd121529e54fd7ab84fb68d84f56348f073b9b908c026705243c31c55470804db5e50a9e976d8938ee4fc9826cd1cfe2c8d76417864efdfc
data/Doxfile CHANGED
@@ -8,7 +8,7 @@ server :vagrant, {
8
8
  :installer => :apt
9
9
  }
10
10
 
11
- repo :test, {
11
+ repo :profile, {
12
12
  :url => "https://github.com/joshglendenning/profile.git"
13
13
  }
14
14
 
@@ -22,10 +22,10 @@ end
22
22
 
23
23
  task :install => :foobar do
24
24
  install 'zsh'
25
- sh "echo 'test'"
26
- sh "echo 'test2'"
27
- sh "echo 'test3'"
28
- repo_clone :test, "dest"
25
+ repo_clone :profile, "~"
26
+ cd "~/profile" do
27
+ sh "shaddox install"
28
+ end
29
29
  end
30
30
 
31
31
  task :broken => :foo do
@@ -35,7 +35,3 @@ end
35
35
  task :sudo do
36
36
  sh "sudo echo 'this is a sudo echo'"
37
37
  end
38
-
39
- task :git_clone do
40
- repo_clone :test, "~/test"
41
- end
@@ -48,6 +48,7 @@ module Shaddox
48
48
  rescue => e
49
49
  err "Provisioning on :#{target_key} failed:".red
50
50
  puts e.message.red
51
+ e.backtrace.each { |line| puts line }
51
52
  end
52
53
  end
53
54
  end
@@ -73,7 +73,8 @@ module Shaddox
73
73
 
74
74
  def install(package)
75
75
  unless @installer
76
- warn "No package manager is defined for this target.", 1
76
+ # TODO: Try to autodetect package manager
77
+ warn "No installer is specified for this target.", 1
77
78
  puts "-------------------"
78
79
  require 'highline/import'
79
80
  choose do |menu|
@@ -24,7 +24,7 @@ module Shaddox
24
24
  unlocked = exec "mkdir #{tmpdir}"
25
25
 
26
26
  # Abort if the tmpdir already exists
27
- raise TargetError, "Shaddox is already running on this machine. Try again later." unless unlocked
27
+ raise TargetError, "A shadow script is already running on this machine. Try again later." unless unlocked
28
28
 
29
29
  begin
30
30
  # Initial provisioning to ensure that we have everyting we need to execute a shadow script:
@@ -1,3 +1,3 @@
1
1
  module Shaddox
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaddox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - joshglendenning