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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 604fbc3b78cb74ec127c2a322f1794b689756f9383323c4b94541acd1068d7d3
4
- data.tar.gz: c1580b347abe884050a6ce24d105ac30462784a673f0d62eec4a6ffd44c39b5e
3
+ metadata.gz: 149fe7ead29515374cb1fd1817a1ccf8558846927985beec13c1ecbdd7b0d036
4
+ data.tar.gz: d8a5e4ea102ea040a6e053564b159725b0304baf6c74a9824ac5bb52e8c24089
5
5
  SHA512:
6
- metadata.gz: 9954e01dd2d4083dbdd1369c2083d063bfc2547d6b540b96def01f0be3229bda34aadf2207fd10f71fd3b98120f2f56ae7734eb512e10d67196fdd69e02482b0
7
- data.tar.gz: 7de8035dd377db56111a98f991a24fc5f09039ad6a0fdaae638da000b0b7bf94b41e6435492dccbbe482ce00bb3d483122d0e792b3d24813f83956d282b3c7d9
6
+ metadata.gz: 455b72b0a58806c1ec50a5f212932de1a47298f4f3f8036db03108db561fa05ee43b3aca8f6f3f1e1065da02cd331b5e405da9f59e6bd2b92efe887ba42fc45d
7
+ data.tar.gz: 595751e4d2fdae238b0a35d43ed32ca882a0720be3ecd2c921aed4e17c2c912eb6f61ebb3202a1f72d29d35d953d8a8815443ed991c4b3999dfb39cd1ca42444
@@ -1,5 +1,9 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.15.2
4
+ - Fixes issue with bundler and auto complete again
5
+
6
+
3
7
  ## 0.15.1
4
8
  - Fixes issue with bundler and auto complete
5
9
 
@@ -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 ||= File.dirname(::Bundler.default_gemfile)
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetDebugger
4
- VERSION = "0.15.1"
4
+ VERSION = "0.15.2"
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.15.1
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-02 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: table_print