shaddox 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 963855659a5cc186fd9156e05f968c34dc1442ff
4
- data.tar.gz: c0cfc30ee4c7bf6a0a2a22cd256644a8d176bf9f
3
+ metadata.gz: ad10618353ebf5c8b2d816503fca361c9b071d77
4
+ data.tar.gz: 79f59ddaf486890639d7e3c8b0dcd62cd545ae37
5
5
  SHA512:
6
- metadata.gz: c9dfc9d864b96b647dd988b5580ae5e843c2c833c652bf8d0e4a8282d16de629ae3524e594f3458c55ca488e0f3ecd96632d094760a9600df1a7b57e77228228
7
- data.tar.gz: a15b69c081824672e1e359c783c9f6c9426d8d8d1aab62098de6736c2e8d39b15a902c46bb08adf1e0880635eee9200e7927a74c36a8cf366a56fe515ecfe4ce
6
+ metadata.gz: 9679130fb2b02ce4031b805d25f15f23c2bcf217285c879dcb472c7ea360178b80dba70049b0efb96c875b8eaba39eaf2efc15ed0a745fe72625cd247246c3cc
7
+ data.tar.gz: c78922762f9878d342232e74dbb575f7703e90c0eaacd6393338b8331ac014105714a76cf6612c220d4bea8eb1672f731b865654b1dbe3a5717560ec91303ace
@@ -11,7 +11,7 @@ module Shaddox
11
11
  new_actor do
12
12
 
13
13
  rm_tmpdir = lambda {
14
- unless !exec("test -e #{tmpdir}")
14
+ unless !exec("test -e #{tmpdir} >/dev/null")
15
15
  info "Removing #{tmpdir}", 1
16
16
  exec("rm -r #{tmpdir}")
17
17
  end
@@ -32,13 +32,14 @@ module Shaddox
32
32
  raise TargetError, "Ruby is required to use shaddox. Please install it manually." unless ruby_installed
33
33
  gem_installed = exec 'type gem >/dev/null'
34
34
  raise TargetError, "Gem is required to use shaddox. Please install it manually." unless gem_installed
35
- shaddox_installed = lambda { exec 'gem list shaddox -i' }
35
+ shaddox_installed = lambda { exec 'gem list shaddox -i >/dev/null' }
36
36
  if shaddox_installed.call()
37
37
  info "Updating shaddox...", 1
38
- exec "sudo gem update shaddox"
38
+ updated = exec "gem update shaddox"
39
+ warn "Shaddox could not be automatically updated. Please update it manually with 'gem update shaddox'.", 1 unless updated
39
40
  else
40
41
  info "Installing shaddox...", 1
41
- exec "sudo gem install shaddox"
42
+ exec "gem install shaddox"
42
43
  end
43
44
  unless shaddox_installed.call()
44
45
  raise TargetError, "Shaddox could not be automatically installed. Please install manually with 'gem install shaddox'."
@@ -1,3 +1,3 @@
1
1
  module Shaddox
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -8,5 +8,6 @@
8
8
 
9
9
 
10
10
  gem build shaddox.gemspec
11
- gem install shaddox-*
11
+ gem push shaddox-*
12
12
  rm shaddox-*
13
+ gem update shaddox
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaddox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - joshglendenning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-11 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sourcify
@@ -95,7 +95,6 @@ files:
95
95
  - README.md
96
96
  - Vagrantfile
97
97
  - bin/shaddox
98
- - install.sh
99
98
  - lib/shaddox.rb
100
99
  - lib/shaddox/config.rb
101
100
  - lib/shaddox/repo.rb
@@ -106,6 +105,7 @@ files:
106
105
  - lib/shaddox/task.rb
107
106
  - lib/shaddox/ui.rb
108
107
  - lib/shaddox/version.rb
108
+ - push.sh
109
109
  - scripts/bootstrap.sh
110
110
  - shaddox.gemspec
111
111
  homepage: http://nominaltech.com