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

Backport OpenStruct fix to version shipped in Ruby 3.1 #3

Merged
merged 3 commits into from
Jul 6, 2022

Commits on Jun 30, 2022

  1. Install latest ostruct to fix JSON parsing into an OpenStruct

    The OpenStruct implementation differs between Ruby 2.7 and 3.1. The
    latter comes with OpenStruct 0.5.2. That version has a bug that was
    fixed [here](ruby/ostruct#37).
    
    The TL;DR of the impact of that bug in this repo is that brakeman
    includes JSON with an attribute named `class`. This shadows the normal
    `class` method and causes `self.class.ancestors` to blow up. The fix
    uses the aliased `class!` method to do the Right Thing™.
    Dave O committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    5345e99 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    59a414f View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Document change in preps for 0.5 release

    Dave O committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    c0372f7 View commit details
    Browse the repository at this point in the history