Coder Social home page Coder Social logo

active_record_schema_scrapper's People

Contributors

zeisler avatar

Stargazers

 avatar

Watchers

 avatar  avatar

active_record_schema_scrapper's Issues

Code breaking in ruby 3.0.4

With ruby version 3.0.4 code of below files breaking
lib/active_record_schema_scrapper/attributes.rb:52
lib/active_record_schema_scrapper.rb:16
lib/active_record_schema_scrapper.rb:20

Steps to reproduce:

  1. Install ruby version 3.0.4
  2. run rspec and some rspecs will fail

There is change in passing parameter in ruby 3.0, please check below link for details
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Solutions to issue:
change code of below files
lib/active_record_schema_scrapper.rb:16
@Associations ||= Associations.new(**association_opts)

lib/active_record_schema_scrapper.rb:20
@attributes ||= Attributes.new(**attribute_opts)

lib/active_record_schema_scrapper/attributes.rb:52
super(**args)

I have fixed the issue, but don't have rights to push the changes, can you please check

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.