chef-sugar-ng 5.1.8 → 5.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/sugar/architecture.rb +2 -2
- data/lib/chef/sugar/docker.rb +2 -2
- data/lib/chef/sugar/kitchen.rb +2 -2
- data/lib/chef/sugar/platform.rb +1 -1
- data/lib/chef/sugar/platform_family.rb +1 -1
- data/lib/chef/sugar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9456a143bb22eee2c366a831f4a0d26ca9f213eb44b4ea87ebe0e8dc57f219ee
|
4
|
+
data.tar.gz: 1e80cfc9d0acacbfddfdf75ba5f0fff6cc254a117e0c4b723d558c5f6a0e0ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a57bdc40e7956a5d27a0313d71c028d9de512b31b00f93322db73bbe2722f1aa6f7cbb846c6753fdf5c5d7cfe3bcf005848f6f268fb7b29327e1dfdfbf21b64a
|
7
|
+
data.tar.gz: 976f47acdf04b888f3048920a02ce27146413639d5b610663c60b197bd62f0618db7a133c294ae1cc3151335412e803ddddd5dc4131f52fde83864f7971ae523
|
@@ -20,7 +20,7 @@ class Chef
|
|
20
20
|
extend self
|
21
21
|
|
22
22
|
# these helpers have been moved to core-chef
|
23
|
-
|
23
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
24
24
|
#
|
25
25
|
# Determine if the current architecture is 64-bit
|
26
26
|
#
|
@@ -136,7 +136,7 @@ class Chef
|
|
136
136
|
end
|
137
137
|
|
138
138
|
module DSL
|
139
|
-
|
139
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
140
140
|
# @see Chef::Sugar::Architecture#_64_bit?
|
141
141
|
def _64_bit?; Chef::Sugar::Architecture._64_bit?(node); end
|
142
142
|
|
data/lib/chef/sugar/docker.rb
CHANGED
@@ -20,7 +20,7 @@ class Chef
|
|
20
20
|
extend self
|
21
21
|
|
22
22
|
# these helpers have been moved to core chef
|
23
|
-
|
23
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
24
24
|
#
|
25
25
|
# Returns true if the current node is a docker container.
|
26
26
|
#
|
@@ -36,7 +36,7 @@ class Chef
|
|
36
36
|
end
|
37
37
|
|
38
38
|
module DSL
|
39
|
-
|
39
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
40
40
|
# @see Chef::Sugar::Docker#docker?
|
41
41
|
def docker?; Chef::Sugar::Docker.docker?(node); end
|
42
42
|
end
|
data/lib/chef/sugar/kitchen.rb
CHANGED
@@ -20,7 +20,7 @@ class Chef
|
|
20
20
|
extend self
|
21
21
|
|
22
22
|
# these helpers have been moved to core-chef
|
23
|
-
|
23
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
24
24
|
#
|
25
25
|
# Returns true if the current node is provisioned by Test Kitchen.
|
26
26
|
#
|
@@ -36,7 +36,7 @@ class Chef
|
|
36
36
|
end
|
37
37
|
|
38
38
|
module DSL
|
39
|
-
|
39
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
40
40
|
# @see Chef::Sugar::Kitchen#kitchen?
|
41
41
|
def kitchen?; Chef::Sugar::Kitchen.kitchen?(node); end
|
42
42
|
end
|
data/lib/chef/sugar/platform.rb
CHANGED
@@ -122,7 +122,7 @@ class Chef
|
|
122
122
|
end
|
123
123
|
|
124
124
|
# these helpers have been moved to core chef
|
125
|
-
|
125
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
126
126
|
#
|
127
127
|
# Determine if the current node is linux mint.
|
128
128
|
#
|
@@ -20,7 +20,7 @@ class Chef
|
|
20
20
|
extend self
|
21
21
|
|
22
22
|
# these helpers have been moved to core chef
|
23
|
-
|
23
|
+
if !defined?(Chef::VERSION) || Gem::Requirement.new("< 15.4.70").satisfied_by?(Gem::Version.new(Chef::VERSION))
|
24
24
|
|
25
25
|
#
|
26
26
|
# Determine if the current node is a member of the arch family.
|
data/lib/chef/sugar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-sugar-ng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A series of helpful sugar of the Chef core and other resources to make
|
14
14
|
a cleaner, more lean recipe DSL, enforce DRY principles, and make writing Chef recipes
|