dg 0.5.6 → 0.5.7

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dg/docker.rb +1 -1
  3. data/lib/dg/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f7f397b5166b6b0bf5201ea10bc45c887131e21
4
- data.tar.gz: 4c8ee7bac1e11c963b23c70d5f3d4a637be0ca70
3
+ metadata.gz: 4f715c84817441c6bafa572f57dc90d29a99bb6a
4
+ data.tar.gz: c82d7775f7b7d1584176b2010a87466365b4cec1
5
5
  SHA512:
6
- metadata.gz: c5d1d74aed139a1a7275e3cd9cf4b7936fb7e50d978bbba240d9a894923e84e08953b9e2170f1efd85866fdfbbc19f712336b287c8eff60c9a4d488858577bf2
7
- data.tar.gz: 97c92276d79b9ebeb65bec759f377dfd8779988374c365164f15f46a77f66343f1abca9fa8fa1b3aade6c8370e3b4f7d9e6a8ca174bb68a3ea04b3909f9bd0fc
6
+ metadata.gz: 2c68b9b82846f331ce965cf47f53fcc1d77ccef273902be015b3c80e6e0b9e2e15aebb7b52d607dddbbf9aaf27c00c8af7da7a38562c68675445f16426e5d625
7
+ data.tar.gz: 0232237cbb404c97c16fb9693b9303a15a39701c94bcab8832e70a2aab334e312d5c5a73e0c03a801e28bd29ff08c7c437389acbe894a29733b7de00842c801d
data/lib/dg/docker.rb CHANGED
@@ -86,7 +86,7 @@ module DG
86
86
  sudo_command = SUDO ? "sudo -E bash -c '#{command}'" : command
87
87
  puts "Running `#{sudo_command}` in #{Dir.pwd}"
88
88
  if capture
89
- return `#{command}`
89
+ return `#{sudo_command}`
90
90
  else
91
91
  begin
92
92
  PTY.spawn(sudo_command) do |stdin, stdout, pid|
data/lib/dg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DG
2
- VERSION = '0.5.6'
2
+ VERSION = '0.5.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Malet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-05 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  DockerGo (DG)