Merge pull request #2 from samsonjs/fix/include-executable

Include wordexp executable in gem
This commit is contained in:
Sami Samhuri 2022-01-16 21:27:10 -08:00 committed by GitHub
commit aaa541d757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 1 deletions

66
Gemfile.lock Normal file
View file

@ -0,0 +1,66 @@
PATH
remote: .
specs:
wordexp (0.1.0)
GEM
remote: https://rubygems.org/
specs:
ansi (1.5.0)
ast (2.4.2)
builder (3.2.4)
minitest (5.15.0)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
minitest-reporters (1.5.0)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.2.0)
rexml (3.2.5)
rubocop (1.24.1)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.1)
parser (>= 3.0.1.1)
rubocop-minitest (0.17.0)
rubocop (>= 0.90, < 2.0)
rubocop-packaging (0.5.1)
rubocop (>= 0.89, < 2.0)
rubocop-performance (1.13.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
ruby-progressbar (1.11.0)
unicode-display_width (2.1.0)
PLATFORMS
arm64-darwin-21
DEPENDENCIES
minitest (~> 5.11)
minitest-ci (~> 3.4)
minitest-reporters (~> 1.3)
rake (~> 13.0)
rubocop (= 1.24.1)
rubocop-minitest (= 0.17.0)
rubocop-packaging (= 0.5.1)
rubocop-performance (= 1.13.1)
rubocop-rake (= 0.6.0)
wordexp!
BUNDLED WITH
2.3.3

View file

@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
}
# Specify which files should be added to the gem when it is released.
glob = %w[LICENSE.txt README.md lib/**/* ext/extconf.rb ext/wordexp_ext.c]
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) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }