summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-08 15:03:02 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-09 21:36:30 +0900
commitf48655d04d463a89b7ac15bc3942ec6c574c6cd9 (patch)
tree7b0e7380d7be97958e38bc21975d213cf3cb017d
parentfcf37ca2fef8248966dcd9143aaea569fc87953c (diff)
downloadbundler-f48655d04d463a89b7ac15bc3942ec6c574c6cd9.tar.gz
Remove unneeded exec bits from some files
I noticed that some files in rubygems were executable, and I could think of no reason why they should be. In general, I think ruby files should never have the executable bit set unless they include a shebang, so I run the following command over the whole repo: ```bash find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \; ```
-rw-r--r--[-rwxr-xr-x]benchmark/lib/load.rb0
-rw-r--r--[-rwxr-xr-x]ext/-test-/enumerator_kw/extconf.rb0
-rw-r--r--[-rwxr-xr-x]ext/-test-/rb_call_super_kw/extconf.rb0
-rw-r--r--[-rwxr-xr-x]ext/-test-/scan_args/extconf.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/generate-param-macros.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/generate.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/preproc.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/strip.rb0
-rw-r--r--[-rwxr-xr-x]lib/rubygems/core_ext/kernel_require.rb0
-rw-r--r--[-rwxr-xr-x]lib/rubygems/core_ext/kernel_warn.rb0
-rw-r--r--[-rwxr-xr-x]sample/test.rb0
-rw-r--r--[-rwxr-xr-x]test/csv/test_data_converters.rb0
-rw-r--r--[-rwxr-xr-x]test/csv/test_encodings.rb0
-rw-r--r--[-rwxr-xr-x]test/csv/test_features.rb0
-rw-r--r--[-rwxr-xr-x]test/csv/test_row.rb0
-rw-r--r--[-rwxr-xr-x]test/csv/test_table.rb0
-rw-r--r--[-rwxr-xr-x]tool/gem-unpack.rb0
17 files changed, 0 insertions, 0 deletions
diff --git a/benchmark/lib/load.rb b/benchmark/lib/load.rb
index 31b770c484..31b770c484 100755..100644
--- a/benchmark/lib/load.rb
+++ b/benchmark/lib/load.rb
diff --git a/ext/-test-/enumerator_kw/extconf.rb b/ext/-test-/enumerator_kw/extconf.rb
index ab2be73fa8..ab2be73fa8 100755..100644
--- a/ext/-test-/enumerator_kw/extconf.rb
+++ b/ext/-test-/enumerator_kw/extconf.rb
diff --git a/ext/-test-/rb_call_super_kw/extconf.rb b/ext/-test-/rb_call_super_kw/extconf.rb
index c6a5c720d7..c6a5c720d7 100755..100644
--- a/ext/-test-/rb_call_super_kw/extconf.rb
+++ b/ext/-test-/rb_call_super_kw/extconf.rb
diff --git a/ext/-test-/scan_args/extconf.rb b/ext/-test-/scan_args/extconf.rb
index 6cae9c2779..6cae9c2779 100755..100644
--- a/ext/-test-/scan_args/extconf.rb
+++ b/ext/-test-/scan_args/extconf.rb
diff --git a/ext/ripper/tools/generate-param-macros.rb b/ext/ripper/tools/generate-param-macros.rb
index f0de55a5f2..f0de55a5f2 100755..100644
--- a/ext/ripper/tools/generate-param-macros.rb
+++ b/ext/ripper/tools/generate-param-macros.rb
diff --git a/ext/ripper/tools/generate.rb b/ext/ripper/tools/generate.rb
index 883e6ef2df..883e6ef2df 100755..100644
--- a/ext/ripper/tools/generate.rb
+++ b/ext/ripper/tools/generate.rb
diff --git a/ext/ripper/tools/preproc.rb b/ext/ripper/tools/preproc.rb
index 7639a901df..7639a901df 100755..100644
--- a/ext/ripper/tools/preproc.rb
+++ b/ext/ripper/tools/preproc.rb
diff --git a/ext/ripper/tools/strip.rb b/ext/ripper/tools/strip.rb
index 23102f797a..23102f797a 100755..100644
--- a/ext/ripper/tools/strip.rb
+++ b/ext/ripper/tools/strip.rb
diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index 858f0998a0..858f0998a0 100755..100644
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
diff --git a/lib/rubygems/core_ext/kernel_warn.rb b/lib/rubygems/core_ext/kernel_warn.rb
index 96da272d66..96da272d66 100755..100644
--- a/lib/rubygems/core_ext/kernel_warn.rb
+++ b/lib/rubygems/core_ext/kernel_warn.rb
diff --git a/sample/test.rb b/sample/test.rb
index 65dd9abd10..65dd9abd10 100755..100644
--- a/sample/test.rb
+++ b/sample/test.rb
diff --git a/test/csv/test_data_converters.rb b/test/csv/test_data_converters.rb
index 1620e077be..1620e077be 100755..100644
--- a/test/csv/test_data_converters.rb
+++ b/test/csv/test_data_converters.rb
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index acee03db45..acee03db45 100755..100644
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index d6eb2dc13b..d6eb2dc13b 100755..100644
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb
index f709dd3f13..f709dd3f13 100755..100644
--- a/test/csv/test_row.rb
+++ b/test/csv/test_row.rb
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index 50edc77e40..50edc77e40 100755..100644
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
diff --git a/tool/gem-unpack.rb b/tool/gem-unpack.rb
index 0ddcea0704..0ddcea0704 100755..100644
--- a/tool/gem-unpack.rb
+++ b/tool/gem-unpack.rb