Coder Social home page Coder Social logo

Update for Ruby 3.0 about attr_masker HOT 4 CLOSED

skalee avatar skalee commented on June 27, 2024
Update for Ruby 3.0

from attr_masker.

Comments (4)

skalee avatar skalee commented on June 27, 2024

Looks like all the warnings come from two sources:

– Rails 6, which is independent from us.
– Tests, in which given custom masker expects keyword arguments whereas a regular hash is passed.

Regarding the latter, I need to make a careful decision whether custom maskers should accept hashes or keyword arguments. For now, I am leaning towards the second option.

from attr_masker.

skalee avatar skalee commented on June 27, 2024

For the record, according to current plans Ruby 3.0 is due in about eleven months, though they may release Ruby 2.8 instead — https://bugs.ruby-lang.org/projects/ruby-master/roadmap.

from attr_masker.

skalee avatar skalee commented on June 27, 2024

Looks like build errors come from the latest Rails release, which is not compatible with Ruby HEAD.

from attr_masker.

skalee avatar skalee commented on June 27, 2024

I'm closing this one as it's not very relevant yet. We can reopen it when Ruby 3 reaches beta stage.

Regarding other issues which were mentioned in the discussion:

  • Rails warnings have been suppressed (#85, #105)
  • Maskers now accept keyword arguments (#91)

from attr_masker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.