summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2018-02-01 20:48:33 +0000
committerColby Swandale <me@colby.fyi>2018-04-20 10:27:32 +1000
commit95689a54f107697fe208eedb0ef3131a1db16707 (patch)
tree469e7d54db1adf3a62a860fce7d1c47b4a0b7825
parentec85836f2f67311394d58515e5867dee0c5b9040 (diff)
downloadbundler-95689a54f107697fe208eedb0ef3131a1db16707.tar.gz
Auto merge of #6285 - voxik:remove-executable-bit, r=colby-swandale
Remove unnecessary executable bit from gem template. This file is not executable at all, since the shebang line contains just placeholder for template expansion. (cherry picked from commit ccc276ec0cd0591e73925746101f3b56ccc9333c)
-rw-r--r--.rubocop.yml4
-rw-r--r--[-rwxr-xr-x]lib/bundler/templates/Executable0
2 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index f12289800a..a6412ecb13 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -21,6 +21,10 @@ Lint/EndAlignment:
Lint/UnusedMethodArgument:
Enabled: false
+Lint/ScriptPermission:
+ Exclude:
+ - 'lib/bundler/templates/Executable'
+
# Layout
Layout/AccessModifierIndentation:
diff --git a/lib/bundler/templates/Executable b/lib/bundler/templates/Executable
index 414a75898d..414a75898d 100755..100644
--- a/lib/bundler/templates/Executable
+++ b/lib/bundler/templates/Executable