rake-delphi.gemspec in rake-delphi-0.0.7 vs rake-delphi.gemspec in rake-delphi-0.0.8

- old
+ new

@@ -12,13 +12,22 @@ spec.summary = 'Tasks for building Delphi projects' spec.homepage = 'http://github.com/ashumkin/rake-delphi.gem' spec.license = 'MIT' spec.files = Dir['*', 'lib/**/*.*rb', - 'test/*', 'test/helpers/*', 'test/resources/**/*', 'test/resources/**/.gitkeep'] + 'test/*.rb', 'test/helpers/*.rb', 'test/resources/**/*', 'test/resources/**/.gitkeep'] + # avoid adding redundant files + spec.files.delete_if do |f| + match = false + [/\/test\/tmp\//, /\/dcu\//].each do |re| + match = re.match(f) + break if match + end + match + end spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake" + spec.add_development_dependency "rake", "~> 10.0.4" end