nucleon 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/core/util/ssh.rb +3 -1
- data/nucleon.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06bdd932957dc7d3f8826e92fe3f442ba4a9282a
|
4
|
+
data.tar.gz: 24475db3cdf4caeff3cea91f532810fad0d71db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 853934fd92e3040ec8bb6c18568c800c330cf2d17a56537a719740ceb68a2365ed4c11e1d632f12d042bba4f327c47b960c7614cc12a0a5fe47633c91098105d
|
7
|
+
data.tar.gz: 456532aa926d41a93d363a86c7e9fb41309f1ba819ff34432725a142ca264edd523f895439185fa8192066086274224fbc9ad78de93caef0770d037de99acf92
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.11
|
data/lib/core/util/ssh.rb
CHANGED
@@ -160,7 +160,7 @@ class SSH < Core
|
|
160
160
|
|
161
161
|
ssh_options = Config.new({
|
162
162
|
:user_known_hosts_file => [ File.join(key_path, 'known_hosts'), File.join(key_path, 'known_hosts2') ],
|
163
|
-
:auth_methods => [ 'publickey' ],
|
163
|
+
:auth_methods => [ 'publickey', 'password' ],
|
164
164
|
:paranoid => :very
|
165
165
|
}, {}, true, false).import(Util::Data.subset(config, config.keys - [ :keypair, :key_dir, :key_name, :reset_conn ]))
|
166
166
|
|
@@ -179,6 +179,8 @@ class SSH < Core
|
|
179
179
|
ssh_options[:keys_only] = true
|
180
180
|
ssh_options[:key_data] = [ @@auth[auth_id].private_key ]
|
181
181
|
end
|
182
|
+
else
|
183
|
+
ssh_options[:password] = config[:password] if config[:password]
|
182
184
|
end
|
183
185
|
|
184
186
|
ssh_options[:port] = port
|
data/nucleon.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nucleon 0.2.
|
5
|
+
# stub: nucleon 0.2.11 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nucleon"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.11"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Adrian Webb"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-04-25"
|
15
15
|
s.description = "\nA framework that provides a simple foundation for building Ruby applications that are:\n\n* Highly configurable (with both distributed and persistent configurations)\n* Extremely pluggable and extendable\n* Easily parallel\n\nNote: This framework is still very early in development!\n"
|
16
16
|
s.email = "adrian.webb@coralnexus.com"
|
17
17
|
s.executables = ["nucleon"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nucleon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Webb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: log4r
|