about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-12 13:42:21 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-12 13:42:21 -0800
commitdd08acc53b0f17946b47a7a8f5e6b3f219c218fd (patch)
treed78678d945ac866d3288e64e5c35c1340504ee90
parentf5eae25bad81afcd0e0c11f671a7fa7e12461015 (diff)
downloadupr-dd08acc53b0f17946b47a7a8f5e6b3f219c218fd.tar.gz
set "encoding: binary" to workaround 1.9 insanity
It probably doesn't matter for these modules/classes, but I'd
much rather avoid potential surprises in the future.
-rw-r--r--lib/upr/params.rb1
-rw-r--r--lib/upr/status.rb1
-rw-r--r--lib/upr/status_methods.rb1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/upr/params.rb b/lib/upr/params.rb
index 3babdc0..a65a30f 100644
--- a/lib/upr/params.rb
+++ b/lib/upr/params.rb
@@ -1,3 +1,4 @@
+# -*- encoding: binary -*-
 require 'rack'
 
 module Upr
diff --git a/lib/upr/status.rb b/lib/upr/status.rb
index 443933a..3cd21d0 100644
--- a/lib/upr/status.rb
+++ b/lib/upr/status.rb
@@ -1,3 +1,4 @@
+# -*- encoding: binary -*-
 require 'upr/status_methods'
 module Upr
 
diff --git a/lib/upr/status_methods.rb b/lib/upr/status_methods.rb
index e82a0f0..763f810 100644
--- a/lib/upr/status_methods.rb
+++ b/lib/upr/status_methods.rb
@@ -1,3 +1,4 @@
+# -*- encoding: binary -*-
 module Upr
   # mixin module for both Upr::Status and UprStatus (AR example module)
   module StatusMethods