ruby-pwsh 2.0.1 → 2.1.0
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 +4 -4
- data/lib/pwsh/version.rb +1 -1
- data/spec/acceptance/dsc/cim_instances.rb +1 -1
- data/spec/acceptance/dsc/complex.rb +3 -3
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdd18168a3a6fe49791f6f3452ac2d0a57095e2cc0282ebe87705e57826025a3
|
|
4
|
+
data.tar.gz: 55a6ca4cc69c47bac20ae5fce610a8a231163a6d9b433f88ee3478a0ebb2d99b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96a53d1e796ae8095549e8208d70889d4955c86fe8da348a37036d3ab9096593a8bebffd75541eacab33d8d0d6e43a07e38be116f544b8c1069066e682c2ec9f
|
|
7
|
+
data.tar.gz: 2ea225d33feada65d2075e1a565d57b6d8055fd4742581c7d719bfaacf373b94048eb4fe091442c7ed62ed744e4519f9744a7a72226cb9af58b2d15ad7697332
|
data/lib/pwsh/version.rb
CHANGED
|
@@ -67,7 +67,7 @@ RSpec.describe 'DSC Acceptance: Complex' do
|
|
|
67
67
|
expect(first_run_result[:exitcode]).to be(2)
|
|
68
68
|
# Access Control Set
|
|
69
69
|
expect(first_run_result[:native_stdout]).to match(/dsc_accesscontrollist: dsc_accesscontrollist changed/)
|
|
70
|
-
expect(first_run_result[:native_stdout]).to match(%r{dsc_ntfsaccessentry\[{
|
|
70
|
+
expect(first_run_result[:native_stdout]).to match(%r{dsc_ntfsaccessentry\[\{:?name(?:=>|: )"Test", :?dsc_path(?:=>|: )".+/spec/fixtures/access_control"\}\]: Updating: Finished})
|
|
71
71
|
expect(first_run_result[:stderr]).not_to match(/Error/)
|
|
72
72
|
expect(first_run_result[:stderr]).not_to match(/Warning: Provider returned data that does not match the Type Schema/)
|
|
73
73
|
expect(first_run_result[:stderr]).not_to match(/Value type mismatch/)
|
|
@@ -114,10 +114,10 @@ RSpec.describe 'DSC Acceptance: Complex' do
|
|
|
114
114
|
expect(first_run_result[:exitcode]).to be(2)
|
|
115
115
|
# The Default Site is stopped
|
|
116
116
|
expect(first_run_result[:native_stdout]).to match(%r{Dsc_xwebsite\[DefaultSite\]/dsc_state: dsc_state changed 'Started' to 'Stopped'})
|
|
117
|
-
expect(first_run_result[:native_stdout]).to match(/dsc_xwebsite\[{
|
|
117
|
+
expect(first_run_result[:native_stdout]).to match(/dsc_xwebsite\[\{:?name(?:=>|: )"DefaultSite", :?dsc_name(?:=>|: )"Default Web Site"\}\]: Updating: Finished/)
|
|
118
118
|
# AspNet45 is installed
|
|
119
119
|
expect(first_run_result[:native_stdout]).to match(%r{Dsc_xwindowsfeature\[AspNet45\]/dsc_ensure: dsc_ensure changed 'Absent' to 'Present'})
|
|
120
|
-
expect(first_run_result[:native_stdout]).to match(/dsc_xwindowsfeature\[{
|
|
120
|
+
expect(first_run_result[:native_stdout]).to match(/dsc_xwindowsfeature\[\{:?name(?:=>|: )"AspNet45", :?dsc_name(?:=>|: )"Web-Asp-Net45"\}\]: Creating: Finished/)
|
|
121
121
|
# Web content folder created
|
|
122
122
|
expect(first_run_result[:native_stdout]).to match(%r{File\[WebContentFolder\]/ensure: created})
|
|
123
123
|
# Web content index created
|
|
@@ -128,7 +128,7 @@ RSpec.describe 'DSC Acceptance: Complex' do
|
|
|
128
128
|
expect(first_run_result[:native_stdout]).to match(%r{Dsc_xwebsite\[NewWebsite\]/dsc_physicalpath: dsc_physicalpath changed.*to '.+fixtures/website'})
|
|
129
129
|
expect(first_run_result[:native_stdout]).to match(%r{Dsc_xwebsite\[NewWebsite\]/dsc_state: dsc_state changed.*to 'Started'})
|
|
130
130
|
expect(first_run_result[:native_stdout]).to match(%r{Dsc_xwebsite\[NewWebsite\]/dsc_serverautostart: dsc_serverautostart changed.*to 'true'})
|
|
131
|
-
expect(first_run_result[:native_stdout]).to match(/dsc_xwebsite\[{
|
|
131
|
+
expect(first_run_result[:native_stdout]).to match(/dsc_xwebsite\[\{:?name(?:=>|: )"NewWebsite", :?dsc_name(?:=>|: )"Puppet DSC Site"\}\]: Creating: Finished/)
|
|
132
132
|
# Run finished
|
|
133
133
|
expect(first_run_result[:native_stdout]).to match(/Applied catalog/)
|
|
134
134
|
# Second run is idempotent
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-pwsh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
12
|
-
dependencies:
|
|
11
|
+
date: 2026-09-07 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rexml
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
description: PowerShell code manager for ruby.
|
|
14
28
|
email:
|
|
15
29
|
- info@puppet.com
|