rundock 0.5.8 → 1.0.0

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: 43dbdf790071b14ebea25178fd8973656cfa8e6c
4
- data.tar.gz: 0f713394a3c1ef39d41eab9a8bf00e63c2e8bf97
3
+ metadata.gz: 6da57c2eb27e23d38a9a34d71117287cf6878638
4
+ data.tar.gz: e4f7e3f0d252124509ee1cd6c75cd3428a9a004c
5
5
  SHA512:
6
- metadata.gz: 015c9558b26569b1aa5930068c957986491bbf336b8425f1b6c69409f3f10a460dfae69ddca334f110fe83efb38eb4536ac85d00532d8951c667f37700b3eece
7
- data.tar.gz: e3c31def2ba3c258b0274537896cd814626552eb620a8a778cf2c5091b8a359fb39968c02c9c85270d6e6ad351352f9d8ae5a29c4669024b7fef7d1351072ba6
6
+ metadata.gz: 25f80da6a94b83a3a22efcd6bed4ddb2cdc1c8c974a35ec0a9c4cc99a28c59001482697feafc0ee8abebb75d1d4350aa96556c238e463d4930fe1d45dac17e45
7
+ data.tar.gz: 7287868eef375f61f32d80b1c5190804ba29fb99262181f51fafc3faff97da3bcf64304b26b3ae956bf5247ac0554e467115d4b825c1778da8fce34eebffa370
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## v1.0.0
2
+
3
+ Update
4
+
5
+ - Support rake tasks
6
+ - Fix ssh config host alias did not work
7
+
1
8
  ## v0.5.4
2
9
 
3
10
  Update
data/README.md CHANGED
@@ -32,6 +32,7 @@ host-alias-01:
32
32
  port: 2222
33
33
  user: anyuser
34
34
  keys: ["~/.ssh/id_rsa_anyuser"]
35
+ ssh_config: "/home/anyuser/custom_config"
35
36
  ```
36
37
 
37
38
  and execute rundock.
data/default_ssh.yml CHANGED
@@ -6,3 +6,4 @@
6
6
  #:user: "youre_name"
7
7
  #:keys: ["/path/to/private_key"]
8
8
  #:passphrase: "yourpassphrase"
9
+ #:ssh_config: "/path/to/ssh/config"
@@ -117,8 +117,8 @@ module Rundock
117
117
  Net::SSH::Config.for(options[:host])
118
118
  end
119
119
 
120
- # priority = node_attributes > cli options
121
- ssh_opts[:host_name] = options[:host]
120
+ # priority = (cli options > scenario target information section > ssh config)
121
+ ssh_opts[:host_name] = options[:host] unless ssh_opts[:host_name]
122
122
  ssh_opts[:keys] = Array(options[:key]) if options[:key]
123
123
  ssh_opts[:password] = parse_password_from_stdin if options[:ask_password]
124
124
  ssh_opts.merge!(filter_net_ssh_options(options))
@@ -1,3 +1,3 @@
1
1
  module Rundock
2
- VERSION = '0.5.8'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rundock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler