ruby-aaws-simple 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/amazon/aws/cache.rb +1 -1
- data/lib/amazon/aws/simple_version.rb +1 -1
- metadata +1 -1
data/lib/amazon/aws/cache.rb
CHANGED
|
@@ -109,7 +109,7 @@ module Amazon
|
|
|
109
109
|
cache_file = File.join( @path, digest )
|
|
110
110
|
|
|
111
111
|
Amazon.dprintf( 'Caching %s...', digest )
|
|
112
|
-
|
|
112
|
+
contents.force_encoding("UTF-8")
|
|
113
113
|
#File.open( cache_file, 'w' ) { |f| f.puts contents }
|
|
114
114
|
File.write cache_file, contents
|
|
115
115
|
end
|