kafo_parsers 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: 9de270f92023f0577232bb8165246fd6afc2da7bcc18992b8b979d178f19526b
4
- data.tar.gz: 7718b9cad1349e1a4800de3c360deaa13c87cbe7bc2c24fd11dbf50949cb6f7b
3
+ metadata.gz: 62b061db2fb2d7f269541ff5a7865f7482703fb4766432e3117980d51fb2cc0e
4
+ data.tar.gz: 2e6135c7beb9ccb754008f0ea1842c67a82b27cd8bcb96a43960f6e415f1a640
5
5
  SHA512:
6
- metadata.gz: dba6b56a64cbdfe15b137e08cf6d79d4ab488c8fc6a3c980070a43fe75995cd61404f8119401073522aa589ba6dee5922fcc4705d0186c9c57f8c8fe6007f602
7
- data.tar.gz: 8b5a282f6aa2c30a6a7ade395b27c0142c134ea9f703a87dc83b9abd42ef8805aed9b6bed70d1779a1880de837af700fd222976ad83efe48c09a318eef5184a1
6
+ metadata.gz: e9ada8c7ac628dc9631a97cd9587200e2f5320449919ab7954f41c53b112c5115e436d2880fd5158bde2293538d7521c9c7b235a63fc295eeaf0155514c54c82
7
+ data.tar.gz: 7adf7c7d9c4851c0bc5668dfd1b34adc0e0792dccf30d4e83faf62f915cef876913cd6fe60904ed68073ee215c4a361dec99d04d034738b5346906a6e7523175
@@ -56,15 +56,17 @@ module KafoParsers
56
56
  self
57
57
  end
58
58
 
59
- # AIO and system default puppet bins are tested for existence, fallback to just `puppet` otherwise
60
59
  def self.puppet_bin
61
- @puppet_bin ||= begin
62
- found_puppet_path = (::ENV['PATH'].split(File::PATH_SEPARATOR) + ['/opt/puppetlabs/bin']).find do |path|
63
- binary = File.join(path, 'puppet')
64
- binary if File.executable?(binary)
65
- end
66
- found_puppet_path.nil? ? 'puppet' : File.join(found_puppet_path, 'puppet')
60
+ @puppet_bin ||= self.find_puppet_bin
61
+ end
62
+
63
+ # AIO and system default puppet bins are tested for existence, fallback to just `puppet` otherwise
64
+ def self.find_puppet_bin
65
+ found_puppet_path = (::ENV['PATH'].split(File::PATH_SEPARATOR) + ['/opt/puppetlabs/bin']).find do |path|
66
+ binary = File.join(path, 'puppet')
67
+ binary if File.executable?(binary) && !File.symlink?(binary)
67
68
  end
69
+ found_puppet_path.nil? ? 'puppet' : File.join(found_puppet_path, 'puppet')
68
70
  end
69
71
 
70
72
  def data_type
@@ -1,3 +1,3 @@
1
1
  module KafoParsers
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kafo_parsers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Hulan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-25 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -145,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubyforge_project:
149
- rubygems_version: 2.7.6.2
148
+ rubygems_version: 3.1.2
150
149
  signing_key:
151
150
  specification_version: 4
152
151
  summary: Puppet module parsers