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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c156dac47ae252c7876fed18522aa9c196b049c7
4
- data.tar.gz: b9e362ca6c5007250f147561f5aec4cbfd76885b
2
+ SHA256:
3
+ metadata.gz: d58f828b590afebe91081d1913e623d0ad7e9ff811742e86afbae718f13a36b9
4
+ data.tar.gz: 050ae9d5bcc6245b62bb3262655ab9361a599ab4359591d19cf1c8c4a181a95e
5
5
  SHA512:
6
- metadata.gz: 302deda1271e22b0fc451bf7200c4dd8c6bc13626ecafefce5e324ce5c2186c1cefde07d89291def7ec876bb57b08718677eff32c57782f4f0296567faefae77
7
- data.tar.gz: 9016eced88bd4a9302460c2dbe319f156f48b9b744db8d0542f4e7a89b5def248d48dc34633af84b29e6adb404d628cfce476558e3b6ecc6b7eb4ee8c1a14d92
6
+ metadata.gz: 48a71ecd2e08a4fb3bd6f55b7eba209e80832517adbe1e402065a2ac293043edc47a06eafae63636f2280eab58a8c0d43633cf972ef8913b1a98ada39bcc8ef2
7
+ data.tar.gz: 1ff57cf575de9745c3279fded0432f09e5c001d359a6fe9a06445467ada3638ba40c23c9c7ddda887aaa52b0f26c38609afc450bc79696f3587302b4eb2e5c9b
@@ -152,7 +152,12 @@ EOF
152
152
  end
153
153
 
154
154
  def self.safe_create_spec_helper
155
- content = ERB.new(spec_helper_template, nil, '-').result(binding)
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
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.42.2"
2
+ VERSION = "2.42.3"
3
3
  end
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.2
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-16 00:00:00.000000000 Z
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
- rubyforge_project:
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