Giter Site home page Giter Site logo

rails 6 upgrade about premailer-rails HOT 5 CLOSED

phoet avatar phoet commented on July 22, 2024
rails 6 upgrade

from premailer-rails.

Comments (5)

fphilipe avatar fphilipe commented on July 22, 2024

Thanks. I've bumped the ruby version here, which causes Travis CI to run the specs for rails master (they're passing).

With this you should be able to point to this repo in your project without having to fork it. Once rails 6 is out, I'll change the gemspec to require rails < 7 so it can pick up the final rails 6 version.

from premailer-rails.

phoet avatar phoet commented on July 22, 2024

@fphilipe unfortunately this is not correct!

you still have a version requirement of rails actionmailer < 6 in the gemspec which makes it necessary to fork it!

see this change of the PR https://github.com/penseo/premailer-rails/pull/1/files#diff-122c0cc5159b5325eba36306429d40b2R25

from premailer-rails.

fphilipe avatar fphilipe commented on July 22, 2024

@phoet I think you're mistaken. This is a feature of semantic versioning (see spec item 11):

When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version. Example: 1.0.0-alpha < 1.0.0.

That is the reason why bundler was able to resolve the requirements in this build. If that were not the case, it would have failed to install the gems.

from premailer-rails.

phoet avatar phoet commented on July 22, 2024

ah, TIL!

🤔 bundler must have choked on this dependency for another reason then...

thanks for the linked info.

from premailer-rails.

fphilipe avatar fphilipe commented on July 22, 2024

On Travis it choked because I was using ruby 2.4.1 and rails 6 requires ruby version >= 2.5.0.

from premailer-rails.

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.