From a585c0dbfebba2fb79a58f055b7716ece5685742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 11 Jul 2024 14:24:19 +0200 Subject: [PATCH] Drop shebangs Files would need to have executable bit set to benefit from shebangs. But also the content would need to be prepared to be executable. This might be true for the test cases, but it is not true for the other scripts at all. --- lib/builder.rb | 1 - lib/builder/xchar.rb | 1 - lib/builder/xmlbase.rb | 1 - lib/builder/xmlevents.rb | 1 - lib/builder/xmlmarkup.rb | 1 - rakelib/tags.rake | 1 - test/performance.rb | 1 - test/test_eventbuilder.rb | 1 - test/test_markupbuilder.rb | 1 - test/test_method_caching.rb | 1 - test/test_namecollision.rb | 1 - test/test_xchar.rb | 2 -- 12 files changed, 13 deletions(-) diff --git a/lib/builder.rb b/lib/builder.rb index 20558df..2351a62 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/lib/builder/xchar.rb b/lib/builder/xchar.rb index f904ca5..33afd72 100644 --- a/lib/builder/xchar.rb +++ b/lib/builder/xchar.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true # The XChar library is provided courtesy of Sam Ruby (See diff --git a/lib/builder/xmlbase.rb b/lib/builder/xmlbase.rb index 2cddbec..a891acd 100644 --- a/lib/builder/xmlbase.rb +++ b/lib/builder/xmlbase.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true module Builder diff --git a/lib/builder/xmlevents.rb b/lib/builder/xmlevents.rb index 1b62c0c..62a3d16 100644 --- a/lib/builder/xmlevents.rb +++ b/lib/builder/xmlevents.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/lib/builder/xmlmarkup.rb b/lib/builder/xmlmarkup.rb index cccf8d0..9cef5eb 100644 --- a/lib/builder/xmlmarkup.rb +++ b/lib/builder/xmlmarkup.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- # Copyright 2004, 2005 by Jim Weirich (jim@weirichhouse.org). diff --git a/rakelib/tags.rake b/rakelib/tags.rake index 2743f02..3e4d9d4 100755 --- a/rakelib/tags.rake +++ b/rakelib/tags.rake @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true module Tags diff --git a/test/performance.rb b/test/performance.rb index 71362f6..e7bd56d 100644 --- a/test/performance.rb +++ b/test/performance.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true # encoding: iso-8859-1 diff --git a/test/test_eventbuilder.rb b/test/test_eventbuilder.rb index 0148712..afa8c7e 100644 --- a/test/test_eventbuilder.rb +++ b/test/test_eventbuilder.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/test/test_markupbuilder.rb b/test/test_markupbuilder.rb index 9e0b432..2447cf0 100644 --- a/test/test_markupbuilder.rb +++ b/test/test_markupbuilder.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/test/test_method_caching.rb b/test/test_method_caching.rb index c7c8802..9244883 100644 --- a/test/test_method_caching.rb +++ b/test/test_method_caching.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/test/test_namecollision.rb b/test/test_namecollision.rb index 5b24c91..8a36396 100644 --- a/test/test_namecollision.rb +++ b/test/test_namecollision.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true #-- diff --git a/test/test_xchar.rb b/test/test_xchar.rb index 745589b..5fb4a2b 100644 --- a/test/test_xchar.rb +++ b/test/test_xchar.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby # frozen_string_literal: true # encoding: us-ascii @@ -12,7 +11,6 @@ # above copyright notice is included. #++ -#!/usr/bin/env ruby require 'helper' require 'builder/xchar'