From f378f104732476abb5979594383517a273ceca4f Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Mar 2009 04:23:05 +0000 Subject: * lib/**/*.rb: removed unnecessary shbang lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/csv.rb | 1 - lib/irb/cmd/subirb.rb | 2 -- lib/irb/ext/save-history.rb | 3 --- lib/matrix.rb | 1 - lib/rake.rb | 2 -- lib/rake/clean.rb | 2 -- lib/rake/gempackagetask.rb | 2 -- lib/rake/loaders/makefile.rb | 2 -- lib/rake/packagetask.rb | 2 -- lib/rake/rdoctask.rb | 2 -- lib/rake/runtest.rb | 2 -- lib/rake/tasklib.rb | 2 -- lib/rake/testtask.rb | 2 -- lib/rbconfig/datadir.rb | 1 - lib/rubygems/digest/digest_adapter.rb | 3 +-- lib/rubygems/digest/md5.rb | 2 -- lib/rubygems/digest/sha1.rb | 3 +-- lib/rubygems/digest/sha2.rb | 1 - lib/tsort.rb | 1 - 19 files changed, 2 insertions(+), 34 deletions(-) (limited to 'lib') diff --git a/lib/csv.rb b/lib/csv.rb index a5f670c059..862839a0e4 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby -w # encoding: UTF-8 # = csv.rb -- CSV Reading and Writing # diff --git a/lib/irb/cmd/subirb.rb b/lib/irb/cmd/subirb.rb index bf41ec50cc..eea6330bf1 100644 --- a/lib/irb/cmd/subirb.rb +++ b/lib/irb/cmd/subirb.rb @@ -1,5 +1,3 @@ -#!/usr/local/bin/ruby -# # multi.rb - # $Release Version: 0.9.5$ # $Revision$ diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 4d53844d5f..72c6b578bf 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -1,5 +1,3 @@ -#!/usr/local/bin/ruby -# # save-history.rb - # $Release Version: 0.9.5$ # $Revision$ @@ -83,4 +81,3 @@ module IRB end end end - diff --git a/lib/matrix.rb b/lib/matrix.rb index 4bc000588b..5d350bb8f8 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -1,4 +1,3 @@ -#!/usr/local/bin/ruby #-- # matrix.rb - # $Release Version: 1.0$ diff --git a/lib/rake.rb b/lib/rake.rb index 337dc3dacf..e36e1a8d9e 100755 --- a/lib/rake.rb +++ b/lib/rake.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - #-- # Copyright (c) 2003, 2004, 2005, 2006, 2007 Jim Weirich diff --git a/lib/rake/clean.rb b/lib/rake/clean.rb index fd751dceb2..62f27d5751 100644 --- a/lib/rake/clean.rb +++ b/lib/rake/clean.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - # The 'rake/clean' file defines two file lists (CLEAN and CLOBBER) and # two rake tasks (:clean and :clobber). # diff --git a/lib/rake/gempackagetask.rb b/lib/rake/gempackagetask.rb index 00b0157547..3a99ff2b87 100644 --- a/lib/rake/gempackagetask.rb +++ b/lib/rake/gempackagetask.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - # Define a package task library to aid in the definition of GEM # packages. diff --git a/lib/rake/loaders/makefile.rb b/lib/rake/loaders/makefile.rb index 9ade098a1b..c0d05e7e3f 100644 --- a/lib/rake/loaders/makefile.rb +++ b/lib/rake/loaders/makefile.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - module Rake # Makefile loader to be used with the import file loader. diff --git a/lib/rake/packagetask.rb b/lib/rake/packagetask.rb index f05f7cd49e..75bf41c457 100644 --- a/lib/rake/packagetask.rb +++ b/lib/rake/packagetask.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - # Define a package task libarary to aid in the definition of # redistributable package files. diff --git a/lib/rake/rdoctask.rb b/lib/rake/rdoctask.rb index 6c751a7cba..33c8675b9e 100644 --- a/lib/rake/rdoctask.rb +++ b/lib/rake/rdoctask.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'rake' require 'rake/tasklib' diff --git a/lib/rake/runtest.rb b/lib/rake/runtest.rb index 3f1d205201..f6928d57b8 100644 --- a/lib/rake/runtest.rb +++ b/lib/rake/runtest.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'test/unit/assertions' diff --git a/lib/rake/tasklib.rb b/lib/rake/tasklib.rb index c7fd98133c..a5a4494369 100644 --- a/lib/rake/tasklib.rb +++ b/lib/rake/tasklib.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'rake' module Rake diff --git a/lib/rake/testtask.rb b/lib/rake/testtask.rb index f1e4f0b15d..cc73d7887f 100644 --- a/lib/rake/testtask.rb +++ b/lib/rake/testtask.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - # Define a task library for running unit tests. require 'rake' diff --git a/lib/rbconfig/datadir.rb b/lib/rbconfig/datadir.rb index 040adc09a9..d5493b3b04 100644 --- a/lib/rbconfig/datadir.rb +++ b/lib/rbconfig/datadir.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. diff --git a/lib/rubygems/digest/digest_adapter.rb b/lib/rubygems/digest/digest_adapter.rb index 370446b205..a62c5300c8 100755 --- a/lib/rubygems/digest/digest_adapter.rb +++ b/lib/rubygems/digest/digest_adapter.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. @@ -37,4 +36,4 @@ module Gem @digest_class.new(string).digest end end -end \ No newline at end of file +end diff --git a/lib/rubygems/digest/md5.rb b/lib/rubygems/digest/md5.rb index f924579c08..477301a783 100755 --- a/lib/rubygems/digest/md5.rb +++ b/lib/rubygems/digest/md5.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. @@ -20,4 +19,3 @@ module Gem end end # :startdoc: - diff --git a/lib/rubygems/digest/sha1.rb b/lib/rubygems/digest/sha1.rb index 2a6245dcd9..7ae69eb89a 100755 --- a/lib/rubygems/digest/sha1.rb +++ b/lib/rubygems/digest/sha1.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. @@ -14,4 +13,4 @@ module Gem require 'rubygems/digest/digest_adapter' SHA1 = DigestAdapter.new(Digest::SHA1) end -end \ No newline at end of file +end diff --git a/lib/rubygems/digest/sha2.rb b/lib/rubygems/digest/sha2.rb index 7bef16aed2..3bb107773f 100755 --- a/lib/rubygems/digest/sha2.rb +++ b/lib/rubygems/digest/sha2.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. diff --git a/lib/tsort.rb b/lib/tsort.rb index aa562ad1c5..d0f3cd4caa 100644 --- a/lib/tsort.rb +++ b/lib/tsort.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby #-- # tsort.rb - provides a module for topological sorting and strongly connected components. #++ -- cgit v1.2.3