From 70769ae5f54e3146d46ee6bdd073f048a79a4f13 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Jan 2026 12:28:49 -0800 Subject: [PATCH] Version 0.2.1 --- .gitignore | 1 + CHANGELOG.md | 5 +++ Gemfile.lock | 90 ------------------------------------------ lib/wordexp/version.rb | 2 +- wordexp.gemspec | 12 +++++- 5 files changed, 17 insertions(+), 93 deletions(-) delete mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index 6deb2b6..5d4e083 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ ext/**/Makefile ext/**/*.o **/wordexp*.bundle *.gem +Gemfile.lock diff --git a/CHANGELOG.md b/CHANGELOG.md index b5eac19..a3b402a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ [gh]: https://github.com/samsonjs/wordexp/releases +# 0.2.1 +# 2026-01-02 + +- Ship source-only gem artifacts to ensure the native extension is built locally + # 0.2.0 # 2023-10-05 diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index ff21c8f..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,90 +0,0 @@ -PATH - remote: . - specs: - wordexp (0.2.0) - -GEM - remote: https://rubygems.org/ - specs: - ansi (1.5.0) - ast (2.4.3) - builder (3.3.0) - json (2.18.0) - language_server-protocol (3.17.0.5) - lint_roller (1.1.0) - minitest (6.0.1) - prism (~> 1.5) - minitest-ci (3.4.0) - minitest (>= 5.0.6) - minitest-reporters (1.7.1) - ansi - builder - minitest (>= 5.0) - ruby-progressbar - parallel (1.27.0) - parser (3.3.10.0) - ast (~> 2.4.1) - racc - prism (1.7.0) - racc (1.8.1) - rainbow (3.1.1) - rake (13.3.1) - rake-compiler (1.3.1) - rake - regexp_parser (2.11.3) - rubocop (1.82.1) - json (~> 2.3) - language_server-protocol (~> 3.17.0.2) - lint_roller (~> 1.1.0) - parallel (~> 1.10) - parser (>= 3.3.0.2) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.48.0, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.49.0) - parser (>= 3.3.7.2) - prism (~> 1.7) - rubocop-minitest (0.38.2) - lint_roller (~> 1.1) - rubocop (>= 1.75.0, < 2.0) - rubocop-ast (>= 1.38.0, < 2.0) - rubocop-packaging (0.6.0) - lint_roller (~> 1.1.0) - rubocop (>= 1.72.1, < 2.0) - rubocop-performance (1.26.1) - lint_roller (~> 1.1) - rubocop (>= 1.75.0, < 2.0) - rubocop-ast (>= 1.47.1, < 2.0) - rubocop-rake (0.7.1) - lint_roller (~> 1.1) - rubocop (>= 1.72.1) - ruby-progressbar (1.13.0) - unicode-display_width (3.2.0) - unicode-emoji (~> 4.1) - unicode-emoji (4.2.0) - -PLATFORMS - arm64-darwin-21 - arm64-darwin-22 - arm64-darwin-23 - arm64-darwin-24 - arm64-darwin-25 - x86_64-linux - -DEPENDENCIES - minitest (~> 6.0) - minitest-ci (~> 3.4) - minitest-reporters (~> 1.6) - rake (~> 13.3) - rake-compiler (~> 1.2) - rubocop (~> 1.81) - rubocop-minitest (~> 0.38) - rubocop-packaging (~> 0.5) - rubocop-performance (~> 1.26) - rubocop-rake (~> 0.6) - wordexp! - -BUNDLED WITH - 4.0.3 diff --git a/lib/wordexp/version.rb b/lib/wordexp/version.rb index 04f61a8..572cc9f 100644 --- a/lib/wordexp/version.rb +++ b/lib/wordexp/version.rb @@ -1,3 +1,3 @@ module Wordexp - VERSION = '0.2.0'.freeze + VERSION = '0.2.1'.freeze end diff --git a/wordexp.gemspec b/wordexp.gemspec index 7c78df2..2a07e68 100644 --- a/wordexp.gemspec +++ b/wordexp.gemspec @@ -20,8 +20,16 @@ Gem::Specification.new do |spec| } # Specify which files should be added to the gem when it is released. - glob = %w[LICENSE.txt README.md exe/**/* lib/**/* ext/extconf.rb ext/wordexp_ext.c] - spec.files = Dir.glob(glob).reject { |f| File.directory?(f) } + files = `git ls-files -z`.split("\x0") + if files.empty? + glob = %w[LICENSE.txt README.md exe/**/* lib/**/* ext/**/*] + files = Dir.glob(glob).reject do |f| + File.directory?(f) || + f.end_with?('.bundle', '.o', '.so') || + f.end_with?('Makefile') + end + end + spec.files = files spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.extensions = %w[ext/wordexp_ext/extconf.rb]