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

'rexml', '~> 3.0' #7

Merged
merged 1 commit into from
Jul 17, 2024
Merged

'rexml', '~> 3.0' #7

merged 1 commit into from
Jul 17, 2024

Conversation

Kevinrob
Copy link
Member

@Kevinrob Kevinrob commented Jul 17, 2024

Actuellement, on définit:
spec.add_dependency 'rexml', '~> 3.2.5'

~> permet d'exprimer facilement que la dernière valeur peut évoluer.
'~> 3.2.5' = >= 3.2.5 and < 3.3.

Ici, ça nous empêche de monter à la version 3.3.2 pour fixer le CVE-2024-39908.

~> 3.0 permet de faire >= 3.0 and < 4.0.

https://thoughtbot.com/blog/rubys-pessimistic-operator

@Kevinrob Kevinrob requested a review from Migoo July 17, 2024 07:24
@Kevinrob Kevinrob merged commit 40d780d into main Jul 17, 2024
1 check passed
@Kevinrob Kevinrob deleted the rexml_3.0 branch July 17, 2024 07:42
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.

2 participants