EricFromCanada
|
5519a0b379
|
version: check for both cases in suffix
|
2021-07-16 08:28:15 -04:00 |
|
Sam Ford
|
d4c15a6d9d
|
Version: Add parser for hyphenated filenames
|
2021-06-16 14:16:57 -04:00 |
|
nandahkrishna
|
8e5451df2f
|
style: use parentheses for assignment in conditions
|
2021-02-12 18:33:37 +05:30 |
|
Bo Anderson
|
71d81a8611
|
version: handle subclasses in major_minor and major_minor_patch
|
2021-02-09 18:35:22 +00:00 |
|
Seeker
|
35f857e38f
|
version: rename more regex constants
|
2021-01-28 16:59:51 -08:00 |
|
Seeker
|
c5d3b9ae3e
|
version: rename regex constants
|
2021-01-28 16:42:44 -08:00 |
|
Seeker
|
2e6e38ec4d
|
version: rename ALPHA_SUFFIX to PREREL_SUFFIX
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
a52959d5d2
|
version: replace [-.vV] with [.-vV] in regexes
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
fc7c243471
|
version: add constants for regexes
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
d9e8a34d3b
|
version: replace [.] with \. in regex
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
f76bf240cd
|
version: replace [-_] with [_-] in regexes
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
e1d68cf1eb
|
version: make [._-] consistent in regexes
|
2021-01-28 16:41:49 -08:00 |
|
Seeker
|
acdb05dbcf
|
Merge pull request #10407 from SeekingMeaning/version-public-api
version: mark methods as public
|
2021-01-25 18:50:08 -08:00 |
|
Seeker
|
0a0f435a88
|
Merge pull request #10378 from SeekingMeaning/version-regexes
version: add new `Version::Parser` class
|
2021-01-25 09:24:42 -08:00 |
|
Seeker
|
7171b3a41d
|
version: mark methods as public
|
2021-01-24 11:58:22 -08:00 |
|
Seeker
|
568fc86676
|
version: add new Version::Parser class
|
2021-01-21 10:02:48 -08:00 |
|
Jonathan Chang
|
1e04cce19b
|
version: fix type signature
Fixes type error:
Parameter 'val': Expected type T.any(String, Version), got type PkgVersion
|
2021-01-21 16:11:37 +11:00 |
|
Seeker
|
32ebc02f2f
|
version: enable Sorbet type checking
|
2021-01-19 09:28:37 -08:00 |
|
souleater7
|
e50e3e4b22
|
Delete references to devel
|
2021-01-01 10:16:31 -08:00 |
|
Markus Reiter
|
6a125401c7
|
Unescape URL before parsing a version from it.
|
2020-12-19 19:34:18 -05:00 |
|
Markus Reiter
|
1b732ec7b2
|
Fix RuboCop offenses.
|
2020-11-16 02:05:29 +01:00 |
|
Rylan Polster
|
50890ebd51
|
fix Lint/DuplicateBranch style
|
2020-11-16 02:02:52 +01: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 |
|
EricFromCanada
|
dddfbf80fc
|
apidoc: add/update yard tags
|
2020-11-06 00:16:35 -05:00 |
|
Markus Reiter
|
24ae318a3d
|
Move type annotations into files.
|
2020-10-10 14:59:39 +02:00 |
|
Dustin Rodrigues
|
34cf999f20
|
version: support post versions
|
2020-10-05 08:44:03 -04:00 |
|
Seeker
|
4377a08b6e
|
version: allow implicitly converting tokens to strings
|
2020-08-28 10:25:52 -07:00 |
|
Markus Reiter
|
c53f362476
|
Refactor and document Version .
|
2020-08-26 03:17:39 +02:00 |
|
Mike McQuaid
|
3a91c37e66
|
Fix RuboCop checks.
|
2020-08-19 17:12:32 +01:00 |
|
Seeker
|
1aceab06fb
|
version: make major, minor, patch more idiomatic
|
2020-08-12 10:14:11 -07:00 |
|
Seeker
|
fb96ccf4c8
|
version: allow versions to be compared against NULL_TOKEN
|
2020-08-11 13:58:48 -07:00 |
|
Seeker
|
972b924cea
|
version: allow versions to be compared against tokens
|
2020-08-11 12:23:07 -07:00 |
|
Seeker
|
f2112d6761
|
version: add helper methods to Token class
|
2020-08-11 12:22:14 -07:00 |
|
Seeker
|
0feb4532ff
|
version: add major, minor, patch methods
|
2020-08-11 12:08:24 -07:00 |
|
Seeker
|
8b55f8f9a4
|
version: detect versions with final/full suffix
|
2020-08-09 13:38:06 -07:00 |
|
Seeker
|
bcc4f1bb29
|
version: disallow nil value for Token#create
|
2020-08-02 13:13:32 -07:00 |
|
Seeker
|
ab18982a73
|
version: extend token comparisons to strings, integers, and nil
|
2020-08-02 12:32:31 -07:00 |
|
Sam Ford
|
0a1162ca21
|
Modify StringToken::PATTERN to fix comparison
|
2020-07-28 18:25:40 -04:00 |
|
Sam Ford
|
15bc09d916
|
version: add empty? method
|
2020-06-27 21:03:16 -04:00 |
|
EricFromCanada
|
b681d64e59
|
version: handle -stable in tag
|
2020-02-28 14:57:28 -05:00 |
|
Seeker
|
11ebc27e0a
|
version: parse tag if detecting version
|
2020-02-27 10:27:02 -08:00 |
|
Seeker
|
090a52a715
|
Fix detecting version from URL
|
2020-02-23 10:23:35 -08:00 |
|
Issy Long
|
1f6168fe8a
|
Change regexp.match?(string) to string.match?(regexp) everywhere
- Only try to call `.match?` on strings that aren't nil.
|
2019-10-13 23:22:51 +01:00 |
|
Issy Long
|
b78028b9c2
|
Auto-fix Performance/RegexpMatch offenses
|
2019-10-13 16:04:26 +01: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
|
d64429a736
|
rubocop: enable Style/IfUnlessModifier.
|
2019-02-21 12:55:49 +00:00 |
|
Mike McQuaid
|
737b84b54b
|
brew style --fix fixes.
|
2018-11-02 17:29:23 +00:00 |
|
Markus Reiter
|
c4d418e126
|
Use ActiveSupport’s #second .
|
2018-10-07 23:10:56 +02:00 |
|