Closed ojab closed 3 years ago
Sending to review due to First-time contributors need a maintainer to approve running workflows.
. bundler exec rake
passes locally.
Ugh, CI is failing due to
commonmarker.gemspec:24:29: C: Gemspec/RequiredRubyVersion: required_ruby_version (2.4, declared in commonmarker.gemspec) and TargetRubyVersion (2.5, which may be specified in .rubocop.yml) should be equal.
s.required_ruby_version = ['>= 2.4.10', '< 4.0']
^^^^^^^^^^^^^^^^^^^^^^
(rubocop dropped 2.4 support a while ago, so unfixable)
lib/commonmarker/node/inspect.rb:30:13: C: [Correctable] Style/RedundantBegin: Redundant begin block detected.
begin
^^^^^
which is required and not redundant on 2.4.
Also specs are failing for 2.4 locally (KeyError
does not have #key
).
Since CI on 2.4 is not running — is it really supported or constraint in gemfile can be bumped to 2.5?
Since CI on 2.4 is not running — is it really supported or constraint in gemfile can be bumped to 2.5?
Let's actually bring the constraint to 2.6, and remove 2.5 from CI. 2.5 is EOL and I don't want to support EOL Rubies. Thanks for bringing this up!
Done, first commit bumps ruby to 2.6, second actually removing ruby-enum. And again First-time contributors need a maintainer to approve running workflows.
.
Thank you for your contribution here, I really appreciate it.
Fixes #135