Skip to content

Commit

Permalink
Merge pull request #3232 from spike77453/fix_digest_auth
Browse files Browse the repository at this point in the history
Add net/http/digest_auth to http input to prevent "uninitialized constant Net::HTTP::DigestAuth"
  • Loading branch information
robertcheramy authored Jul 23, 2024
2 parents 632cd5e + 950d4e1 commit 9ef40fe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- docs: run Git garbage collection to address performance issues. Fixes #3121 (@robertcheramy)
- saos: fixed handling of 'unsaved configuration' indicator in prompt (@grbeneke)
- rgos: also strip "System uptime" for installed modules (@spike77453)
- fixed digest authentication when using http input (@spike77453)


## [0.30.1 – 2024-04-12]
Expand Down
1 change: 1 addition & 0 deletions lib/oxidized/input/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module Oxidized
require "oxidized/input/cli"
require "net/http"
require "json"
require "net/http/digest_auth"

class HTTP < Input
include Input::CLI
Expand Down
21 changes: 11 additions & 10 deletions oxidized.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 3.1'

s.add_runtime_dependency 'asetus', '~> 0.1'
s.add_runtime_dependency 'bcrypt_pbkdf', '~> 1.0'
s.add_runtime_dependency 'ed25519', '~> 1.2'
s.add_runtime_dependency 'net-ftp', '~> 0.2'
s.add_runtime_dependency 'net-scp', '~> 4.0'
s.add_runtime_dependency 'net-ssh', '~> 7.1'
s.add_runtime_dependency 'net-telnet', '~> 0.2'
s.add_runtime_dependency 'psych', '> 3.3.2'
s.add_runtime_dependency 'rugged', '~> 1.6'
s.add_runtime_dependency 'slop', '~> 4.6'
s.add_runtime_dependency 'asetus', '~> 0.1'
s.add_runtime_dependency 'bcrypt_pbkdf', '~> 1.0'
s.add_runtime_dependency 'ed25519', '~> 1.2'
s.add_runtime_dependency 'net-ftp', '~> 0.2'
s.add_runtime_dependency 'net-http-digest_auth', '~> 1.4'
s.add_runtime_dependency 'net-scp', '~> 4.0'
s.add_runtime_dependency 'net-ssh', '~> 7.1'
s.add_runtime_dependency 'net-telnet', '~> 0.2'
s.add_runtime_dependency 'psych', '> 3.3.2'
s.add_runtime_dependency 'rugged', '~> 1.6'
s.add_runtime_dependency 'slop', '~> 4.6'

s.add_development_dependency 'bundler', '~> 2.2'
s.add_development_dependency 'git', '~> 2'
Expand Down

0 comments on commit 9ef40fe

Please sign in to comment.