Skip to content

Commit a085656

Browse files
authored
Merge pull request #48 from mvastola/master
Update gemspec so bin wrapper is created in PATH
2 parents b208836 + a700772 commit a085656

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Unreleased Changes
2+
------------------
3+
4+
* Issue - Add jmespath.rb to gemspec executables.
5+
16
1.6.1 (2022-03-07)
27
------------------
38

jmespath.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ Gem::Specification.new do |spec|
99
spec.homepage = 'http://github.com/trevorrowe/jmespath.rb'
1010
spec.license = 'Apache-2.0'
1111
spec.require_paths = ['lib']
12-
spec.files = Dir['lib/**/*.rb'] + %w(LICENSE.txt VERSION)
12+
spec.executables = Dir['bin/**'].map(&File.method(:basename))
13+
spec.files = Dir['lib/**/*.rb'] + %w[LICENSE.txt VERSION]
1314
end

0 commit comments

Comments
 (0)