specinfra 2.81.0 → 2.82.0

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: 111c7d5597fd8dd3b5e7cd5d579116f0d737a8a7
4
- data.tar.gz: deb4176282e0c2cf3ebbeeaa4762d8dcb6ddba91
3
+ metadata.gz: 8ee668e2218ac81f2c5923f2b0645ee4ae2785ac
4
+ data.tar.gz: d24f04055801591f241943f11d7cbe8840bfa6df
5
5
  SHA512:
6
- metadata.gz: d4c1a4b94b2d292c1ea6377df2663a378061b9e4fb81d99f330f20fab0f857191d8008d8ccf86ed361f81227d50b1c3811cc51ff011f9db08d0fb351b32bfa27
7
- data.tar.gz: b450a2fe01de72c1c3df2ee0bd944253e95bb042c25f36e9def21e5fa391ec1e68c0f848b92506cda6fa9bcee83449c274a8123d42532dff96c7483d9349e60f
6
+ metadata.gz: bd5b7d2907d5b2c5ff10b234c0773e02419dc2bbdf4bad6ec369ba237e1924a1f76750ae2b6567f9865359033c718d2f5d34a872d5a0f30bbe3046476cd746c5
7
+ data.tar.gz: 400bddcdc66e3b018383ea26209ce6b5caa32779d1565de9940f322d1f37923da4b0f6460fcf3c091557b1f2284c5ca5d3275b8aa151433853023af8bc2d8b12
@@ -1,2 +1,11 @@
1
1
  class Specinfra::Command::Redhat::Base::Host < Specinfra::Command::Base::Host
2
+ class << self
3
+ def create(os_info=nil)
4
+ if (os_info || os)[:release].to_i < 7
5
+ self
6
+ else
7
+ Specinfra::Command::Redhat::V7::Host
8
+ end
9
+ end
10
+ end
2
11
  end
@@ -1,2 +1,11 @@
1
1
  class Specinfra::Command::Redhat::Base::Port < Specinfra::Command::Base::Port
2
+ class << self
3
+ def create(os_info=nil)
4
+ if (os_info || os)[:release].to_i < 7
5
+ self
6
+ else
7
+ Specinfra::Command::Redhat::V7::Port
8
+ end
9
+ end
10
+ end
2
11
  end
@@ -1,2 +1,11 @@
1
1
  class Specinfra::Command::Redhat::Base::Service < Specinfra::Command::Linux::Base::Service
2
+ class << self
3
+ def create(os_info=nil)
4
+ if (os_info || os)[:release].to_i < 7
5
+ self
6
+ else
7
+ Specinfra::Command::Redhat::V7::Service
8
+ end
9
+ end
10
+ end
2
11
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.81.0"
2
+ VERSION = "2.82.0"
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.81.0
4
+ version: 2.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-01 00:00:00.000000000 Z
11
+ date: 2019-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp