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 dry* run time deps #46

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

sathish-progress
Copy link
Contributor

Problem:

AutoCompletion in IRB fails with ruby versions > 3.2.0 because of a known solved bug dry-rb/dry-logic#104

Reproducible steps:

bundle exec irb 
require 'k8s-ruby'

client = K8s::Client.config(
  K8s::Config.load_file(
    File.expand_path '~/.kube/config'
  )
)

# autocompletion after methods after period and any up arrow shortcuts crashes the irb
client.api('v1').

Solution:

  • updating dry-logic gem to 1.5.0 as recommended IRB crash dry-rb/dry-logic#104 (comment)
  • This change fixes that by upgrading the latest version of dry-types and also upgrades dependent dry-struct and dry-configurable gems there by upgrading the dependent dry-logic gem as well.

Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
@Vasu1105 Vasu1105 merged commit 7204f22 into k8s-ruby:master Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants