pdk 2.5.0 → 2.6.1

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)
@@ -13,16 +15,17 @@ PDK includes testing tools, a complete module skeleton, and command line tools t
13
15
 
14
16
  PDK includes the following tools:
15
17
 
16
- Tool | Description
17
- ----------------|-------------------------
18
- metadata-json-lint | Validates and lints `metadata.json` files in modules against Puppet's module metadatastyle guidelines.
19
- pdk | Command line tool for generating and testing modules
20
- puppet-lint | Checks your Puppet code against the recommendations in the Puppet Language style guide.
21
- puppet-syntax | Checks for correct syntax in Puppet manifests, templates, and Hiera YAML.
22
- puppetlabs_spec_helper | Provides classes, methods, and Rake tasks to help with spec testing Puppet code.
23
- rspec-puppet | Tests the behavior of Puppet when it compiles your manifests into a catalog of Puppet resources.
24
- rspec-puppet-facts | Adds support for running rspec-puppet tests against the facts for your supported operating systems.
25
- puppet-debugger | Provides a REPL based debugger console.
18
+ |Tool|Description|Owned by Puppet|
19
+ |----|-----------|---------------|
20
+ |facterdb|A gem that contains facts for Operating Systems.| N |
21
+ |metadata-json-lint|Validates and lints `metadata.json` files in modules against Puppet module metadata style guidelines.| N |
22
+ |pdk|Tool to generate and test modules and module content, such as classes, from the command line.| Y |
23
+ |puppet-debugger|Provides a REPL based debugger console.| N |
24
+ |puppet-lint|Checks your Puppet code against the recommendations in the Puppet language style guide.| Y |
25
+ |puppet-syntax|Checks for correct syntax in Puppet manifests, templates, and Hiera YAML.| N |
26
+ |puppetlabs_spec_helper|Provides classes, methods, and Rake tasks to help with spec testing Puppet code.| Y |
27
+ |rspec-puppet|Tests the behavior of Puppet when it compiles your manifests into a catalog of Puppet resources.| Y |
28
+ |rspec-puppet-facts|Adds support for running `rspec-puppet` tests against the facts for your supported operating systems.| N |
26
29
 
27
30
 
28
31
  ## Installation
@@ -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.1'.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.1
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-26 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