bisu 2.2.0 → 2.3.0

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: 899c9d0280deaab7991aa96efb8826d43e257e065c0330cbfe1d09a4fa0958a9
4
- data.tar.gz: c81b5482f9d18af6b208f6bb3b57555063a7f1089fb3c926e53746c1d40f944a
3
+ metadata.gz: 608523f42571de5769d7c8833560802cd67140899a9e50dd51d6a50885b662ea
4
+ data.tar.gz: bd92d03d5b4f8c0638008fb5bb75db1bb3f446643c79bf2fabad6beeadc2f87c
5
5
  SHA512:
6
- metadata.gz: 868664d115f452bb84ee3e4ac7be0b4da6347e502ca80369a2c358d4cdf5fb244e3be61b04491dc3388c1ac1cd80a61a6b1b9ece50180504283351fc392ec279
7
- data.tar.gz: eb74b6d8c230c0d5a584a3af88234b3517b2ae442113ff81e71cfc6ff57058eb16dab631360051f8cc66d9daa28934fcb5d62404c30af0d6cdce06f21f3453f7
6
+ metadata.gz: f5a707a80c64a4092278797801005fc88bd22a27da1cd35c1f1690262fa656a31654659acd46b8e3fc47c50c088ca52f5dd0e015617abd7e0c82f1031499aa2f
7
+ data.tar.gz: 866e1b4aff21c863c3f87a769c17b841136fd69809d9b738f050033b769cda32ce49e340a362cc251bfbd0d1213ee0e7a685109fe043d33c3098c25c569e51f9
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.3.0](https://github.com/hole19/bisu/releases/tag/v2.2.0)
8
+
9
+ #### Fixed
10
+ - Fix handling of ampersand (&) character on Android localization
11
+
7
12
  ## [2.2.0](https://github.com/hole19/bisu/releases/tag/v2.2.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.2.0)
4
+ bisu (2.3.0)
5
5
  colorize
6
6
  rubyzip (>= 2.0.0)
7
7
  safe_yaml (>= 1.0.0)
@@ -84,7 +84,7 @@ module Bisu
84
84
  text = text.gsub(/[']/, "\\\\\\\\'")
85
85
  text = text.gsub(/\"/, "\\\\\"")
86
86
  text = text.gsub("...", "…")
87
- text = text.gsub("& ", "& ")
87
+ text = text.gsub("&", "&")
88
88
  text = text.gsub("@", "\\\\@")
89
89
  text = text.gsub(/%(?!{)/, "\\\\%%")
90
90
 
data/lib/bisu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bisu
2
- VERSION = '2.2.0'
3
- VERSION_UPDATED_AT = '2024-02-23'
2
+ VERSION = '2.3.0'
3
+ VERSION_UPDATED_AT = '2024-03-20'
4
4
  end
@@ -20,7 +20,7 @@ describe Bisu::Localizer do
20
20
  "kDoubleQuoted" => "Não sabes nada \"João das Neves\"",
21
21
  "kSingleQuoted" => "Não sabes nada 'João das Neves'",
22
22
  "kEllipsis" => "Não sabes nada João das Neves...",
23
- "kAmpersand" => "Não sabes nada João das Neves & Pícaros",
23
+ "kAmpersand" => "Não sabes nada João das Neves T&C",
24
24
  "kAtSign" => "\@johnsnow sabes alguma coisa?",
25
25
  "kPercentage" => "Sabes 0% João das Neves."
26
26
  },
@@ -184,7 +184,7 @@ describe Bisu::Localizer do
184
184
  single_quoted: "Não sabes nada \\'João das Neves\\'",
185
185
  double_quoted: "Não sabes nada \\\"João das Neves\\\"",
186
186
  ellipsis: "Não sabes nada João das Neves…",
187
- ampersand: "Não sabes nada João das Neves & Pícaros",
187
+ ampersand: "Não sabes nada João das Neves T&C",
188
188
  at_sign: "\\@johnsnow sabes alguma coisa?",
189
189
  percentage: "Sabes 0\\%% João das Neves.",
190
190
  percentage_formatted: "Sabes 0\\%% João das Neves.",
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.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - joaoffcosta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-23 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.2.33
121
+ rubygems_version: 3.4.22
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: A localization automation service