specinfra 2.44.3 → 2.44.4

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: ad8592ff7e98df694433d256796f8a89aeef69dd
4
- data.tar.gz: 6e37e866a4eaf8f49f0d7c8f1d5664d782a59ae8
3
+ metadata.gz: 5d22460fb665a4c85c93009dccdffd8565bf3384
4
+ data.tar.gz: 358cc3345dd2f0659e54c1801c774e44e310d88d
5
5
  SHA512:
6
- metadata.gz: 235ed97e670b0118001ff48c4b84ed7485a6a4f9d74222520b3cb6db082d0fcd38adc18ab440bd58d28496aa19845353e9a81efaff2722edf40ad1fe3624dc16
7
- data.tar.gz: 113722bebfc4dbaf66365fee93598ce4d4cf24adac86d71e083b60b38dd3c5dc3f53bca2b1e95b738fbf08639bf144e844dc20a1c52b20ab2aa60a60827f8db2
6
+ metadata.gz: e2a7c074a4f3290f7e388b6400900d9938c3d198b5856cb3d98eb37e6c86f960733de818f86b612a88a09cfd275d5e0842ee76ede788635772f9bc2bff207b44
7
+ data.tar.gz: 283be62f8411267b4b22d084f99dadc64bba5b14f58de60da5ec38f1758ab08854e229e35cf6fb5b347836b90fbc087d5d4b28244d6d27417e333d9579a507dc
@@ -124,8 +124,8 @@ 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
- # When pty is allocated and host name is not set,
128
- # This error is injected into stdout.
127
+ # When pty is allocated and the name of the target host
128
+ # cannot be resolved, this error is injected into stdout.
129
129
  # So exclude this error message.
130
130
  elsif ! data.match /^sudo: unable to resolve host/
131
131
  stdout_data += data
@@ -1,7 +1,7 @@
1
1
  class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo
2
2
  class << self
3
3
  def check_exists(repository)
4
- "yum repolist all -C | grep ^#{escape(repository)}"
4
+ "yum repolist all -C | grep -E \"^#{escape(repository)}\(\\s\|$\)\""
5
5
  end
6
6
 
7
7
  def check_is_enabled(repository)
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.44.3"
2
+ VERSION = "2.44.4"
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.3
4
+ version: 2.44.4
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-20 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp