whirled_peas.gemspec in whirled_peas-0.3.0 vs whirled_peas.gemspec in whirled_peas-0.4.0

- old
+ new

@@ -16,12 +16,15 @@ spec.metadata['changelog_uri'] = 'https://github.com/tcollier/whirled_peas/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('..', __FILE__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|sandbox)/}) } end + spec.bindir = 'exe' + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_runtime_dependency 'highline', '~> 2.0' spec.add_runtime_dependency 'json', '~> 2.5' + spec.add_runtime_dependency 'ruby_figlet', '~> 0.6' end