summaryrefslogtreecommitdiff
path: root/spec/monkey_patches
diff options
context:
space:
mode:
authorAndrea Veri <av@gnome.org>2014-05-07 11:49:25 +0200
committerAndrea Veri <av@gnome.org>2014-05-07 11:49:25 +0200
commit09f892023c726eabaa85a308c2dbffd8e8b71fbd (patch)
treec9b45412f856675d7aa2034ebe8484ed0004e294 /spec/monkey_patches
parente962b9553b8d79b36faa90ef6e002649820208a3 (diff)
Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly
Diffstat (limited to 'spec/monkey_patches')
-rwxr-xr-xspec/monkey_patches/alias_should_to_must.rb1
-rwxr-xr-xspec/monkey_patches/publicize_methods.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/monkey_patches/alias_should_to_must.rb b/spec/monkey_patches/alias_should_to_must.rb
index 1a11117..505e240 100755
--- a/spec/monkey_patches/alias_should_to_must.rb
+++ b/spec/monkey_patches/alias_should_to_must.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'rspec'
class Object
diff --git a/spec/monkey_patches/publicize_methods.rb b/spec/monkey_patches/publicize_methods.rb
index f3a1abf..3ae59f9 100755
--- a/spec/monkey_patches/publicize_methods.rb
+++ b/spec/monkey_patches/publicize_methods.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
# Some monkey-patching to allow us to test private methods.
class Class
def publicize_methods(*methods)