rbbt-util 5.26.153 → 5.26.154
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/persist.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50a62eabd29aa3dc1012c94462208ed2e12a616f
|
4
|
+
data.tar.gz: '02728b39d95907931c3f0f2c76d197d712a4c7b6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bf01183c28585bcfa3a059cd5e0c22b0665bd21bbbae729a12a6d1ad1775c0297ab735a53f6a2c28c4344885f344cdef81ec1b28e3c99b2c3381c92e49e4245
|
7
|
+
data.tar.gz: c18cbe1d99dff56077c84571e2141e37c5d06a61406dad2dcbbe328157f31dd1a5682ea6184171517cd8f69d2f147750b22277afcee604ab4a1ecc06afe6e689
|
data/lib/rbbt/persist.rb
CHANGED
@@ -177,7 +177,7 @@ module Persist
|
|
177
177
|
Misc.sensiblewrite(path, content, :lock => lockfile)
|
178
178
|
when :binary
|
179
179
|
content.force_encoding("ASCII-8BIT") if content.respond_to? :force_encoding
|
180
|
-
f =
|
180
|
+
f = Open.open(path, :mode => 'wb')
|
181
181
|
f.puts content
|
182
182
|
f.close
|
183
183
|
content
|