diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-12 13:42:21 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-12 13:42:21 -0800 |
commit | dd08acc53b0f17946b47a7a8f5e6b3f219c218fd (patch) | |
tree | d78678d945ac866d3288e64e5c35c1340504ee90 | |
parent | f5eae25bad81afcd0e0c11f671a7fa7e12461015 (diff) | |
download | upr-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.rb | 1 | ||||
-rw-r--r-- | lib/upr/status.rb | 1 | ||||
-rw-r--r-- | lib/upr/status_methods.rb | 1 |
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 |