Skip to content

Commit 3462d81

Browse files
authored
Merge pull request #821 from ruby/fix-spec-files
Use Dir.glob and base keyword arg for the installer of Ruby package
2 parents a3645a1 + 94591ae commit 3462d81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

json.gemspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ spec = Gem::Specification.new do |s|
4444
"LEGAL",
4545
"README.md",
4646
"json.gemspec",
47-
*Dir["lib/**/*.rb"],
48-
]
47+
] + Dir.glob("lib/**/*.rb", base: File.expand_path("..", __FILE__))
4948

5049
if java_ext
5150
s.platform = 'java'

0 commit comments

Comments
 (0)