pdk 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # pdk [![Build Status](https://travis-ci.org/puppetlabs/pdk.svg?branch=main)](https://travis-ci.org/puppetlabs/pdk) [![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/x70e2fqllbaootpd?svg=true)](https://ci.appveyor.com/project/puppetlabs/pdk) [![Coverage Status](https://coveralls.io/repos/github/puppetlabs/pdk/badge.svg?branch=main)](https://coveralls.io/github/puppetlabs/pdk?branch=main)
1
+ # pdk
2
+
3
+ [![ci](https://github.com/puppetlabs/pdk/actions/workflows/ci.yml/badge.svg)](https://github.com/puppetlabs/pdk/actions/workflows/ci.yml) [![Gem Version](https://badge.fury.io/rb/pdk.svg)](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
@@ -1,4 +1,4 @@
1
1
  module PDK
2
- VERSION = '2.5.0'.freeze
3
- TEMPLATE_REF = '2.5.0'.freeze
2
+ VERSION = '2.6.0'.freeze
3
+ TEMPLATE_REF = '2.7.1'.freeze
4
4
  end
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.5.0
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: 2022-05-17 00:00:00.000000000 Z
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.1.6
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