serverspec-runner 1.3.9 → 1.3.10

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
  SHA256:
3
- metadata.gz: e9835f39513916bffc14aeb97266efb6dd9af4ee6bfff16f966a1d6deed38be0
4
- data.tar.gz: a872b6bf70d8295d82203816848051843397ffd0e19595c538fbc3a93131d55d
3
+ metadata.gz: 2092eaa707b0a116d7835231b32a884b3a1e8ae3bf4b2d5386d54cbac6ef924f
4
+ data.tar.gz: e526f9e7687c9b704bce264e0d17100ef5e68530a37409314271cf03bd5ea493
5
5
  SHA512:
6
- metadata.gz: 2d872292ac2bdf2444913be0e21a7b888e4af8de710ee88338a612d32bbef509dc81a29fb5ea2500aa41fca96dde6a547ff82788a8f0c59cd41ee106fb212089
7
- data.tar.gz: 93bdc42f42e35d5e0ded144a81a79ab2cc9405f05c45752deed61789980b60d010d353b8ab6857cf705f7667c4a9cc31015615bdaa1108e9e657f049f0fb9426
6
+ metadata.gz: 192a3ed7894174cf768e5341f6633d3ee500e8352e35dfc608b11ab24be74de906185f2765b63a998c0460a6e542c4f562358d0c9a7b5f352273563b0d51c0be
7
+ data.tar.gz: 1e2e503544901e644d1d4b1d29e2303553b177e6b3ff854366309240828e117d107a4678580e3ab56d80d8b589a627dd3f54c894a56f6816e47ae75a01246c1e
data/Rakefile CHANGED
@@ -24,11 +24,11 @@ namespace :spec do
24
24
  end
25
25
  end
26
26
 
27
- Dir.chdir(ENV['specroot']) if Dir.exists?(ENV['specroot'])
27
+ Dir.chdir(ENV['specroot']) if Dir.exist?(ENV['specroot'])
28
28
 
29
29
  ENV['specpath'] = "#{ENV['specroot']}/spec"
30
30
  ENV['ssh_options'] = ENV['ssh_options'] || "#{ENV['specroot']}/ssh_options_default.yml" || "#{File.dirname(__FILE__)}/ssh_options_default.yml"
31
- ENV['ssh_options'] = "#{File.dirname(__FILE__)}/ssh_options_default.yml" unless File.exists?(ENV['ssh_options'])
31
+ ENV['ssh_options'] = "#{File.dirname(__FILE__)}/ssh_options_default.yml" unless File.exist?(ENV['ssh_options'])
32
32
  ssh_options = YAML.load_file(ENV['ssh_options'])
33
33
  ENV['result_csv'] = ENV['result_csv'] || './_serverspec_result.csv'
34
34
  csv_file = ENV['result_csv']
@@ -120,7 +120,7 @@ namespace :spec do
120
120
 
121
121
  fpath = task_path.gsub(/::/, '/')
122
122
 
123
- if Dir.exists?("#{ENV['specpath']}/#{fpath}")
123
+ if Dir.exist?("#{ENV['specpath']}/#{fpath}")
124
124
  t.pattern = "#{ENV['specpath']}/#{fpath}/#{spec_file_pattern}"
125
125
 
126
126
  if spec_file_exclude_pattern
@@ -146,7 +146,7 @@ namespace :spec do
146
146
  end
147
147
  end
148
148
 
149
- if !Dir.exists?(ENV['specpath'])
149
+ if !Dir.exist?(ENV['specpath'])
150
150
  init_specpath(ENV['specroot'], false)
151
151
  exit 0
152
152
  elsif ENV['activate_specroot']
@@ -1,3 +1,3 @@
1
1
  module ServerspecRunner
2
- VERSION = "1.3.9"
2
+ VERSION = "1.3.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-10 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.3.26
135
+ rubygems_version: 3.2.3
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: simple execution framework for serverspec