specinfra 2.67.1 → 2.67.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/debian/base/package.rb +1 -2
- 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: 38797f40ebab644b8e0297cc358a64439435fd42
|
4
|
+
data.tar.gz: 8e741a877738b2e01cb2390fe33918cffe6211a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb860cac8cda72950585529c10f4c34da945edc180bde40aeecd941d375412cdcecda523f980ced0d8c0434d2263b54a7e75c3cce1c69cd002cc098ad7d14c38
|
7
|
+
data.tar.gz: 73d0ab00506992d0051c5bdf5793770230979b0817a32e2a95a777cd9747d80b7b4c7b52c65bb743be2b6776231e43127d2249e6727afebfc1fbd9d63bac4464
|
@@ -3,7 +3,7 @@ class Specinfra::Command::Debian::Base::Package < Specinfra::Command::Linux::Bas
|
|
3
3
|
def check_is_installed(package, version=nil)
|
4
4
|
escaped_package = escape(package)
|
5
5
|
if version
|
6
|
-
cmd = "dpkg-query -f '${Status} ${Version}' -W #{escaped_package} | grep -E '^(install|hold) ok installed #{Regexp.escape(
|
6
|
+
cmd = "dpkg-query -f '${Status} ${Version}' -W #{escaped_package} | grep -E '^(install|hold) ok installed #{Regexp.escape(version)}$'"
|
7
7
|
else
|
8
8
|
cmd = "dpkg-query -f '${Status}' -W #{escaped_package} | grep -E '^(install|hold) ok installed$'"
|
9
9
|
end
|
@@ -30,4 +30,3 @@ class Specinfra::Command::Debian::Base::Package < Specinfra::Command::Linux::Bas
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
33
|
-
|
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.67.
|
4
|
+
version: 2.67.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|