diff --git a/CHANGELOG.md b/CHANGELOG.md index af29d6b..e549cef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## Version 2.4.1 (2024-11-25) + ### Changed * Add support for Rails 8.0 (#86) diff --git a/Gemfile.lock b/Gemfile.lock index bef55a3..a46f264 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - cocooned (2.4.0) - rails (>= 7.0, <= 8.1) + cocooned (2.4.1) + rails (>= 7.0, < 8.1) GEM remote: https://rubygems.org/ @@ -253,9 +253,9 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - sqlite3 (2.3.0) + sqlite3 (2.3.1) mini_portile2 (~> 2.8.0) - sqlite3 (2.3.0-x86_64-linux-gnu) + sqlite3 (2.3.1-x86_64-linux-gnu) stringio (3.1.2) thor (1.3.2) timeout (0.4.2) diff --git a/cocooned.gemspec b/cocooned.gemspec index 375789c..62eecfd 100644 --- a/cocooned.gemspec +++ b/cocooned.gemspec @@ -40,7 +40,7 @@ Gem::Specification.new do |spec| end spec.required_ruby_version = '>= 2.7' - spec.add_dependency 'rails', '>= 7.0', '<= 8.1' + spec.add_dependency 'rails', '>= 7.0', '< 8.1' spec.add_development_dependency 'bundler', '~> 2.1' spec.add_development_dependency 'rake', '~> 13.0' diff --git a/dev/tasks/test.rake b/dev/tasks/test.rake index 63d76f9..750358b 100644 --- a/dev/tasks/test.rake +++ b/dev/tasks/test.rake @@ -18,7 +18,7 @@ namespace :test do 'QUERY_STRING' => "use=#{use}", 'rack.input' => '' }) - [use, Nokogiri::HTML(response.last.body).at('body > form')] + [use, Nokogiri::HTML(response.last.body).at('body > form').to_s.squish] end File.open('./npm/__tests__/fixtures/rails.json', 'w+') do |f| diff --git a/lib/cocooned/version.rb b/lib/cocooned/version.rb index dd1b61d..b837951 100644 --- a/lib/cocooned/version.rb +++ b/lib/cocooned/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Cocooned - VERSION = '2.4.0' + VERSION = '2.4.1' end diff --git a/npm/__tests__/fixtures/rails.json b/npm/__tests__/fixtures/rails.json index 2be1815..fdd6a36 100644 --- a/npm/__tests__/fixtures/rails.json +++ b/npm/__tests__/fixtures/rails.json @@ -1 +1 @@ -{"link":"
\n\n
\n \n \n
\n\n

Items

\n
\n \n
\n Add item\n
\n
\n
\n \n
\n
","button":"
\n\n
\n \n \n
\n\n

Items

\n
\n \n
\n \n
\n
\n
\n \n
\n
"} +{"link":"

Items

Add item
","button":"

Items

"} diff --git a/yarn.lock b/yarn.lock index 8873d7f..1e5eaaf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -803,9 +803,9 @@ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/node@*": - version "22.9.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.3.tgz#08f3d64b3bc6d74b162d36f60213e8a6704ef2b4" - integrity sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw== + version "22.9.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.4.tgz#31eefcdbe163a51f53cbfbb3e121b8ae9b16fdb2" + integrity sha512-d9RWfoR7JC/87vj7n+PVTzGg9hDyuFjir3RxUHbjFSKNd9mpxbxwMEyaCim/ddCmy4IuW7HjTzF3g9p3EtWEOg== dependencies: undici-types "~6.19.8"