Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Drop patch level from dependency version numbers #1015

Merged
merged 1 commit into from
Mar 20, 2017
Merged

Conversation

tysongach
Copy link
Contributor

@tysongach tysongach commented Mar 18, 2017

By dropping the patch level from a pessimistic version constraint, we
allow the gems to automatically update to minor releases within a major
release cycle. This is to say:

  • "~> 3.4.22" is equal to [">= 3.4.0", "< 3.5.0"]
  • "~> 3.4" is equal to [">= 3.4.0", "< 4.0.0"]

See: http://guides.rubygems.org/patterns/#pessimistic-version-constraint

By dropping the patch level from a pessimistic version constraint, we
allow the gems to automatically update to minor releases within a major
release cycle. This is to say:

- "~> 3.4.22" is equal to [">= 3.4.0", "< 3.5.0"]
- "~> 3.4" is equal to [">= 3.4.0", "< 4.0.0"]

See: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
@tysongach tysongach merged commit c6dfc48 into master Mar 20, 2017
@tysongach tysongach deleted the tg-dependencies branch March 20, 2017 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant