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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated parser dependency #28

Open
zverok opened this issue Aug 5, 2021 · 4 comments
Open

Outdated parser dependency #28

zverok opened this issue Aug 5, 2021 · 4 comments

Comments

@zverok
Copy link

zverok commented Aug 5, 2021

Hey 馃憢 (long time no see)

Do you still maintain the project, or did you find other ways to achieve the same goals?
I tried to use it recently (via my the_schema_is gem), and noticed this problem:

  In Gemfile:
    the_schema_is was resolved to 0.0.3, which depends on
      ffast (>= 0.1.8) was resolved to 0.2.0, which depends on
        astrolabe was resolved to 0.5.1, which depends on
          parser (~> 2.1)

    rubocop (= 1.14.0) was resolved to 1.14.0, which depends on
      parser (>= 3.0.0.0)

Seems that astrolabe haven't been updated recently and even the latest version specifies ~> 2.2 as parser dependency, meaning there is no way to use ffast in the same project as (modern) rubocop 馃槩

@jonatas
Copy link
Owner

jonatas commented Aug 13, 2021

Hello @zverok! I think the most advanced way to achieve the same goals is using the rubocop-ast gem. It's much reliable and fully compatible with RuboCop syntax which I deviated a bit 馃槃

I haven't updated it for a while. I'll try to find some time in the next few days to update the libraries to keep it. I have the plan to move the fast to use RuboCop AST as you can see on #23.

I moved to TimescaleDB and now I'm interested in making it fully compatible with SQL language :)

@silasb
Copy link

silasb commented Apr 25, 2024

I also ran into this issue recently astrolabe 1.3.1 depends on parser 2.2 which uses 2.7 Ruby syntax which I think is breaking on Ruby 3.1 code.

@jonatas
Copy link
Owner

jonatas commented Apr 26, 2024

I think I'm going to migrate over the last parser and get rid of astrolable. Feel free to submit a PR if you want to collaborate :)

@jonatas
Copy link
Owner

jonatas commented Apr 26, 2024

Hey @silasb , also this project is my hobby project, so if you're looking for up to date work with more validation and production proof, take a look on rubocop-ast.

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

No branches or pull requests

3 participants