diff options
author | Ben Bleything <ben@bleything.net> | 2006-09-21 05:31:08 +0000 |
---|---|---|
committer | Ben Bleything <ben@bleything.net> | 2006-09-21 05:31:08 +0000 |
commit | 3b9ef5be6157c75f334433f438e0af2f26117d2f (patch) | |
tree | 4c7aca6fdb14fc456ab5f5f562fac02b58a526b8 /lib | |
parent | 041f279a780c33ecf5c823bdd09d881a86fad569 (diff) | |
download | plist-3b9ef5be6157c75f334433f438e0af2f26117d2f.tar.gz |
comment tweakage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plist/generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist/generator.rb b/lib/plist/generator.rb index c37d5a0..4f177af 100644 --- a/lib/plist/generator.rb +++ b/lib/plist/generator.rb @@ -101,7 +101,7 @@ module Plist # note that apple plists are wrapped at a different length then # what ruby's base64 wraps by default. # I used #encode64 instead of #b64encode (which allows a length arg) - # for compatibility with 1.6.x + # because b64encode is b0rked and ignores the length arg. data = "\n" Base64::encode64(contents).gsub(/\s+/, '').scan(/.{1,68}/o) { data << $& << "\n" } output << tag('data', data) |