Skip to content

Commit 6429ecf

Browse files
authored
Release 0.15.4 and update gems (#1425)
1 parent bc47153 commit 6429ecf

File tree

9 files changed

+66
-44
lines changed

9 files changed

+66
-44
lines changed

.rubocop.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,20 @@ AllCops:
88
SuggestExtensions: false
99
TargetRubyVersion: 2.6
1010

11-
#- Pending Cops as of 1.75.7 ---------------------------------------------#
11+
#- Pending Cops as of 1.81.1 ---------------------------------------------#
1212

1313
Gemspec/AddRuntimeDependency: # new in 1.65
1414
Enabled: true
15+
Gemspec/AttributeAssignment: # new in 1.77
16+
Enabled: true
1517
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
1618
Enabled: true
1719
Gemspec/DevelopmentDependencies: # new in 1.44
1820
Enabled: false
1921
Gemspec/RequireMFA: # new in 1.23
2022
Enabled: true
23+
Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
24+
Enabled: true
2125
Layout/LineContinuationLeadingSpace: # new in 1.31
2226
Enabled: false
2327
Layout/LineContinuationSpacing: # new in 1.31
@@ -106,10 +110,14 @@ Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
106110
Enabled: true
107111
Lint/UselessConstantScoping: # new in 1.72
108112
Enabled: true
113+
Lint/UselessDefaultValueArgument: # new in 1.76
114+
Enabled: true
109115
Lint/UselessDefined: # new in 1.69
110116
Enabled: true
111117
Lint/UselessNumericOperation: # new in 1.66
112118
Enabled: true
119+
Lint/UselessOr: # new in 1.76
120+
Enabled: true
113121
Lint/UselessRescue: # new in 1.43
114122
Enabled: true
115123
Lint/UselessRuby2Keywords: # new in 1.23
@@ -120,6 +128,8 @@ Naming/BlockForwarding: # new in 1.24
120128
Enabled: true
121129
Naming/InclusiveLanguage: # (new in 1.18)
122130
Enabled: true
131+
Naming/PredicateMethod: # new in 1.76
132+
Enabled: true
123133
Security/CompoundHash: # new in 1.28
124134
Enabled: true
125135
Style/BitwisePredicate: # new in 1.68
@@ -138,8 +148,12 @@ Style/ArgumentsForwarding: # (new in 1.1)
138148
Enabled: true
139149
Style/ArrayIntersect: # new in 1.40
140150
Enabled: true
151+
Style/ArrayIntersectWithSingleElement: # new in 1.81
152+
Enabled: true
141153
Style/CollectionCompact: # (new in 1.2)
142154
Enabled: true
155+
Style/CollectionQuerying: # new in 1.77
156+
Enabled: true
143157
Style/ComparableClamp: # new in 1.44
144158
Enabled: true
145159
Style/DataInheritance: # new in 1.49
@@ -152,6 +166,8 @@ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
152166
Enabled: true
153167
Style/EmptyHeredoc: # new in 1.32
154168
Enabled: true
169+
Style/EmptyStringInsideInterpolation: # new in 1.76
170+
Enabled: true
155171
Style/EndlessMethod: # (new in 1.8)
156172
Enabled: true
157173
Style/EnvHome: # new in 1.29
@@ -224,6 +240,8 @@ Style/RedundantArgument: # (new in 1.4)
224240
Enabled: true
225241
Style/RedundantArrayConstructor: # new in 1.52
226242
Enabled: true
243+
Style/RedundantArrayFlatten: # new in 1.76
244+
Enabled: true
227245
Style/RedundantConstantBase: # new in 1.40
228246
Enabled: true
229247
Style/RedundantCurrentDirectoryInPath: # new in 1.53

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Master
1+
## 0.15.4
22

33
##### Breaking
44

Gemfile.lock

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GIT
99
PATH
1010
remote: .
1111
specs:
12-
jazzy (0.15.3)
12+
jazzy (0.15.4)
1313
activesupport (>= 5.0, < 8)
1414
cocoapods (~> 1.5)
1515
logger
@@ -29,7 +29,7 @@ GEM
2929
base64
3030
nkf
3131
rexml
32-
activesupport (7.2.2.1)
32+
activesupport (7.2.2.2)
3333
base64
3434
benchmark (>= 0.3)
3535
bigdecimal
@@ -49,9 +49,9 @@ GEM
4949
ast (2.4.3)
5050
atomos (0.1.3)
5151
bacon (1.2.0)
52-
base64 (0.2.0)
53-
benchmark (0.4.0)
54-
bigdecimal (3.1.9)
52+
base64 (0.3.0)
53+
benchmark (0.4.1)
54+
bigdecimal (3.3.1)
5555
claide (1.1.0)
5656
claide-plugins (0.9.2)
5757
cork
@@ -96,52 +96,54 @@ GEM
9696
cocoapods-try (1.2.0)
9797
colored2 (3.1.2)
9898
concurrent-ruby (1.3.5)
99-
connection_pool (2.5.3)
99+
connection_pool (2.5.4)
100100
cork (0.3.0)
101101
colored2 (~> 3.1)
102102
crack (1.0.0)
103103
bigdecimal
104104
rexml
105-
danger (9.5.1)
105+
danger (9.5.3)
106106
base64 (~> 0.2)
107107
claide (~> 1.0)
108108
claide-plugins (>= 0.9.2)
109-
colored2 (~> 3.1)
109+
colored2 (>= 3.1, < 5)
110110
cork (~> 0.1)
111111
faraday (>= 0.9.0, < 3.0)
112112
faraday-http-cache (~> 2.0)
113-
git (~> 1.13)
114-
kramdown (~> 2.3)
113+
git (>= 1.13, < 3.0)
114+
kramdown (>= 2.5.1, < 3.0)
115115
kramdown-parser-gfm (~> 1.0)
116116
octokit (>= 4.0)
117117
pstore (~> 0.1)
118-
terminal-table (>= 1, < 4)
119-
diffy (3.4.3)
118+
terminal-table (>= 1, < 5)
119+
diffy (3.4.4)
120120
drb (2.2.3)
121121
escape (0.0.4)
122-
ethon (0.16.0)
122+
ethon (0.15.0)
123123
ffi (>= 1.15.0)
124-
faraday (2.13.1)
124+
faraday (2.14.0)
125125
faraday-net_http (>= 2.0, < 3.5)
126126
json
127127
logger
128128
faraday-http-cache (2.5.1)
129129
faraday (>= 0.8)
130-
faraday-net_http (3.4.0)
130+
faraday-net_http (3.4.1)
131131
net-http (>= 0.5.0)
132132
ffi (1.17.2)
133133
fourflusher (2.3.1)
134134
fuzzy_match (2.0.4)
135135
gh_inspector (1.1.3)
136-
git (1.19.1)
136+
git (2.3.3)
137+
activesupport (>= 5.0)
137138
addressable (~> 2.8)
139+
process_executer (~> 1.1)
138140
rchardet (~> 1.8)
139-
hashdiff (1.2.0)
141+
hashdiff (1.2.1)
140142
httpclient (2.9.0)
141143
mutex_m
142144
i18n (1.14.7)
143145
concurrent-ruby (~> 1.0)
144-
json (2.12.2)
146+
json (2.15.1)
145147
kramdown (2.5.1)
146148
rexml (>= 3.3.9)
147149
kramdown-parser-gfm (1.1.0)
@@ -151,7 +153,7 @@ GEM
151153
lint_roller (1.1.0)
152154
logger (1.7.0)
153155
mini_portile2 (2.8.9)
154-
minitest (5.25.5)
156+
minitest (5.26.0)
155157
mocha (2.7.1)
156158
ruby2_keywords (>= 0.0.5)
157159
mocha-on-bacon (0.2.3)
@@ -170,34 +172,35 @@ GEM
170172
sawyer (~> 0.9)
171173
open4 (1.3.4)
172174
parallel (1.27.0)
173-
parser (3.3.8.0)
175+
parser (3.3.9.0)
174176
ast (~> 2.4.1)
175177
racc
176178
prettybacon (0.0.2)
177179
bacon (~> 1.2)
178-
prism (1.4.0)
180+
prism (1.6.0)
181+
process_executer (1.3.0)
179182
pstore (0.2.0)
180183
public_suffix (4.0.7)
181184
racc (1.8.1)
182185
rainbow (3.1.1)
183-
rake (13.2.1)
184-
rchardet (1.9.0)
186+
rake (13.3.0)
187+
rchardet (1.10.0)
185188
redcarpet (3.6.1)
186-
regexp_parser (2.10.0)
187-
rexml (3.4.1)
188-
rouge (4.5.2)
189-
rubocop (1.75.7)
189+
regexp_parser (2.11.3)
190+
rexml (3.4.4)
191+
rouge (4.6.1)
192+
rubocop (1.81.1)
190193
json (~> 2.3)
191194
language_server-protocol (~> 3.17.0.2)
192195
lint_roller (~> 1.1.0)
193196
parallel (~> 1.10)
194197
parser (>= 3.3.0.2)
195198
rainbow (>= 2.2.2, < 4.0)
196199
regexp_parser (>= 2.9.3, < 3.0)
197-
rubocop-ast (>= 1.44.0, < 2.0)
200+
rubocop-ast (>= 1.47.1, < 2.0)
198201
ruby-progressbar (~> 1.7)
199202
unicode-display_width (>= 2.4.0, < 4.0)
200-
rubocop-ast (1.44.1)
203+
rubocop-ast (1.47.1)
201204
parser (>= 3.3.7.2)
202205
prism (~> 1.4)
203206
ruby-macho (2.5.1)
@@ -211,15 +214,16 @@ GEM
211214
securerandom (0.4.1)
212215
sqlite3 (1.7.3)
213216
mini_portile2 (~> 2.8.0)
214-
terminal-table (1.6.0)
215-
typhoeus (1.4.1)
216-
ethon (>= 0.9.0)
217+
terminal-table (4.0.0)
218+
unicode-display_width (>= 1.1.1, < 4)
219+
typhoeus (1.5.0)
220+
ethon (>= 0.9.0, < 0.16.0)
217221
tzinfo (2.0.6)
218222
concurrent-ruby (~> 1.0)
219-
unicode-display_width (3.1.4)
220-
unicode-emoji (~> 4.0, >= 4.0.4)
221-
unicode-emoji (4.0.4)
222-
uri (1.0.3)
223+
unicode-display_width (3.2.0)
224+
unicode-emoji (~> 4.1)
225+
unicode-emoji (4.1.0)
226+
uri (1.0.4)
223227
webmock (3.25.1)
224228
addressable (>= 2.8.0)
225229
crack (>= 0.3.2)

lib/jazzy/doc_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def self.make_breadcrumbs(doc_model)
464464
}
465465
end
466466

467-
return breadcrumbs if breadcrumbs.count == 1
467+
return breadcrumbs if breadcrumbs.one?
468468

469469
# Add the module name to the outer type if not clear from context
470470
if docs_path[1].ambiguous_module_name?(docs_path[0].name)

lib/jazzy/doc_index.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def find_parts
178178
Regexp.last_match[1] + Regexp.last_match[3]]
179179
else
180180
name
181-
.sub(%r{^[@\/]}, '') # ignore custom attribute reference, fully-qualified
181+
.sub(%r{^[@/]}, '') # ignore custom attribute reference, fully-qualified
182182
.gsub(/<.*?>/, '') # remove generic parameters
183183
.split(%r{(?<!\.)[/.](?!\.)}) # dot or slash, but not '...'
184184
.reject(&:empty?)

lib/jazzy/docset_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def build!(all_declarations)
3939
private
4040

4141
def safe_name
42-
name.gsub(/[^a-z0-9_\-]+/i, '_')
42+
name.gsub(/[^a-z0-9_-]+/i, '_')
4343
end
4444

4545
def write_plist

lib/jazzy/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Jazzy
4-
VERSION = '0.15.3' unless defined? Jazzy::VERSION
4+
VERSION = '0.15.4' unless defined? Jazzy::VERSION
55
end

lib/jazzy/symbol_graph/graph.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def rebuild_member(rel, source, target)
100100
source.unique_context_constraints(target))
101101

102102
# Add to its parent or invent an extension
103-
unless target&.try_add_child(source, constraints.ext)
103+
unless target&.add_child?(source, constraints.ext)
104104
add_ext_member(rel.target_usr, source, constraints)
105105
end
106106
end

lib/jazzy/symbol_graph/sym_node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def constraints
7676
# It must go in an extension if either:
7777
# - it has different generic constraints to us; or
7878
# - we're a protocol and it's a default impl / ext method
79-
def try_add_child(node, unique_context_constraints)
79+
def add_child?(node, unique_context_constraints)
8080
unless unique_context_constraints.empty? &&
8181
(!protocol? || node.protocol_requirement?)
8282
return false

0 commit comments

Comments
 (0)