hocho 0.2.0 → 0.2.1

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: 71a35bcabdd7fb28b6ddcde2093f7cdde9ddcafa
4
- data.tar.gz: f4ac549145b6940d4bef0ade7b3338d3f89f2028
3
+ metadata.gz: 5e04e75ca8c584dd773cfb620201e0eb5989d941
4
+ data.tar.gz: c173c92864d2958c60d2081850b5e4b5aa991378
5
5
  SHA512:
6
- metadata.gz: c5e35fb5d3d3263ae7fab63fb51d846ba3ce5bb41421dd43f8731dd256081f0e712f11c192aef676140ab8801adfc558927a71574fa5b32b5f7ef29f29dd2bd7
7
- data.tar.gz: 82ecb70f5dbb71f3be59e3d5dd9c42e9c4d733604038d8d296eb94e2795e629dc779ede9de00df8ccf28efce72827ccdb4550d82854391c1ca06b3e929f49b97
6
+ metadata.gz: ea419648b307939144ab3824aa838ec6a85158118cfcc6457ed043d4cc52fa2378e89fa70e34e6c4b10be89b7ad35f88e2d11bb0e0b53d17cf8371a579ed5e0d
7
+ data.tar.gz: a9f1bbab979b86ad077af2b8e661840db73c70b852aa330b2fb13648aa78164bbb453cfee5b89ec59e8b5b73b60f08d09b415289d80f0593017f0785995d8569
@@ -56,7 +56,7 @@ module Hocho
56
56
  raise "sudo password not present" if !host.nopasswd_sudo? && password.nil?
57
57
 
58
58
  if host.nopasswd_sudo?
59
- yield nil, nil, nil
59
+ yield nil, nil, "sudo "
60
60
  return
61
61
  end
62
62
 
@@ -1,3 +1,3 @@
1
1
  module Hocho
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hocho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sorah (Shota Fukumori)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2017-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor