specinfra 2.44.2 → 2.44.3
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 +4 -4
- data/README.md +1 -1
- data/lib/specinfra/backend/ssh.rb +4 -1
- data/lib/specinfra/version.rb +1 -1
- 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: ad8592ff7e98df694433d256796f8a89aeef69dd
|
|
4
|
+
data.tar.gz: 6e37e866a4eaf8f49f0d7c8f1d5664d782a59ae8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 235ed97e670b0118001ff48c4b84ed7485a6a4f9d74222520b3cb6db082d0fcd38adc18ab440bd58d28496aa19845353e9a81efaff2722edf40ad1fe3624dc16
|
|
7
|
+
data.tar.gz: 113722bebfc4dbaf66365fee93598ce4d4cf24adac86d71e083b60b38dd3c5dc3f53bca2b1e95b738fbf08639bf144e844dc20a1c52b20ab2aa60a60827f8db2
|
data/README.md
CHANGED
|
@@ -25,7 +25,7 @@ TODO: Write usage instructions here
|
|
|
25
25
|
## Maintenance policy of Serverspec/Specinfra
|
|
26
26
|
|
|
27
27
|
* The person who found a bug should fix the bug by themself.
|
|
28
|
-
* If you find a bug and cannot fix it by yourself, send a pull request and
|
|
28
|
+
* If you find a bug and cannot fix it by yourself, send a pull request and attach test code to reproduce the bug, please.
|
|
29
29
|
* The person who want a new feature should implement it by themself.
|
|
30
30
|
* For above reasons, I accept pull requests only and disable issues.
|
|
31
31
|
* If you'd like to discuss about a new feature before implement it, make an empty commit and send [a WIP pull request](http://ben.straub.cc/2015/04/02/wip-pull-request/). But It is better that the WIP PR has some code than an empty commit.
|
|
@@ -124,7 +124,10 @@ module Specinfra
|
|
|
124
124
|
abort "Wrong sudo password! Please confirm your password on #{get_config(:host)}."
|
|
125
125
|
elsif data.match /^#{prompt}/
|
|
126
126
|
channel.send_data "#{get_config(:sudo_password)}\n"
|
|
127
|
-
|
|
127
|
+
# When pty is allocated and host name is not set,
|
|
128
|
+
# This error is injected into stdout.
|
|
129
|
+
# So exclude this error message.
|
|
130
|
+
elsif ! data.match /^sudo: unable to resolve host/
|
|
128
131
|
stdout_data += data
|
|
129
132
|
@stdout_handler.call(data) if @stdout_handler
|
|
130
133
|
end
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: specinfra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.44.
|
|
4
|
+
version: 2.44.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gosuke Miyashita
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-scp
|