require 'json'

module GovukFrontendAlpha
  # read package details from NPM package.json and config files
  @package_json = JSON.parse File.read(File.expand_path("../../../../package.json", __FILE__))
  @paths_json = JSON.parse File.read(File.expand_path("../../../../config/paths.json", __FILE__))

  NAME = @package_json['name']
  VERSION = @package_json['version']
  DESCRIPTION = @package_json['description']
  AUTHOR = @package_json['author']
  LICENSE = @package_json['license']
  HOMEPAGE = @package_json['homepage']

  FILES = Dir[@paths_json['gem'] + '**/*']
end

require 'json'

module GovukFrontendAlpha
  # read package details from NPM package.json and config files
  @package_json = JSON.parse File.read(File.expand_path("../../../../package.json", __FILE__))
  @paths_json = JSON.parse File.read(File.expand_path("../../../../config/paths.json", __FILE__))

  NAME = @package_json['name']
  VERSION = @package_json['version']
  DESCRIPTION = @package_json['description']
  AUTHOR = @package_json['author']
  LICENSE = @package_json['license']
  HOMEPAGE = @package_json['homepage']
  FILES = Dir['**/*']
end

Fix the path to point to the correct gem assets
Fix the path to point to the correct gem assets

Now that the gemspec has moved we can just point at everything in the folder it lives in.