gitlab-releases 0.2.9 → 1.0.0

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: 398d982b17a8d628849e352c7ee03f10e61c8c614c832ace28902fd326a5eebb
4
- data.tar.gz: 69d632509a623cd23dc7498d5a60ec118154c51b98d034bce5e4952210f80355
3
+ metadata.gz: '012839858bf2b4667e097db4a1f41483c6b1de81079b0d6b66a8c0ca3f79caec'
4
+ data.tar.gz: 945ef3fa1e38276db5ade3304bbcfab1ad43f5f292a3bd48080fb34489094e3c
5
5
  SHA512:
6
- metadata.gz: 180fe99859fa9342cda4d121b756a7fc393d4b4579a2d534e9d47b3f3bacbe54408c4c27671ab345a50fffc7c70a32e3c080dfdf94810252414c9318c3a4f27b
7
- data.tar.gz: 9ab1c1360811f394d8dd00f992fb0253b0fa9d21f545394cd650c1cde8c14ad23a04562f16e6e1b492239d56c1193e415e157a95342cad36c143585dd0ccd4bc
6
+ metadata.gz: 5562b8c72e43d208a401087c8d63e1d6ac20d01cd8f2674d0112903cce5ef5174203b3427110c975c157f03fde7a97dfcccf0a1efbc2e56377ac86785a9397ee
7
+ data.tar.gz: 0b1b5a0589b7b727e1b9abfa780983ca8621a27b3e2599561e83f65e6a3281e85d09bc402c54d0a4f030b707f0c8a6bb52ecc0cc34d39ddd3fea38a1a38b7d5f
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.0
2
+ TargetRubyVersion: 3.3
3
3
 
4
4
  Style/StringLiterals:
5
5
  Enabled: false
@@ -24,3 +24,6 @@ Lint/MixedRegexpCaptureTypes:
24
24
 
25
25
  Metrics/BlockLength:
26
26
  Enabled: false
27
+
28
+ Style/HashSyntax:
29
+ EnforcedShorthandSyntax: either
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.3.1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,3 @@
1
- ## [Unreleased]
2
-
3
1
  ## [0.1.0] - 2023-08-01
4
2
 
5
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.
@@ -56,3 +54,11 @@
56
54
  ## [0.2.9] - 2024-04-18
57
55
 
58
56
  - Fixes `ReleaseCalculator` class to consider major milestones.
57
+
58
+ ## [1.0.0] - 2024-07-04
59
+
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
63
+
64
+ ## [Unreleased]
data/Gemfile CHANGED
@@ -6,8 +6,8 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'activesupport', '~> 7.1'
9
- gem 'gitlab', '~> 4.19.0'
10
- gem 'http', '~> 5.1.1'
9
+ gem 'gitlab', '~> 4.20.1'
10
+ gem 'http', '~> 5.2.0'
11
11
  gem 'rake', '~> 13.0'
12
12
  gem 'retriable', '~> 3.1.2'
13
13
  gem 'version_sorter', '~> 2.3.0'
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-releases (0.2.7)
4
+ gitlab-releases (1.0.0)
5
5
  activesupport (~> 7.1)
6
- gitlab (~> 4.19.0)
7
- http (~> 5.1.1, ~> 5.1)
6
+ gitlab (~> 4.20.1)
7
+ http (~> 5.2.0, ~> 5.2)
8
8
  retriable (~> 3.1.2)
9
9
  version_sorter (~> 2.3.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.1.3.2)
14
+ activesupport (7.1.3.4)
15
15
  base64
16
16
  bigdecimal
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -25,94 +25,101 @@ GEM
25
25
  public_suffix (>= 2.0.2, < 6.0)
26
26
  ast (2.4.2)
27
27
  base64 (0.2.0)
28
- bigdecimal (3.1.6)
29
- binding_of_caller (1.0.0)
30
- debug_inspector (>= 0.0.1)
28
+ bigdecimal (3.1.8)
29
+ binding_of_caller (1.0.1)
30
+ debug_inspector (>= 1.2.0)
31
31
  coderay (1.1.3)
32
- concurrent-ruby (1.2.3)
32
+ concurrent-ruby (1.3.3)
33
33
  connection_pool (2.4.1)
34
34
  crack (1.0.0)
35
35
  bigdecimal
36
36
  rexml
37
+ csv (3.3.0)
37
38
  debug_inspector (1.2.0)
38
39
  diff-lcs (1.5.1)
39
40
  domain_name (0.6.20240107)
40
- drb (2.2.0)
41
- ruby2_keywords
42
- ffi (1.16.3)
43
- ffi-compiler (1.0.1)
44
- ffi (>= 1.0.0)
41
+ drb (2.2.1)
42
+ ffi (1.17.0)
43
+ ffi (1.17.0-arm64-darwin)
44
+ ffi (1.17.0-x86_64-darwin)
45
+ ffi-compiler (1.3.2)
46
+ ffi (>= 1.15.5)
45
47
  rake
46
- gitlab (4.19.0)
48
+ gitlab (4.20.1)
47
49
  httparty (~> 0.20)
48
50
  terminal-table (>= 1.5.1)
49
51
  hashdiff (1.1.0)
50
- http (5.1.1)
52
+ http (5.2.0)
51
53
  addressable (~> 2.8)
54
+ base64 (~> 0.1)
52
55
  http-cookie (~> 1.0)
53
56
  http-form_data (~> 2.2)
54
- llhttp-ffi (~> 0.4.0)
55
- http-cookie (1.0.5)
57
+ llhttp-ffi (~> 0.5.0)
58
+ http-cookie (1.0.6)
56
59
  domain_name (~> 0.5)
57
60
  http-form_data (2.3.0)
58
- httparty (0.21.0)
61
+ httparty (0.22.0)
62
+ csv
59
63
  mini_mime (>= 1.0.0)
60
64
  multi_xml (>= 0.5.2)
61
- i18n (1.14.1)
65
+ i18n (1.14.5)
62
66
  concurrent-ruby (~> 1.0)
63
- json (2.7.1)
67
+ json (2.7.2)
64
68
  language_server-protocol (3.17.0.3)
65
- llhttp-ffi (0.4.0)
69
+ llhttp-ffi (0.5.0)
66
70
  ffi-compiler (~> 1.0)
67
71
  rake (~> 13.0)
68
- method_source (1.0.0)
72
+ method_source (1.1.0)
69
73
  mini_mime (1.1.5)
70
- minitest (5.22.2)
71
- multi_xml (0.6.0)
74
+ minitest (5.24.0)
75
+ multi_xml (0.7.1)
76
+ bigdecimal (~> 3.1)
72
77
  mutex_m (0.2.0)
73
- parallel (1.24.0)
74
- parser (3.3.0.5)
78
+ parallel (1.25.1)
79
+ parser (3.3.3.0)
75
80
  ast (~> 2.4.1)
76
81
  racc
77
- proc_to_ast (0.1.0)
78
- coderay
82
+ proc_to_ast (0.2.0)
79
83
  parser
84
+ rouge
80
85
  unparser
81
86
  pry (0.14.2)
82
87
  coderay (~> 1.1)
83
88
  method_source (~> 1.0)
84
- public_suffix (5.0.4)
85
- racc (1.7.3)
89
+ public_suffix (5.1.1)
90
+ racc (1.8.0)
86
91
  rainbow (3.1.1)
87
- rake (13.1.0)
88
- regexp_parser (2.9.0)
92
+ rake (13.2.1)
93
+ regexp_parser (2.9.2)
89
94
  retriable (3.1.2)
90
- rexml (3.2.6)
95
+ rexml (3.3.0)
96
+ strscan
97
+ rouge (4.3.0)
91
98
  rspec (3.13.0)
92
99
  rspec-core (~> 3.13.0)
93
100
  rspec-expectations (~> 3.13.0)
94
101
  rspec-mocks (~> 3.13.0)
95
102
  rspec-core (3.13.0)
96
103
  rspec-support (~> 3.13.0)
97
- rspec-expectations (3.13.0)
104
+ rspec-expectations (3.13.1)
98
105
  diff-lcs (>= 1.2.0, < 2.0)
99
106
  rspec-support (~> 3.13.0)
100
- rspec-mocks (3.13.0)
107
+ rspec-mocks (3.13.1)
101
108
  diff-lcs (>= 1.2.0, < 2.0)
102
109
  rspec-support (~> 3.13.0)
103
- rspec-parameterized (1.0.0)
110
+ rspec-parameterized (1.0.2)
104
111
  rspec-parameterized-core (< 2)
105
112
  rspec-parameterized-table_syntax (< 2)
106
- rspec-parameterized-core (1.0.0)
113
+ rspec-parameterized-core (1.0.1)
107
114
  parser
108
- proc_to_ast
115
+ proc_to_ast (>= 0.2.0)
109
116
  rspec (>= 2.13, < 4)
110
117
  unparser
111
118
  rspec-parameterized-table_syntax (1.0.1)
112
119
  binding_of_caller
113
120
  rspec-parameterized-core (< 2)
114
121
  rspec-support (3.13.1)
115
- rubocop (1.60.2)
122
+ rubocop (1.64.1)
116
123
  json (~> 2.3)
117
124
  language_server-protocol (>= 3.17.0)
118
125
  parallel (~> 1.10)
@@ -120,20 +127,20 @@ GEM
120
127
  rainbow (>= 2.2.2, < 4.0)
121
128
  regexp_parser (>= 1.8, < 3.0)
122
129
  rexml (>= 3.2.5, < 4.0)
123
- rubocop-ast (>= 1.30.0, < 2.0)
130
+ rubocop-ast (>= 1.31.1, < 2.0)
124
131
  ruby-progressbar (~> 1.7)
125
132
  unicode-display_width (>= 2.4.0, < 3.0)
126
- rubocop-ast (1.30.0)
127
- parser (>= 3.2.1.0)
133
+ rubocop-ast (1.31.3)
134
+ parser (>= 3.3.1.0)
128
135
  ruby-progressbar (1.13.0)
129
- ruby2_keywords (0.0.5)
136
+ strscan (3.1.0)
130
137
  terminal-table (3.0.2)
131
138
  unicode-display_width (>= 1.1.1, < 3)
132
- timecop (0.9.8)
139
+ timecop (0.9.10)
133
140
  tzinfo (2.0.6)
134
141
  concurrent-ruby (~> 1.0)
135
142
  unicode-display_width (2.5.0)
136
- unparser (0.6.13)
143
+ unparser (0.6.15)
137
144
  diff-lcs (~> 1.3)
138
145
  parser (>= 3.3.0)
139
146
  vcr (6.2.0)
@@ -153,9 +160,9 @@ PLATFORMS
153
160
 
154
161
  DEPENDENCIES
155
162
  activesupport (~> 7.1)
156
- gitlab (~> 4.19.0)
163
+ gitlab (~> 4.20.1)
157
164
  gitlab-releases!
158
- http (~> 5.1.1)
165
+ http (~> 5.2.0)
159
166
  pry (~> 0.14.0)
160
167
  rake (~> 13.0)
161
168
  retriable (~> 3.1.2)
@@ -168,4 +175,4 @@ DEPENDENCIES
168
175
  webmock (~> 3.18.0)
169
176
 
170
177
  BUNDLED WITH
171
- 2.5.6
178
+ 2.5.13
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.9'
15
+ gem 'gitlab-releases', '~> 1.0.0'
16
16
  ```
17
17
 
18
18
  Install:
@@ -90,6 +90,10 @@ To make use of it:
90
90
 
91
91
  Bug reports and feature requests are welcome on the [Delivery team tracker]. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/CODE_OF_CONDUCT.md).
92
92
 
93
+ ## Releases
94
+
95
+ See the [Releases documentation].
96
+
93
97
  ## License
94
98
 
95
99
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -99,3 +103,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
99
103
  Everyone interacting in the Releases project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/CODE_OF_CONDUCT.md).
100
104
 
101
105
  [Delivery team tracker]: https://gitlab.com/gitlab-com/gl-infra/delivery
106
+ [Releases documentation]: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/master/docs/releases.md
data/docs/releases.md ADDED
@@ -0,0 +1,42 @@
1
+ ## Releases
2
+
3
+ To create a new version:
4
+
5
+ 1. Adjust the [`VERSION` file] according to [Semantic Versioning].
6
+ 2. Add the [Changelog] entry.
7
+ 3. Update the [README] file with the new version.
8
+ 4. Run `bundle install` in this gem's directory on your local environment, and check in the change to Gemfile.lock.
9
+ 5. Create a merge request with the above changes and submit it to review. It is not required for the
10
+ merge request to be merged in order to continue with the next steps.
11
+ 6. On your local, build the new gem from the gemspec specification:
12
+
13
+ ```
14
+ gem build gitlab-releases.gemspec
15
+ ```
16
+
17
+ The above will generate a `gem` file like, `gitlab-releases-x.x.x.gem`, where `x.x.x` is the version
18
+ number set on the [`VERSION` file]. Now we can share the new gem version with the rest of the Ruby community.
19
+ For the next steps you will need to have an account on [RubyGems.org].
20
+
21
+ 7. Log into RubyGems
22
+
23
+ ```
24
+ gem signin
25
+ ```
26
+
27
+ 8. Push the gem file to RubyGems
28
+
29
+ ```
30
+ gem push gitlab-releases-x.x.x.gem
31
+ ````
32
+
33
+ 9. In a short time, the gem will be available for installation to anyone. Go to the the [gitlab-releases RubyGems.org site] to verify.
34
+ 10. Update the [`release-tools` repository] with the new gem version or you can also wait for the renovate bot to open an MR.
35
+
36
+ [`VERSION` file]: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/lib/gitlab_releases/version.rb
37
+ [Semantic Versioning]: https://semver.org/
38
+ [Changelog]: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/CHANGELOG.md
39
+ [README]: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/README.md
40
+ [RubyGems.org]: https://rubygems.org/
41
+ [gitlab-releases RubyGems.org site]: https://rubygems.org/gems/gitlab-releases
42
+ [`release-tools` repository]: https://gitlab.com/gitlab-org/release-tools
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitlabReleases
4
- VERSION = "0.2.9"
4
+ VERSION = "1.0.0"
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: 0.2.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mayra Cabrera
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,34 +30,34 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.19.0
33
+ version: 4.20.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.19.0
40
+ version: 4.20.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: http
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.1'
47
+ version: '5.2'
48
48
  - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: 5.1.1
50
+ version: 5.2.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '5.1'
57
+ version: '5.2'
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 5.1.1
60
+ version: 5.2.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: retriable
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,7 +86,7 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: 2.3.0
89
- description:
89
+ description:
90
90
  email:
91
91
  - mcabrera@gitlab.com
92
92
  executables: []
@@ -103,6 +103,7 @@ files:
103
103
  - LICENSE.txt
104
104
  - README.md
105
105
  - Rakefile
106
+ - docs/releases.md
106
107
  - lib/gitlab_releases.rb
107
108
  - lib/gitlab_releases/date_calculator.rb
108
109
  - lib/gitlab_releases/patch_date_calculator.rb
@@ -120,7 +121,7 @@ metadata:
120
121
  homepage_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases
121
122
  source_code_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases
122
123
  changelog_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases/-/blob/main/CHANGELOG.md
123
- post_install_message:
124
+ post_install_message:
124
125
  rdoc_options: []
125
126
  require_paths:
126
127
  - lib
@@ -128,15 +129,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
129
  requirements:
129
130
  - - ">="
130
131
  - !ruby/object:Gem::Version
131
- version: 3.0.0
132
+ version: 3.3.0
132
133
  required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  requirements:
134
135
  - - ">="
135
136
  - !ruby/object:Gem::Version
136
137
  version: '0'
137
138
  requirements: []
138
- rubygems_version: 3.2.3
139
- signing_key:
139
+ rubygems_version: 3.5.9
140
+ signing_key:
140
141
  specification_version: 4
141
142
  summary: Utilities for GitLab releases and versions
142
143
  test_files: []