cem_win_spec 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 000454f69f3ea2722dcd11ec105a5ebe617301d076a2c1772cb530d8275e0f11
4
- data.tar.gz: 1d2635cc5f330baa755482c5738901e2e79aeabd585200db5ee0ef218cd9decf
3
+ metadata.gz: 1b5689dd8fae43d58612457473f06c19baa7e798443f6393c87dda2c84b1a2f4
4
+ data.tar.gz: 1535bc2325b68cdb08475020b79e1d1d96df40803800e13c5b273cf6e63778f6
5
5
  SHA512:
6
- metadata.gz: d8d28e53eeb77001c89b81a9140be2783278c528fa1dc92aef59b7154cd0174fba47b534d346977135e9465115b74981d9bfdd04eb35952a612e80dea71657a4
7
- data.tar.gz: 0d4b7117383ab02ee03c0d8f19f75be611a3e678dd973140844f9316d651db7bc0263ed0f4354fda64893b498a344128adb6e44dcb999030bef66445dc4cd0f9
6
+ metadata.gz: d58a1f16b67591c42c7566cb102023ab07f5706d0638fc5b2d89cdc4bf1c4d89101779faec8dd864b220b2edd663bd1004e721d5f91db0616af98557ab962ff9
7
+ data.tar.gz: cafa3f69e03a737e06f840afd92abe2cc8c95d7f83cb8bfa5c043b2656ab59bec868c84467c3da6ee060451bd0515cfe4fc57c8fb21a73c7c15807fb3edc690f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cem_win_spec (0.1.8)
4
+ cem_win_spec (0.1.9)
5
5
  parallel_tests (~> 3.4)
6
6
  puppet_forge (~> 4.1)
7
7
  winrm (~> 2.3)
@@ -34,7 +34,7 @@ GEM
34
34
  httpclient (2.8.3)
35
35
  json (2.8.2)
36
36
  little-plugger (1.1.4)
37
- logger (1.6.5)
37
+ logger (1.7.0)
38
38
  logging (2.4.0)
39
39
  little-plugger (~> 1.1)
40
40
  multi_json (~> 1.14)
@@ -38,7 +38,7 @@ module CemWinSpec
38
38
 
39
39
  class << self
40
40
  def log_setup!(options = {})
41
- console_l_level = if options[:debug]
41
+ console_l_level = if (options.key?(:debug) && options[:debug]) || ENV['RUNNER_DEBUG']
42
42
  new_log_level('debug')
43
43
  else
44
44
  new_log_level('info')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemWinSpec
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.9"
5
5
  end
data/lib/cem_win_spec.rb CHANGED
@@ -58,8 +58,12 @@ module CemWinSpec
58
58
  case operation
59
59
  when :spec
60
60
  run_spec(runner, module_dir, **options)
61
+ # We set this to 0 if the tests pass because this can be set to 1 earlier by commands that fail and retry.
62
+ self.exit_code = 0
61
63
  when :clean_fixture_cache
62
64
  clean_fixture_cache(runner, module_dir, **options)
65
+ # We set this to 0 if the tests pass because this can be set to 1 earlier by commands that fail and retry.
66
+ self.exit_code = 0
63
67
  else
64
68
  raise ArgumentError, "Unknown operation: #{operation}"
65
69
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_win_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heston Snodgrass
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-20 00:00:00.000000000 Z
11
+ date: 2025-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: winrm