runger_release_assistant 4.2.1 → 4.3.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +5 -5
- data/README.md +1 -9
- data/lib/runger_release_assistant/version.rb +1 -1
- data/lib/runger_release_assistant.rb +5 -2
- data/runger_release_assistant.gemspec +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72ac278c16da0d5e98cda5bccea174aaf11ae0f90cbf81523c395d1b86c2de85
|
4
|
+
data.tar.gz: e252541ae877d556c8eb374755d994d65003fdb9e4c6b60daaa6e5b290385d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a0350178ce80ae6602fccf3b44f24d5ddf8187f828dbfa31613750fcdaec9b5329bcc32f77b1082c2ab18dfc0d7dc6955cc347f2879211297f2fff87b9caf66
|
7
|
+
data.tar.gz: 07ce3e2bd9e5f51b1effe409e913e4fbf9ad6c1dad995309d53a5ecc41d3de053332b081ca089f3b607fa834361c59e4ee2da7e61ee8bbc8c56bb3a336af92df
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
runger_release_assistant (4.
|
12
|
+
runger_release_assistant (4.3.0)
|
13
13
|
activesupport (>= 6)
|
14
14
|
memo_wise (>= 1.7)
|
15
15
|
rainbow (>= 3.0)
|
@@ -102,8 +102,8 @@ GEM
|
|
102
102
|
rubocop-ast (>= 1.38.0, < 2.0)
|
103
103
|
ruby-progressbar (~> 1.7)
|
104
104
|
unicode-display_width (>= 2.4.0, < 4.0)
|
105
|
-
rubocop-ast (1.
|
106
|
-
parser (>= 3.3.
|
105
|
+
rubocop-ast (1.41.0)
|
106
|
+
parser (>= 3.3.7.2)
|
107
107
|
rubocop-performance (1.24.0)
|
108
108
|
lint_roller (~> 1.1)
|
109
109
|
rubocop (>= 1.72.1, < 2.0)
|
@@ -185,12 +185,12 @@ CHECKSUMS
|
|
185
185
|
rspec-mocks (3.13.2) sha256=2327335def0e1665325a9b617e3af9ae20272741d80ac550336309a7c59abdef
|
186
186
|
rspec-support (3.13.2) sha256=cea3a2463fd9b84b9dcc9685efd80ea701aa8f7b3decb3b3ce795ed67737dbec
|
187
187
|
rubocop (1.74.0) sha256=06138a35d7d11c963d5abc0148b355e3999007cb0225a619940db0e75521379b
|
188
|
-
rubocop-ast (1.
|
188
|
+
rubocop-ast (1.41.0) sha256=0eeff9ad3743f42823e3c687cbc15f8c552ff63c9f8e3d35fbafe746977c7c0d
|
189
189
|
rubocop-performance (1.24.0) sha256=e5bd39ff3e368395b9af886927cc37f5892f43db4bd6c8526594352d5b4440b5
|
190
190
|
rubocop-rspec (3.5.0) sha256=710c942fe1af884ba8eea75cbb8bdbb051929a2208880a6fc2e2dce1eed5304c
|
191
191
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
192
192
|
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
193
|
-
runger_release_assistant (4.
|
193
|
+
runger_release_assistant (4.3.0)
|
194
194
|
runger_style (5.7.0) sha256=200790f3998e0b924df17efc9d440ddec99508bae983ba2a63f42b80624762f0
|
195
195
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
196
196
|
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
data/README.md
CHANGED
@@ -141,17 +141,9 @@ By default, Git tags are created like `v1.0.0`. If you would like to prefix the
|
|
141
141
|
tag_prefix: gem/
|
142
142
|
```
|
143
143
|
|
144
|
-
You must also provide this to bundler by putting something like the following in your `Rakefile`:
|
145
|
-
|
146
|
-
```rb
|
147
|
-
require 'bundler/gem_tasks'
|
148
|
-
require 'runger_release_assistant'
|
149
|
-
Bundler::GemHelper.tag_prefix = RungerReleaseAssistant.new.tag_prefix
|
150
|
-
```
|
151
|
-
|
152
144
|
This example would generate tags in the form `gem/v1.0.0`.
|
153
145
|
|
154
|
-
Note that all version numbers in git tags will be prefixed with at least a `v`. The `tag_prefix` option is to specify
|
146
|
+
Note that all version numbers in git tags will be prefixed with at least a `v`. The `tag_prefix` option is to specify another prefix, in addition to the `v`.
|
155
147
|
|
156
148
|
## Development
|
157
149
|
|
@@ -221,8 +221,11 @@ class RungerReleaseAssistant
|
|
221
221
|
|
222
222
|
def push_to_rubygems
|
223
223
|
logger.debug('Pushing to RubyGems and git')
|
224
|
-
#
|
225
|
-
execute_command(
|
224
|
+
# Show system output because 2FA should be enabled, which requires the user to see the prompt.
|
225
|
+
execute_command(
|
226
|
+
'bundle exec rake build release:guard_clean release:rubygem_push',
|
227
|
+
show_system_output: true,
|
228
|
+
)
|
226
229
|
end
|
227
230
|
|
228
231
|
def push_to_git
|
@@ -40,6 +40,11 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_dependency('rake', '>= 13.2.1')
|
41
41
|
spec.add_dependency('slop', '~> 4.8')
|
42
42
|
|
43
|
-
|
43
|
+
# HACK: Using public_send rather than read works around a Dependabot bug.
|
44
|
+
# rubocop:disable Style/SendWithLiteralMethodName
|
45
|
+
required_ruby_version =
|
46
|
+
File.public_send(:read, '.ruby-version').
|
47
|
+
rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
|
48
|
+
# rubocop:enable Style/SendWithLiteralMethodName
|
44
49
|
spec.required_ruby_version = ">= #{required_ruby_version}"
|
45
50
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runger_release_assistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-21 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|