danger-gem_changes 0.0.7 → 0.0.8

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: 1fa9c080dfc155ec38268174f825848bff64fbbe2e752be5f142d18086c887cd
4
- data.tar.gz: 04b94a88454a9ae93127adb8ad4322a65c7b17dc0af75f39a4ee8ed711d7b0fb
3
+ metadata.gz: 7f56d60a961c8a1fbd064d6eba294c6471039dbb2388c2644af787f1c9d3f611
4
+ data.tar.gz: 3548f0fb3df4a6f61ca7fce00c07267616e02d481869df69015b2f01151772e4
5
5
  SHA512:
6
- metadata.gz: a60b5ce13398d355fd17b9ce5c7c6ea21386843d4582aa11b7b218e3cac5ab7d08a1b1cbeafe8101635bb43d443ad187700157fb97b4e29e32ef172e0e27b7b7
7
- data.tar.gz: 1f01989b792ae9f1ff4dc6f683ee4cf3ca372ab8e1e71f029a82faf12d47ca4318fe98fe48c200530e041345becf39655c60596dfc81b76bff0cf27faaee1d75
6
+ metadata.gz: 7df0b21f15eb9573a771a6f7e09e75524079c20546b31b07bf2da2aab172d3a433fc292e5b3ae74dfe8e8a48298f2d89b2672cddf44890b7e444bb763ed47004
7
+ data.tar.gz: de7f70d9df66813d5797711f8b7378723c3b43027449de7ee12183c7c6666af4a03fa4e8edb40895f5901b2d203660bd76be350226929481e7fa2be9a3336a0d
data/.rubocop.yml CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  # If you don't like these settings, just delete this file :)
4
4
 
5
- require:
5
+ plugins:
6
6
  - rubocop-performance
7
7
  - rubocop-rake
8
8
  - rubocop-rspec
9
9
 
10
10
  AllCops:
11
- TargetRubyVersion: 3.1
11
+ TargetRubyVersion: 3.3
12
12
  NewCops: enable
13
13
 
14
14
  Style/StringLiterals:
@@ -152,3 +152,9 @@ Style/PercentLiteralDelimiters:
152
152
 
153
153
  Security/YAMLLoad:
154
154
  Enabled: false
155
+
156
+ Style/AccessModifierDeclarations:
157
+ Enabled: false
158
+
159
+ RSpec/ExampleLength:
160
+ Max: 10
data/Gemfile.lock CHANGED
@@ -8,10 +8,24 @@ PATH
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.8.6)
12
- public_suffix (>= 2.0.2, < 6.0)
13
- ast (2.4.2)
14
- base64 (0.2.0)
11
+ activesupport (8.1.3)
12
+ base64
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ json
19
+ logger (>= 1.4.2)
20
+ minitest (>= 5.1)
21
+ securerandom (>= 0.3)
22
+ tzinfo (~> 2.0, >= 2.0.5)
23
+ uri (>= 0.13.1)
24
+ addressable (2.9.0)
25
+ public_suffix (>= 2.0.2, < 8.0)
26
+ ast (2.4.3)
27
+ base64 (0.3.0)
28
+ bigdecimal (4.1.2)
15
29
  claide (1.1.0)
16
30
  claide-plugins (0.9.2)
17
31
  cork
@@ -19,41 +33,54 @@ GEM
19
33
  open4 (~> 1.3)
20
34
  coderay (1.1.3)
21
35
  colored2 (3.1.2)
36
+ concurrent-ruby (1.3.6)
37
+ connection_pool (3.0.2)
22
38
  cork (0.3.0)
23
39
  colored2 (~> 3.1)
24
- danger (9.4.3)
40
+ danger (9.5.3)
41
+ base64 (~> 0.2)
25
42
  claide (~> 1.0)
26
43
  claide-plugins (>= 0.9.2)
27
- colored2 (~> 3.1)
44
+ colored2 (>= 3.1, < 5)
28
45
  cork (~> 0.1)
29
46
  faraday (>= 0.9.0, < 3.0)
30
47
  faraday-http-cache (~> 2.0)
31
- git (~> 1.13)
32
- kramdown (~> 2.3)
48
+ git (>= 1.13, < 3.0)
49
+ kramdown (>= 2.5.1, < 3.0)
33
50
  kramdown-parser-gfm (~> 1.0)
34
- no_proxy_fix
35
51
  octokit (>= 4.0)
36
- terminal-table (>= 1, < 4)
52
+ pstore (~> 0.1)
53
+ terminal-table (>= 1, < 5)
37
54
  danger-plugin-api (1.0.0)
38
55
  danger (> 2.0)
39
- debug (1.9.2)
56
+ date (3.5.1)
57
+ debug (1.11.1)
40
58
  irb (~> 1.10)
41
59
  reline (>= 0.3.8)
42
- diff-lcs (1.5.1)
43
- faraday (2.9.0)
44
- faraday-net_http (>= 2.0, < 3.2)
45
- faraday-http-cache (2.5.1)
60
+ diff-lcs (1.6.2)
61
+ drb (2.2.3)
62
+ erb (6.0.4)
63
+ faraday (2.14.3)
64
+ faraday-net_http (>= 2.0, < 3.5)
65
+ json
66
+ logger
67
+ faraday-http-cache (2.7.0)
46
68
  faraday (>= 0.8)
47
- faraday-net_http (3.1.0)
48
- net-http
49
- ffi (1.16.3)
50
- formatador (1.1.0)
51
- git (1.19.1)
69
+ faraday-net_http (3.4.4)
70
+ net-http (~> 0.5)
71
+ ffi (1.17.4)
72
+ ffi (1.17.4-arm64-darwin)
73
+ formatador (1.2.3)
74
+ reline
75
+ git (2.3.3)
76
+ activesupport (>= 5.0)
52
77
  addressable (~> 2.8)
78
+ process_executer (~> 1.1)
53
79
  rchardet (~> 1.8)
54
- guard (2.18.1)
80
+ guard (2.20.1)
55
81
  formatador (>= 0.2.4)
56
82
  listen (>= 2.7, < 4.0)
83
+ logger (~> 1.6)
57
84
  lumberjack (>= 1.0.12, < 2.0)
58
85
  nenv (~> 0.1)
59
86
  notiffany (~> 0.0)
@@ -65,117 +92,137 @@ GEM
65
92
  guard (~> 2.1)
66
93
  guard-compat (~> 1.1)
67
94
  rspec (>= 2.99.0, < 4.0)
68
- io-console (0.7.2)
69
- irb (1.13.1)
95
+ i18n (1.14.8)
96
+ concurrent-ruby (~> 1.0)
97
+ io-console (0.8.2)
98
+ irb (1.18.0)
99
+ pp (>= 0.6.0)
100
+ prism (>= 1.3.0)
70
101
  rdoc (>= 4.0.0)
71
102
  reline (>= 0.4.2)
72
- json (2.7.2)
73
- kramdown (2.4.0)
74
- rexml
103
+ json (2.19.9)
104
+ kramdown (2.5.2)
105
+ rexml (>= 3.4.4)
75
106
  kramdown-parser-gfm (1.1.0)
76
107
  kramdown (~> 2.0)
77
- language_server-protocol (3.17.0.3)
78
- listen (3.9.0)
108
+ language_server-protocol (3.17.0.5)
109
+ lint_roller (1.1.0)
110
+ listen (3.10.0)
111
+ logger
79
112
  rb-fsevent (~> 0.10, >= 0.10.3)
80
113
  rb-inotify (~> 0.9, >= 0.9.10)
81
- lumberjack (1.2.10)
114
+ logger (1.7.0)
115
+ lumberjack (1.4.2)
82
116
  method_source (1.1.0)
83
- mini_portile2 (2.8.6)
117
+ mini_portile2 (2.8.9)
118
+ minitest (6.0.6)
119
+ drb (~> 2.0)
120
+ prism (~> 1.5)
84
121
  nap (1.1.0)
85
122
  nenv (0.3.0)
86
- net-http (0.4.1)
87
- uri
88
- no_proxy_fix (0.1.2)
89
- nokogiri (1.16.4)
123
+ net-http (0.9.1)
124
+ uri (>= 0.11.1)
125
+ nokogiri (1.19.3)
90
126
  mini_portile2 (~> 2.8.2)
91
127
  racc (~> 1.4)
92
- nokogiri (1.16.4-arm64-darwin)
128
+ nokogiri (1.19.3-arm64-darwin)
93
129
  racc (~> 1.4)
94
130
  notiffany (0.1.3)
95
131
  nenv (~> 0.1)
96
132
  shellany (~> 0.0)
97
- octokit (8.1.0)
98
- base64
133
+ octokit (10.0.0)
99
134
  faraday (>= 1, < 3)
100
135
  sawyer (~> 0.9)
101
136
  open4 (1.3.4)
102
- parallel (1.24.0)
103
- parser (3.3.1.0)
137
+ parallel (2.1.0)
138
+ parser (3.3.11.1)
104
139
  ast (~> 2.4.1)
105
140
  racc
106
- pry (0.14.2)
141
+ pp (0.6.3)
142
+ prettyprint
143
+ prettyprint (0.2.0)
144
+ prism (1.9.0)
145
+ process_executer (1.3.0)
146
+ pry (0.16.0)
107
147
  coderay (~> 1.1)
108
148
  method_source (~> 1.0)
109
- psych (5.1.2)
149
+ reline (>= 0.6.0)
150
+ pstore (0.2.1)
151
+ psych (5.4.0)
152
+ date
110
153
  stringio
111
- public_suffix (5.0.5)
112
- racc (1.7.3)
154
+ public_suffix (7.0.5)
155
+ racc (1.8.1)
113
156
  rainbow (3.1.1)
114
- rake (13.2.1)
157
+ rake (13.4.2)
115
158
  rb-fsevent (0.11.2)
116
- rb-inotify (0.10.1)
159
+ rb-inotify (0.11.1)
117
160
  ffi (~> 1.0)
118
- rchardet (1.8.0)
119
- rdoc (6.6.3.1)
161
+ rchardet (1.10.2)
162
+ rdoc (7.2.0)
163
+ erb
120
164
  psych (>= 4.0.0)
121
- regexp_parser (2.9.0)
122
- reline (0.5.6)
165
+ tsort
166
+ regexp_parser (2.12.0)
167
+ reline (0.6.3)
123
168
  io-console (~> 0.5)
124
- rexml (3.2.6)
125
- rspec (3.13.0)
169
+ rexml (3.4.4)
170
+ rspec (3.13.2)
126
171
  rspec-core (~> 3.13.0)
127
172
  rspec-expectations (~> 3.13.0)
128
173
  rspec-mocks (~> 3.13.0)
129
- rspec-core (3.13.0)
174
+ rspec-core (3.13.6)
130
175
  rspec-support (~> 3.13.0)
131
- rspec-expectations (3.13.0)
176
+ rspec-expectations (3.13.5)
132
177
  diff-lcs (>= 1.2.0, < 2.0)
133
178
  rspec-support (~> 3.13.0)
134
- rspec-mocks (3.13.1)
179
+ rspec-mocks (3.13.8)
135
180
  diff-lcs (>= 1.2.0, < 2.0)
136
181
  rspec-support (~> 3.13.0)
137
- rspec-support (3.13.1)
138
- rubocop (1.63.5)
182
+ rspec-support (3.13.7)
183
+ rubocop (1.88.0)
139
184
  json (~> 2.3)
140
- language_server-protocol (>= 3.17.0)
141
- parallel (~> 1.10)
185
+ language_server-protocol (~> 3.17.0.2)
186
+ lint_roller (~> 1.1.0)
187
+ parallel (>= 1.10)
142
188
  parser (>= 3.3.0.2)
143
189
  rainbow (>= 2.2.2, < 4.0)
144
- regexp_parser (>= 1.8, < 3.0)
145
- rexml (>= 3.2.5, < 4.0)
146
- rubocop-ast (>= 1.31.1, < 2.0)
190
+ regexp_parser (>= 2.9.3, < 3.0)
191
+ rubocop-ast (>= 1.49.0, < 2.0)
147
192
  ruby-progressbar (~> 1.7)
148
- unicode-display_width (>= 2.4.0, < 3.0)
149
- rubocop-ast (1.31.3)
150
- parser (>= 3.3.1.0)
151
- rubocop-capybara (2.20.0)
152
- rubocop (~> 1.41)
153
- rubocop-factory_bot (2.25.1)
154
- rubocop (~> 1.41)
155
- rubocop-performance (1.21.0)
156
- rubocop (>= 1.48.1, < 2.0)
157
- rubocop-ast (>= 1.31.1, < 2.0)
158
- rubocop-rake (0.6.0)
159
- rubocop (~> 1.0)
160
- rubocop-rspec (2.29.2)
161
- rubocop (~> 1.40)
162
- rubocop-capybara (~> 2.17)
163
- rubocop-factory_bot (~> 2.22)
164
- rubocop-rspec_rails (~> 2.28)
165
- rubocop-rspec_rails (2.28.3)
166
- rubocop (~> 1.40)
193
+ unicode-display_width (>= 2.4.0, < 4.0)
194
+ rubocop-ast (1.49.1)
195
+ parser (>= 3.3.7.2)
196
+ prism (~> 1.7)
197
+ rubocop-performance (1.26.1)
198
+ lint_roller (~> 1.1)
199
+ rubocop (>= 1.75.0, < 2.0)
200
+ rubocop-ast (>= 1.47.1, < 2.0)
201
+ rubocop-rake (0.7.1)
202
+ lint_roller (~> 1.1)
203
+ rubocop (>= 1.72.1)
204
+ rubocop-rspec (3.10.2)
205
+ lint_roller (~> 1.1)
206
+ regexp_parser (>= 2.0)
207
+ rubocop (~> 1.86, >= 1.86.2)
167
208
  ruby-progressbar (1.13.0)
168
- sawyer (0.9.2)
209
+ sawyer (0.9.3)
169
210
  addressable (>= 2.3.5)
170
211
  faraday (>= 0.17.3, < 3)
212
+ securerandom (0.4.1)
171
213
  shellany (0.0.1)
172
- stringio (3.1.0)
173
- terminal-table (3.0.2)
174
- unicode-display_width (>= 1.1.1, < 3)
175
- thor (1.3.1)
176
- unicode-display_width (2.5.0)
177
- uri (0.13.0)
178
- yard (0.9.36)
214
+ stringio (3.2.0)
215
+ terminal-table (4.0.0)
216
+ unicode-display_width (>= 1.1.1, < 4)
217
+ thor (1.5.0)
218
+ tsort (0.2.0)
219
+ tzinfo (2.0.6)
220
+ concurrent-ruby (~> 1.0)
221
+ unicode-display_width (3.2.0)
222
+ unicode-emoji (~> 4.1)
223
+ unicode-emoji (4.2.0)
224
+ uri (1.1.1)
225
+ yard (0.9.44)
179
226
 
180
227
  PLATFORMS
181
228
  arm64-darwin-22
@@ -197,4 +244,4 @@ DEPENDENCIES
197
244
  yard
198
245
 
199
246
  BUNDLED WITH
200
- 2.5.6
247
+ 4.0.14
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2024 John DeSilva <john@aesthetikx.info>
1
+ Copyright (c) 2026 John DeSilva <john@aesthetikx.info>
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # danger-gem_changes
2
2
 
3
- This is a Danger plugin that can assist with reviews involving Gemfile
4
- dependency changes. It can display a helpful table with links to changelogs and
5
- diffs, and provides a DSL for evaluating changes to your depdencies.
3
+ This is a [Danger](https://danger.systems/ruby/) plugin that can assist with
4
+ reviews involving Gemfile dependency changes. It can display a helpful table
5
+ with links to changelogs and diffs, and provides a DSL for evaluating changes
6
+ to your depdencies.
6
7
 
7
8
  ## Installation
8
9
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.metadata["rubygems_mfa_required"] = "true"
22
22
  spec.metadata["source_code_uri"] = spec.homepage
23
23
  spec.metadata["issue_tracker_uri"] = "#{spec.homepage}/issues"
24
- spec.required_ruby_version = ">= 3.1"
25
- spec.add_runtime_dependency "danger-plugin-api", "~> 1.0"
26
- spec.add_runtime_dependency "nokogiri", "~> 1.0"
24
+ spec.required_ruby_version = ">= 3.3"
25
+ spec.add_dependency "danger-plugin-api", "~> 1.0"
26
+ spec.add_dependency "nokogiri", "~> 1.0"
27
27
  end
data/lib/danger_plugin.rb CHANGED
@@ -10,6 +10,8 @@ module Danger
10
10
  # gem_changes.summarize_changes
11
11
  #
12
12
  # @see Aesthetikx/danger-gem_changes
13
+ #
14
+ # @tags changelogs, dependencies, gemfile, gems, updates, versions
13
15
  class DangerGemChanges < Plugin
14
16
  # Print a summary of the changes to the Gemfile.lock.
15
17
  # @param changes [Array<GemChanges::Change>] An optional list of changes to summarize, defaulting to all changes.
@@ -46,7 +46,7 @@ module GemChanges
46
46
 
47
47
  private
48
48
 
49
- def Version(something)
49
+ def Version(something) # rubocop:disable Naming/MethodName
50
50
  case something
51
51
  when nil then nil
52
52
  when ::Gem::Version then something
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemChanges
4
- VERSION = "0.0.7"
4
+ VERSION = "0.0.8"
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  require "pathname"
4
4
  ROOT = Pathname.new(File.expand_path("..", __dir__))
5
- $:.unshift("#{ROOT}lib".to_s)
6
- $:.unshift("#{ROOT}spec".to_s)
5
+ $:.unshift("#{ROOT}lib")
6
+ $:.unshift("#{ROOT}spec")
7
7
 
8
8
  require "bundler/setup"
9
9
  require "debug"
@@ -12,8 +12,10 @@ require "rspec"
12
12
  require "danger"
13
13
 
14
14
  if `git remote -v` == ""
15
+ # rubocop:disable RSpec/Output
15
16
  puts "You cannot run tests without setting a local git remote on this repo"
16
17
  puts "It's a weird side-effect of Danger's internals."
18
+ # rubocop:enable RSpec/Output
17
19
  exit(0)
18
20
  end
19
21
 
@@ -33,7 +35,6 @@ require "danger_plugin"
33
35
  # it comes with an extra function `.string` which will
34
36
  # strip all ANSI colours from the string.
35
37
 
36
- # rubocop:disable Lint/NestedMethodDefinition
37
38
  def testing_ui
38
39
  @output = StringIO.new
39
40
  def @output.winsize
@@ -46,7 +47,6 @@ def testing_ui
46
47
  end
47
48
  cork
48
49
  end
49
- # rubocop:enable Lint/NestedMethodDefinition
50
50
 
51
51
  # Example environment (ENV) that would come from
52
52
  # running a PR on TravisCI
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-gem_changes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John DeSilva
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: danger-plugin-api
@@ -73,7 +72,6 @@ metadata:
73
72
  rubygems_mfa_required: 'true'
74
73
  source_code_uri: https://github.com/Aesthetikx/danger-gem_changes
75
74
  issue_tracker_uri: https://github.com/Aesthetikx/danger-gem_changes/issues
76
- post_install_message:
77
75
  rdoc_options: []
78
76
  require_paths:
79
77
  - lib
@@ -81,15 +79,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
79
  requirements:
82
80
  - - ">="
83
81
  - !ruby/object:Gem::Version
84
- version: '3.1'
82
+ version: '3.3'
85
83
  required_rubygems_version: !ruby/object:Gem::Requirement
86
84
  requirements:
87
85
  - - ">="
88
86
  - !ruby/object:Gem::Version
89
87
  version: '0'
90
88
  requirements: []
91
- rubygems_version: 3.4.10
92
- signing_key:
89
+ rubygems_version: 4.0.10
93
90
  specification_version: 4
94
91
  summary: A danger plugin for helping review gem depencency changes.
95
92
  test_files: []