gitlab-releases 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '012839858bf2b4667e097db4a1f41483c6b1de81079b0d6b66a8c0ca3f79caec'
4
- data.tar.gz: 945ef3fa1e38276db5ade3304bbcfab1ad43f5f292a3bd48080fb34489094e3c
3
+ metadata.gz: 3e51c4e22adebcd75c05415b56213905d1f78dc1f72f15da5da2d82224d83922
4
+ data.tar.gz: 40eb75af8a217fe84e32bca60da04397f8ef9cc326eb4485ac74775bd6ee3413
5
5
  SHA512:
6
- metadata.gz: 5562b8c72e43d208a401087c8d63e1d6ac20d01cd8f2674d0112903cce5ef5174203b3427110c975c157f03fde7a97dfcccf0a1efbc2e56377ac86785a9397ee
7
- data.tar.gz: 0b1b5a0589b7b727e1b9abfa780983ca8621a27b3e2599561e83f65e6a3281e85d09bc402c54d0a4f030b707f0c8a6bb52ecc0cc34d39ddd3fea38a1a38b7d5f
6
+ metadata.gz: 8ebfea495dd73367f14066c7d21dfec3c68f43c7d3588941793c39d0099b87ba9d73a6c1d1b7b8ea50bc11eb22705f0fc47cde223b100baa38864bbc51b26a78
7
+ data.tar.gz: a1f42624bc33734f2cd698cdf7a0ac7f22f937ff05da355dda48f3e3154fe404e2d3c8ff62ce214455f4ad4eaadcff6957487cb06548f87af5143b9519b8330e
data/CHANGELOG.md CHANGED
@@ -1,64 +1,69 @@
1
- ## [0.1.0] - 2023-08-01
1
+ ## [Unreleased]
2
2
 
3
- - Initial release. Starting with 16.6, GitLab monthly release date will be moved from the 22nd to the 3rd Thursday of each month, this gem automatically calculates the release dates and the associated version for 12 months in advance.
3
+ ## [1.0.1] - 2024-11-20
4
4
 
5
- ## [0.1.1] - 2023-08-21
5
+ - Upgrade gitlab gem to 5.1
6
+ - Upgrade activesupport gem to 8.0
6
7
 
7
- - Gem renamed to `releases` to account for new utility methods included (`active_version`, `current_version`, `next_versions`)
8
+ ## [1.0.0] - 2024-07-04
8
9
 
9
- ## [0.1.2] - 2023-08-22
10
+ - Upgrade Ruby to 3.3.1
11
+ - Upgrade gitlab gem to 4.20.1
12
+ - Add runbook for publishing new versions of this gem
13
+
14
+ ## [0.2.9] - 2024-04-18
15
+
16
+ - Fixes `ReleaseCalculator` class to consider major milestones.
17
+
18
+ ## [0.2.8]
10
19
 
11
20
  - Yanked version
12
21
 
13
- ## [0.1.3] - 2023-08-22
22
+ ## [0.2.7] - 2024-03-06
14
23
 
15
- - `version_for_date` and `previous_version` methods included.
24
+ - Add `next_patch_release_date` method to return the next best-effort date for patch releases
16
25
 
17
- ## [0.2.0] - 2023-08-31
26
+ ## [0.2.6] - 2024-02-22
18
27
 
19
- - Gem renamed to `gitlab-releases` to align with GitLab gem naming conventions
20
- - PRODUCTION_TOKEN renamed to RELEASES_GITLAB_READ_TOKEN
28
+ - Add `available_versions` method to return the available GitLab versions (sorted by most recent)
21
29
 
22
- ## [0.2.1] - 2023-09-25
30
+ ## [0.2.5] - 2023-11-23
23
31
 
24
- - `GitlabReleases.active_version` was updated to consider dates equal than the date provided. This mirrors the logic used in release-tools.
32
+ - Add methods to calculate the current version of a given date (`#current_minor_for_date`) and the previous minors for a specific version (`#previous_minors`)
25
33
 
26
- ## [0.2.2] - 2023-10-02
34
+ ## [0.2.4] - 2023-11-03
27
35
 
28
- - Fixed `previous_version` to return the latest patch of the previous minor version.
36
+ - Remove logic for static release date. All release dates will be calculated based on the third Thursday of the month.
29
37
 
30
38
  ## [0.2.3] - 2023-10-11
31
39
 
32
40
  - Update ActiveSupport gem and loosen version restriction
33
41
 
34
- ## [0.2.4] - 2023-11-03
42
+ ## [0.2.2] - 2023-10-02
35
43
 
36
- - Remove logic for static release date. All release dates will be calculated based on the third Thursday of the month.
44
+ - Fixed `previous_version` to return the latest patch of the previous minor version.
37
45
 
38
- ## [0.2.5] - 2023-11-23
46
+ ## [0.2.1] - 2023-09-25
39
47
 
40
- - Add methods to calculate the current version of a given date (`#current_minor_for_date`) and the previous minors for a specific version (`#previous_minors`)
48
+ - `GitlabReleases.active_version` was updated to consider dates equal than the date provided. This mirrors the logic used in release-tools.
41
49
 
42
- ## [0.2.6] - 2024-02-22
50
+ ## [0.2.0] - 2023-08-31
43
51
 
44
- - Add `available_versions` method to return the available GitLab versions (sorted by most recent)
52
+ - Gem renamed to `gitlab-releases` to align with GitLab gem naming conventions
53
+ - PRODUCTION_TOKEN renamed to RELEASES_GITLAB_READ_TOKEN
45
54
 
46
- ## [0.2.7] - 2024-03-06
55
+ ## [0.1.3] - 2023-08-22
47
56
 
48
- - Add `next_patch_release_date` method to return the next best-effort date for patch releases
57
+ - `version_for_date` and `previous_version` methods included.
49
58
 
50
- ## [0.2.8]
59
+ ## [0.1.2] - 2023-08-22
51
60
 
52
61
  - Yanked version
53
62
 
54
- ## [0.2.9] - 2024-04-18
55
-
56
- - Fixes `ReleaseCalculator` class to consider major milestones.
63
+ ## [0.1.1] - 2023-08-21
57
64
 
58
- ## [1.0.0] - 2024-07-04
65
+ - Gem renamed to `releases` to account for new utility methods included (`active_version`, `current_version`, `next_versions`)
59
66
 
60
- - Upgrade Ruby to 3.3.1
61
- - Upgrade gitlab gem to 4.20.1
62
- - Add runbook for publishing new versions of this gem
67
+ ## [0.1.0] - 2023-08-01
63
68
 
64
- ## [Unreleased]
69
+ - Initial release. Starting with 16.6, GitLab monthly release date will be moved from the 22nd to the 3rd Thursday of each month, this gem automatically calculates the release dates and the associated version for 12 months in advance.
data/Gemfile CHANGED
@@ -5,8 +5,8 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in gitlab-releases.gemspec
6
6
  gemspec
7
7
 
8
- gem 'activesupport', '~> 7.1'
9
- gem 'gitlab', '~> 4.20.1'
8
+ gem 'activesupport', '~> 8.0'
9
+ gem 'gitlab', '~> 5.1'
10
10
  gem 'http', '~> 5.2.0'
11
11
  gem 'rake', '~> 13.0'
12
12
  gem 'retriable', '~> 3.1.2'
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-releases (1.0.0)
5
- activesupport (~> 7.1)
6
- gitlab (~> 4.20.1)
4
+ gitlab-releases (1.0.1)
5
+ activesupport (~> 8.0)
6
+ gitlab (~> 5.1)
7
7
  http (~> 5.2.0, ~> 5.2)
8
8
  retriable (~> 3.1.2)
9
9
  version_sorter (~> 2.3.0)
@@ -11,25 +11,29 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.1.3.4)
14
+ activesupport (8.0.0)
15
15
  base64
16
+ benchmark (>= 0.3)
16
17
  bigdecimal
17
- concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ concurrent-ruby (~> 1.0, >= 1.3.1)
18
19
  connection_pool (>= 2.2.5)
19
20
  drb
20
21
  i18n (>= 1.6, < 2)
22
+ logger (>= 1.4.2)
21
23
  minitest (>= 5.1)
22
- mutex_m
23
- tzinfo (~> 2.0)
24
+ securerandom (>= 0.3)
25
+ tzinfo (~> 2.0, >= 2.0.5)
26
+ uri (>= 0.13.1)
24
27
  addressable (2.8.6)
25
28
  public_suffix (>= 2.0.2, < 6.0)
26
29
  ast (2.4.2)
27
30
  base64 (0.2.0)
31
+ benchmark (0.4.0)
28
32
  bigdecimal (3.1.8)
29
33
  binding_of_caller (1.0.1)
30
34
  debug_inspector (>= 1.2.0)
31
35
  coderay (1.1.3)
32
- concurrent-ruby (1.3.3)
36
+ concurrent-ruby (1.3.4)
33
37
  connection_pool (2.4.1)
34
38
  crack (1.0.0)
35
39
  bigdecimal
@@ -42,10 +46,12 @@ GEM
42
46
  ffi (1.17.0)
43
47
  ffi (1.17.0-arm64-darwin)
44
48
  ffi (1.17.0-x86_64-darwin)
49
+ ffi (1.17.0-x86_64-linux-gnu)
45
50
  ffi-compiler (1.3.2)
46
51
  ffi (>= 1.15.5)
47
52
  rake
48
- gitlab (4.20.1)
53
+ gitlab (5.1.0)
54
+ base64 (~> 0.2.0)
49
55
  httparty (~> 0.20)
50
56
  terminal-table (>= 1.5.1)
51
57
  hashdiff (1.1.0)
@@ -62,19 +68,19 @@ GEM
62
68
  csv
63
69
  mini_mime (>= 1.0.0)
64
70
  multi_xml (>= 0.5.2)
65
- i18n (1.14.5)
71
+ i18n (1.14.6)
66
72
  concurrent-ruby (~> 1.0)
67
73
  json (2.7.2)
68
74
  language_server-protocol (3.17.0.3)
69
75
  llhttp-ffi (0.5.0)
70
76
  ffi-compiler (~> 1.0)
71
77
  rake (~> 13.0)
78
+ logger (1.6.1)
72
79
  method_source (1.1.0)
73
80
  mini_mime (1.1.5)
74
- minitest (5.24.0)
81
+ minitest (5.25.1)
75
82
  multi_xml (0.7.1)
76
83
  bigdecimal (~> 3.1)
77
- mutex_m (0.2.0)
78
84
  parallel (1.25.1)
79
85
  parser (3.3.3.0)
80
86
  ast (~> 2.4.1)
@@ -133,6 +139,7 @@ GEM
133
139
  rubocop-ast (1.31.3)
134
140
  parser (>= 3.3.1.0)
135
141
  ruby-progressbar (1.13.0)
142
+ securerandom (0.3.2)
136
143
  strscan (3.1.0)
137
144
  terminal-table (3.0.2)
138
145
  unicode-display_width (>= 1.1.1, < 3)
@@ -143,6 +150,7 @@ GEM
143
150
  unparser (0.6.15)
144
151
  diff-lcs (~> 1.3)
145
152
  parser (>= 3.3.0)
153
+ uri (1.0.2)
146
154
  vcr (6.2.0)
147
155
  version_sorter (2.3.0)
148
156
  webmock (3.18.1)
@@ -157,10 +165,11 @@ PLATFORMS
157
165
  ruby
158
166
  x86_64-darwin-20
159
167
  x86_64-darwin-22
168
+ x86_64-linux
160
169
 
161
170
  DEPENDENCIES
162
- activesupport (~> 7.1)
163
- gitlab (~> 4.20.1)
171
+ activesupport (~> 8.0)
172
+ gitlab (~> 5.1)
164
173
  gitlab-releases!
165
174
  http (~> 5.2.0)
166
175
  pry (~> 0.14.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', '~> 1.0.0'
15
+ gem 'gitlab-releases', '~> 1.0.1'
16
16
  ```
17
17
 
18
18
  Install:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitlabReleases
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mayra Cabrera
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-04 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '7.1'
19
+ version: '8.0'
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.1'
26
+ version: '8.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gitlab
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.20.1
33
+ version: '5.1'
34
34
  type: :runtime
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: 4.20.1
40
+ version: '5.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: http
43
43
  requirement: !ruby/object:Gem::Requirement