toolshed 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03f1f1b3fbd050039f62bf6a6c1a3cbfeedd8bce
4
- data.tar.gz: b83471543158bd0015e7ed86e24fdda070946f5e
3
+ metadata.gz: 79b0ef1a8134351914a29fbd67d270708a184ce7
4
+ data.tar.gz: 0e6f893cc1738a6b307cd9fa2b7272005a24f16a
5
5
  SHA512:
6
- metadata.gz: 3e3592c41d1e744f1f903eaadd6d45faec1f71781a0936f9f35173efb1f45fe75cda1c3451e48486d291fa65dd61010cbaa5d71c6bf795c2b5e8bc0015e2c3f7
7
- data.tar.gz: 1b619b9bb06b8c9322245261baa2924003ff0ce67ba148f0bac73cc825cbc36e428c6d1459ef8cf03f809e95b584d4a5ca8d71796be41c2e628140a49ee966d5
6
+ metadata.gz: 56a6b788ecdec7e1e2c106a67010a1b08e303cb8dee77c697b211aef0d3448835d98d78c73892c9910713e04b70685f75952452a056954e873ff25732011b606
7
+ data.tar.gz: 0bbc3f1f03fcc0d238c13a61484e68495c34dad3ae6bbd3da02bef39b458cb3359c571c911fe90750558d2e10524f8888f5d0607e74c86e7750f76c3eb3ca6fd
@@ -29,7 +29,7 @@ module Toolshed
29
29
  puts "Getting time entries:"
30
30
  time_tracker.display
31
31
  rescue Exception => e
32
- puts "Time tracking tool is undefined implementation needed or an error occured #{e.inspect}"
32
+ puts "Time tracking tool is undefined implementation needed or an error occurred #{e.inspect}"
33
33
  return
34
34
  end
35
35
  end
@@ -8,6 +8,8 @@ module Toolshed
8
8
  return '' if password.nil? || password.empty?
9
9
 
10
10
  translated_password = Toolshed.configuration
11
+ return password unless translated_password.is_a?(Hash)
12
+
11
13
  password_parts = password.split(':')
12
14
  password_parts.each do |password_part|
13
15
  if translated_password[password_part].nil?
@@ -22,7 +22,7 @@ module Toolshed
22
22
  @verbose_output = options[:verbose_output]
23
23
  @ssh_options = options[:ssh_options]
24
24
  @ssh_options ||= {}
25
- @ssh_options.merge(password: password_from_config(password))
25
+ @ssh_options.merge!(password: password_from_config(password))
26
26
  end
27
27
 
28
28
  def download
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Module for toolshed
4
4
  module Toolshed
5
- VERSION = '1.0.7'
5
+ VERSION = '1.0.8'
6
6
 
7
7
  # Display the version information with the toolshed banner
8
8
  class Version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolshed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Waller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-09 00:00:00.000000000 Z
11
+ date: 2016-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty