oxidized 0.34.2 → 0.34.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f51898465cc98bf27a9bb2259b1e359f7f52f2c31b23eac63e7730f0eabbb8b8
4
- data.tar.gz: 6c45f1b142609bc44b99025b4485b25fde43844738bd489dc2994df77ecf47d7
3
+ metadata.gz: a87e3af9faae64551e102d6cdc54df2e45faabca7ba632ca08ef5d75d15de049
4
+ data.tar.gz: 1b53f1e19450f791ec11cdd61fe228764374d16aa41c1fef2c246c63f1cbaa4e
5
5
  SHA512:
6
- metadata.gz: c613a1c2c21144f6c064cb2dfaf94e7fa88248c499c43d3408cbce0e286bee477b09623c6432852b839c8c7f2c3a1511f9634d07ebc3bcbba5037032157f991a
7
- data.tar.gz: 2cb4692eab7ebbd916264bae356d08b6f437a6f514da5a815bd1c79242d9a2cd558fcef13ad0f56eb6bb9ba74f054deba661a46b563c4a805ad4be4ede34808d
6
+ metadata.gz: 37b6c4f96885e86b5780ad61ce64e8f51292ddb2a33ab794cae270101f436cbaad3c684b7262b01197a61e93e8d45257dae2ecb3b080fb6befd9f93162778515
7
+ data.tar.gz: 5b7739c4e7fa07904c94ad241d9a95c636d7774c517f1235db893192c0df938c8c91bd2d6efd161eaba7ea35cbbc7dd129a275d83f3d58386ca986126ef9adcf
data/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [0.34.3 - 2025-08-05]
8
+ This release fixes an issue preventing /node/show/<hostname> to work in oxidized-web.
9
+
10
+ ### Fixed
11
+ - Guarantee that node vars is a dict (Issue ytti/oxidized-web#365) (@ytti)
12
+
13
+
7
14
  ## [0.34.2 – 2025-08-01]
8
15
  This release mainly fixes a bug in input/scp that made ssh raise an error when
9
16
  closing a closed connection (Issue #3583).
data/docs/Release.md CHANGED
@@ -75,6 +75,8 @@ Make a release from the tag in github.
75
75
  - List new contributors (generated automatically)
76
76
  - Keep the Full Changelog (generated automatically)
77
77
 
78
+ Close the corresponding milestone in github.
79
+
78
80
  ## Release in rubygems
79
81
  Push the gem with ‘rake push’
80
82
 
@@ -13,9 +13,11 @@ module Oxidized
13
13
  def inherited(klass)
14
14
  super
15
15
  if klass.superclass == Oxidized::Model
16
+ # rubocop:disable Style/RedundantParentheses
16
17
  klass.instance_variable_set '@cmd', (Hash.new { |h, k| h[k] = [] })
17
18
  klass.instance_variable_set '@cfg', (Hash.new { |h, k| h[k] = [] })
18
19
  klass.instance_variable_set '@procs', (Hash.new { |h, k| h[k] = [] })
20
+ # rubocop:enable Style/RedundantParentheses
19
21
  klass.instance_variable_set '@expect', []
20
22
  klass.instance_variable_set '@comment', nil
21
23
  klass.instance_variable_set '@prompt', nil
data/lib/oxidized/node.rb CHANGED
@@ -27,7 +27,7 @@ module Oxidized
27
27
  @output = resolve_output opt
28
28
  @auth = resolve_auth opt
29
29
  @prompt = resolve_prompt opt
30
- @vars = opt[:vars]
30
+ @vars = opt[:vars] || {}
31
31
  @stats = Stats.new
32
32
  @retry = 0
33
33
  @repo = resolve_repo opt
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Oxidized
4
- VERSION = '0.34.2'
5
- VERSION_FULL = '0.34.2'
4
+ VERSION = '0.34.3'
5
+ VERSION_FULL = '0.34.3'
6
6
  def self.version_set
7
7
  version_full = %x(git describe --tags).chop rescue ""
8
8
  version = %x(git describe --tags --abbrev=0).chop rescue ""
data/oxidized.gemspec CHANGED
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
47
47
  s.add_dependency 'syslog_protocol', '~> 0.9.2'
48
48
 
49
49
  s.add_development_dependency 'bundler', '~> 2.2'
50
- # ruby-git 4.0 requests ruby >= 3.2, we stick to >= 3.1 (Ubuntu Noble/Debian Bookworm)
50
+ # ruby-git 4.0 requests ruby >= 3.2, we stick to ruby >= 3.1 (Ubuntu Noble/Debian Bookworm)
51
51
  s.add_development_dependency 'git', '>= 2.0', '< 3.2.0'
52
52
  s.add_development_dependency 'minitest', '~> 5.25.4'
53
53
  s.add_development_dependency 'mocha', '~> 2.1'
@@ -61,5 +61,5 @@ Gem::Specification.new do |s|
61
61
 
62
62
  # Dependencies on optional libraries, used for unit tests & development
63
63
  s.add_development_dependency 'oxidized-web', '~> 0.17.1'
64
- s.add_development_dependency 'sequel', '>= 5.63.0', '<= 5.94.0'
64
+ s.add_development_dependency 'sequel', '>= 5.63.0', '< 5.96.0'
65
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.2
4
+ version: 0.34.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-08-01 00:00:00.000000000 Z
13
+ date: 2025-08-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: asetus
@@ -389,9 +389,9 @@ dependencies:
389
389
  - - ">="
390
390
  - !ruby/object:Gem::Version
391
391
  version: 5.63.0
392
- - - "<="
392
+ - - "<"
393
393
  - !ruby/object:Gem::Version
394
- version: 5.94.0
394
+ version: 5.96.0
395
395
  type: :development
396
396
  prerelease: false
397
397
  version_requirements: !ruby/object:Gem::Requirement
@@ -399,9 +399,9 @@ dependencies:
399
399
  - - ">="
400
400
  - !ruby/object:Gem::Version
401
401
  version: 5.63.0
402
- - - "<="
402
+ - - "<"
403
403
  - !ruby/object:Gem::Version
404
- version: 5.94.0
404
+ version: 5.96.0
405
405
  description: software to fetch configuration from network devices and store them
406
406
  email:
407
407
  - saku@ytti.fi