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

Commit

Permalink
Update ruby dependencies (#3250)
Browse files Browse the repository at this point in the history
* Update ruby dependencies

* Delete unnecessary dependencies

* Disable unnecessary plugins

* Downgrade jekyll to resolve dependency conflict on CI

* Bypass testing tasks
  • Loading branch information
dshevtsov authored Aug 5, 2024
1 parent e4df914 commit 8f6a3fb
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 135 deletions.
22 changes: 13 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,32 @@
source 'https://rubygems.org'

gem 'devdocs', git: 'https://github.com/commerce-docs/devdocs-theme.git'
gem 'jekyll'
gem 'jekyll', '4.2.2'
gem 'rake'
gem 'whatsup_github'
# gem 'whatsup_github'

gem 'wdm', platform: :mswin
# gem 'wdm', platform: :mswin

group :test do
gem 'html-proofer'
gem 'launchy'
gem 'mdl'
# gem 'mdl'
end

group :optimization do
gem 'image_optim'
gem 'image_optim_pack'
end
# group :optimization do
# gem 'image_optim'
# gem 'image_optim_pack'
# end

group :jekyll_plugins do
gem 'jekyll-algolia', '~> 1.0'
# gem 'jekyll-algolia', '~> 1.0'
gem 'jekyll-optional-front-matter'
gem 'jekyll-redirect-from'
gem 'jekyll-relative-links'
gem 'jekyll-sitemap'
gem 'jekyll-titles-from-headings'
end

group :resolutions do
gem 'ffi', '1.15.5'
end
150 changes: 39 additions & 111 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
GIT
remote: https://github.com/commerce-docs/devdocs-theme.git
revision: ec880cfbf9f79abe5628be4eab95db30a58839fa
revision: 04462e71c495bb63ecdf0fd61ca679b116da9026
specs:
devdocs (20)
jekyll (>= 4.0)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
algolia_html_extractor (2.6.4)
json (~> 2.0)
nokogiri (~> 1.10)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
chef-utils (18.0.185)
concurrent-ruby
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
childprocess (5.0.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
concurrent-ruby (1.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
exifr (1.3.10)
faraday (2.7.2)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.15.5)
filesize (0.2.0)
forwardable-extended (2.6.0)
fspath (3.1.2)
html-proofer (4.4.3)
addressable (~> 2.3)
mercenary (~> 0.3)
Expand All @@ -45,53 +31,28 @@ GEM
yell (~> 2.0)
zeitwerk (~> 2.5)
http_parser.rb (0.8.0)
httpclient (2.8.3)
i18n (1.12.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
image_optim (0.31.2)
exifr (~> 1.2, >= 1.2.2)
fspath (~> 3.0)
image_size (>= 1.5, < 4)
in_threads (~> 1.3)
progress (~> 3.0, >= 3.0.1)
image_optim_pack (0.9.1.20221210)
fspath (>= 2.1, < 4)
image_optim (~> 0.19)
image_optim_pack (0.9.1.20221210-x86_64-darwin)
fspath (>= 2.1, < 4)
image_optim (~> 0.19)
image_size (3.2.0)
in_threads (1.6.0)
jekyll (4.3.1)
jekyll (4.2.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-algolia (1.7.1)
algolia_html_extractor (~> 2.6)
algoliasearch (~> 1.26)
filesize (~> 0.1)
jekyll (>= 3.6, < 5.0)
json (~> 2.0)
nokogiri (~> 1.6)
progressbar (~> 1.9)
verbal_expressions (~> 0.1.5)
terminal-table (~> 2.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll-relative-links (0.7.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
Expand All @@ -101,78 +62,50 @@ GEM
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.6.3)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
launchy (2.5.0)
addressable (~> 2.7)
liquid (4.0.3)
listen (3.7.1)
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mdl (0.12.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.1)
mixlib-cli (~> 2.1, >= 2.1.1)
mixlib-config (>= 2.2.1, < 4)
mixlib-shellout
mercenary (0.4.0)
mini_portile2 (2.8.1)
mixlib-cli (2.1.8)
mixlib-config (3.0.27)
tomlrb
mixlib-shellout (3.2.7)
chef-utils
netrc (0.11.0)
nokogiri (1.14.3)
mini_portile2 (~> 2.8.0)
mini_portile2 (2.8.7)
nokogiri (1.15.6)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.14.3-arm64-darwin)
nokogiri (1.15.6-arm64-darwin)
racc (~> 1.4)
nokogiri (1.14.3-x86_64-darwin)
nokogiri (1.15.6-x86_64-darwin)
racc (~> 1.4)
octokit (6.0.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
parallel (1.22.1)
parallel (1.25.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
progress (3.6.0)
progressbar (1.11.0)
public_suffix (5.0.1)
racc (1.6.2)
public_suffix (5.1.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.0.0)
ruby2_keywords (0.0.5)
rexml (3.3.4)
strscan
rouge (3.30.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.2.1)
tomlrb (2.0.3)
typhoeus (1.4.0)
strscan (3.1.0)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.3.0)
verbal_expressions (0.1.5)
wdm (0.1.1)
webrick (1.7.0)
whatsup_github (0.5.0)
netrc (~> 0.11)
octokit (~> 6.0)
thor (~> 1.2)
unicode-display_width (1.8.0)
yell (2.2.2)
zeitwerk (2.6.6)
zeitwerk (2.6.17)

PLATFORMS
arm64-darwin-22
Expand All @@ -184,21 +117,16 @@ PLATFORMS

DEPENDENCIES
devdocs!
ffi (= 1.15.5)
html-proofer
image_optim
image_optim_pack
jekyll
jekyll-algolia (~> 1.0)
jekyll (= 4.2.2)
jekyll-optional-front-matter
jekyll-redirect-from
jekyll-relative-links
jekyll-sitemap
jekyll-titles-from-headings
launchy
mdl
rake
wdm
whatsup_github

BUNDLED WITH
2.1.4
32 changes: 17 additions & 15 deletions rakelib/test.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ namespace :test do

desc 'Check the existing _site for broken INTERNAL links'
task :html do
puts 'Checking HTML ...'.magenta
# puts 'Checking HTML ...'.magenta

LinkChecker.check_site
# LinkChecker.check_site
puts 'Link checking has been disabled since the project is no longer supported'.magenta
end

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

desc 'Test Markdown style with mdl'
task :md do
puts 'Testing Markdown style with mdl ...'.magenta
print 'List the rules: $ '.magenta
sh 'bin/mdl -l --style=_checks/styles/style-rules-prod'
puts 'Linting ...'.magenta
output =
`bin/mdl \
--style=_checks/styles/style-rules-prod \
--ignore-front-matter \
--git-recurse \
-- .`
puts output.yellow
abort 'Fix the reported issues'.red unless output.empty?
puts 'No issues found'.green
# puts 'Testing Markdown style with mdl ...'.magenta
# print 'List the rules: $ '.magenta
# sh 'bin/mdl -l --style=_checks/styles/style-rules-prod'
# puts 'Linting ...'.magenta
# output =
# `bin/mdl \
# --style=_checks/styles/style-rules-prod \
# --ignore-front-matter \
# --git-recurse \
# -- .`
# puts output.yellow
# abort 'Fix the reported issues'.red unless output.empty?
# puts 'No issues found'.green
puts 'Markdown testing has been disabled since the project is no longer supported'.magenta
end

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/"'
Expand Down

0 comments on commit 8f6a3fb

Please sign in to comment.