dockage 0.1.1 → 0.1.2

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: 38fa9b1d1ff4dcb10bd70bcbc556f1ca66fd80d3
4
- data.tar.gz: a8f3c6ca8b9abb01f3f35c0e84416fd7dc9ab00b
3
+ metadata.gz: 040dcb61ff6449c12748a15c4b33b37a0c71058f
4
+ data.tar.gz: 0bb254266945f5090087164aaaaf629a3ee78713
5
5
  SHA512:
6
- metadata.gz: f4db7bf04ab2cc4700d9c3a0f011ac9074cc2d516bc8e53d398b0019d753d25054dac5161d77d3b1ffd12ace4bc72795e30cfc45ffedc77e8e1b981901efdd3c
7
- data.tar.gz: 3d1684089e997695994cebd140cf37ab58978afa9a8784c7d9be0e9dd3be895c8c5796117ee583d3dd72abf63cdd7ac149a6cf19a4b269bcd2b2fb3115d19b24
6
+ metadata.gz: 295e000c84cf10c1ea530a494ebf3de0960922acbf333b6d9edc6a9b846a0b0c49c02a14be578cf2ca93f9422396c2af2e97163dc17ad1755f13df33034ba642
7
+ data.tar.gz: f4d7b4edd1011caece5c0f2c8fb5c19239434207a68d18c8bc613a87cac0829f6be3bd062f5da027e08aa09a17c2219ed16232e76977e97702794c9e17fdba88
@@ -100,7 +100,7 @@ module Dockage
100
100
  end
101
101
 
102
102
  def shellinit
103
- "export #{env}"
103
+ "export #{@env}"
104
104
  end
105
105
 
106
106
  def container_running?(name)
data/lib/dockage/ssh.rb CHANGED
@@ -28,6 +28,7 @@ module Dockage
28
28
  return if @command
29
29
  @command = which_ssh
30
30
  @command += SSH_OPTS.map { |opt| " -o #{opt}" }.join if SSH_OPTS.any?
31
+ @command += " -A" if opts[:forward_agent]
31
32
  @command += " -i #{opts[:identity_file]}" if opts[:identity_file]
32
33
  @command += " #{opts[:login]}@#{opts[:host]}"
33
34
  @command += " -p #{opts[:port]}" if opts[:port]
@@ -8,7 +8,7 @@ containers:
8
8
  volumes:
9
9
  - /tmp/data/pg:/var/lib/postgres/data
10
10
  ssh:
11
- enabled: true
11
+ forward_agent: true
12
12
  login: root
13
13
  host: 127.0.0.1
14
14
  port: 2220
@@ -18,4 +18,6 @@ containers:
18
18
  - name: hello
19
19
  keep_fresh: true
20
20
  image: debian:jessie
21
+ links:
22
+ - postgres:postgres
21
23
  cmd: 'while true; do echo hello world; sleep 1; done'
@@ -1,3 +1,3 @@
1
1
  module Dockage
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Besedin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
11
+ date: 2014-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor