14 Commits
Author SHA1 Message Date
EricFromCanada fd79cfa38e null.rb: alias outdated_release? to allow formulae usage 2022-04-13 07:54:54 -04:00
Seeker 32ebc02f2f version: enable Sorbet type checking 2021-01-19 09:28:37 -08:00
Markus Reiter da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
EricFromCanada 3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Markus Reiter 24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter c53f362476 Refactor and document Version. 2020-08-26 03:17:39 +02:00
Seeker 266a944bb5 version/null: add major, minor, patch methods 2020-08-11 13:01:10 -07:00
Jonathan Chang 7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00
Mike McQuaid 36dbad3922 Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid d1ea6f38d3 Fix mutable constants violations. 2019-04-19 21:46:20 +09:00
Mike McQuaid 28fa8a7c97 version: add CPU tests.
Add a new API inspired by discussion in
https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given
CPU option is supported by a version of macOS.
2019-01-28 19:31:21 +00:00
Mike McQuaid 74433968f6 version/null: add to_i method.
Fixes #3504.
2017-11-30 09:42:14 +00:00
Mike McQuaid c1688be780 version/null: add inspect method.
This makes it easier to identify null versions when inspecting them.
2016-11-21 08:48:26 +00:00
Misty De Meo 9bac107b31 Add Version::NULL singleton 2016-11-10 15:08:36 -08:00