Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gem dependencies #18432

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Oct 6, 2023

Update gem dependencies, mostly to pull in the cortex metadata - such as rapid7/rex-text#65

Verification

Ensure CI passes

@@ -216,7 +216,7 @@ Gem::Specification.new do |spec|
# SSH server library with ed25519
spec.add_runtime_dependency 'hrr_rb_ssh-ed25519'
# Needed for irb internal command
spec.add_runtime_dependency 'irb'
spec.add_runtime_dependency 'irb', '~> 1.7.4'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

irb 1.8 pulls in psych which would cause issues right now; should be able to unpin this once we're officially on Ruby 3.1

@adfoster-r7 adfoster-r7 force-pushed the update-gem-dependencies branch from dbbe0e0 to d11f15b Compare October 6, 2023 14:49
@@ -2,7 +2,7 @@

require 'base64'
require 'openssl'
require 'net/imap/sasl'
require 'net/imap'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix autoloading issue

  1) Msf::Db::PostgresPR::ScramSha256#normalize returns the expected value for the test {:str=>"\u0627123", :error=>/must start.*end with RandAL/i}
     Failure/Error: expect { subject.normalize(test[:str]) }.to raise_error expected_clazz, expected_message

       expected Msf::Db::PostgresPR::ScramSha256::NormalizeError with message matching /must start.*end with RandAL/i, got #<NameError: uninitialized constant Net::IMAP::StringPrep> with backtrace:
         # ./lib/postgres/postgres-pr/scram_sha_256.rb:64:in `normalize'
         # ./spec/lib/postgres/postgres-pr/scram_sha_256_spec.rb:73:in `block (5 levels) in <top (required)>'
         # ./spec/lib/postgres/postgres-pr/scram_sha_256_spec.rb:73:in `block (4 levels) in <top (required)>'
     # ./spec/lib/postgres/postgres-pr/scram_sha_256_spec.rb:73:in `block (4 levels) in <top (required)>'

@dwelch-r7 dwelch-r7 merged commit 022dca4 into rapid7:master Oct 6, 2023
55 checks passed
@dwelch-r7 dwelch-r7 added the rn-no-release-notes no release notes label Oct 6, 2023
@szymonj99 szymonj99 mentioned this pull request Dec 9, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-no-release-notes no release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants