serverspec 2.42.2 → 2.42.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/serverspec/setup.rb +6 -1
- data/lib/serverspec/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d58f828b590afebe91081d1913e623d0ad7e9ff811742e86afbae718f13a36b9
|
4
|
+
data.tar.gz: 050ae9d5bcc6245b62bb3262655ab9361a599ab4359591d19cf1c8c4a181a95e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a71ecd2e08a4fb3bd6f55b7eba209e80832517adbe1e402065a2ac293043edc47a06eafae63636f2280eab58a8c0d43633cf972ef8913b1a98ada39bcc8ef2
|
7
|
+
data.tar.gz: 1ff57cf575de9745c3279fded0432f09e5c001d359a6fe9a06445467ada3638ba40c23c9c7ddda887aaa52b0f26c38609afc450bc79696f3587302b4eb2e5c9b
|
data/lib/serverspec/setup.rb
CHANGED
@@ -152,7 +152,12 @@ EOF
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def self.safe_create_spec_helper
|
155
|
-
|
155
|
+
erb = if RUBY_VERSION >= "2.6"
|
156
|
+
ERB.new(spec_helper_template, :trim_mode => '-')
|
157
|
+
else
|
158
|
+
ERB.new(spec_helper_template, nil, '-')
|
159
|
+
end
|
160
|
+
content = erb.result(binding)
|
156
161
|
if File.exist? 'spec/spec_helper.rb'
|
157
162
|
old_content = File.read('spec/spec_helper.rb')
|
158
163
|
if old_content != content
|
data/lib/serverspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.42.
|
4
|
+
version: 2.42.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -321,8 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
321
321
|
- !ruby/object:Gem::Version
|
322
322
|
version: '0'
|
323
323
|
requirements: []
|
324
|
-
|
325
|
-
rubygems_version: 2.5.1
|
324
|
+
rubygems_version: 3.1.2
|
326
325
|
signing_key:
|
327
326
|
specification_version: 4
|
328
327
|
summary: RSpec tests for your servers configured by Puppet, Chef, Itamae or anything
|