specinfra 2.82.9 → 2.82.10
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/openbsd/base/package.rb +4 -0
- 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: 36edd5c2c39aba78bb953d8b931c7445fe51605d
|
4
|
+
data.tar.gz: a854908612f769a9d66bf3c92055540d194ba08d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b421ce3c0e70247c01e54bcdbdcce495e764ee3d01651d56c18a584ecb9567c83b6aa0e854fb20ae97481950cfe72409fb7b413e3f11ea62af11583b78f6097e
|
7
|
+
data.tar.gz: 696609db9a2c4c3be304cb3d5a9b75ba2abe251efdaaeb831ce8e7ae4dbb2dd579073c5f219cebdbf84e800e3fc3060d994690ed3c08e0a25fd49eb5b3679b90
|
@@ -11,5 +11,9 @@ class Specinfra::Command::Openbsd::Base::Package < Specinfra::Command::Base::Pac
|
|
11
11
|
def install(package, version=nil, option='')
|
12
12
|
"pkg_add #{option} #{package}"
|
13
13
|
end
|
14
|
+
|
15
|
+
def get_version(package, _opts=nil)
|
16
|
+
"pkg_info -I #{package} | sed -e 's/#{package}-//' | cut -d' ' -f1"
|
17
|
+
end
|
14
18
|
end
|
15
19
|
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.82.
|
4
|
+
version: 2.82.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|