From 4ac235aa53cb2f9b853dc12dbfa335ea9ff0073c Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Thu, 17 Oct 2024 14:45:29 +0100 Subject: [PATCH] Add chartkick path to gemspec - installing in applications fails because the JS file can't be found --- CHANGELOG.md | 4 ++++ govuk_publishing_components.gemspec | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05a9deb0e5..aba3a0c795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ useful summary for people upgrading their application, not a replication of the commit log. +## Unreleased + +* Add chartkick path to gemspec ([PR #4312](https://github.com/alphagov/govuk_publishing_components/pull/4312)) + ## 44.4.0 * Add chart component ([PR #4301](https://github.com/alphagov/govuk_publishing_components/pull/4301)) diff --git a/govuk_publishing_components.gemspec b/govuk_publishing_components.gemspec index 946bc56d0c..f8efbf5da7 100644 --- a/govuk_publishing_components.gemspec +++ b/govuk_publishing_components.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.license = "MIT" s.required_ruby_version = ">= 3.2" - s.files = Dir["{node_modules/accessible-autocomplete,node_modules/govuk-frontend,node_modules/axe-core,node_modules/sortablejs,node_modules/govuk-single-consent,app,config,db,lib}/**/*", "LICENCE.md", "README.md"] + s.files = Dir["{node_modules/accessible-autocomplete,node_modules/govuk-frontend,node_modules/axe-core,node_modules/sortablejs,node_modules/govuk-single-consent,node_modules/chartkick,app,config,db,lib}/**/*", "LICENCE.md", "README.md"] s.add_dependency "chartkick" s.add_dependency "govuk_app_config"