runger_release_assistant 0.11.0 → 0.13.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: 64a1650c650f99a77f5b9c36b0656420ec0943a31ce803b6501a83ed3018ed13
4
- data.tar.gz: 32780af66bf5a617d190f01044f9e73440b42e5c653ff1e9d9daea94b5c626b2
3
+ metadata.gz: df8da28aa47615ce43376bab40ce4a4e2b8049c8849eb53ba828993752ba26db
4
+ data.tar.gz: b6bda4cb35c82550fdc594380ba628fb8eb8b2a59d994be33a6c8833c0653951
5
5
  SHA512:
6
- metadata.gz: a59b28167492a89d8d2f42fb89a7a41bbf6b509c41610189a0cfc997814cef46437d3d18723544ab850571be627dd3dc9a7ae98f322e54b44fcd2b253b97b4d6
7
- data.tar.gz: 41c32e223762cdfa3caa319d75dec549843b6a19bf7b8dcaa9e8a901b63e0497bfc0d1b76b0a9e5c5144f5e4b353399aaf613b24d91f1a535e34d71b1c1147a1
6
+ metadata.gz: 38ff2fa41c99f9e50303e128e1575d832c71c21662413e2a74e378734926b48611581a9a2f0bff06d4745f02d9b16cb5db202879713896f2d24676435fffb7db
7
+ data.tar.gz: 763bb20929af7eaa34bb9b70fd93ed541b94942ed23f8eb036d2a14ffe7b63b918fc08170b400bb1b8df275ac03d3325a99f4ccd9cfbdacff247d021e9c1890e
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.3.6
@@ -0,0 +1 @@
1
+ expected-num-github-checks: 1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.13.0 (2024-12-10)
2
+ - Remove upper bounds on versions for all dependencies.
3
+
4
+ ## v0.12.0 (2024-07-28)
5
+ - Execute `safe` command outside of Gemfile context
6
+
1
7
  ## v0.11.0 (2024-07-23)
2
8
  - Run 'safe' command (if one exists) after releasing
3
9
 
data/Gemfile.lock CHANGED
@@ -1,99 +1,101 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_release_assistant (0.11.0)
5
- activesupport (>= 6, < 8)
6
- memo_wise (>= 1.7, < 2)
7
- rainbow (>= 3.0, < 4)
4
+ runger_release_assistant (0.13.0)
5
+ activesupport (>= 6)
6
+ memo_wise (>= 1.7)
7
+ rainbow (>= 3.0)
8
8
  slop (~> 4.8)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.1.3.4)
13
+ activesupport (8.0.0)
14
14
  base64
15
+ benchmark (>= 0.3)
15
16
  bigdecimal
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
17
18
  connection_pool (>= 2.2.5)
18
19
  drb
19
20
  i18n (>= 1.6, < 2)
21
+ logger (>= 1.4.2)
20
22
  minitest (>= 5.1)
21
- mutex_m
22
- tzinfo (~> 2.0)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
25
+ uri (>= 0.13.1)
23
26
  ast (2.4.2)
24
27
  base64 (0.2.0)
28
+ benchmark (0.4.0)
25
29
  bigdecimal (3.1.8)
26
30
  byebug (11.1.3)
27
31
  coderay (1.1.3)
28
- concurrent-ruby (1.3.3)
32
+ concurrent-ruby (1.3.4)
29
33
  connection_pool (2.4.1)
30
34
  diff-lcs (1.5.1)
31
35
  drb (2.2.1)
32
- i18n (1.14.5)
36
+ i18n (1.14.6)
33
37
  concurrent-ruby (~> 1.0)
34
- json (2.7.2)
38
+ json (2.9.0)
35
39
  language_server-protocol (3.17.0.3)
36
- memo_wise (1.9.0)
40
+ logger (1.6.2)
41
+ memo_wise (1.10.0)
37
42
  method_source (1.1.0)
38
- minitest (5.24.1)
39
- mutex_m (0.2.0)
40
- parallel (1.25.1)
41
- parser (3.3.4.0)
43
+ minitest (5.25.4)
44
+ parallel (1.26.3)
45
+ parser (3.3.6.0)
42
46
  ast (~> 2.4.1)
43
47
  racc
44
- prism (0.30.0)
48
+ prism (1.2.0)
45
49
  pry (0.14.2)
46
50
  coderay (~> 1.1)
47
51
  method_source (~> 1.0)
48
52
  pry-byebug (3.10.1)
49
53
  byebug (~> 11.0)
50
54
  pry (>= 0.13, < 0.15)
51
- racc (1.8.0)
55
+ racc (1.8.1)
52
56
  rainbow (3.1.1)
53
57
  rake (13.2.1)
54
- regexp_parser (2.9.2)
55
- rexml (3.3.2)
56
- strscan
58
+ regexp_parser (2.9.3)
57
59
  rspec (3.13.0)
58
60
  rspec-core (~> 3.13.0)
59
61
  rspec-expectations (~> 3.13.0)
60
62
  rspec-mocks (~> 3.13.0)
61
- rspec-core (3.13.0)
63
+ rspec-core (3.13.2)
62
64
  rspec-support (~> 3.13.0)
63
- rspec-expectations (3.13.1)
65
+ rspec-expectations (3.13.3)
64
66
  diff-lcs (>= 1.2.0, < 2.0)
65
67
  rspec-support (~> 3.13.0)
66
- rspec-mocks (3.13.1)
68
+ rspec-mocks (3.13.2)
67
69
  diff-lcs (>= 1.2.0, < 2.0)
68
70
  rspec-support (~> 3.13.0)
69
71
  rspec-support (3.13.1)
70
- rubocop (1.65.0)
72
+ rubocop (1.66.1)
71
73
  json (~> 2.3)
72
74
  language_server-protocol (>= 3.17.0)
73
75
  parallel (~> 1.10)
74
76
  parser (>= 3.3.0.2)
75
77
  rainbow (>= 2.2.2, < 4.0)
76
78
  regexp_parser (>= 2.4, < 3.0)
77
- rexml (>= 3.2.5, < 4.0)
78
- rubocop-ast (>= 1.31.1, < 2.0)
79
+ rubocop-ast (>= 1.32.2, < 2.0)
79
80
  ruby-progressbar (~> 1.7)
80
81
  unicode-display_width (>= 2.4.0, < 3.0)
81
- rubocop-ast (1.31.3)
82
+ rubocop-ast (1.36.2)
82
83
  parser (>= 3.3.1.0)
83
- rubocop-performance (1.21.1)
84
+ rubocop-performance (1.23.0)
84
85
  rubocop (>= 1.48.1, < 2.0)
85
86
  rubocop-ast (>= 1.31.1, < 2.0)
86
- rubocop-rspec (3.0.3)
87
+ rubocop-rspec (3.2.0)
87
88
  rubocop (~> 1.61)
88
89
  ruby-progressbar (1.13.0)
89
- runger_style (2.12.0)
90
+ runger_style (2.17.0)
90
91
  prism (>= 0.24.0)
91
92
  rubocop (>= 1.38.0, < 2)
93
+ securerandom (0.4.0)
92
94
  slop (4.10.1)
93
- strscan (3.1.0)
94
95
  tzinfo (2.0.6)
95
96
  concurrent-ruby (~> 1.0)
96
- unicode-display_width (2.5.0)
97
+ unicode-display_width (2.6.0)
98
+ uri (1.0.2)
97
99
 
98
100
  PLATFORMS
99
101
  ruby
@@ -111,7 +113,7 @@ DEPENDENCIES
111
113
  runger_style
112
114
 
113
115
  RUBY VERSION
114
- ruby 3.3.4p94
116
+ ruby 3.3.6p108
115
117
 
116
118
  BUNDLED WITH
117
- 2.5.11
119
+ 2.5.23
@@ -2,6 +2,6 @@
2
2
 
3
3
  # rubocop:disable Style/StaticClass
4
4
  class RungerReleaseAssistant
5
- VERSION = '0.11.0'
5
+ VERSION = '0.13.0'
6
6
  end
7
7
  # rubocop:enable Style/StaticClass
@@ -223,7 +223,7 @@ class RungerReleaseAssistant
223
223
 
224
224
  def run_safe_command
225
225
  if system('which safe')
226
- execute_command('safe')
226
+ execute_command('safe', clear_bundler_context: true)
227
227
  end
228
228
  end
229
229
 
@@ -235,13 +235,29 @@ class RungerReleaseAssistant
235
235
  `#{command}`.rstrip
236
236
  end
237
237
 
238
- def execute_command(command, raise_error: true, show_system_output: false)
238
+ def execute_command(
239
+ command,
240
+ raise_error: true,
241
+ show_system_output: false,
242
+ clear_bundler_context: false
243
+ )
239
244
  logger.debug("Running system command `#{command}`")
240
- if @options[:show_system_output] || show_system_output
241
- system(command, exception: raise_error)
242
- else
243
- system(command, exception: raise_error, out: File::NULL, err: File::NULL)
244
- end
245
+
246
+ env =
247
+ if clear_bundler_context
248
+ ENV.keys.grep(/\A(BUNDLE|RUBY)/).to_h { [_1, nil] }
249
+ else
250
+ {}
251
+ end
252
+
253
+ kwargs =
254
+ if @options[:show_system_output] || show_system_output
255
+ {}
256
+ else
257
+ { out: File::NULL, err: File::NULL }
258
+ end
259
+
260
+ system(env, command, exception: raise_error, **kwargs)
245
261
  end
246
262
 
247
263
  def restore_and_abort(exit_code:)
@@ -34,9 +34,9 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ['lib']
36
36
 
37
- spec.add_dependency('activesupport', '>= 6', '< 8')
38
- spec.add_dependency('memo_wise', '>= 1.7', '< 2')
39
- spec.add_dependency('rainbow', '>= 3.0', '< 4')
37
+ spec.add_dependency('activesupport', '>= 6')
38
+ spec.add_dependency('memo_wise', '>= 1.7')
39
+ spec.add_dependency('rainbow', '>= 3.0')
40
40
  spec.add_dependency('slop', '~> 4.8')
41
41
 
42
42
  required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_release_assistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '8'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '6'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '8'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: memo_wise
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -37,9 +31,6 @@ dependencies:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
33
  version: '1.7'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '2'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -47,9 +38,6 @@ dependencies:
47
38
  - - ">="
48
39
  - !ruby/object:Gem::Version
49
40
  version: '1.7'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '2'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rainbow
55
43
  requirement: !ruby/object:Gem::Requirement
@@ -57,9 +45,6 @@ dependencies:
57
45
  - - ">="
58
46
  - !ruby/object:Gem::Version
59
47
  version: '3.0'
60
- - - "<"
61
- - !ruby/object:Gem::Version
62
- version: '4'
63
48
  type: :runtime
64
49
  prerelease: false
65
50
  version_requirements: !ruby/object:Gem::Requirement
@@ -67,9 +52,6 @@ dependencies:
67
52
  - - ">="
68
53
  - !ruby/object:Gem::Version
69
54
  version: '3.0'
70
- - - "<"
71
- - !ruby/object:Gem::Version
72
- version: '4'
73
55
  - !ruby/object:Gem::Dependency
74
56
  name: slop
75
57
  requirement: !ruby/object:Gem::Requirement
@@ -99,6 +81,7 @@ files:
99
81
  - ".rspec"
100
82
  - ".rubocop.yml"
101
83
  - ".ruby-version"
84
+ - ".runger-config.yml"
102
85
  - CHANGELOG.md
103
86
  - Gemfile
104
87
  - Gemfile.lock
@@ -143,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
126
  - !ruby/object:Gem::Version
144
127
  version: '0'
145
128
  requirements: []
146
- rubygems_version: 3.5.15
129
+ rubygems_version: 3.5.23
147
130
  signing_key:
148
131
  specification_version: 4
149
132
  summary: A gem / CLI tool to automate the release process of other gems