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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ruby 2.4 support and udpated activesupport to be >= 6.0.0 #680

Merged
merged 2 commits into from
May 10, 2021

Conversation

Vasu1105
Copy link
Contributor

@Vasu1105 Vasu1105 commented May 4, 2021

Signed-off-by: Vasu1105 [email protected]

Description

Fix #598

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

@Vasu1105 Vasu1105 requested a review from a team as a code owner May 4, 2021 15:05
@Vasu1105 Vasu1105 requested review from alexpop and clintoncwolfe May 4, 2021 15:05
@Vasu1105 Vasu1105 changed the title Remove ruby 2.4 and udpated activesupport to be >= 6.0.0 Remove ruby 2.4 support and udpated activesupport to be >= 6.0.0 May 4, 2021
Copy link

@Schwad Schwad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍

Approved with requested changes. I think this is a good thing - I believe InSpec killed ruby 2.4 a while back. Even 2.5 would be n-3 support with 3.1 coming out this year; so might need to revisit dropping Ruby 2.5 by end of year.

train.gemspec Outdated
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "train-winrm", "~> 0.2"

# azure, docker, gcp dependencies
spec.add_dependency "activesupport", ">= 5.2.4.3", "< 6.0.0" # ActiveSupport 6+ does not support ruby 2.4
spec.add_dependency "activesupport", ">= 6.0.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For security reasons, this should be >=6.0.3.1

Suggested change
spec.add_dependency "activesupport", ">= 6.0.0"
spec.add_dependency "activesupport", ">= 6.0.3.1"

@clintoncwolfe clintoncwolfe merged commit de96094 into master May 10, 2021
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

Successfully merging this pull request may close these issues.

ActiveSupport >6.0 does not support Ruby 2.4
3 participants