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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53b91a4d39a49bc34609b258c0bfed03be8d89ff
4
- data.tar.gz: 5b9abc16f465328b48f9990fedf7cae70f5e0f15
3
+ metadata.gz: 226b32c28717bda5186b1c3fb65f2c80c865a3ac
4
+ data.tar.gz: 4a3796492424897cd3d75a4e365e7e82789f9a73
5
5
  SHA512:
6
- metadata.gz: 5ca466828c6a704c5c18878e4c3b5e4f85127bc3be99f657a75a285e346b0ed4073d5aa2c58d248f2e716d2ec7e81b3b83e141174ef78954c6bafcc3b454ede0
7
- data.tar.gz: 8e55635865c4ae3239376a82ce08261c7856079802f348da27ad814552ebdeebf18b32a2ed2904dde5122b7b0b9f2f28ffb1f9b648fb5dc01f50be12255d3dda
6
+ metadata.gz: 6393d2adc36b4741a3fd1b60d2737c276bd645de873c13de9b2a7042c6b79c4f887d7078230b1e5572152f53e80e4ca721db2d2a19b52df6039a95b6eb2bf265
7
+ data.tar.gz: 4aa4b0247849581e8040c8e89bddab8d56dd0fefe9720e3bb928d9090b966cfeb5ba8efb18c666720a6f71449f7328e0f6075161376b876f940d7aed5190f5db
data/appveyor.yml CHANGED
@@ -14,6 +14,10 @@ environment:
14
14
  - ruby_version: "21"
15
15
  - ruby_version: "22"
16
16
 
17
+ matrix:
18
+ allow_failures:
19
+ - ruby_version: "193"
20
+
17
21
  clone_depth: 5
18
22
 
19
23
  cache:
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.66.0"
2
+ VERSION = "2.66.1"
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.66.0
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-05 00:00:00.000000000 Z
11
+ date: 2016-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp