puppet-debugger 0.12.2 → 0.12.3

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: 1bbafde4d18168b16c4cfb22306b2d793e8e10b6
4
- data.tar.gz: b3f50cb0d41f2286dfd71dd7837781a04ea693ff
3
+ metadata.gz: 20cbcc8c5acb05414acfad52a570d33b0654df74
4
+ data.tar.gz: 578632af5013919bed036a870edc5adb39e45fb3
5
5
  SHA512:
6
- metadata.gz: 8b6b9337d3d11a98c03a4ead272bd6f9918d7d5a2a7d8b16b9f82ed337c7eb33eb4366646865e565f7aa8bf7ed9c66f5e30884a70a3aa3313cf30fcfd3048b4d
7
- data.tar.gz: 4c6fafdbfafd13f1d0260c59bc3def51265969c22fee32a651fb7a6fcd2a0d25bd42fe55fff87db886c43db1cdaf8421f8105ffc9a9e52a67e18ba3621992c4b
6
+ metadata.gz: dc539c9ad25bc62a4dfdd84ed3f8eea856dea32d48e17d84636cee74bf65e8fb0b44777b9ddae604a1357d700f4c4930eb10f315251c442f436580aa520fee7e
7
+ data.tar.gz: 9cbb54bd720de3cba4bb9fcee94a9444bbeaa910ffd08fb7f84bc679c0d64be5d39f26b12971e7c227f1fae4f93530da8d46d0cb112c4484612cacc48fa4c031
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.12.3
4
+
5
+ - Fixes incorrect puppet namespace when list functions again
6
+
3
7
  ## 0.12.2
4
8
 
5
9
  - Fixes incorrect puppet namespace when list functions
@@ -75,7 +75,7 @@ module PuppetDebugger
75
75
  # fetch the puppet version if this is a function from puppet gem
76
76
  captures = file.match(/(puppet-[\d\.]+)/)
77
77
  file_namespace = captures[1] if captures
78
- mod_name = match.nil? ? file_namespace : match[:mod]
78
+ mod_name = file_namespace || match[:mod]
79
79
  full_name = namespace.nil? || namespace.empty? ? name : name.prepend("#{namespace}::")
80
80
  { namespace: namespace, summary: summary, mod_name: mod_name, name: name, full_name: full_name, file: file }
81
81
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetDebugger
4
- VERSION = "0.12.2"
4
+ VERSION = "0.12.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Osman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-27 00:00:00.000000000 Z
11
+ date: 2019-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: table_print