go_version 1.7.0.pre.alpha → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/lib/go_version/version.rb +1 -1
  4. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4a20269713bd2b8af6e9b16eb05c101ee092f45eab091cf17ec9922092006cc
4
- data.tar.gz: c53b00491c99dff70b239b9d1463fc44f006e5f31a5905a2c43d8285819e458b
3
+ metadata.gz: e0fca588bca54b5cce76b8106d6d68f68f7ba677bb6e893bad79b95971724b42
4
+ data.tar.gz: 318ea393141cf9ce6a545d93a9be6458f271d8f8a4a2b91c13889de873e62488
5
5
  SHA512:
6
- metadata.gz: 7009b1678e4e3b4dde6137dfd721d1e323b3167ad79c4ad5897a5b9c046326cdde3ae64a6337eeaec1ea57c74f00fb0e7e90f8a5db8743aeb792a36d85179f8b
7
- data.tar.gz: 668c105a8aa043e92964cf5532b131ef8bb3dd6923ed75eb4bf89f4182e4fb103139891eb5a0cfe061212e6bca8264bbc86e609a5bc76974a95defe245a5f52b
6
+ metadata.gz: 1ff34f2a96be2fa55d4ab95d510cdf7aa5e7ff636b2488b5d77b54dc1653bbb6bb26a56f0b0f137a570078f7f5667e3de0282f9b17c7ed077c7bfed698eb1969
7
+ data.tar.gz: 1c56062d7e1cdec6969f0eb7e29fbc1ec4d148ebe7916aa221a76749eed4f4b1ab6658fdebd851d114d9e7db9aa920efd0bff71214cebab031e1e5a5ccc5fc0b
data/README.md CHANGED
@@ -8,7 +8,9 @@ This can be useful when you want to match the exact behavior of go-version from
8
8
 
9
9
  ### Prerequisites
10
10
 
11
- go 1.17
11
+ - go 1.22
12
+
13
+ You need `go` to build the native extension for this gem. [Download and install go 1.22+](https://go.dev/doc/install) before installing this gem.
12
14
 
13
15
  ### Installing
14
16
 
@@ -29,15 +31,15 @@ constraint.check("1.0.0") # false
29
31
  2. Checking if a version string is valid
30
32
 
31
33
  ```ruby
32
- require 'go_version'
33
-
34
34
  GoVersion.valid?("1.1.0") # true
35
35
  ```
36
36
 
37
37
  3. Compare two versions
38
38
 
39
39
  ```ruby
40
- require 'go_version'
41
-
42
40
  GoVersion.compare("1.2.0", "1.2.1") # -1
43
41
  ```
42
+
43
+ ### Development
44
+
45
+ run `make build`, then `rake test`
@@ -1,3 +1,3 @@
1
1
  module GoVersion
2
- VERSION = "1.7.0-alpha"
2
+ VERSION = "1.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_version
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.pre.alpha
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Croft
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-12 00:00:00.000000000 Z
11
+ date: 2024-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '5.24'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '5.24'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '13.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '13.2'
55
55
  description: Wraps native go-version in a ruby library for deep compatibility.
56
56
  email: brandon.croft@gmail.com
57
57
  executables: []
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '0'
87
+ version: '2.5'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="