Tweak Gemspec file list a bit.
This ensures it also takes files such as "Rakefile" into account when needed.
This commit is contained in:
parent
b7855c124f
commit
48bf1a0628
|
@ -11,16 +11,16 @@ Gem::Specification.new do |s|
|
||||||
s.license = 'MIT'
|
s.license = 'MIT'
|
||||||
|
|
||||||
s.files = Dir.glob([
|
s.files = Dir.glob([
|
||||||
'checkum/**/*.*',
|
'checkum/**/*',
|
||||||
'doc/**/*.*',
|
'doc/**/*',
|
||||||
'lib/**/*.rb',
|
'lib/**/*.rb',
|
||||||
'ext/**/*.*',
|
'ext/**/*',
|
||||||
'README.md',
|
'README.md',
|
||||||
'LICENSE',
|
'LICENSE',
|
||||||
'MANIFEST',
|
'MANIFEST',
|
||||||
'oga.gemspec',
|
'oga.gemspec',
|
||||||
'.yardopts'
|
'.yardopts'
|
||||||
])
|
]).select { |path| File.file?(path) }
|
||||||
|
|
||||||
if RUBY_PLATFORM == 'java'
|
if RUBY_PLATFORM == 'java'
|
||||||
s.files << 'lib/liboga.jar'
|
s.files << 'lib/liboga.jar'
|
||||||
|
@ -34,6 +34,7 @@ Gem::Specification.new do |s|
|
||||||
s.required_ruby_version = '>= 1.9.3'
|
s.required_ruby_version = '>= 1.9.3'
|
||||||
|
|
||||||
s.add_dependency 'racc'
|
s.add_dependency 'racc'
|
||||||
|
s.add_dependency 'ast'
|
||||||
|
|
||||||
s.add_development_dependency 'rake'
|
s.add_development_dependency 'rake'
|
||||||
s.add_development_dependency 'rspec'
|
s.add_development_dependency 'rspec'
|
||||||
|
|
Loading…
Reference in New Issue