gitlab-releases 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +17 -5
- data/README.md +23 -18
- data/lib/gitlab_releases/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78806d4f54d19b124e736eaa493288e1942b45574eefb88c9777f5a8a9951e6e
|
4
|
+
data.tar.gz: f09e1f9758ed572eae93a7be14ddf2b33718223f0d210c6229e663abba9949ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbc5d17a85e3af99014858f514deda6ad5afc4cfbafbd8dba6eeacf621f017ea71c6adf6f49179d9ea1ce0442a51751843727dfce8825b7f5cbe8a9641b82339
|
7
|
+
data.tar.gz: 468f45b7a38e8d0a90f646cacd6d3ff6422562ad68f6568f2508bf36303a247663964fe5c638d6e49ff7e026ac66430801cd58fe2967ac0d0cbff5ae0aeed64e
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlab-releases (0.2.
|
5
|
-
activesupport (~> 7.
|
4
|
+
gitlab-releases (0.2.3)
|
5
|
+
activesupport (~> 7.1)
|
6
6
|
gitlab (~> 4.19.0)
|
7
7
|
http (~> 5.1.0)
|
8
8
|
retriable (~> 3.1.2)
|
@@ -11,24 +11,34 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (7.0
|
14
|
+
activesupport (7.1.0)
|
15
|
+
base64
|
16
|
+
bigdecimal
|
15
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
connection_pool (>= 2.2.5)
|
19
|
+
drb
|
16
20
|
i18n (>= 1.6, < 2)
|
17
21
|
minitest (>= 5.1)
|
22
|
+
mutex_m
|
18
23
|
tzinfo (~> 2.0)
|
19
24
|
addressable (2.8.5)
|
20
25
|
public_suffix (>= 2.0.2, < 6.0)
|
21
26
|
ast (2.4.2)
|
27
|
+
base64 (0.1.1)
|
28
|
+
bigdecimal (3.1.4)
|
22
29
|
binding_of_caller (1.0.0)
|
23
30
|
debug_inspector (>= 0.0.1)
|
24
31
|
coderay (1.1.3)
|
25
32
|
concurrent-ruby (1.2.2)
|
33
|
+
connection_pool (2.4.1)
|
26
34
|
crack (0.4.5)
|
27
35
|
rexml
|
28
36
|
debug_inspector (1.1.0)
|
29
37
|
diff-lcs (1.5.0)
|
30
38
|
domain_name (0.5.20190701)
|
31
39
|
unf (>= 0.0.5, < 1.0.0)
|
40
|
+
drb (2.1.1)
|
41
|
+
ruby2_keywords
|
32
42
|
ffi (1.15.5)
|
33
43
|
ffi-compiler (1.0.1)
|
34
44
|
ffi (>= 1.0.0)
|
@@ -57,8 +67,9 @@ GEM
|
|
57
67
|
rake (~> 13.0)
|
58
68
|
method_source (1.0.0)
|
59
69
|
mini_mime (1.1.2)
|
60
|
-
minitest (5.
|
70
|
+
minitest (5.20.0)
|
61
71
|
multi_xml (0.6.0)
|
72
|
+
mutex_m (0.1.2)
|
62
73
|
parallel (1.23.0)
|
63
74
|
parser (3.2.2.3)
|
64
75
|
ast (~> 2.4.1)
|
@@ -115,6 +126,7 @@ GEM
|
|
115
126
|
rubocop-ast (1.29.0)
|
116
127
|
parser (>= 3.2.1.0)
|
117
128
|
ruby-progressbar (1.13.0)
|
129
|
+
ruby2_keywords (0.0.5)
|
118
130
|
terminal-table (3.0.2)
|
119
131
|
unicode-display_width (>= 1.1.1, < 3)
|
120
132
|
timecop (0.9.8)
|
@@ -140,7 +152,7 @@ PLATFORMS
|
|
140
152
|
x86_64-darwin-22
|
141
153
|
|
142
154
|
DEPENDENCIES
|
143
|
-
activesupport (~> 7.
|
155
|
+
activesupport (~> 7.1)
|
144
156
|
gitlab (~> 4.19.0)
|
145
157
|
gitlab-releases!
|
146
158
|
http (~> 5.1.0)
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Library to interact with GitLab releases and versions. The information is fetche
|
|
12
12
|
Gemfile:
|
13
13
|
|
14
14
|
```
|
15
|
-
gem 'gitlab-releases', '~> 0.2.
|
15
|
+
gem 'gitlab-releases', '~> 0.2.2'
|
16
16
|
```
|
17
17
|
|
18
18
|
Install:
|
@@ -20,15 +20,22 @@ Install:
|
|
20
20
|
$ gem install gitlab-releases
|
21
21
|
```
|
22
22
|
|
23
|
+
or alternatively to automatically initialize the gem in your bundler project:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
# add to your Gemfile
|
27
|
+
gem 'gitlab-releases', require: 'gitlab_releases'
|
28
|
+
```
|
29
|
+
|
23
30
|
## Usage
|
24
31
|
|
25
32
|
There are different methods available:
|
26
33
|
|
27
34
|
* `upcoming_releases` - Returns the GitLab release date and the associated version for the next 12 months.
|
28
35
|
* `active_version` - Returns the active GitLab version.
|
29
|
-
* `current_version` - Returns the current GitLab version.
|
36
|
+
* `current_version` - Returns the current GitLab minor version.
|
30
37
|
* `next_versions` - Returns the next GitLab patch versions (for patch and security releases).
|
31
|
-
* `previous_version` - Returns the
|
38
|
+
* `previous_version` - Returns the return the latest patch of the previous minor version.
|
32
39
|
|
33
40
|
To make use of it:
|
34
41
|
|
@@ -38,12 +45,9 @@ To make use of it:
|
|
38
45
|
|
39
46
|
```ruby
|
40
47
|
> require 'gitlab_releases'
|
41
|
-
>
|
42
|
-
> releases.upcoming_releases
|
48
|
+
> GitlabReleases.upcoming_releases
|
43
49
|
=>
|
44
|
-
{"16.
|
45
|
-
"16.3"=>"2023-08-22",
|
46
|
-
"16.4"=>"2023-09-22",
|
50
|
+
{"16.4"=>"2023-09-22",
|
47
51
|
"16.5"=>"2023-10-22",
|
48
52
|
"16.6"=>"2023-11-16",
|
49
53
|
"16.7"=>"2023-12-21",
|
@@ -53,16 +57,17 @@ To make use of it:
|
|
53
57
|
"16.11"=>"2024-04-18",
|
54
58
|
"17.0"=>"2024-05-16",
|
55
59
|
"17.1"=>"2024-06-20",
|
56
|
-
"17.2"=>"2024-07-18"
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
60
|
+
"17.2"=>"2024-07-18",
|
61
|
+
"17.3"=>"2024-08-15",
|
62
|
+
"17.4"=>"2024-09-19"}
|
63
|
+
> GitlabReleases.active_version
|
64
|
+
=> "16.5"
|
65
|
+
> GitlabReleases.current_version
|
66
|
+
=> "16.4"
|
67
|
+
> GitlabReleases.next_versions
|
68
|
+
=> ["16.4.2", "16.3.6", "16.2.9"]
|
69
|
+
> GitlabReleases.previous_version
|
70
|
+
=> "16.3.5"
|
66
71
|
```
|
67
72
|
|
68
73
|
## Contributing
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-releases
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mayra Cabrera
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.
|
19
|
+
version: '7.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.
|
26
|
+
version: '7.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gitlab
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
130
|
+
rubygems_version: 3.3.13
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Utilities for GitLab releases and versions
|