pdk 0.4.3 → 0.4.4
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 +13 -0
- data/README.md +4 -8
- data/lib/pdk/cli/exec.rb +3 -3
- data/lib/pdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae821da6d24883d0df5ffda8ffa0bba0b8943552
|
|
4
|
+
data.tar.gz: 8408717624413c4535373e6db19fbb877957c6bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9382d4e0a2b841b5a35c0e0031767139613be448a3e7876e21c0fc6757553cc154210d55a13ae35355e9e791c1d12498b35bacdae8b4cf850a082d3c85f0d993
|
|
7
|
+
data.tar.gz: b8c75c0a94b62659e09ec743429ec8c608827880d447001994f9eb4c11ac547bf0ae07719a4d974b8eca46e8c859753c09a725297d77901ecf6a4a9a8a08fdb0
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [v0.4.4](https://github.com/puppetlabs/pdk/tree/v0.4.4) (2017-07-18)
|
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v0.4.3...v0.4.4)
|
|
8
|
+
|
|
9
|
+
**Fixed bugs:**
|
|
10
|
+
|
|
11
|
+
- Cannot find bundler [\#166](https://github.com/puppetlabs/pdk/issues/166)
|
|
12
|
+
- Validate fails on existing module [\#158](https://github.com/puppetlabs/pdk/issues/158)
|
|
13
|
+
- \(\#158\) \(\#166\) Resolve issue loading bundler from gem installs [\#170](https://github.com/puppetlabs/pdk/pull/170) ([scotje](https://github.com/scotje))
|
|
14
|
+
- \(SDK-319\) force usage of our ruby [\#168](https://github.com/puppetlabs/pdk/pull/168) ([DavidS](https://github.com/DavidS))
|
|
15
|
+
|
|
6
16
|
## [v0.4.3](https://github.com/puppetlabs/pdk/tree/v0.4.3) (2017-07-17)
|
|
7
17
|
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v0.4.2...v0.4.3)
|
|
8
18
|
|
|
@@ -15,6 +25,7 @@ All notable changes to this project will be documented in this file.
|
|
|
15
25
|
|
|
16
26
|
**Fixed bugs:**
|
|
17
27
|
|
|
28
|
+
- Can't create module if new module fails to get login [\#157](https://github.com/puppetlabs/pdk/issues/157)
|
|
18
29
|
- \(FIXUP\) Add missing newlines in new module interview prompts [\#161](https://github.com/puppetlabs/pdk/pull/161) ([scotje](https://github.com/scotje))
|
|
19
30
|
- Use default username when Etc.getlogin fails [\#160](https://github.com/puppetlabs/pdk/pull/160) ([austb](https://github.com/austb))
|
|
20
31
|
|
|
@@ -30,12 +41,14 @@ All notable changes to this project will be documented in this file.
|
|
|
30
41
|
|
|
31
42
|
**Implemented enhancements:**
|
|
32
43
|
|
|
44
|
+
- \(SDK-306\) Use vendored development gems in package install [\#145](https://github.com/puppetlabs/pdk/pull/145) ([scotje](https://github.com/scotje))
|
|
33
45
|
- \(SDK-299\) Check metadata.json syntax before linting [\#133](https://github.com/puppetlabs/pdk/pull/133) ([rodjek](https://github.com/rodjek))
|
|
34
46
|
- \(SDK-305\) Answer file to cache module interview answers, template-url etc [\#132](https://github.com/puppetlabs/pdk/pull/132) ([rodjek](https://github.com/rodjek))
|
|
35
47
|
- \(SDK-296\) Allow target selection for the metadata validator [\#124](https://github.com/puppetlabs/pdk/pull/124) ([rodjek](https://github.com/rodjek))
|
|
36
48
|
|
|
37
49
|
**Fixed bugs:**
|
|
38
50
|
|
|
51
|
+
- \(maint\) Remove nil values from metadata before generating JSON [\#127](https://github.com/puppetlabs/pdk/pull/127) ([rodjek](https://github.com/rodjek))
|
|
39
52
|
- \(SDK-298\) Handle exception raised when an invalid report format is specified on the CLI [\#125](https://github.com/puppetlabs/pdk/pull/125) ([rodjek](https://github.com/rodjek))
|
|
40
53
|
|
|
41
54
|
## [v0.3.0](https://github.com/puppetlabs/pdk/tree/v0.3.0) (2017-06-29)
|
data/README.md
CHANGED
|
@@ -5,13 +5,9 @@ A CLI to facilitate easy, unified development workflows for Puppet modules. pdk
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Download and install the newest package matching your platform from [here](https://drive.google.com/drive/folders/0Bz0tCHSb1u41alR4MmZfRHBTV1k?usp=sharing).
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
$ gem install pdk
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
For default usage, you'll also need to have `git`, and `bundle` (from [bundler](http://bundler.io/)) on your system PATH.
|
|
10
|
+
On Windows you need to set your script execution policy to [RemoteSigned](https://technet.microsoft.com/en-us/library/ee176961.aspx), to allow the (required) PowerShell integration to work.
|
|
15
11
|
|
|
16
12
|
## Usage
|
|
17
13
|
|
|
@@ -125,7 +121,7 @@ Suppress interactive queries for initial values. All questions will use the defa
|
|
|
125
121
|
|
|
126
122
|
#### `module_name`
|
|
127
123
|
|
|
128
|
-
**Required**. Specifies the name of the module being created
|
|
124
|
+
**Required**. Specifies the name of the module being created. e.g.: `my_module`
|
|
129
125
|
|
|
130
126
|
#### `target_dir`
|
|
131
127
|
|
|
@@ -283,7 +279,7 @@ In cases where `pdk` needs to run in a working directory outside the cloned repo
|
|
|
283
279
|
bundle binstubs pdk --path ~/bin
|
|
284
280
|
```
|
|
285
281
|
|
|
286
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/puppetlabs/pdk.
|
|
282
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/puppetlabs/pdk/issues.
|
|
287
283
|
|
|
288
284
|
### Running tests
|
|
289
285
|
|
data/lib/pdk/cli/exec.rb
CHANGED
|
@@ -112,12 +112,12 @@ module PDK
|
|
|
112
112
|
@process.environment['GEM_HOME'] = File.join(PDK::Util.cachedir, 'ruby', RbConfig::CONFIG['ruby_version'])
|
|
113
113
|
|
|
114
114
|
# This allows the subprocess to find the 'bundler' gem, which isn't in the cachedir above for gem installs.
|
|
115
|
-
|
|
116
|
-
bundler_gem_path = File.absolute_path(File.join(`bundle show bundler`, '..', '..'))
|
|
115
|
+
bundler_gem_path = File.absolute_path(File.join(`gem which bundler`, '..', '..', '..', '..'))
|
|
117
116
|
@process.environment['GEM_PATH'] = bundler_gem_path
|
|
118
117
|
end
|
|
119
118
|
|
|
120
|
-
#
|
|
119
|
+
# Make sure invocation of Ruby prefers our private installation.
|
|
120
|
+
@process.environment['PATH'] = [RbConfig::CONFIG['bindir'], ENV['PATH']].compact.join(File::PATH_SEPARATOR)
|
|
121
121
|
|
|
122
122
|
mod_root = PDK::Util.module_root
|
|
123
123
|
|
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: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
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-07-
|
|
11
|
+
date: 2017-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|