Giter Site home page Giter Site logo

modullar / app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from railsbump/app

0.0 0.0 0.0 21.44 MB

Check which gems are compatible with which Rails version!

Home Page: https://railsbump.org

License: MIT License

Shell 1.04% JavaScript 1.86% Ruby 74.19% HTML 6.63% Dockerfile 3.05% Haml 10.71% SCSS 2.51%

app's Introduction

๐Ÿ‘Š RailsBump

Check your Ruby gems for compatibility with all major Rails versions.

Usage

The app is live at https://railsbump.org/, where you can check an individual gem or a whole Bundler lockfile (Gemfile.lock).

Behind the scenes

RailsBump uses a few approaches to check whether a gem version is compatible with a specific Rails release:

  • if the gem version has a direct dependency on one of the "Rails gems" (rails, railties, activerecord, activesupport, etc.), it may be clear that it is not compatible with some Rails releases immediately
  • if the gem version has a dependency on a specific version of another gem that we already know is not compatible with a Rails release, this gem version is not compatible either,
  • if all other approaches don't work, RailsBump simply puts the gem version and a Rails release in a Gemfile and lets Bundler figure it out. If the gem can be successfully installed along with the Rails release, it counts as "compatible".

Since some gems have a lot of versions and each one needs to be checked against multiple Rails releases, this could get out of hand quickly. To minimize the amount of compatibility checks that need to be done, the gem versions are grouped by their dependencies first. If multiple versions (of the same gem or even of different gems) have the same dependencies, a single check is enough to determine whether all of them are compatible with a specific Rails release or not.

To actually perform the check, GitHub Actions are used. For each check, a new branch is creted in a separate repository, which triggers a workflow that essentially tries to run bundle lock and reports the result back to the RailsBump app via a webhook.

History

RailsBump used to be called Ready4Rails until December 2019, when Manuel Meurer took over from Florent Guilleux to automate the service that Ready4Rails had been doing more or less manually until then. The relaunch took longer than expected, mainly because of the Coronavirus pandemic, and the first usable version of RailsBump was finally launched in August 2020.

Stats

You can see live stats from Plausible Analytics here: https://plausible.io/railsbump.org

Contributing

If you notice a bug or have an idea for an improvement, please open an issue or submit a PR.

If you'd like to get involved in the development, get in touch via email!

Support

If you find RailsBump useful and would like to support the ongoing development, buy me a coffee or become a sponsor!

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

app's People

Contributors

amarraja avatar etagwerker avatar florent2 avatar manuelmeurer avatar modullar avatar sameera207 avatar shockwavenn avatar

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.