puppet-debugger 1.2.0 → 1.3.0
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/.gitlab-ci.yml +35 -24
- data/CHANGELOG.md +5 -0
- data/lib/puppet-debugger/support.rb +7 -2
- data/lib/puppet-debugger/version.rb +1 -1
- data/puppet-debugger.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2ccbfeec771b3cc202f749b5aa17e96e2dd5f5ebfa9090887e17fb22b035d30
|
|
4
|
+
data.tar.gz: c8169e8f2531f3cd62c7b74e3f06a93b0be8e82e09b34ad71abc6a0456a6c113
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7a4b91dee8c074e955cfefdae802d89f3ab1c3c5600fb56ea55cbbffca294845110f9b88ada2809bd1481925e7821fc34c9e4a8d77d986e5f02fa81f7e3a7e1
|
|
7
|
+
data.tar.gz: 839bd3f8c4ef3d4d8a8ac4ecb4b2c4782f94b1207fda0a4ceaa7d8a623151605838934437c3b02801d095389d55d9a590de385f7423a1c87adf7723cd79fcd86
|
data/.gitlab-ci.yml
CHANGED
|
@@ -6,7 +6,7 @@ stages:
|
|
|
6
6
|
- test
|
|
7
7
|
- release
|
|
8
8
|
- deploy
|
|
9
|
-
|
|
9
|
+
#- web_deploy
|
|
10
10
|
|
|
11
11
|
.puppet_def: &puppet_job_def
|
|
12
12
|
stage: test
|
|
@@ -20,14 +20,15 @@ stages:
|
|
|
20
20
|
tags:
|
|
21
21
|
- ruby
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
# will be replaced by akash tf provider
|
|
24
|
+
# web_trigger_staging:
|
|
25
|
+
# stage: web_deploy
|
|
26
|
+
# variables:
|
|
27
|
+
# REF: staging
|
|
28
|
+
# only:
|
|
29
|
+
# - main
|
|
30
|
+
# script:
|
|
31
|
+
# - "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v4/projects/1146764/trigger/builds"
|
|
31
32
|
|
|
32
33
|
rubocop_ruby:
|
|
33
34
|
stage: validate
|
|
@@ -45,7 +46,7 @@ bump_and_tag:
|
|
|
45
46
|
stage: release
|
|
46
47
|
when: manual
|
|
47
48
|
tags:
|
|
48
|
-
- ruby2.
|
|
49
|
+
- ruby2.7
|
|
49
50
|
only:
|
|
50
51
|
- main@puppet-debugger/puppet-debugger
|
|
51
52
|
script:
|
|
@@ -75,8 +76,14 @@ bump_and_tag:
|
|
|
75
76
|
.ruby_27: &ruby27
|
|
76
77
|
image: ruby:2.7
|
|
77
78
|
|
|
79
|
+
.ruby_30: &ruby30
|
|
80
|
+
image: ruby:3.0
|
|
81
|
+
|
|
82
|
+
.ruby_31: &ruby31
|
|
83
|
+
image: ruby:3.1
|
|
84
|
+
|
|
78
85
|
gem_production:
|
|
79
|
-
image: ruby:2.
|
|
86
|
+
image: ruby:2.7
|
|
80
87
|
tags:
|
|
81
88
|
- ruby
|
|
82
89
|
before_script:
|
|
@@ -87,18 +94,6 @@ gem_production:
|
|
|
87
94
|
only:
|
|
88
95
|
- tags
|
|
89
96
|
|
|
90
|
-
puppet_5_ruby24:
|
|
91
|
-
variables:
|
|
92
|
-
PUPPET_GEM_VERSION: "~> 5.5"
|
|
93
|
-
<<: *puppet_job_def
|
|
94
|
-
<<: *ruby24
|
|
95
|
-
|
|
96
|
-
puppet_5_ruby25:
|
|
97
|
-
variables:
|
|
98
|
-
PUPPET_GEM_VERSION: "~> 5.5"
|
|
99
|
-
<<: *puppet_job_def
|
|
100
|
-
<<: *ruby25
|
|
101
|
-
|
|
102
97
|
puppet_6_ruby25:
|
|
103
98
|
variables:
|
|
104
99
|
PUPPET_GEM_VERSION: "~> 6.0"
|
|
@@ -112,8 +107,24 @@ puppet_6_ruby26:
|
|
|
112
107
|
<<: *ruby26
|
|
113
108
|
|
|
114
109
|
puppet_6_ruby27:
|
|
115
|
-
allow_failure:
|
|
110
|
+
allow_failure: false
|
|
116
111
|
variables:
|
|
117
112
|
PUPPET_GEM_VERSION: "~> 6.0"
|
|
118
113
|
<<: *puppet_job_def
|
|
119
114
|
<<: *ruby27
|
|
115
|
+
|
|
116
|
+
puppet_7_ruby27:
|
|
117
|
+
allow_failure: false
|
|
118
|
+
variables:
|
|
119
|
+
PUPPET_GEM_VERSION: "~> 7.0"
|
|
120
|
+
<<: *puppet_job_def
|
|
121
|
+
<<: *ruby27
|
|
122
|
+
|
|
123
|
+
# puppet_8_ruby3.0:
|
|
124
|
+
# allow_failure: true
|
|
125
|
+
# variables:
|
|
126
|
+
# PUPPET_GEM_VERSION: "~> 8.0"
|
|
127
|
+
# <<: *puppet_job_def
|
|
128
|
+
# <<: *ruby30
|
|
129
|
+
|
|
130
|
+
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Puppet Debugger Changelog
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
|
+
## 1.3
|
|
5
|
+
- Fix failures when using Bolt 3.23+
|
|
6
|
+
- Relax tty-pager constraints (for Bolt)
|
|
7
|
+
- Stop testing puppet 5
|
|
8
|
+
- Stop testing ruby 2.4
|
|
4
9
|
## 1.2
|
|
5
10
|
- Fix puppetdb_query errors when bolt_pdb_client was not loaded
|
|
6
11
|
## 1.1
|
|
@@ -150,8 +150,13 @@ module PuppetDebugger
|
|
|
150
150
|
require 'bolt/puppetdb'
|
|
151
151
|
require 'bolt/puppetdb/client'
|
|
152
152
|
require 'bolt/puppetdb/config'
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
if Bolt::PuppetDB::Config.respond_to?(:default_config)
|
|
154
|
+
config = Bolt::PuppetDB::Config.default_config
|
|
155
|
+
Bolt::PuppetDB::Client.new(config: config)
|
|
156
|
+
else
|
|
157
|
+
config = Bolt::PuppetDB::Config.load_config({})
|
|
158
|
+
Bolt::PuppetDB::Client.new(config)
|
|
159
|
+
end
|
|
155
160
|
rescue LoadError
|
|
156
161
|
# not puppet 6+
|
|
157
162
|
nil
|
data/puppet-debugger.gemspec
CHANGED
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
|
|
|
40
40
|
# s.add_runtime_dependency('bolt', ['>= 2.42.0'])
|
|
41
41
|
s.add_runtime_dependency('rb-readline', ['>= 0.5.5'])
|
|
42
42
|
s.add_runtime_dependency('table_print', ['>= 1.0.0'])
|
|
43
|
-
s.add_runtime_dependency('tty-pager', ['~> 0.13
|
|
43
|
+
s.add_runtime_dependency('tty-pager', ['~> 0.13'])
|
|
44
44
|
s.add_development_dependency('rdoc', ['~> 3.12'])
|
|
45
45
|
s.add_development_dependency('rspec', ['~> 3.6'])
|
|
46
46
|
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: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Corey Osman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|
|
@@ -114,14 +114,14 @@ dependencies:
|
|
|
114
114
|
requirements:
|
|
115
115
|
- - "~>"
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 0.13
|
|
117
|
+
version: '0.13'
|
|
118
118
|
type: :runtime
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 0.13
|
|
124
|
+
version: '0.13'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: rdoc
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|