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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/persist.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a26f3680cc894ef4191dc1386b36b0b593e8a0c
4
- data.tar.gz: bcd87f8f47425b00c7e91a74a6d0619011ca8385
3
+ metadata.gz: 50a62eabd29aa3dc1012c94462208ed2e12a616f
4
+ data.tar.gz: '02728b39d95907931c3f0f2c76d197d712a4c7b6'
5
5
  SHA512:
6
- metadata.gz: 01ffd196e8f89efac127334921c9cda23c2d81e7b80f9533a82ae7350b74e49309f7f20cb9b4b85f159ea1606815219ef03ca446da8120ea0da4e67807451785
7
- data.tar.gz: c6fdc4cf6d67469f2b042b095f2ca781152f0946485a5ba2ab9f5d302700084a2dc0bcab0d44bd75f6df84f4e334d0dec0fd81beecf188904f5d3c8562c597b2
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 = File.open(path, 'wb')
180
+ f = Open.open(path, :mode => 'wb')
181
181
  f.puts content
182
182
  f.close
183
183
  content
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.153
4
+ version: 5.26.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez