Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8f6a3fb

Browse files
authored
Update ruby dependencies (#3250)
* Update ruby dependencies * Delete unnecessary dependencies * Disable unnecessary plugins * Downgrade jekyll to resolve dependency conflict on CI * Bypass testing tasks
1 parent e4df914 commit 8f6a3fb

File tree

3 files changed

+69
-135
lines changed

3 files changed

+69
-135
lines changed

Gemfile

+13-9
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,32 @@
33
source 'https://rubygems.org'
44

55
gem 'devdocs', git: 'https://github.com/commerce-docs/devdocs-theme.git'
6-
gem 'jekyll'
6+
gem 'jekyll', '4.2.2'
77
gem 'rake'
8-
gem 'whatsup_github'
8+
# gem 'whatsup_github'
99

10-
gem 'wdm', platform: :mswin
10+
# gem 'wdm', platform: :mswin
1111

1212
group :test do
1313
gem 'html-proofer'
1414
gem 'launchy'
15-
gem 'mdl'
15+
# gem 'mdl'
1616
end
1717

18-
group :optimization do
19-
gem 'image_optim'
20-
gem 'image_optim_pack'
21-
end
18+
# group :optimization do
19+
# gem 'image_optim'
20+
# gem 'image_optim_pack'
21+
# end
2222

2323
group :jekyll_plugins do
24-
gem 'jekyll-algolia', '~> 1.0'
24+
# gem 'jekyll-algolia', '~> 1.0'
2525
gem 'jekyll-optional-front-matter'
2626
gem 'jekyll-redirect-from'
2727
gem 'jekyll-relative-links'
2828
gem 'jekyll-sitemap'
2929
gem 'jekyll-titles-from-headings'
3030
end
31+
32+
group :resolutions do
33+
gem 'ffi', '1.15.5'
34+
end

Gemfile.lock

+39-111
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,26 @@
11
GIT
22
remote: https://github.com/commerce-docs/devdocs-theme.git
3-
revision: ec880cfbf9f79abe5628be4eab95db30a58839fa
3+
revision: 04462e71c495bb63ecdf0fd61ca679b116da9026
44
specs:
55
devdocs (20)
66
jekyll (>= 4.0)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
addressable (2.8.1)
12-
public_suffix (>= 2.0.2, < 6.0)
13-
algolia_html_extractor (2.6.4)
14-
json (~> 2.0)
15-
nokogiri (~> 1.10)
16-
algoliasearch (1.27.5)
17-
httpclient (~> 2.8, >= 2.8.3)
18-
json (>= 1.5.1)
19-
chef-utils (18.0.185)
20-
concurrent-ruby
11+
addressable (2.8.7)
12+
public_suffix (>= 2.0.2, < 7.0)
13+
childprocess (5.0.0)
2114
colorator (1.1.0)
22-
concurrent-ruby (1.1.10)
15+
concurrent-ruby (1.3.3)
2316
em-websocket (0.5.3)
2417
eventmachine (>= 0.12.9)
2518
http_parser.rb (~> 0)
2619
ethon (0.16.0)
2720
ffi (>= 1.15.0)
2821
eventmachine (1.2.7)
29-
exifr (1.3.10)
30-
faraday (2.7.2)
31-
faraday-net_http (>= 2.0, < 3.1)
32-
ruby2_keywords (>= 0.0.4)
33-
faraday-net_http (3.0.2)
3422
ffi (1.15.5)
35-
filesize (0.2.0)
3623
forwardable-extended (2.6.0)
37-
fspath (3.1.2)
3824
html-proofer (4.4.3)
3925
addressable (~> 2.3)
4026
mercenary (~> 0.3)
@@ -45,53 +31,28 @@ GEM
4531
yell (~> 2.0)
4632
zeitwerk (~> 2.5)
4733
http_parser.rb (0.8.0)
48-
httpclient (2.8.3)
49-
i18n (1.12.0)
34+
i18n (1.14.5)
5035
concurrent-ruby (~> 1.0)
51-
image_optim (0.31.2)
52-
exifr (~> 1.2, >= 1.2.2)
53-
fspath (~> 3.0)
54-
image_size (>= 1.5, < 4)
55-
in_threads (~> 1.3)
56-
progress (~> 3.0, >= 3.0.1)
57-
image_optim_pack (0.9.1.20221210)
58-
fspath (>= 2.1, < 4)
59-
image_optim (~> 0.19)
60-
image_optim_pack (0.9.1.20221210-x86_64-darwin)
61-
fspath (>= 2.1, < 4)
62-
image_optim (~> 0.19)
63-
image_size (3.2.0)
64-
in_threads (1.6.0)
65-
jekyll (4.3.1)
36+
jekyll (4.2.2)
6637
addressable (~> 2.4)
6738
colorator (~> 1.0)
6839
em-websocket (~> 0.5)
6940
i18n (~> 1.0)
70-
jekyll-sass-converter (>= 2.0, < 4.0)
41+
jekyll-sass-converter (~> 2.0)
7142
jekyll-watch (~> 2.0)
72-
kramdown (~> 2.3, >= 2.3.1)
43+
kramdown (~> 2.3)
7344
kramdown-parser-gfm (~> 1.0)
7445
liquid (~> 4.0)
75-
mercenary (>= 0.3.6, < 0.5)
46+
mercenary (~> 0.4.0)
7647
pathutil (~> 0.9)
77-
rouge (>= 3.0, < 5.0)
48+
rouge (~> 3.0)
7849
safe_yaml (~> 1.0)
79-
terminal-table (>= 1.8, < 4.0)
80-
webrick (~> 1.7)
81-
jekyll-algolia (1.7.1)
82-
algolia_html_extractor (~> 2.6)
83-
algoliasearch (~> 1.26)
84-
filesize (~> 0.1)
85-
jekyll (>= 3.6, < 5.0)
86-
json (~> 2.0)
87-
nokogiri (~> 1.6)
88-
progressbar (~> 1.9)
89-
verbal_expressions (~> 0.1.5)
50+
terminal-table (~> 2.0)
9051
jekyll-optional-front-matter (0.3.2)
9152
jekyll (>= 3.0, < 5.0)
9253
jekyll-redirect-from (0.16.0)
9354
jekyll (>= 3.3, < 5.0)
94-
jekyll-relative-links (0.6.1)
55+
jekyll-relative-links (0.7.0)
9556
jekyll (>= 3.3, < 5.0)
9657
jekyll-sass-converter (2.2.0)
9758
sassc (> 2.0.1, < 3.0)
@@ -101,78 +62,50 @@ GEM
10162
jekyll (>= 3.3, < 5.0)
10263
jekyll-watch (2.2.1)
10364
listen (~> 3.0)
104-
json (2.6.3)
10565
kramdown (2.4.0)
10666
rexml
10767
kramdown-parser-gfm (1.1.0)
10868
kramdown (~> 2.0)
109-
launchy (2.5.0)
110-
addressable (~> 2.7)
111-
liquid (4.0.3)
112-
listen (3.7.1)
69+
launchy (3.0.1)
70+
addressable (~> 2.8)
71+
childprocess (~> 5.0)
72+
liquid (4.0.4)
73+
listen (3.9.0)
11374
rb-fsevent (~> 0.10, >= 0.10.3)
11475
rb-inotify (~> 0.9, >= 0.9.10)
115-
mdl (0.12.0)
116-
kramdown (~> 2.3)
117-
kramdown-parser-gfm (~> 1.1)
118-
mixlib-cli (~> 2.1, >= 2.1.1)
119-
mixlib-config (>= 2.2.1, < 4)
120-
mixlib-shellout
12176
mercenary (0.4.0)
122-
mini_portile2 (2.8.1)
123-
mixlib-cli (2.1.8)
124-
mixlib-config (3.0.27)
125-
tomlrb
126-
mixlib-shellout (3.2.7)
127-
chef-utils
128-
netrc (0.11.0)
129-
nokogiri (1.14.3)
130-
mini_portile2 (~> 2.8.0)
77+
mini_portile2 (2.8.7)
78+
nokogiri (1.15.6)
79+
mini_portile2 (~> 2.8.2)
13180
racc (~> 1.4)
132-
nokogiri (1.14.3-arm64-darwin)
81+
nokogiri (1.15.6-arm64-darwin)
13382
racc (~> 1.4)
134-
nokogiri (1.14.3-x86_64-darwin)
83+
nokogiri (1.15.6-x86_64-darwin)
13584
racc (~> 1.4)
136-
octokit (6.0.1)
137-
faraday (>= 1, < 3)
138-
sawyer (~> 0.9)
139-
parallel (1.22.1)
85+
parallel (1.25.1)
14086
pathutil (0.16.2)
14187
forwardable-extended (~> 2.6)
142-
progress (3.6.0)
143-
progressbar (1.11.0)
144-
public_suffix (5.0.1)
145-
racc (1.6.2)
88+
public_suffix (5.1.1)
89+
racc (1.8.1)
14690
rainbow (3.1.1)
147-
rake (13.0.6)
91+
rake (13.2.1)
14892
rb-fsevent (0.11.2)
149-
rb-inotify (0.10.1)
93+
rb-inotify (0.11.1)
15094
ffi (~> 1.0)
151-
rexml (3.2.5)
152-
rouge (4.0.0)
153-
ruby2_keywords (0.0.5)
95+
rexml (3.3.4)
96+
strscan
97+
rouge (3.30.0)
15498
safe_yaml (1.0.5)
15599
sassc (2.4.0)
156100
ffi (~> 1.9)
157-
sawyer (0.9.2)
158-
addressable (>= 2.3.5)
159-
faraday (>= 0.17.3, < 3)
160-
terminal-table (3.0.2)
161-
unicode-display_width (>= 1.1.1, < 3)
162-
thor (1.2.1)
163-
tomlrb (2.0.3)
164-
typhoeus (1.4.0)
101+
strscan (3.1.0)
102+
terminal-table (2.0.0)
103+
unicode-display_width (~> 1.1, >= 1.1.1)
104+
typhoeus (1.4.1)
165105
ethon (>= 0.9.0)
166-
unicode-display_width (2.3.0)
167-
verbal_expressions (0.1.5)
168-
wdm (0.1.1)
169-
webrick (1.7.0)
170-
whatsup_github (0.5.0)
171-
netrc (~> 0.11)
172-
octokit (~> 6.0)
173-
thor (~> 1.2)
106+
unicode-display_width (1.8.0)
174107
yell (2.2.2)
175-
zeitwerk (2.6.6)
108+
zeitwerk (2.6.17)
176109

177110
PLATFORMS
178111
arm64-darwin-22
@@ -184,21 +117,16 @@ PLATFORMS
184117

185118
DEPENDENCIES
186119
devdocs!
120+
ffi (= 1.15.5)
187121
html-proofer
188-
image_optim
189-
image_optim_pack
190-
jekyll
191-
jekyll-algolia (~> 1.0)
122+
jekyll (= 4.2.2)
192123
jekyll-optional-front-matter
193124
jekyll-redirect-from
194125
jekyll-relative-links
195126
jekyll-sitemap
196127
jekyll-titles-from-headings
197128
launchy
198-
mdl
199129
rake
200-
wdm
201-
whatsup_github
202130

203131
BUNDLED WITH
204132
2.1.4

rakelib/test.rake

+17-15
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ namespace :test do
1616

1717
desc 'Check the existing _site for broken INTERNAL links'
1818
task :html do
19-
puts 'Checking HTML ...'.magenta
19+
# puts 'Checking HTML ...'.magenta
2020

21-
LinkChecker.check_site
21+
# LinkChecker.check_site
22+
puts 'Link checking has been disabled since the project is no longer supported'.magenta
2223
end
2324

2425
desc 'Check the existing _site for broken links and report to a separate file'
@@ -48,19 +49,20 @@ namespace :test do
4849

4950
desc 'Test Markdown style with mdl'
5051
task :md do
51-
puts 'Testing Markdown style with mdl ...'.magenta
52-
print 'List the rules: $ '.magenta
53-
sh 'bin/mdl -l --style=_checks/styles/style-rules-prod'
54-
puts 'Linting ...'.magenta
55-
output =
56-
`bin/mdl \
57-
--style=_checks/styles/style-rules-prod \
58-
--ignore-front-matter \
59-
--git-recurse \
60-
-- .`
61-
puts output.yellow
62-
abort 'Fix the reported issues'.red unless output.empty?
63-
puts 'No issues found'.green
52+
# puts 'Testing Markdown style with mdl ...'.magenta
53+
# print 'List the rules: $ '.magenta
54+
# sh 'bin/mdl -l --style=_checks/styles/style-rules-prod'
55+
# puts 'Linting ...'.magenta
56+
# output =
57+
# `bin/mdl \
58+
# --style=_checks/styles/style-rules-prod \
59+
# --ignore-front-matter \
60+
# --git-recurse \
61+
# -- .`
62+
# puts output.yellow
63+
# abort 'Fix the reported issues'.red unless output.empty?
64+
# puts 'No issues found'.green
65+
puts 'Markdown testing has been disabled since the project is no longer supported'.magenta
6466
end
6567

6668
desc 'Find unused images. To exclude by regex pattern, use the "exclude_img" argument. Example of excluding a "layout" directory: "rake test:unused_includes exclude_img=/layout/"'

0 commit comments

Comments
 (0)