specinfra 2.75.1 → 2.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/stale.yml +18 -0
- data/lib/specinfra/helper/detect_os.rb +1 -0
- data/lib/specinfra/helper/detect_os/photon.rb +14 -0
- data/lib/specinfra/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2561559439da184628d8f8783706c1d0102c5fd
|
|
4
|
+
data.tar.gz: dfefe546d7b6f406aaac4cbf8e390e44140783d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14b33d70f5a48065871921390f34231da6e475ad479ebc54105f2b8cc036b72724a5ff17dcc12e9042a6c8f130367e30b07f0f6107b9ea33196def108937af83
|
|
7
|
+
data.tar.gz: b503b1958e1ca6309597492b4ea136ab636da83c64354e39c70037adb0559f75f38ce9596d05223160f4717541f1db99b4956f0678666834a201f75d843dbe2e
|
data/.github/stale.yml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Number of days of inactivity before an issue becomes stale
|
|
2
|
+
daysUntilStale: 60
|
|
3
|
+
# Number of days of inactivity before a stale issue is closed
|
|
4
|
+
daysUntilClose: 7
|
|
5
|
+
# Issues with these labels will never be considered stale
|
|
6
|
+
exemptLabels:
|
|
7
|
+
- pinned
|
|
8
|
+
- security
|
|
9
|
+
# Label to use when marking an issue as stale
|
|
10
|
+
staleLabel: wontfix
|
|
11
|
+
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
12
|
+
markComment: >
|
|
13
|
+
This issue has been automatically marked as stale because it has not had
|
|
14
|
+
recent activity. It will be closed if no further activity occurs. Thank you
|
|
15
|
+
for your contributions.
|
|
16
|
+
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
17
|
+
closeComment: false
|
|
18
|
+
|
|
@@ -32,6 +32,7 @@ require 'specinfra/helper/detect_os/freebsd'
|
|
|
32
32
|
require 'specinfra/helper/detect_os/gentoo'
|
|
33
33
|
require 'specinfra/helper/detect_os/nixos'
|
|
34
34
|
require 'specinfra/helper/detect_os/openbsd'
|
|
35
|
+
require 'specinfra/helper/detect_os/photon'
|
|
35
36
|
require 'specinfra/helper/detect_os/plamo'
|
|
36
37
|
require 'specinfra/helper/detect_os/poky'
|
|
37
38
|
require 'specinfra/helper/detect_os/redhat'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
class Specinfra::Helper::DetectOs::Photon < Specinfra::Helper::DetectOs
|
|
2
|
+
def detect
|
|
3
|
+
if run_command('ls /etc/os-release').success?
|
|
4
|
+
line = run_command('cat /etc/os-release').stdout
|
|
5
|
+
if line =~ /ID=photon/
|
|
6
|
+
family = 'photon'
|
|
7
|
+
if line =~ /VERSION_ID=(\d+\.\d+|\d+)/
|
|
8
|
+
release = $1
|
|
9
|
+
end
|
|
10
|
+
{ :family => family, :release => release }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
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.
|
|
4
|
+
version: 2.76.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: 2018-08-
|
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-scp
|
|
@@ -157,6 +157,7 @@ executables: []
|
|
|
157
157
|
extensions: []
|
|
158
158
|
extra_rdoc_files: []
|
|
159
159
|
files:
|
|
160
|
+
- ".github/stale.yml"
|
|
160
161
|
- ".gitignore"
|
|
161
162
|
- ".gitmodules"
|
|
162
163
|
- ".travis.yml"
|
|
@@ -492,6 +493,7 @@ files:
|
|
|
492
493
|
- lib/specinfra/helper/detect_os/gentoo.rb
|
|
493
494
|
- lib/specinfra/helper/detect_os/nixos.rb
|
|
494
495
|
- lib/specinfra/helper/detect_os/openbsd.rb
|
|
496
|
+
- lib/specinfra/helper/detect_os/photon.rb
|
|
495
497
|
- lib/specinfra/helper/detect_os/plamo.rb
|
|
496
498
|
- lib/specinfra/helper/detect_os/poky.rb
|
|
497
499
|
- lib/specinfra/helper/detect_os/redhat.rb
|