summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 04:23:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 04:23:05 +0000
commitf378f104732476abb5979594383517a273ceca4f (patch)
treeea50d33062444e48e31824e77e4c3021f961e7c4
parent60d2f945fb5140f3cb49cadd0a4afa8dab817750 (diff)
* lib/**/*.rb: removed unnecessary shbang lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/csv.rb1
-rw-r--r--lib/irb/cmd/subirb.rb2
-rw-r--r--lib/irb/ext/save-history.rb3
-rw-r--r--lib/matrix.rb1
-rwxr-xr-xlib/rake.rb2
-rw-r--r--lib/rake/clean.rb2
-rw-r--r--lib/rake/gempackagetask.rb2
-rw-r--r--lib/rake/loaders/makefile.rb2
-rw-r--r--lib/rake/packagetask.rb2
-rw-r--r--lib/rake/rdoctask.rb2
-rw-r--r--lib/rake/runtest.rb2
-rw-r--r--lib/rake/tasklib.rb2
-rw-r--r--lib/rake/testtask.rb2
-rw-r--r--lib/rbconfig/datadir.rb1
-rwxr-xr-xlib/rubygems/digest/digest_adapter.rb3
-rwxr-xr-xlib/rubygems/digest/md5.rb2
-rwxr-xr-xlib/rubygems/digest/sha1.rb3
-rwxr-xr-xlib/rubygems/digest/sha2.rb1
-rw-r--r--lib/tsort.rb1
19 files changed, 2 insertions, 34 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index a5f670c..862839a 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 bf41ec5..eea6330 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 4d53844..72c6b57 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 4bc0005..5d350bb 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 337dc3d..e36e1a8 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 fd751dc..62f27d5 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 00b0157..3a99ff2 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 9ade098..c0d05e7 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 f05f7cd..75bf41c 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 6c751a7..33c8675 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 3f1d205..f6928d5 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 c7fd981..a5a4494 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 f1e4f0b..cc73d78 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 040adc0..d5493b3 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 370446b..a62c530 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 f924579..477301a 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 2a6245d..7ae69eb 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 7bef16a..3bb1077 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 aa562ad..d0f3cd4 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.
#++