pdk 1.0.0 → 1.0.1

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: 12446b239a4b17f9ed1845579d087414bdacbd77
4
- data.tar.gz: 2779afaa6e16fb2476fe9a3a8b914c8767f26aeb
3
+ metadata.gz: fcc06dd1bb15914599e1f9549ce2e32c8e405956
4
+ data.tar.gz: e55eea6fef1c132bb4f8e768f831027c915e78b8
5
5
  SHA512:
6
- metadata.gz: 79144605c521beafd6e98ce924b114f69ed1c0c662c5896846e248ea54d80061973ec557efc829dfc8ec054ee21ff744279bb1cf037a244cdaa1cdac73d93baa
7
- data.tar.gz: ec55661f0d0d7a15a96b7049c22f201ac4b55af5732ec99d56decadafef1fccd18a0b5888ba80a18c3352c7a52ea7fb57ee83062aaf890c58d216f8561d47d37
6
+ metadata.gz: 967bf04aec5d1e9f9fc2a6d9c3ae1c71d571ccbe4d29558a6c4582f5656866e1bdd68b3824edc036bb2fc2766cff78fce79513433401746adbb4cbfe73e37822
7
+ data.tar.gz: fad2d24ea55c88ebcbaee911c731e374d96d5f4e3d1d6c8e66229e5f256e5a7fb985534deffb8312698cdcf266bddc95788d58c5cd893d34d6fc3316394049bb
@@ -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 `pdk new class class_name`.
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
 
@@ -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
 
@@ -1,5 +1,4 @@
1
1
  require 'tty-prompt'
2
- require 'pdk/monkey_patches'
3
2
 
4
3
  module PDK
5
4
  module CLI
@@ -1,3 +1,3 @@
1
1
  module PDK
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.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: 1.0.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-15 00:00:00.000000000 Z
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.0
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.0
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.5.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
@@ -1,13 +0,0 @@
1
- require 'tty-prompt'
2
-
3
- module TTY
4
- class Prompt
5
- class Reader
6
- class WinConsole
7
- def get_char_non_blocking # rubocop:disable Style/AccessorMethodName
8
- WinAPI.getch.chr
9
- end
10
- end
11
- end
12
- end
13
- end