runger_release_assistant 0.13.0 → 0.14.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df8da28aa47615ce43376bab40ce4a4e2b8049c8849eb53ba828993752ba26db
4
- data.tar.gz: b6bda4cb35c82550fdc594380ba628fb8eb8b2a59d994be33a6c8833c0653951
3
+ metadata.gz: 6786fcec187bf4caee47826bc91b79b35a0d4f78497278da0f3e5d3463edd790
4
+ data.tar.gz: cc41f2087c50e366a23660d724a3abdc753c8a136894e26f92cc389d806199e5
5
5
  SHA512:
6
- metadata.gz: 38ff2fa41c99f9e50303e128e1575d832c71c21662413e2a74e378734926b48611581a9a2f0bff06d4745f02d9b16cb5db202879713896f2d24676435fffb7db
7
- data.tar.gz: 763bb20929af7eaa34bb9b70fd93ed541b94942ed23f8eb036d2a14ffe7b63b918fc08170b400bb1b8df275ac03d3325a99f4ccd9cfbdacff247d021e9c1890e
6
+ metadata.gz: 4f842cc1ece0e8f1c695f2a78468c9c18f115f9c190c7158cf69a99a51b29caeebc6f1fc57ebe8d51d45ea2d841135f1da52b964e1cbb4af6b7dc088b12d6976
7
+ data.tar.gz: 6aa187e5959bf974adf904070577fb9b754beff1d8120e8cba92918b37360ebeec00c95e3bd981e6c03f740b2f4356e512e56c355ccadd5253d09235e74536af
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.6
1
+ 3.4.1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.14.0 (2024-12-31)
2
+ - Ensure we are on the primary branch when releasing
3
+
1
4
  ## v0.13.0 (2024-12-10)
2
5
  - Remove upper bounds on versions for all dependencies.
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_release_assistant (0.13.0)
4
+ runger_release_assistant (0.14.0)
5
5
  activesupport (>= 6)
6
6
  memo_wise (>= 1.7)
7
7
  rainbow (>= 3.0)
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (8.0.0)
13
+ activesupport (8.0.1)
14
14
  base64
15
15
  benchmark (>= 0.3)
16
16
  bigdecimal
@@ -26,7 +26,7 @@ GEM
26
26
  ast (2.4.2)
27
27
  base64 (0.2.0)
28
28
  benchmark (0.4.0)
29
- bigdecimal (3.1.8)
29
+ bigdecimal (3.1.9)
30
30
  byebug (11.1.3)
31
31
  coderay (1.1.3)
32
32
  concurrent-ruby (1.3.4)
@@ -35,9 +35,9 @@ GEM
35
35
  drb (2.2.1)
36
36
  i18n (1.14.6)
37
37
  concurrent-ruby (~> 1.0)
38
- json (2.9.0)
38
+ json (2.9.1)
39
39
  language_server-protocol (3.17.0.3)
40
- logger (1.6.2)
40
+ logger (1.6.4)
41
41
  memo_wise (1.10.0)
42
42
  method_source (1.1.0)
43
43
  minitest (5.25.4)
@@ -45,7 +45,7 @@ GEM
45
45
  parser (3.3.6.0)
46
46
  ast (~> 2.4.1)
47
47
  racc
48
- prism (1.2.0)
48
+ prism (1.3.0)
49
49
  pry (0.14.2)
50
50
  coderay (~> 1.1)
51
51
  method_source (~> 1.0)
@@ -55,7 +55,7 @@ GEM
55
55
  racc (1.8.1)
56
56
  rainbow (3.1.1)
57
57
  rake (13.2.1)
58
- regexp_parser (2.9.3)
58
+ regexp_parser (2.10.0)
59
59
  rspec (3.13.0)
60
60
  rspec-core (~> 3.13.0)
61
61
  rspec-expectations (~> 3.13.0)
@@ -69,32 +69,34 @@ GEM
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
70
  rspec-support (~> 3.13.0)
71
71
  rspec-support (3.13.1)
72
- rubocop (1.66.1)
72
+ rubocop (1.69.2)
73
73
  json (~> 2.3)
74
74
  language_server-protocol (>= 3.17.0)
75
75
  parallel (~> 1.10)
76
76
  parser (>= 3.3.0.2)
77
77
  rainbow (>= 2.2.2, < 4.0)
78
- regexp_parser (>= 2.4, < 3.0)
79
- rubocop-ast (>= 1.32.2, < 2.0)
78
+ regexp_parser (>= 2.9.3, < 3.0)
79
+ rubocop-ast (>= 1.36.2, < 2.0)
80
80
  ruby-progressbar (~> 1.7)
81
- unicode-display_width (>= 2.4.0, < 3.0)
82
- rubocop-ast (1.36.2)
81
+ unicode-display_width (>= 2.4.0, < 4.0)
82
+ rubocop-ast (1.37.0)
83
83
  parser (>= 3.3.1.0)
84
84
  rubocop-performance (1.23.0)
85
85
  rubocop (>= 1.48.1, < 2.0)
86
86
  rubocop-ast (>= 1.31.1, < 2.0)
87
- rubocop-rspec (3.2.0)
87
+ rubocop-rspec (3.3.0)
88
88
  rubocop (~> 1.61)
89
89
  ruby-progressbar (1.13.0)
90
- runger_style (2.17.0)
90
+ runger_style (3.0.0)
91
91
  prism (>= 0.24.0)
92
- rubocop (>= 1.38.0, < 2)
93
- securerandom (0.4.0)
92
+ rubocop (>= 1.68.0)
93
+ securerandom (0.4.1)
94
94
  slop (4.10.1)
95
95
  tzinfo (2.0.6)
96
96
  concurrent-ruby (~> 1.0)
97
- unicode-display_width (2.6.0)
97
+ unicode-display_width (3.1.3)
98
+ unicode-emoji (~> 4.0, >= 4.0.4)
99
+ unicode-emoji (4.0.4)
98
100
  uri (1.0.2)
99
101
 
100
102
  PLATFORMS
@@ -113,7 +115,7 @@ DEPENDENCIES
113
115
  runger_style
114
116
 
115
117
  RUBY VERSION
116
- ruby 3.3.6p108
118
+ ruby 3.4.1p0
117
119
 
118
120
  BUNDLED WITH
119
- 2.5.23
121
+ 2.6.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  # rubocop:disable Style/StaticClass
4
4
  class RungerReleaseAssistant
5
- VERSION = '0.13.0'
5
+ VERSION = '0.14.0'
6
6
  end
7
7
  # rubocop:enable Style/StaticClass
@@ -71,6 +71,7 @@ class RungerReleaseAssistant
71
71
  end
72
72
 
73
73
  def run_release
74
+ ensure_on_main_branch
74
75
  print_release_info
75
76
  confirm_release_looks_good
76
77
  verify_repository_cleanliness
@@ -109,6 +110,12 @@ class RungerReleaseAssistant
109
110
  end
110
111
  end
111
112
 
113
+ def ensure_on_main_branch
114
+ if current_branch != primary_branch
115
+ fail('You must be on the primary branch to release!')
116
+ end
117
+ end
118
+
112
119
  def print_release_info
113
120
  logger.info("You are running the release process with options #{@options.to_h}.")
114
121
  logger.info("Current released version is #{current_released_version.blue}.")
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_release_assistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-12-11 00:00:00.000000000 Z
10
+ date: 2024-12-31 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -66,7 +65,6 @@ dependencies:
66
65
  - - "~>"
67
66
  - !ruby/object:Gem::Version
68
67
  version: '4.8'
69
- description:
70
68
  email:
71
69
  - davidjrunger@gmail.com
72
70
  executables:
@@ -111,7 +109,6 @@ metadata:
111
109
  homepage_uri: https://github.com/davidrunger/runger_release_assistant
112
110
  source_code_uri: https://github.com/davidrunger/runger_release_assistant
113
111
  changelog_uri: https://github.com/davidrunger/runger_release_assistant/blob/main/CHANGELOG.md
114
- post_install_message:
115
112
  rdoc_options: []
116
113
  require_paths:
117
114
  - lib
@@ -119,15 +116,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
116
  requirements:
120
117
  - - ">="
121
118
  - !ruby/object:Gem::Version
122
- version: 3.3.0
119
+ version: 3.4.0
123
120
  required_rubygems_version: !ruby/object:Gem::Requirement
124
121
  requirements:
125
122
  - - ">="
126
123
  - !ruby/object:Gem::Version
127
124
  version: '0'
128
125
  requirements: []
129
- rubygems_version: 3.5.23
130
- signing_key:
126
+ rubygems_version: 3.6.2
131
127
  specification_version: 4
132
128
  summary: A gem / CLI tool to automate the release process of other gems
133
129
  test_files: []