From dd08acc53b0f17946b47a7a8f5e6b3f219c218fd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 12 Nov 2009 13:42:21 -0800 Subject: [PATCH] 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. --- lib/upr/params.rb | 1 + lib/upr/status.rb | 1 + lib/upr/status_methods.rb | 1 + 3 files changed, 3 insertions(+) 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 -- 2.11.4.GIT