nucleon 0.2.10 → 0.2.11

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: e2a05325532059ef176a3aa70f8b9cd37379821b
4
- data.tar.gz: 00042b162c3c7793f8b1f631a96eddbd516322d6
3
+ metadata.gz: 06bdd932957dc7d3f8826e92fe3f442ba4a9282a
4
+ data.tar.gz: 24475db3cdf4caeff3cea91f532810fad0d71db9
5
5
  SHA512:
6
- metadata.gz: f3e768ca2276d0e30090b0a8f92aaea30943a47d009139bc8e90de6df58b7355151c72600515c01a14533c8b960476d69306731a3e0428ad962b81ba7d0c483d
7
- data.tar.gz: b1887ddeaa81bd46acdf6bb5dc7b1bdac3ce0dce2d9520884c1f83637427ab93d1640925198764ea0f5f0547ddcbc6e6cfa7f72ab640d327c4d1eacd8b6c9cfe
6
+ metadata.gz: 853934fd92e3040ec8bb6c18568c800c330cf2d17a56537a719740ceb68a2365ed4c11e1d632f12d042bba4f327c47b960c7614cc12a0a5fe47633c91098105d
7
+ data.tar.gz: 456532aa926d41a93d363a86c7e9fb41309f1ba819ff34432725a142ca264edd523f895439185fa8192066086274224fbc9ad78de93caef0770d037de99acf92
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
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.10 ruby lib
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.10"
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-02-26"
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.10
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-02-26 00:00:00.000000000 Z
11
+ date: 2015-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: log4r