Rakefile in ruby-vpi-20.0.0 vs Rakefile in ruby-vpi-21.0.0

- old
+ new

@@ -85,11 +85,11 @@ desc "Build the documentation." task :doc # the user guide file 'doc/guide.html' => 'doc/guide.erb' do |t| - sh "gerbil html #{t.prerequisites} > #{t.name}" + sh "gerbil -u html #{t.prerequisites} > #{t.name}" end task :doc => 'doc/guide.html' CLOBBER.include 'doc/guide.html' # API reference @@ -114,11 +114,11 @@ f.puts "# Returns the #{const} constant: #{info}" f.puts "def self.#{var}; end" end # functions - body.scan /^XXTERN\s+(\S+\s+\*?)(\S+)\s+PROTO_PARAMS\(\((.*?)\)\);/m do |type, func, args| + body.scan %r{^XXTERN\s+(\S+\s+\*?)(\S+)\s+PROTO_PARAMS\(\((.*?)\)\);}m do |type, func, args| meth = func.gsub(/\W/, '') args = args.gsub(/[\r\n]/, ' ') [ [ /PLI_BYTE8(\s*)\*(\s*data)/ , 'Object\1\2' ], @@ -185,10 +185,9 @@ s.files = FileList['**/*'].exclude('_darcs', DYNAMIC_DOCS) s.autorequire = s.name s.extensions << 'gem_extconf.rb' s.executables = s.name - s.requirements << "POSIX threads library" s.requirements << "C language compiler" s.add_dependency 'rake', '>= 0.7.0' s.add_dependency 'rspec', '>= 1.0.0' s.add_dependency 'rcov', '>= 0.7.0'