cem_acpt 0.2.7-universal-java-17 → 0.2.8-universal-java-17

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: 4d851a1f582f7ae5bbb404a443f5a9182a9870c14cf95eb91b579f7bc23ec464
4
- data.tar.gz: b99a67c2106017b09ad3fd8ae06f32e50abc5da5c0384c60d2896f86708be7b0
3
+ metadata.gz: 3bf596ee67704455f907b1d68959a733bf938051108534dad444942de893e3cf
4
+ data.tar.gz: 9d47ed4ca9975d124d2550e51bcf00c945ad5f10b21c8fb8205f27365bd7f76b
5
5
  SHA512:
6
- metadata.gz: 92c834d242c437434dc4fac8b60f196f8458f0e1b03b26fff8e23ca1d9d79e726b44386f327bdecbdb94b2048401299fdfbfdf626f02b26792aa7f77388116d7
7
- data.tar.gz: 724db71afd7efae7d8b7cb6aa572cef672ee9c705b86c293215568ec334ce706e44284054b88c972e2746a3550ea7b5d398bfe2d217a7e4b9f24aadac78297b7
6
+ metadata.gz: 16bdac45fb5384f85863967f64fa927a5bd610b483d6eab4f87cf45c55117cbe7fda818259f8b42fda621d9118bb46b8099fa7c7f5cd52a12d567691f729cc39
7
+ data.tar.gz: a3957f255f0643f6102df4c32628d21ebfe6f51d7cba25a122be80b48e5288a2569830f1a0995298db082a4bb79e64570af9de1617c3e2ed4f812a83c33f8a02
data/Gemfile CHANGED
@@ -1,7 +1,8 @@
1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
+ source 'https://rubygems.org'
2
3
 
3
4
  # Specify your gem's dependencies in cem_acpt.gemspec
4
5
  gemspec
5
6
 
6
- gem "rake", "~> 12.0"
7
- gem "rspec", "~> 3.0"
7
+ gem 'rake', '>= 12.0'
8
+ gem 'rspec', '>= 3.0'
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cem_acpt (0.2.7-universal-java-17)
5
- concurrent-ruby (~> 1.1.9)
6
- deep_merge (~> 1.2.2)
4
+ cem_acpt (0.2.8-universal-java-17)
5
+ concurrent-ruby (>= 1.1, < 2.0)
6
+ deep_merge (>= 1.2, < 2.0)
7
7
  ed25519 (>= 1.2, < 2.0)
8
- net-ssh (~> 7.0.0.beta1)
9
- puppet-modulebuilder (> 0.0.1)
8
+ net-ssh (>= 7.0, < 8.0)
9
+ puppet-modulebuilder (>= 0.0.1)
10
10
  serverspec-cem-acpt
11
11
 
12
12
  GEM
@@ -31,7 +31,7 @@ GEM
31
31
  minitar (~> 0.9)
32
32
  pathspec (>= 0.2.1, < 2.0.0)
33
33
  rainbow (3.1.1)
34
- rake (12.3.3)
34
+ rake (13.0.6)
35
35
  regexp_parser (2.5.0)
36
36
  rexml (3.2.5)
37
37
  rspec (3.11.0)
@@ -80,8 +80,8 @@ PLATFORMS
80
80
 
81
81
  DEPENDENCIES
82
82
  cem_acpt!
83
- rake (~> 12.0)
84
- rspec (~> 3.0)
83
+ rake (>= 12.0)
84
+ rspec (>= 3.0)
85
85
  rubocop
86
86
 
87
87
  BUNDLED WITH
data/cem_acpt.gemspec CHANGED
@@ -27,11 +27,11 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
  spec.platform = Gem::Platform.local
30
- spec.add_runtime_dependency 'concurrent-ruby', '~> 1.1.9'
31
- spec.add_runtime_dependency 'deep_merge', '~> 1.2.2'
30
+ spec.add_runtime_dependency 'concurrent-ruby', '>= 1.1', '< 2.0'
31
+ spec.add_runtime_dependency 'deep_merge', '>= 1.2', '< 2.0'
32
32
  spec.add_runtime_dependency 'ed25519', '>= 1.2', '< 2.0'
33
- spec.add_runtime_dependency 'net-ssh', '~> 7.0.0.beta1'
34
- spec.add_runtime_dependency 'puppet-modulebuilder', '> 0.0.1'
33
+ spec.add_runtime_dependency 'net-ssh', '>= 7.0', '< 8.0'
34
+ spec.add_runtime_dependency 'puppet-modulebuilder', '>= 0.0.1'
35
35
  spec.add_runtime_dependency 'serverspec-cem-acpt'
36
36
  spec.add_development_dependency 'rubocop'
37
37
  end
@@ -9,6 +9,7 @@ require_relative 'runner_result'
9
9
  module CemAcpt
10
10
  module TestRunner
11
11
  class RunnerError < StandardError; end
12
+
12
13
  # Error used to wrap fatal errors raised in Runner steps
13
14
  class RunnerStepError < StandardError
14
15
  attr_reader :step
@@ -19,6 +20,7 @@ module CemAcpt
19
20
  set_backtrace err.backtrace if err.respond_to?(:backtrace)
20
21
  end
21
22
  end
23
+
22
24
  class RunnerProvisionError < RunnerStepError; end
23
25
 
24
26
  # Runner is a class that runs a single acceptance test suite on a single node.
@@ -191,18 +193,16 @@ module CemAcpt
191
193
  def rspec_opts
192
194
  opts = {
193
195
  test_path: @node.test_data[:test_file],
194
- use_bundler: false,
195
- bundle_install: false,
196
- format: {
197
- json: "results_#{@node.test_data[:test_name]}.json",
198
- },
196
+ use_bundler: @context.config.get('rspec.use_bundler') || false,
197
+ bundle_install: @context.config.get('rspec.bundle_install') || false,
198
+ format: @context.config.get('rspec.format') || { json: "results_#{@node.test_data[:test_name]}.json" },
199
199
  debug: (@debug_mode && @context.config.get('verbose')),
200
200
  quiet: @context.config.get('quiet'),
201
201
  env: {
202
202
  'TARGET_HOST' => @node.node_name,
203
203
  }
204
204
  }
205
- opts[:format][:documentation] = nil unless @context.config.get('verbose')
205
+ opts[:format][:documentation] = nil unless @context.config.get('verbose') || @context.config.get('rspec.format')
206
206
  opts
207
207
  end
208
208
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemAcpt
4
- VERSION = '0.2.7'
4
+ VERSION = '0.2.8'
5
5
  end
metadata CHANGED
@@ -1,43 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_acpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: universal-java-17
6
6
  authors:
7
7
  - puppetlabs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-27 00:00:00.000000000 Z
11
+ date: 2022-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.1'
19
+ - - "<"
17
20
  - !ruby/object:Gem::Version
18
- version: 1.1.9
21
+ version: '2.0'
19
22
  name: concurrent-ruby
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.1'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 1.1.9
32
+ version: '2.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
30
- - - "~>"
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '1.2'
39
+ - - "<"
31
40
  - !ruby/object:Gem::Version
32
- version: 1.2.2
41
+ version: '2.0'
33
42
  name: deep_merge
34
43
  prerelease: false
35
44
  type: :runtime
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - "~>"
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '1.2'
50
+ - - "<"
39
51
  - !ruby/object:Gem::Version
40
- version: 1.2.2
52
+ version: '2.0'
41
53
  - !ruby/object:Gem::Dependency
42
54
  requirement: !ruby/object:Gem::Requirement
43
55
  requirements:
@@ -61,21 +73,27 @@ dependencies:
61
73
  - !ruby/object:Gem::Dependency
62
74
  requirement: !ruby/object:Gem::Requirement
63
75
  requirements:
64
- - - "~>"
76
+ - - ">="
65
77
  - !ruby/object:Gem::Version
66
- version: 7.0.0.beta1
78
+ version: '7.0'
79
+ - - "<"
80
+ - !ruby/object:Gem::Version
81
+ version: '8.0'
67
82
  name: net-ssh
68
83
  prerelease: false
69
84
  type: :runtime
70
85
  version_requirements: !ruby/object:Gem::Requirement
71
86
  requirements:
72
- - - "~>"
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '7.0'
90
+ - - "<"
73
91
  - !ruby/object:Gem::Version
74
- version: 7.0.0.beta1
92
+ version: '8.0'
75
93
  - !ruby/object:Gem::Dependency
76
94
  requirement: !ruby/object:Gem::Requirement
77
95
  requirements:
78
- - - ">"
96
+ - - ">="
79
97
  - !ruby/object:Gem::Version
80
98
  version: 0.0.1
81
99
  name: puppet-modulebuilder
@@ -83,7 +101,7 @@ dependencies:
83
101
  type: :runtime
84
102
  version_requirements: !ruby/object:Gem::Requirement
85
103
  requirements:
86
- - - ">"
104
+ - - ">="
87
105
  - !ruby/object:Gem::Version
88
106
  version: 0.0.1
89
107
  - !ruby/object:Gem::Dependency