puppet-debugger 1.2.0 → 1.3.0

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: 22a19451584961b6bc90d4e634da4b3c5002e92780d84a9e19d5eb9d720a2aaa
4
- data.tar.gz: f3dae2f5c9d2648b886d126395797562358829de51fcc7dac13c166a8fa70b76
3
+ metadata.gz: d2ccbfeec771b3cc202f749b5aa17e96e2dd5f5ebfa9090887e17fb22b035d30
4
+ data.tar.gz: c8169e8f2531f3cd62c7b74e3f06a93b0be8e82e09b34ad71abc6a0456a6c113
5
5
  SHA512:
6
- metadata.gz: 88c59044e15d8209a21ce58fb4491bc267e7146dfa32fc3f3ee18f4ad7c81dd7a9969fd04208b85bd4be169cd7a1c67b26de96f0e65cdf6df3b355945621fff8
7
- data.tar.gz: 75ca9baae2f01da4696b57dd7c28aad61fe251a2dcdf9909c2a4d3ed4e254fcd6ee3b64624d3b78c4b7660a6b1b303cdda92c9d23380a3349d6bf2139a1bd722
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
- - web_deploy
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
- web_trigger_staging:
24
- stage: web_deploy
25
- variables:
26
- REF: staging
27
- only:
28
- - main
29
- script:
30
- - "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v3/projects/1146764/trigger/builds"
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.2
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.5
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: true
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
- config = Bolt::PuppetDB::Config.load_config({})
154
- Bolt::PuppetDB::Client.new(config)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetDebugger
4
- VERSION = '1.2.0'
4
+ VERSION = '1.3.0'
5
5
  end
@@ -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.0'])
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.2.0
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: 2021-03-13 00:00:00.000000000 Z
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.0
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.0
124
+ version: '0.13'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rdoc
127
127
  requirement: !ruby/object:Gem::Requirement