pdk 0.4.1 → 0.4.2
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 +8 -0
- data/lib/pdk/cli/util/interview.rb +4 -4
- data/lib/pdk/generators/module.rb +1 -1
- 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: 52a991fe12ecd24520bdaed3e3f1ed1577db8872
|
|
4
|
+
data.tar.gz: bc54e71ebd0df4343e374d759388b68bd5803a8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c54335168cb059b850593b8f27fb9b88026b29f64f9c0a0b5908217e9a463fb7cf6665d5715578b8c0c989dce2ea231482fd72e5328ab4c7fdaa6ab45163621
|
|
7
|
+
data.tar.gz: 43170b01a0bd8ebfe1ce1e8c0d0781d301e73bb66bef587be6943dfbca2887ac96c08180042d11c501551a1416ddc6ae8f87a48fed28e9a77843b0b5f084feef
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [v0.4.2](https://github.com/puppetlabs/pdk/tree/v0.4.2) (2017-07-17)
|
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v0.4.1...v0.4.2)
|
|
8
|
+
|
|
9
|
+
**Fixed bugs:**
|
|
10
|
+
|
|
11
|
+
- \(FIXUP\) Add missing newlines in new module interview prompts [\#161](https://github.com/puppetlabs/pdk/pull/161) ([scotje](https://github.com/scotje))
|
|
12
|
+
- Use default username when Etc.getlogin fails [\#160](https://github.com/puppetlabs/pdk/pull/160) ([austb](https://github.com/austb))
|
|
13
|
+
|
|
6
14
|
## [v0.4.1](https://github.com/puppetlabs/pdk/tree/v0.4.1) (2017-07-14)
|
|
7
15
|
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v0.4.0...v0.4.1)
|
|
8
16
|
|
|
@@ -27,9 +27,9 @@ module PDK
|
|
|
27
27
|
num_questions = @questions.count
|
|
28
28
|
@questions.each do |question_name, question|
|
|
29
29
|
@name = question_name
|
|
30
|
-
@prompt.print pastel.bold(_('[Q %{current_number}/%{questions_total}]') % { current_number: i, questions_total: num_questions })
|
|
31
|
-
@prompt.
|
|
32
|
-
@prompt.
|
|
30
|
+
@prompt.print pastel.bold(_('[Q %{current_number}/%{questions_total}]') % { current_number: i, questions_total: num_questions }) + ' '
|
|
31
|
+
@prompt.puts pastel.bold(question[:question])
|
|
32
|
+
@prompt.puts question[:help]
|
|
33
33
|
ask(_('-->')) do |q|
|
|
34
34
|
q.required(question.fetch(:required, false))
|
|
35
35
|
|
|
@@ -40,7 +40,7 @@ module PDK
|
|
|
40
40
|
q.default(question[:default]) if question.key?(:default)
|
|
41
41
|
end
|
|
42
42
|
i += 1
|
|
43
|
-
@prompt.
|
|
43
|
+
@prompt.puts ''
|
|
44
44
|
end
|
|
45
45
|
@answers
|
|
46
46
|
rescue TTY::Prompt::Reader::InputInterrupt
|
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.2
|
|
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-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|