specinfra 2.44.2 → 2.44.3

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: c73e6c307fe19032165fdf9368524afd45e2c4bc
4
- data.tar.gz: 26150951409365adc8f331d1641afa73c7c68c91
3
+ metadata.gz: ad8592ff7e98df694433d256796f8a89aeef69dd
4
+ data.tar.gz: 6e37e866a4eaf8f49f0d7c8f1d5664d782a59ae8
5
5
  SHA512:
6
- metadata.gz: 4ad4b3e84bb554f61a6f4d3363a0de5b10b2bb052a4ac0c4318504ce133f8e1c149b1fce01f013f8bafb046f525efd393da37b07d17da09184ceb93b4b6c7ff8
7
- data.tar.gz: 057980d9cbe1ea329f8c257bce4122f9c571edebe55d38e9458367740924bf71532082d86ab83a747cbd51e03cca76777ae52b22b72f80a0ef8b342f55d62f0c
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 attache test code to reproduce the bug, please.
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
- else
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
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.44.2"
2
+ VERSION = "2.44.3"
3
3
  end
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.2
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-15 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp