tanuki_emoji.gemspec in tanuki_emoji-0.2.0 vs tanuki_emoji.gemspec in tanuki_emoji-0.2.1
- old
+ new
@@ -19,9 +19,12 @@
spec.metadata['changelog_uri'] = 'https://gitlab.com/brodock/tanuki_emoji/-/blob/main/CHANGELOG.md'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|bin)/}) }
+ git_files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|bin)/}) }
+ asset_files = Dir.glob('app/assets/**/*').reject { |f| f.match(%r{\.DS_Store}) }
+
+ git_files + asset_files
end
spec.require_paths = ['lib']
end