bwrap 1.0.0.pre.alpha2 → 1.0.0.pre.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/lib/bwrap/output/log.rb +3 -3
- data/lib/bwrap/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a362da994cec63d76530772a6740d68e9cf442f4bb43dfc39579ce6c10c40e
|
4
|
+
data.tar.gz: 0ec62bee38e4729320ec365490e94c03f1f33f84e570e186ac009b587162ea24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65e1ad6f76b55f0b9fbabc2066eb10000ab286d6440070331dd8244f608f0de39e3ccf1f54b6e663727da32c5c587a4ae87717d5f8276444f835caaf3ff0618a
|
7
|
+
data.tar.gz: 5298f24103bb9c4290906fed7e6a5925a85228482f17cb2516bb6a3a50ace7c3fcb2d17de00abd1bd994d7cdd97fe420451631f50fe8792c247bab577a20ea4e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/lib/bwrap/output/log.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# frozen_string_literal:
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# force_encoding modifies string, so can’t freeze strings.
|
4
4
|
|
@@ -15,12 +15,12 @@ class Bwrap::Output::Log
|
|
15
15
|
|
16
16
|
# Writes given string to log.
|
17
17
|
def self.write_to_log str
|
18
|
-
@@log_file&.write str.force_encoding("UTF-8")
|
18
|
+
@@log_file&.write str.dup.force_encoding("UTF-8")
|
19
19
|
end
|
20
20
|
|
21
21
|
# Writes given string to log.
|
22
22
|
def self.puts_to_log str
|
23
|
-
@@log_file&.puts str.force_encoding("UTF-8")
|
23
|
+
@@log_file&.puts str.dup.force_encoding("UTF-8")
|
24
24
|
end
|
25
25
|
|
26
26
|
# Closes an open log file.
|
data/lib/bwrap/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|