pdk 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76d75266029f107ff75f5a1e5c14bfc7718d9a7c
4
- data.tar.gz: 8b887e5e08f884f3f396d9139db7b482b9a17fac
3
+ metadata.gz: ae821da6d24883d0df5ffda8ffa0bba0b8943552
4
+ data.tar.gz: 8408717624413c4535373e6db19fbb877957c6bd
5
5
  SHA512:
6
- metadata.gz: df4242d4ee79025134512255be1aaa02d1662b6b8a68314892194ed4b7a00e3db031f6da629227463ad1940da5f2a46d66ee7c9daaa333ddb7420129a3c0ed47
7
- data.tar.gz: 40c91970b0ab583ce9143a50625a2f4efa5dba5cac18208d3ea4eef952bb5a799bf729c4192902a957635ca2434487d0852fccb354841d321e84588bf50a6424
6
+ metadata.gz: 9382d4e0a2b841b5a35c0e0031767139613be448a3e7876e21c0fc6757553cc154210d55a13ae35355e9e791c1d12498b35bacdae8b4cf850a082d3c85f0d993
7
+ data.tar.gz: b8c75c0a94b62659e09ec743429ec8c608827880d447001994f9eb4c11ac547bf0ae07719a4d974b8eca46e8c859753c09a725297d77901ecf6a4a9a8a08fdb0
@@ -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
- 1. Until Puppet Development Kit packaging is available, install `pdk` into your Ruby installation with:
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, including the namespace. e.g.: `username-my_module`
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
 
@@ -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
- # bundler_gem_path = File.absolute_path(File.join(Gem.loaded_specs['bundler'].gem_dir, '..', '..', '..', '..', '..'))
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
- # TODO: we should probably more carefully manage PATH and maybe other things too
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
 
@@ -1,3 +1,3 @@
1
1
  module PDK
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  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: 0.4.3
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-17 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler