Skip to content

Commit

Permalink
build(deps): update haml to v6
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Sep 5, 2024
1 parent dae761b commit 576d4a7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'

gem 'erb', '~> 4.0'
gem 'haml', '~> 5.2'
gem 'haml', '~> 6.0'
gem 'rspec-its'
gem 'rspec', '~> 3.13.0'
gem 'slim', '~> 5.0'
Expand Down
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ GEM
cgi (>= 0.3.3)
erb (4.0.4-java)
cgi (>= 0.3.3)
haml (5.2.2)
temple (>= 0.8.0)
haml (6.3.0)
temple (>= 0.8.2)
thor
tilt
json (2.7.2)
json (2.7.2-java)
Expand Down Expand Up @@ -58,7 +59,8 @@ GEM
temple (~> 0.10.0)
tilt (>= 2.1.0)
temple (0.10.3)
tilt (2.3.0)
thor (1.3.2)
tilt (2.4.0)
unicode-display_width (2.5.0)

PLATFORMS
Expand All @@ -72,7 +74,7 @@ PLATFORMS

DEPENDENCIES
erb (~> 4.0)
haml (~> 5.2)
haml (~> 6.0)
rspec (~> 3.13.0)
rspec-its
rubocop
Expand Down
22 changes: 10 additions & 12 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -105,32 +105,30 @@ ruby.bundle_fetch(
"diff-lcs-1.5.1": "273223dfb40685548436d32b4733aa67351769c7dea621da7d9dd4813e63ddfe",
"erb-4.0.4": "de116e106205c46bc01918789b611aaad1328dcc6e9f12cf8cd2cc60ef619717",
"erb-4.0.4-java": "3767088f230194a84316a5879f0c3dc5f2a96fb1c9a198c3e27d3f35d416c597",
"haml-5.2.2": "6e759246556145642ef832d670fc06f9bd8539159a0e600847a00291dd7aae0c",
"haml-6.3.0": "8e6eb87d869639e348852009e74a2a1663d79663ed7e7dbcb38beb1f12bcdd97",
"json-2.7.2": "1898b5cbc81cd36c0fd4d0b7ad2682c39fb07c5ff682fc6265f678f550d4982c",
"json-2.7.2-java": "138e3038b5361b3d06ee2e8aa2be00bed0d0de4ef5f1553fc5935e5b93aca7ee",
"language_server-protocol-3.17.0.3": "3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f",
"parallel-1.25.1": "12e089b9aa36ea2343f6e93f18cfcebd031798253db8260590d26a7f70b1ab90",
"parser-3.3.4.0": "8d247769c3873fe92201d591a7463384022a1a25e214853df5d6806623179e82",
"racc-1.8.0": "09349a65c37c4fe710a435f25c9f1652e39f29ad6b1fa08d4a8d30c0553d3a08",
"racc-1.8.0-java": "3688448632150682bbd708b199961129aed2266107e26fcacb45c997395c19f9",
"parallel-1.26.3": "d86babb7a2b814be9f4b81587bf0b6ce2da7d45969fab24d8ae4bf2bb4d4c7ef",
"parser-3.3.5.0": "f30ebb71b7830c2e7cdc4b2b0e0ec2234900e3fca3fe2fba47f78be759181ab3",
"racc-1.8.1": "4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f",
"racc-1.8.1-java": "54f2e6d1e1b91c154013277d986f52a90e5ececbe91465d29172e49342732b98",
"rainbow-3.1.1": "039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a",
"regexp_parser-2.9.2": "5a27e767ad634f8a4b544520d5cd28a0db7aa1198a5d7c9d7e11d7b3d9066446",
"rexml-3.3.1": "34af9fb38eff6c451abd187c53fded98378aa91766d4c62fbbce10e40ed7c325",
"rspec-3.13.0": "d490914ac1d5a5a64a0e1400c1d54ddd2a501324d703b8cfe83f458337bab993",
"rspec-core-3.13.0": "557792b4e88da883d580342b263d9652b6a10a12d5bda9ef967b01a48f15454c",
"rspec-expectations-3.13.0": "621d48c62262f955421eaa418130744760802cad47e781df70dba4d9f897102e",
"rspec-its-1.3.0": "4da51040e7820daafd40f2f6216d13c90aa949f0d302a0412c9ef6074e73ea97",
"rspec-mocks-3.13.0": "735a891215758d77cdb5f4721fffc21078793959d1f0ee4a961874311d9b7f66",
"rspec-support-3.13.0": "0e725f53b8c20ce75913a5da7bf06bf90698266951f3b1e3ae7bcd9612775257",
"rubocop-1.65.0": "624316407a3f8e3999c6f75c528471ed3d4513ca39cec3bede1964c69630e4a1",
"rubocop-ast-1.31.3": "1b07d618d8776993ec6053a706d1c09f0bf15139fd69415924656cbff07e7818",
"rubocop-rspec-3.0.3": "ee90e0efb9a6725ab4147d89bf4761c8548b4d04069da95aca4696cd57f02511",
"rubocop-1.66.1": "0679c263b1164fd003b8590ae83b3e9e9bf72282d411755f227f1d6268ee5ee7",
"rubocop-ast-1.32.2": "8ef87dd10dccce68b86dc41ab4f0926dbc0e6dd61d848fd806681aeb92fd2e6b",
"rubocop-rspec-3.0.4": "eb4ffa14a6be7e722f6c5dc48759356753e714f32ed4adbeddf14057694ec11d",
"ruby-progressbar-1.13.0": "80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33",
"slim-5.2.1": "72351dff7e2ff20e2d5c393cfc385bb9142cef5db059141628fd7163ac3c13e7",
"strscan-3.1.0": "01b8a81d214fbf7b5308c6fb51b5972bbfc4a6aa1f166fd3618ba97e0fcd5555",
"strscan-3.1.0-java": "8645aa76e017e21764c6df572d2d79fcc1672284014f5bdbd806278cdbcd11b0",
"temple-0.10.3": "df3145fe6577af1e25387eb7f7122d32ed51bdb6f2e7bb0f4fbf07b66151913b",
"tilt-2.3.0": "82dd903d61213c63679d28e404ee8e10d1b0fdf5270f1ad0898ec314cc3e745c",
"thor-1.3.2": "eef0293b9e24158ccad7ab383ae83534b7ad4ed99c09f96f1a6b036550abbeda",
"tilt-2.4.0": "df74f29a451daed26591a85e8e0cebb198892cb75b6573394303acda273fba4d",
"unicode-display_width-2.5.0": "7e7681dcade1add70cb9fda20dd77f300b8587c81ebbd165d14fd93144ff0ab4",
},
gemfile = "//:Gemfile",
Expand Down
24 changes: 11 additions & 13 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/ruby/template/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
require 'slim'

puts '=== ERB ==='
template = ERB.new(File.read('src/ruby/template/templates/index.html.erb'))
puts template.result_with_hash(name: 'ERB')
puts ERB.new(File.read('src/ruby/template/templates/index.html.erb')).result_with_hash(name: 'ERB')

puts '=== Haml ==='
puts Haml::Engine.new(File.read('src/ruby/template/templates/index.html.haml')).render(Object.new, name: 'Haml')
puts Haml::Template.new('src/ruby/template/templates/index.html.haml').render(Object.new, name: 'Haml')

puts '=== Slim ==='
puts Slim::Template.new('src/ruby/template/templates/index.html.slim').render(Object.new, name: 'Slim')

0 comments on commit 576d4a7

Please sign in to comment.