pdk 1.0.0 → 1.0.1
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 +9 -0
- data/README.md +4 -2
- data/lib/pdk/cli/exec.rb +2 -0
- data/lib/pdk/cli/util/interview.rb +0 -1
- data/lib/pdk/version.rb +1 -1
- metadata +5 -6
- data/lib/pdk/monkey_patches.rb +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcc06dd1bb15914599e1f9549ce2e32c8e405956
|
|
4
|
+
data.tar.gz: e55eea6fef1c132bb4f8e768f831027c915e78b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 967bf04aec5d1e9f9fc2a6d9c3ae1c71d571ccbe4d29558a6c4582f5656866e1bdd68b3824edc036bb2fc2766cff78fce79513433401746adbb4cbfe73e37822
|
|
7
|
+
data.tar.gz: fad2d24ea55c88ebcbaee911c731e374d96d5f4e3d1d6c8e66229e5f256e5a7fb985534deffb8312698cdcf266bddc95788d58c5cd893d34d6fc3316394049bb
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [v1.0.1](https://github.com/puppetlabs/pdk/tree/v1.0.1) (2017-08-17)
|
|
7
|
+
|
|
8
|
+
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v1.0.0...v1.0.1)
|
|
9
|
+
|
|
10
|
+
**Fixed bugs:**
|
|
11
|
+
|
|
12
|
+
- \(MAINT\) Add package bin path to subprocess PATH [\#261](https://github.com/puppetlabs/pdk/pull/261) ([austb](https://github.com/austb))
|
|
13
|
+
- \(MAINT\) Bump tty-prompt ver, remove monkey patch [\#260](https://github.com/puppetlabs/pdk/pull/260) ([austb](https://github.com/austb))
|
|
14
|
+
|
|
6
15
|
## [v1.0.0](https://github.com/puppetlabs/pdk/tree/v1.0.0) (2017-08-15)
|
|
7
16
|
|
|
8
17
|
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v0.6.0...v1.0.0)
|
data/README.md
CHANGED
|
@@ -49,8 +49,10 @@ This command asks a series of metadata questions and then generates the basic co
|
|
|
49
49
|
|
|
50
50
|
To generate a class in your module, use the `pdk new class` command, specifying the name of your new class. To generate the main class of the module, which is defined in an `init.pp` file, give the class the same name as the module.
|
|
51
51
|
|
|
52
|
-
1. From the command line, in your module's directory, run
|
|
53
|
-
|
|
52
|
+
1. From the command line, in your module's directory, run:
|
|
53
|
+
```
|
|
54
|
+
pdk new class class_name
|
|
55
|
+
```
|
|
54
56
|
|
|
55
57
|
PDK creates the new class manifest and a test file (as `class_name_spec.rb`) in your module's `/spec/classes` directory.
|
|
56
58
|
|
data/lib/pdk/cli/exec.rb
CHANGED
|
@@ -148,10 +148,12 @@ module PDK
|
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
# Make sure invocation of Ruby prefers our private installation.
|
|
151
|
+
package_binpath = PDK::Util.package_install? ? File.join(PDK::Util.pdk_package_basedir, 'bin') : nil
|
|
151
152
|
@process.environment['PATH'] = [
|
|
152
153
|
RbConfig::CONFIG['bindir'],
|
|
153
154
|
File.join(@process.environment['GEM_HOME'], 'bin'),
|
|
154
155
|
File.join(@process.environment['GEM_PATH'], 'bin'),
|
|
156
|
+
package_binpath,
|
|
155
157
|
ENV['PATH'],
|
|
156
158
|
].compact.join(File::PATH_SEPARATOR)
|
|
157
159
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.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: 2017-08-
|
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -86,14 +86,14 @@ dependencies:
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 0.13.
|
|
89
|
+
version: 0.13.1
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 0.13.
|
|
96
|
+
version: 0.13.1
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: json_pure
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -173,7 +173,6 @@ files:
|
|
|
173
173
|
- lib/pdk/logger.rb
|
|
174
174
|
- lib/pdk/module/metadata.rb
|
|
175
175
|
- lib/pdk/module/templatedir.rb
|
|
176
|
-
- lib/pdk/monkey_patches.rb
|
|
177
176
|
- lib/pdk/report.rb
|
|
178
177
|
- lib/pdk/report/event.rb
|
|
179
178
|
- lib/pdk/template_file.rb
|
|
@@ -217,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
216
|
version: '0'
|
|
218
217
|
requirements: []
|
|
219
218
|
rubyforge_project:
|
|
220
|
-
rubygems_version: 2.
|
|
219
|
+
rubygems_version: 2.6.12
|
|
221
220
|
signing_key:
|
|
222
221
|
specification_version: 4
|
|
223
222
|
summary: A key part of the Puppet Development Kit, the shortest path to better modules
|