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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd1c029789733da3f76f30e1de8647ae2844ee70e7b3558944c9fda0e8c48cdd
4
- data.tar.gz: b2a46db9002fd1c9699ab4d763d1e98105c69539b1fcd05afeb9a9c887fe09f7
3
+ metadata.gz: d7a362da994cec63d76530772a6740d68e9cf442f4bb43dfc39579ce6c10c40e
4
+ data.tar.gz: 0ec62bee38e4729320ec365490e94c03f1f33f84e570e186ac009b587162ea24
5
5
  SHA512:
6
- metadata.gz: 375d76049c7654c40258892a1d3a3e6d062ad80c75402560be71298572c58d5284151966c5b388c16f836999daea732d39fa1ab91a31f9ebd925476ef198fd75
7
- data.tar.gz: 0e31779606b0f8add41c8ff2c1420a39bfe84cad10dae64c1107161791a404569797c89ed3b8401c0976002203a025f078f603d145c7e9673d037e29cb0d5a0d
6
+ metadata.gz: 65e1ad6f76b55f0b9fbabc2066eb10000ab286d6440070331dd8244f608f0de39e3ccf1f54b6e663727da32c5c587a4ae87717d5f8276444f835caaf3ff0618a
7
+ data.tar.gz: 5298f24103bb9c4290906fed7e6a5925a85228482f17cb2516bb6a3a50ace7c3fcb2d17de00abd1bd994d7cdd97fe420451631f50fe8792c247bab577a20ea4e
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 1.0.0-alpha3 (14.11.2021)
4
+
5
+ * Avoid frozen string literal modification
6
+
3
7
  ## 1.0.0-alpha2 (14.11.2021)
4
8
 
5
9
  * Made gem to tell its license (ISC)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
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
@@ -3,7 +3,7 @@
3
3
  # bwrap command runner tools.
4
4
  module Bwrap
5
5
  # Current version of bwrap.
6
- VERSION = "1.0.0-alpha2"
6
+ VERSION = "1.0.0-alpha3"
7
7
  end
8
8
 
9
9
  require "deep-cover" if ENV["DEEP_COVER"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.alpha2
4
+ version: 1.0.0.pre.alpha3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samu Voutilainen
metadata.gz.sig CHANGED
Binary file