Skip to content

Commit 1e8122d

Browse files
authored
Release 0.14.4 and update gems (#1367)
1 parent 0938594 commit 1e8122d

File tree

7 files changed

+83
-44
lines changed

7 files changed

+83
-44
lines changed

.rubocop.yml

+36-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ AllCops:
88
SuggestExtensions: false
99
TargetRubyVersion: 2.6
1010

11-
#- Pending Cops as of 1.44.0 ---------------------------------------------#
11+
#- Pending Cops as of 1.56.3 ---------------------------------------------#
1212

1313
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
1414
Enabled: true
1515
Gemspec/DevelopmentDependencies: # new in 1.44
16-
Enabled: true
16+
Enabled: false
1717
Gemspec/RequireMFA: # new in 1.23
1818
Enabled: true
1919
Layout/LineContinuationLeadingSpace: # new in 1.31
@@ -34,6 +34,8 @@ Lint/DuplicateBranch: # (new in 1.3)
3434
Enabled: true
3535
Lint/DuplicateMagicComment: # new in 1.37
3636
Enabled: true
37+
Lint/DuplicateMatchPattern: # new in 1.50
38+
Enabled: true
3739
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
3840
Enabled: true
3941
Lint/EmptyBlock: # (new in 1.1)
@@ -46,6 +48,8 @@ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
4648
Enabled: true
4749
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
4850
Enabled: true
51+
Lint/MixedCaseRange: # new in 1.53
52+
Enabled: true
4953
Lint/NonAtomicFileOperation: # new in 1.31
5054
Enabled: true
5155
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
@@ -56,6 +60,8 @@ Lint/OrAssignmentToConstant: # (new in 1.9)
5660
Enabled: true
5761
Lint/RedundantDirGlobSort: # (new in 1.8)
5862
Enabled: true
63+
Lint/RedundantRegexpQuantifiers: # new in 1.53
64+
Enabled: true
5965
Lint/RefinementImportMethods: # new in 1.27
6066
Enabled: true
6167
Lint/RequireRangeParentheses: # new in 1.32
@@ -76,6 +82,8 @@ Lint/UselessRescue: # new in 1.43
7682
Enabled: true
7783
Lint/UselessRuby2Keywords: # new in 1.23
7884
Enabled: true
85+
Metrics/CollectionLiteralLength: # new in 1.47
86+
Enabled: true
7987
Naming/BlockForwarding: # new in 1.24
8088
Enabled: true
8189
Naming/InclusiveLanguage: # (new in 1.18)
@@ -94,6 +102,10 @@ Style/CollectionCompact: # (new in 1.2)
94102
Enabled: true
95103
Style/ComparableClamp: # new in 1.44
96104
Enabled: true
105+
Style/DataInheritance: # new in 1.49
106+
Enabled: true
107+
Style/DirEmpty: # new in 1.48
108+
Enabled: true
97109
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
98110
Enabled: true
99111
Style/EmptyHeredoc: # new in 1.32
@@ -102,8 +114,12 @@ Style/EndlessMethod: # (new in 1.8)
102114
Enabled: true
103115
Style/EnvHome: # new in 1.29
104116
Enabled: true
117+
Style/ExactRegexpMatch: # new in 1.51
118+
Enabled: true
105119
Style/FetchEnvVar: # new in 1.28
106120
Enabled: true
121+
Style/FileEmpty: # new in 1.48
122+
Enabled: true
107123
Style/FileRead: # new in 1.24
108124
Enabled: true
109125
Style/FileWrite: # new in 1.24
@@ -148,24 +164,42 @@ Style/QuotedSymbols: # (new in 1.16)
148164
Enabled: true
149165
Style/RedundantArgument: # (new in 1.4)
150166
Enabled: true
167+
Style/RedundantArrayConstructor: # new in 1.52
168+
Enabled: true
151169
Style/RedundantConstantBase: # new in 1.40
152170
Enabled: true
171+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
172+
Enabled: true
153173
Style/RedundantDoubleSplatHashBraces: # new in 1.41
154174
Enabled: true
155175
Style/RedundantEach: # new in 1.38
156176
Enabled: true
177+
Style/RedundantFilterChain: # new in 1.52
178+
Enabled: true
179+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
180+
Enabled: true
157181
Style/RedundantInitialize: # new in 1.27
158182
Enabled: true
183+
Style/RedundantLineContinuation: # new in 1.49
184+
Enabled: true
185+
Style/RedundantRegexpArgument: # new in 1.53
186+
Enabled: true
187+
Style/RedundantRegexpConstructor: # new in 1.52
188+
Enabled: true
159189
Style/RedundantSelfAssignmentBranch: # (new in 1.19)
160190
Enabled: true
161191
Style/RedundantStringEscape: # new in 1.37
162192
Enabled: true
193+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
194+
Enabled: true
163195
Style/SelectByRegexp: # new in 1.22
164196
Enabled: true
165197
Style/StringChars: # (new in 1.12)
166198
Enabled: true
167199
Style/SwapValues: # (new in 1.1)
168200
Enabled: true
201+
Style/YAMLFileRead: # new in 1.53
202+
Enabled: true
169203

170204
# At the moment not ready to be used
171205
# https://github.com/bbatsov/rubocop/issues/947

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Master
1+
## 0.14.4
22

33
##### Breaking
44

Gemfile.lock

+42-37
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GIT
99
PATH
1010
remote: .
1111
specs:
12-
jazzy (0.14.3)
12+
jazzy (0.14.4)
1313
cocoapods (~> 1.5)
1414
mustache (~> 1.1)
1515
open4 (~> 1.3)
@@ -25,45 +25,45 @@ GEM
2525
specs:
2626
CFPropertyList (3.0.6)
2727
rexml
28-
activesupport (6.1.7.2)
28+
activesupport (7.0.8)
2929
concurrent-ruby (~> 1.0, >= 1.0.2)
3030
i18n (>= 1.6, < 2)
3131
minitest (>= 5.1)
3232
tzinfo (~> 2.0)
33-
zeitwerk (~> 2.3)
34-
addressable (2.8.1)
33+
addressable (2.8.5)
3534
public_suffix (>= 2.0.2, < 6.0)
3635
algoliasearch (1.27.5)
3736
httpclient (~> 2.8, >= 2.8.3)
3837
json (>= 1.5.1)
3938
ast (2.4.2)
4039
atomos (0.1.3)
4140
bacon (1.2.0)
41+
base64 (0.1.1)
4242
claide (1.1.0)
4343
claide-plugins (0.9.2)
4444
cork
4545
nap
4646
open4 (~> 1.3)
47-
cocoapods (1.11.3)
47+
cocoapods (1.12.1)
4848
addressable (~> 2.8)
4949
claide (>= 1.0.2, < 2.0)
50-
cocoapods-core (= 1.11.3)
50+
cocoapods-core (= 1.12.1)
5151
cocoapods-deintegrate (>= 1.0.3, < 2.0)
52-
cocoapods-downloader (>= 1.4.0, < 2.0)
52+
cocoapods-downloader (>= 1.6.0, < 2.0)
5353
cocoapods-plugins (>= 1.0.0, < 2.0)
5454
cocoapods-search (>= 1.0.0, < 2.0)
55-
cocoapods-trunk (>= 1.4.0, < 2.0)
55+
cocoapods-trunk (>= 1.6.0, < 2.0)
5656
cocoapods-try (>= 1.1.0, < 2.0)
5757
colored2 (~> 3.1)
5858
escape (~> 0.0.4)
5959
fourflusher (>= 2.3.0, < 3.0)
6060
gh_inspector (~> 1.0)
6161
molinillo (~> 0.8.0)
6262
nap (~> 1.0)
63-
ruby-macho (>= 1.0, < 3.0)
63+
ruby-macho (>= 2.3.0, < 3.0)
6464
xcodeproj (>= 1.21.0, < 2.0)
65-
cocoapods-core (1.11.3)
66-
activesupport (>= 5.0, < 7)
65+
cocoapods-core (1.12.1)
66+
activesupport (>= 5.0, < 8)
6767
addressable (~> 2.8)
6868
algoliasearch (~> 1.0)
6969
concurrent-ruby (~> 1.1)
@@ -82,54 +82,56 @@ GEM
8282
netrc (~> 0.11)
8383
cocoapods-try (1.2.0)
8484
colored2 (3.1.2)
85-
concurrent-ruby (1.2.0)
85+
concurrent-ruby (1.2.2)
8686
cork (0.3.0)
8787
colored2 (~> 3.1)
8888
crack (0.4.5)
8989
rexml
90-
danger (9.2.0)
90+
danger (9.3.1)
9191
claide (~> 1.0)
9292
claide-plugins (>= 0.9.2)
9393
colored2 (~> 3.1)
9494
cork (~> 0.1)
9595
faraday (>= 0.9.0, < 3.0)
9696
faraday-http-cache (~> 2.0)
97-
git (~> 1.7)
97+
git (~> 1.13)
9898
kramdown (~> 2.3)
9999
kramdown-parser-gfm (~> 1.0)
100100
no_proxy_fix
101-
octokit (~> 5.0)
101+
octokit (~> 6.0)
102102
terminal-table (>= 1, < 4)
103103
diffy (3.4.2)
104104
escape (0.0.4)
105105
ethon (0.16.0)
106106
ffi (>= 1.15.0)
107-
faraday (2.7.4)
107+
faraday (2.7.11)
108+
base64
108109
faraday-net_http (>= 2.0, < 3.1)
109110
ruby2_keywords (>= 0.0.4)
110-
faraday-http-cache (2.4.1)
111+
faraday-http-cache (2.5.0)
111112
faraday (>= 0.8)
112113
faraday-net_http (3.0.2)
113114
ffi (1.15.5)
114115
fourflusher (2.3.1)
115116
fuzzy_match (2.0.4)
116117
gh_inspector (1.1.3)
117-
git (1.13.1)
118+
git (1.18.0)
118119
addressable (~> 2.8)
119120
rchardet (~> 1.8)
120121
hashdiff (1.0.1)
121122
httpclient (2.8.3)
122-
i18n (1.12.0)
123+
i18n (1.14.1)
123124
concurrent-ruby (~> 1.0)
124125
json (2.6.3)
125126
kramdown (2.4.0)
126127
rexml
127128
kramdown-parser-gfm (1.1.0)
128129
kramdown (~> 2.0)
130+
language_server-protocol (3.17.0.3)
129131
liferaft (0.0.6)
130-
mini_portile2 (2.8.1)
131-
minitest (5.17.0)
132-
mocha (2.0.2)
132+
mini_portile2 (2.8.4)
133+
minitest (5.20.0)
134+
mocha (2.1.0)
133135
ruby2_keywords (>= 0.0.5)
134136
mocha-on-bacon (0.2.3)
135137
mocha (>= 0.13.0)
@@ -139,44 +141,48 @@ GEM
139141
nap (1.1.0)
140142
netrc (0.11.0)
141143
no_proxy_fix (0.1.2)
142-
octokit (5.6.1)
144+
octokit (6.1.1)
143145
faraday (>= 1, < 3)
144146
sawyer (~> 0.9)
145147
open4 (1.3.4)
146-
parallel (1.22.1)
147-
parser (3.2.0.0)
148+
parallel (1.23.0)
149+
parser (3.2.2.3)
148150
ast (~> 2.4.1)
151+
racc
149152
prettybacon (0.0.2)
150153
bacon (~> 1.2)
151154
public_suffix (4.0.7)
155+
racc (1.7.1)
152156
rainbow (3.1.1)
153157
rake (13.0.6)
154158
rchardet (1.8.0)
155159
redcarpet (3.6.0)
156-
regexp_parser (2.6.2)
157-
rexml (3.2.5)
158-
rouge (4.0.1)
159-
rubocop (1.44.1)
160+
regexp_parser (2.8.1)
161+
rexml (3.2.6)
162+
rouge (4.1.3)
163+
rubocop (1.56.3)
164+
base64 (~> 0.1.1)
160165
json (~> 2.3)
166+
language_server-protocol (>= 3.17.0)
161167
parallel (~> 1.10)
162-
parser (>= 3.2.0.0)
168+
parser (>= 3.2.2.3)
163169
rainbow (>= 2.2.2, < 4.0)
164170
regexp_parser (>= 1.8, < 3.0)
165171
rexml (>= 3.2.5, < 4.0)
166-
rubocop-ast (>= 1.24.1, < 2.0)
172+
rubocop-ast (>= 1.28.1, < 2.0)
167173
ruby-progressbar (~> 1.7)
168174
unicode-display_width (>= 2.4.0, < 3.0)
169-
rubocop-ast (1.24.1)
170-
parser (>= 3.1.1.0)
175+
rubocop-ast (1.29.0)
176+
parser (>= 3.2.1.0)
171177
ruby-macho (2.5.1)
172-
ruby-progressbar (1.11.0)
178+
ruby-progressbar (1.13.0)
173179
ruby2_keywords (0.0.5)
174180
sassc (2.4.0)
175181
ffi (~> 1.9)
176182
sawyer (0.9.2)
177183
addressable (>= 2.3.5)
178184
faraday (>= 0.17.3, < 3)
179-
sqlite3 (1.6.0)
185+
sqlite3 (1.6.6)
180186
mini_portile2 (~> 2.8.0)
181187
terminal-table (3.0.2)
182188
unicode-display_width (>= 1.1.1, < 3)
@@ -185,7 +191,7 @@ GEM
185191
tzinfo (2.0.6)
186192
concurrent-ruby (~> 1.0)
187193
unicode-display_width (2.4.2)
188-
webmock (3.18.1)
194+
webmock (3.19.1)
189195
addressable (>= 2.8.0)
190196
crack (>= 0.3.2)
191197
hashdiff (>= 0.4.0, < 2.0.0)
@@ -198,7 +204,6 @@ GEM
198204
colored2 (~> 3.1)
199205
nanaimo (~> 0.3.0)
200206
rexml (~> 3.2.4)
201-
zeitwerk (2.6.6)
202207

203208
PLATFORMS
204209
ruby

lib/jazzy/gem_version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Jazzy
4-
VERSION = '0.14.3' unless defined? Jazzy::VERSION
4+
VERSION = '0.14.4' unless defined? Jazzy::VERSION
55
end

lib/jazzy/search_builder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.build(source_module, output_dir)
1010
[d.url,
1111
{
1212
name: d.name,
13-
abstract: d.abstract && d.abstract.split(/\n/).map(&:strip).first,
13+
abstract: d.abstract && d.abstract.split("\n").map(&:strip).first,
1414
parent_name: d.parent_in_code&.name,
1515
}.reject { |_, v| v.nil? || v.empty? }]
1616
end

lib/jazzy/symbol_graph/symbol.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def adjust_kind_for_declaration(kind, keywords)
111111
end
112112
return kind unless keywords.member?('static')
113113

114-
kind.gsub(/type/, 'static')
114+
kind.gsub('type', 'static')
115115
end
116116

117117
def init_kind(kind, keywords)

0 commit comments

Comments
 (0)