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

Repair ruby 3.1.x compability with backwards compability. Bumped vers… #329

Merged
merged 1 commit into from
May 20, 2022

Conversation

mmachner
Copy link
Contributor

@mmachner mmachner commented Apr 5, 2022

should fix #325 and #327

@genebean
Copy link

I cloned this locally, ran gem build hiera-eyaml.gemspec followed by gem install hiera-eyaml-3.2.3.gem and now have a working eyaml command on Fedora 36. Sample output below:

╔ ☕️  carbonbean:~/repos/hiera-eyaml (mmachner-bugfix/325-regression ✔)    
╚ᐅ gem build hiera-eyaml.gemspec 
WARNING:  open-ended dependency on optimist (>= 0) is not recommended
  use a bounded requirement, such as '~> x.y'
WARNING:  open-ended dependency on highline (>= 0) is not recommended
  use a bounded requirement, such as '~> x.y'
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: hiera-eyaml
  Version: 3.2.3
  File: hiera-eyaml-3.2.3.gem

╔ ☕️  carbonbean:~/repos/hiera-eyaml (mmachner-bugfix/325-regression ✘) ✭   
╚ᐅ gem install hiera-eyaml-3.2.3.gem 
WARNING:  You don't have /home/gene/bin in your PATH,
	  gem executables will not run.
Successfully installed hiera-eyaml-3.2.3
Parsing documentation for hiera-eyaml-3.2.3
Installing ri documentation for hiera-eyaml-3.2.3
Done installing documentation for hiera-eyaml after 0 seconds
1 gem installed

╔ ☕️  carbonbean:~/repos/hiera-eyaml (mmachner-bugfix/325-regression ✘) ✭   
╚ᐅ which eyaml                     
~/bin/eyaml

╔ ☕️  carbonbean:~/repos/hiera-eyaml (mmachner-bugfix/325-regression ✘) ✭   
╚ᐅ eyaml --help
Welcome to eyaml 3.2.3 

Usage:
eyaml subcommand [global-opts] [subcommand-opts]

Available subcommands:
        encrypt: encrypt some data                                                
        recrypt: recrypt an eyaml file                                            
        version: show version information                                         
           edit: edit an eyaml file                                               
     createkeys: create a set of keys with which to encrypt/decrypt eyaml data    
        decrypt: decrypt some data                                                

For more help on an individual command, use --help on that command

Installed Plugins:

@bastelfreak bastelfreak merged commit 4ddf6b2 into voxpupuli:master May 20, 2022
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Sep 16, 2022
Robin asked for this, so that the following PR is in-tree.

voxpupuli/hiera-eyaml#329

Signed-off-by: John Helmert III <ajak@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatability with ruby 3.1.0
3 participants