specinfra 2.66.0 → 2.66.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appveyor.yml +4 -0
- data/lib/specinfra/command/gentoo/base/package.rb +18 -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: 226b32c28717bda5186b1c3fb65f2c80c865a3ac
|
4
|
+
data.tar.gz: 4a3796492424897cd3d75a4e365e7e82789f9a73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6393d2adc36b4741a3fd1b60d2737c276bd645de873c13de9b2a7042c6b79c4f887d7078230b1e5572152f53e80e4ca721db2d2a19b52df6039a95b6eb2bf265
|
7
|
+
data.tar.gz: 4aa4b0247849581e8040c8e89bddab8d56dd0fefe9720e3bb928d9090b966cfeb5ba8efb18c666720a6f71449f7328e0f6075161376b876f940d7aed5190f5db
|
data/appveyor.yml
CHANGED
@@ -1,7 +1,24 @@
|
|
1
1
|
class Specinfra::Command::Gentoo::Base::Package < Specinfra::Command::Linux::Base::Package
|
2
2
|
class << self
|
3
3
|
def check_is_installed(package, version=nil)
|
4
|
-
"eix #{escape(package)} --installed | grep -v \"No matches found
|
4
|
+
"eix #{escape(package)} --installed | grep -v \"No matches found\""
|
5
|
+
end
|
6
|
+
|
7
|
+
def get_version(package, opts=nil)
|
8
|
+
"equery -q list #{package} | sed -e 's!^.*/?#{package}-!!'"
|
9
|
+
end
|
10
|
+
|
11
|
+
def install(package, version=nil, option='')
|
12
|
+
if version
|
13
|
+
full_package = "=#{package}-#{version}"
|
14
|
+
else
|
15
|
+
full_package = package
|
16
|
+
end
|
17
|
+
cmd = "emerge #{option} #{full_package}"
|
18
|
+
end
|
19
|
+
|
20
|
+
def remove(package, option='')
|
21
|
+
cmd = "emerge --unmerge #{option} #{package}"
|
5
22
|
end
|
6
23
|
end
|
7
24
|
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.66.
|
4
|
+
version: 2.66.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|