puppet-debugger 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/plugins/puppet-debugger/input_responders/functions.rb +6 -1
- data/lib/puppet-debugger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149fe7ead29515374cb1fd1817a1ccf8558846927985beec13c1ecbdd7b0d036
|
4
|
+
data.tar.gz: d8a5e4ea102ea040a6e053564b159725b0304baf6c74a9824ac5bb52e8c24089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 455b72b0a58806c1ec50a5f212932de1a47298f4f3f8036db03108db561fa05ee43b3aca8f6f3f1e1065da02cd331b5e405da9f59e6bd2b92efe887ba42fc45d
|
7
|
+
data.tar.gz: 595751e4d2fdae238b0a35d43ed32ca882a0720be3ecd2c921aed4e17c2c912eb6f61ebb3202a1f72d29d35d953d8a8815443ed991c4b3999dfb39cd1ca42444
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "puppet-debugger/input_responder_plugin"
|
2
2
|
require "table_print"
|
3
3
|
require 'fileutils'
|
4
|
+
require 'bundler'
|
4
5
|
|
5
6
|
module PuppetDebugger
|
6
7
|
module InputResponders
|
@@ -42,7 +43,11 @@ module PuppetDebugger
|
|
42
43
|
|
43
44
|
# @return [String] - the current module directory or directory that contains a gemfile
|
44
45
|
def current_module_dir
|
45
|
-
@current_module_dir ||=
|
46
|
+
@current_module_dir ||= begin
|
47
|
+
File.dirname(::Bundler.default_gemfile)
|
48
|
+
rescue ::Bundler::GemfileNotFound
|
49
|
+
Dir.pwd
|
50
|
+
end
|
46
51
|
end
|
47
52
|
|
48
53
|
def lib_dirs(module_dirs = modules_paths)
|
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.15.
|
4
|
+
version: 0.15.2
|
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-10-
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: table_print
|