bisu 2.1.0 → 2.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a53a95f2c8ca08de5f1b44a56f5648f3b3430d22f191a9a5637f9b6daa37bee9
4
- data.tar.gz: b51d192672fdf321ba29f2ac1a4fdaf0728a615885f03fad317c566264531053
3
+ metadata.gz: 899c9d0280deaab7991aa96efb8826d43e257e065c0330cbfe1d09a4fa0958a9
4
+ data.tar.gz: c81b5482f9d18af6b208f6bb3b57555063a7f1089fb3c926e53746c1d40f944a
5
5
  SHA512:
6
- metadata.gz: 50543ddcc08ea0d0c09626e4d7cee4cc1dec6f575f81e229dce5d263c2b460237fafedc6a13256178cc4a87ccf4eedb290edd83cb5b8c7ca672d5ad6aea9f969
7
- data.tar.gz: d7ecec10c7249f263566589dbb62af318ea9a59adb346265bc9500248c048d00507047ce55eab2e2f3527403910bbd67ed995eb16282fda2b6595ab1fbcbc848
6
+ metadata.gz: 868664d115f452bb84ee3e4ac7be0b4da6347e502ca80369a2c358d4cdf5fb244e3be61b04491dc3388c1ac1cd80a61a6b1b9ece50180504283351fc392ec279
7
+ data.tar.gz: eb74b6d8c230c0d5a584a3af88234b3517b2ae442113ff81e71cfc6ff57058eb16dab631360051f8cc66d9daa28934fcb5d62404c30af0d6cdce06f21f3453f7
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [2.2.0](https://github.com/hole19/bisu/releases/tag/v2.2.0)
8
+
9
+ #### Fixed
10
+ - Escape double quotes (") on Android localization
11
+
7
12
  ## [2.1.0](https://github.com/hole19/bisu/releases/tag/v2.1.0)
8
13
 
9
14
  #### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bisu (2.0.0)
4
+ bisu (2.2.0)
5
5
  colorize
6
6
  rubyzip (>= 2.0.0)
7
7
  safe_yaml (>= 1.0.0)
@@ -82,6 +82,7 @@ module Bisu
82
82
 
83
83
  if @type.eql?(:android)
84
84
  text = text.gsub(/[']/, "\\\\\\\\'")
85
+ text = text.gsub(/\"/, "\\\\\"")
85
86
  text = text.gsub("...", "…")
86
87
  text = text.gsub("& ", "& ")
87
88
  text = text.gsub("@", "\\\\@")
data/lib/bisu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bisu
2
- VERSION = '2.1.0'
3
- VERSION_UPDATED_AT = '2023-12-18'
2
+ VERSION = '2.2.0'
3
+ VERSION_UPDATED_AT = '2024-02-23'
4
4
  end
@@ -182,6 +182,7 @@ describe Bisu::Localizer do
182
182
 
183
183
  let(:expected) { type_dependent_defaults.merge(
184
184
  single_quoted: "Não sabes nada \\'João das Neves\\'",
185
+ double_quoted: "Não sabes nada \\\"João das Neves\\\"",
185
186
  ellipsis: "Não sabes nada João das Neves…",
186
187
  ampersand: "Não sabes nada João das Neves & Pícaros",
187
188
  at_sign: "\\@johnsnow sabes alguma coisa?",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bisu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - joaoffcosta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml
@@ -103,7 +103,7 @@ homepage: https://github.com/hole19/bisu
103
103
  licenses:
104
104
  - MIT
105
105
  metadata: {}
106
- post_install_message:
106
+ post_install_message:
107
107
  rdoc_options: []
108
108
  require_paths:
109
109
  - lib
@@ -118,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.1.6
122
- signing_key:
121
+ rubygems_version: 3.2.33
122
+ signing_key:
123
123
  specification_version: 4
124
124
  summary: A localization automation service
125
125
  test_files: []