aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-15 13:26:50 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-15 13:26:50 +0100
commit576b58803635de9d16dd7cd1c2a68b692ba11743 (patch)
treebfddbeaad716b5eeabebb0dc28e11370ba7f89f0 /script
parent7d9de8a5ffe67e6bc49271a082c1d8e43dbb0f03 (diff)
Add source file encoding for all ruby files.
This is important under ruby 1.9 in order to determine the encoding that will be used for new strings created in the code in the file.
Diffstat (limited to 'script')
-rwxr-xr-xscript/handle-mail-replies.rb2
-rwxr-xr-xscript/switch-theme.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/handle-mail-replies.rb b/script/handle-mail-replies.rb
index cbff03acb..5cd6d4576 100755
--- a/script/handle-mail-replies.rb
+++ b/script/handle-mail-replies.rb
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-# -*- coding: utf-8 -*-
+# -*- encoding : utf-8 -*-
# Handle email responses sent to us.
#
diff --git a/script/switch-theme.rb b/script/switch-theme.rb
index 146d1bf0c..47b3991c1 100755
--- a/script/switch-theme.rb
+++ b/script/switch-theme.rb
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-# -*- coding: utf-8 -*-
+# -*- encoding : utf-8 -*-
# A simple script to swap around your Alaveteli themes when you're
# hacking on Alaveteli. By default this assumes that you have an