pdk 2.5.0 → 2.6.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/CHANGELOG.md +520 -1053
- data/README.md +3 -1
- data/lib/pdk/util/windows/api_types.rb +1 -1
- data/lib/pdk/version.rb +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
# pdk
|
1
|
+
# pdk
|
2
|
+
|
3
|
+
[](https://github.com/puppetlabs/pdk/actions/workflows/ci.yml) [](https://badge.fury.io/rb/pdk)
|
2
4
|
|
3
5
|
* [Installation](#installation)
|
4
6
|
* [Basic usage](#basic-usage)
|
@@ -26,7 +26,7 @@ module PDK::Util::Windows::APITypes
|
|
26
26
|
def read_wide_string(char_length, dst_encoding = Encoding::UTF_8, encode_options = {})
|
27
27
|
# char_length is number of wide chars (typically excluding NULLs), *not* bytes
|
28
28
|
str = get_bytes(0, char_length * 2).force_encoding('UTF-16LE')
|
29
|
-
str.encode(dst_encoding, str.encoding, encode_options)
|
29
|
+
str.encode(dst_encoding, str.encoding, **encode_options)
|
30
30
|
rescue StandardError => e
|
31
31
|
PDK.logger.debug _('Unable to convert value %{string} to encoding %{encoding} due to %{error}') % {
|
32
32
|
string: str.dump,
|
data/lib/pdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.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:
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -463,7 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
463
463
|
- !ruby/object:Gem::Version
|
464
464
|
version: '0'
|
465
465
|
requirements: []
|
466
|
-
rubygems_version: 3.
|
466
|
+
rubygems_version: 3.3.26
|
467
467
|
signing_key:
|
468
468
|
specification_version: 4
|
469
469
|
summary: A key part of the Puppet Development Kit, the shortest path to better modules
|