diff --git a/Gemfile b/Gemfile index bf85bb88afd5..ea1c9c15fdf3 100644 --- a/Gemfile +++ b/Gemfile @@ -208,7 +208,7 @@ gem "appsignal", "~> 3.0", require: false gem 'view_component' # Lookbook -gem 'lookbook', '~> 2.0.5' +gem 'lookbook', '~> 2.1.0' # Require factory_bot for usage with openproject plugins testing gem 'factory_bot', '~> 6.2.0', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 882b2de02106..bc31ae2be0e4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -606,7 +606,7 @@ GEM loofah (2.21.3) crass (~> 1.0.2) nokogiri (>= 1.12.0) - lookbook (2.0.5) + lookbook (2.1.1) activemodel css_parser htmlbeautifier (~> 1.3) @@ -1083,7 +1083,7 @@ DEPENDENCIES letter_opener listen (~> 3.8.0) lograge (~> 0.13.0) - lookbook (~> 2.0.5) + lookbook (~> 2.1.0) mail (= 2.8.1) matrix (~> 0.4.2) md_to_pdf! diff --git a/lib/open_project/patches/lookbook_tree_node_inflector.rb b/lib/open_project/patches/lookbook_tree_node_inflector.rb index dbbeda1ffc15..f95dbdb37211 100644 --- a/lib/open_project/patches/lookbook_tree_node_inflector.rb +++ b/lib/open_project/patches/lookbook_tree_node_inflector.rb @@ -41,7 +41,7 @@ def label end if Rails.env.development? - OpenProject::Patches.patch_gem_version 'lookbook', '2.0.5' do + OpenProject::Patches.patch_gem_version 'lookbook', '2.1.1' do Lookbook::TreeNode.prepend OpenProject::Patches::LookbookTreeNodeInflector end end