diff --git a/Gemfile.lock b/Gemfile.lock index 779def5..d37bbb3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,10 @@ PATH remote: . specs: - asciidoctor-foodogsquared-extensions (1.2.1) + asciidoctor-foodogsquared-extensions (1.3.0) asciidoctor (~> 2.0) + mime-types (~> 3.0) + nokogiri (~> 1.0) rugged (~> 1.0) GEM @@ -13,16 +15,21 @@ GEM diff-lcs (1.5.0) json (2.6.3) language_server-protocol (3.17.0.3) + mime-types (3.5.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2023.1003) + nokogiri (1.15.4-x86_64-linux) + racc (~> 1.4) parallel (1.23.0) - parser (3.2.2.3) + parser (3.2.2.4) ast (~> 2.4.1) racc - prettier_print (1.2.1) - racc (1.7.1) + prism (0.17.1) + racc (1.7.3) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.8.1) - rexml (3.2.5) + rake (13.1.0) + regexp_parser (2.8.2) + rexml (3.2.6) rspec (3.12.0) rspec-core (~> 3.12.0) rspec-expectations (~> 3.12.0) @@ -36,29 +43,27 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.1) - rubocop (1.54.1) + rubocop (1.57.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) - ruby-lsp (0.6.2) + ruby-lsp (0.12.3) language_server-protocol (~> 3.17.0) - sorbet-runtime - syntax_tree (>= 6.1.1, < 7) + prism (>= 0.17.1, < 0.18) + sorbet-runtime (>= 0.5.5685) ruby-progressbar (1.13.0) - rugged (1.6.3) - sorbet-runtime (0.5.10902) - syntax_tree (6.1.1) - prettier_print (>= 1.2.0) - unicode-display_width (2.4.2) + rugged (1.7.1) + sorbet-runtime (0.5.11139) + unicode-display_width (2.5.0) PLATFORMS x86_64-linux diff --git a/asciidoctor-foodogsquared-extensions.gemspec b/asciidoctor-foodogsquared-extensions.gemspec index 196be6c..d56c4e7 100644 --- a/asciidoctor-foodogsquared-extensions.gemspec +++ b/asciidoctor-foodogsquared-extensions.gemspec @@ -18,6 +18,8 @@ Gem::Specification.new do |s| s.files = Dir['lib/**/*', '*.gemspec', 'LICENSE', 'CHANGELOG.adoc', 'README.adoc'] s.add_runtime_dependency 'asciidoctor', '~> 2.0' + s.add_runtime_dependency 'mime-types', '~> 3.0' + s.add_runtime_dependency 'nokogiri', '~> 1.0' s.add_runtime_dependency 'rugged', '~> 1.0' s.add_development_dependency 'rspec', '~> 3.0' diff --git a/gemset.nix b/gemset.nix index ffb9a38..cb4519b 100644 --- a/gemset.nix +++ b/gemset.nix @@ -5,19 +5,22 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0yblqlbix3is5ihiqrpbfazb44in7ichfkjzdbsqibp48paanpl3"; + target = "ruby"; type = "gem"; }; + targets = []; version = "2.0.20"; }; asciidoctor-foodogsquared-extensions = { - dependencies = ["asciidoctor" "rugged"]; + dependencies = ["asciidoctor" "mime-types" "nokogiri" "rugged"]; groups = ["default"]; platforms = []; source = { - path = ./.; + path = "."; type = "path"; }; - version = "1.2.1"; + targets = []; + version = "1.3.0"; }; ast = { groups = ["default" "lint"]; @@ -25,8 +28,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y"; + target = "ruby"; type = "gem"; }; + targets = []; version = "2.4.2"; }; diff-lcs = { @@ -35,8 +40,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0rwvjahnp7cpmracd8x732rjgnilqv2sx7d1gfrysslc3h039fa9"; + target = "ruby"; type = "gem"; }; + targets = []; version = "1.5.0"; }; json = { @@ -45,8 +52,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0nalhin1gda4v8ybk6lq8f407cgfrj6qzn234yra4ipkmlbfmal6"; + target = "ruby"; type = "gem"; }; + targets = []; version = "2.6.3"; }; language_server-protocol = { @@ -55,18 +64,62 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0gvb1j8xsqxms9mww01rmdl78zkd72zgxaap56bhv8j45z05hp1x"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.17.0.3"; }; + mime-types = { + dependencies = ["mime-types-data"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0q8d881k1b3rbsfcdi3fx0b5vpdr5wcrhn88r2d9j7zjdkxp5mw5"; + target = "ruby"; + type = "gem"; + }; + targets = []; + version = "3.5.1"; + }; + mime-types-data = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0yjv0apysnrhbc70ralinfpcqn9382lxr643swp7a5sdwpa9cyqg"; + target = "ruby"; + type = "gem"; + }; + targets = []; + version = "3.2023.1003"; + }; + nokogiri = { + dependencies = ["racc"]; + groups = ["default"]; + platforms = []; + source = null; + targets = [{ + remotes = ["https://rubygems.org"]; + sha256 = "0hhqzm7p4lww7v3i33im26bmiryfqr0p3iknbadyv5ypf8yysb47"; + target = "x86_64-linux"; + targetCPU = "x86_64"; + targetOS = "linux"; + type = "gem"; + }]; + version = "1.15.4"; + }; parallel = { groups = ["default" "lint"]; platforms = []; source = { remotes = ["https://rubygems.org"]; sha256 = "0jcc512l38c0c163ni3jgskvq1vc3mr8ly5pvjijzwvfml9lf597"; + target = "ruby"; type = "gem"; }; + targets = []; version = "1.23.0"; }; parser = { @@ -75,30 +128,36 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1swigds85jddb5gshll1g8lkmbcgbcp9bi1d4nigwvxki8smys0h"; + sha256 = "0r69dbh6h6j4d54isany2ir4ni4gf2ysvk3k44awi6amz18nggpd"; + target = "ruby"; type = "gem"; }; - version = "3.2.2.3"; + targets = []; + version = "3.2.2.4"; }; - prettier_print = { + prism = { groups = ["default" "development"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ybgks9862zmlx71zd4j20ky86fsrp6j6m0az4hzzb1zyaskha57"; + sha256 = "1kfb29152jd9glga3w06ljcfzkb63yfhrviihibwvbin5kgqcgz6"; + target = "ruby"; type = "gem"; }; - version = "1.2.1"; + targets = []; + version = "0.17.1"; }; racc = { groups = ["default" "lint"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "11v3l46mwnlzlc371wr3x6yylpgafgwdf0q7hc7c1lzx6r414r5g"; + sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp"; + target = "ruby"; type = "gem"; }; - version = "1.7.1"; + targets = []; + version = "1.7.3"; }; rainbow = { groups = ["default" "lint"]; @@ -106,8 +165,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.1.1"; }; rake = { @@ -115,30 +176,36 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w"; + sha256 = "1ilr853hawi09626axx0mps4rkkmxcs54mapz9jnqvpnlwd3wsmy"; + target = "ruby"; type = "gem"; }; - version = "13.0.6"; + targets = []; + version = "13.1.0"; }; regexp_parser = { groups = ["default" "lint"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "136br91alxdwh1s85z912dwz23qlhm212vy6i3wkinz3z8mkxxl3"; + sha256 = "1d9a5s3qrjdy50ll2s32gg3qmf10ryp3v2nr5k718kvfadp50ray"; + target = "ruby"; type = "gem"; }; - version = "2.8.1"; + targets = []; + version = "2.8.2"; }; rexml = { groups = ["default" "lint"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; + sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; + target = "ruby"; type = "gem"; }; - version = "3.2.5"; + targets = []; + version = "3.2.6"; }; rspec = { dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"]; @@ -147,8 +214,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "171rc90vcgjl8p1bdrqa92ymrj8a87qf6w20x05xq29mljcigi6c"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.12.0"; }; rspec-core = { @@ -158,8 +227,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0l95bnjxdabrn79hwdhn2q1n7mn26pj7y1w5660v5qi81x458nqm"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.12.2"; }; rspec-expectations = { @@ -169,8 +240,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "05j44jfqlv7j2rpxb5vqzf9hfv7w8ba46wwgxwcwd8p0wzi1hg89"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.12.3"; }; rspec-mocks = { @@ -180,8 +253,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "1gq7gviwpck7fhp4y5ibljljvxgjklza18j62qf6zkm2icaa8lfy"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.12.6"; }; rspec-support = { @@ -190,8 +265,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "1ky86j3ksi26ng9ybd7j0qsdf1lpr8mzrmn98yy9gzv801fvhsgr"; + target = "ruby"; type = "gem"; }; + targets = []; version = "3.12.1"; }; rubocop = { @@ -200,10 +277,12 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vklabd0510isqhikx4bfx5qn9g8pyj8h9jxryayp2wj8mx4kg74"; + sha256 = "06qnp5zs233j4f59yyqrg8al6hr9n4a7vcdg3p31v0np8bz9srwg"; + target = "ruby"; type = "gem"; }; - version = "1.54.1"; + targets = []; + version = "1.57.2"; }; rubocop-ast = { dependencies = ["parser"]; @@ -211,21 +290,25 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "188bs225kkhrb17dsf3likdahs2p1i1sqn0pr3pvlx50g6r2mnni"; + sha256 = "1cs9cc5p9q70valk4na3lki4xs88b52486p2v46yx3q1n5969bgs"; + target = "ruby"; type = "gem"; }; - version = "1.29.0"; + targets = []; + version = "1.30.0"; }; ruby-lsp = { - dependencies = ["language_server-protocol" "sorbet-runtime" "syntax_tree"]; + dependencies = ["language_server-protocol" "prism" "sorbet-runtime"]; groups = ["development"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "03jx0157jpfrnww5ww6hnkprgzfv4m7ahiqzpjdjjrcb67jp5nh1"; + sha256 = "0rs5vd93il0hz1c2dl6j0mf7hgw1mw3k2vjmg0xnzh90rg6q57g4"; + target = "ruby"; type = "gem"; }; - version = "0.6.2"; + targets = []; + version = "0.12.3"; }; ruby-progressbar = { groups = ["default" "lint"]; @@ -233,8 +316,10 @@ source = { remotes = ["https://rubygems.org"]; sha256 = "0cwvyb7j47m7wihpfaq7rc47zwwx9k4v7iqd9s1xch5nm53rrz40"; + target = "ruby"; type = "gem"; }; + targets = []; version = "1.13.0"; }; rugged = { @@ -242,40 +327,35 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "016bawsahkhxx7p8azxirpl7y2y7i8a027pj8910gwf6ipg329in"; + sha256 = "02m9zksfy3dwzhbv56xq2wwmlghca5209hdg895pi2x2d2sbkahi"; + target = "ruby"; type = "gem"; }; - version = "1.6.3"; + targets = []; + version = "1.7.1"; }; sorbet-runtime = { groups = ["default" "development"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0csmpdf05wp9ndb61vsnpbw2vkxsm888h2xwrddcz0p02laiz7s8"; + sha256 = "1krfwpmvbzamlmw8p0cyyma53byvxw1mgg109dxnpfl3gdpknw45"; + target = "ruby"; type = "gem"; }; - version = "0.5.10902"; - }; - syntax_tree = { - dependencies = ["prettier_print"]; - groups = ["default" "development"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "162m5xhbiq315bncp49ziddws537dv09pqsgrzsrmhhsymhgy0zb"; - type = "gem"; - }; - version = "6.1.1"; + targets = []; + version = "0.5.11139"; }; unicode-display_width = { groups = ["default" "lint"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1gi82k102q7bkmfi7ggn9ciypn897ylln1jk9q67kjhr39fj043a"; + sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky"; + target = "ruby"; type = "gem"; }; - version = "2.4.2"; + targets = []; + version = "2.5.0"; }; -} +} \ No newline at end of file