bisu 3.0.0 → 3.0.2

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: 2ea2a5c13b7955fc0c03217a486ff2fc85113f0d24e0a17e384f50e2b58f56d7
4
- data.tar.gz: c739da6cdcf198784ec160c106e68182b84f4827b2dd0930716150afdbda847d
3
+ metadata.gz: 6e0ebe93e5001dc6db8e222794d4e470c60328bc217d7b368d4bdd6e50671d88
4
+ data.tar.gz: 65272ea9a5afab28442e9921cd39720040a022ca66695db4a0f7f6796af6600a
5
5
  SHA512:
6
- metadata.gz: abed861d2a9023e00b59dac55b4b3c4dd3cea0d14c1bb630a0d8be21b69ecbd515c5dc278332beb7c62b8023a3fb496b14376ee643b9b6c002d96b9dd871265e
7
- data.tar.gz: 74dafa6722b5e12fc0b0d9d92aee0e87018ed264be41927251256ba594c705676efaf32ad0c2b951427f27283d1585b5215f55797f135336d57024cefdaa77b8
6
+ metadata.gz: c5dceebc1529082253c027800f887a88fd672546e8c5a83f272c7841e02912edbfd4d746481d77220cdba5b1a325b121cce329554b3b78bb8b4c399073c38d06
7
+ data.tar.gz: 2ddae6aca4e7664acd762f3e3d8a0ba15358b868e5fef131e575f2de7a80a3bdf0ad53fcca668429c1237439dec78f8d42406ac3eeefeae16fcef44ab7d495f1
data/CHANGELOG.md CHANGED
@@ -4,11 +4,21 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
- ## [3.0.0](https://github.com/hole19/bisu/releases/tag/v2.5.0)(2025-10-13)
7
+ ## [3.0.2](https://github.com/hole19/bisu/releases/tag/v3.0.2)(2025-11-26)
8
+
9
+ - Escape percentage character properly on Android
10
+
11
+ ## [3.0.1](https://github.com/hole19/bisu/releases/tag/v3.0.1)(2025-10-13)
12
+
13
+ - Fix SSL verification in Tolgee source
14
+
15
+ ## [3.0.0](https://github.com/hole19/bisu/releases/tag/v3.0.0)(2025-10-13)
8
16
 
9
17
  - Add support for ruby 3.4
10
18
  - Add Github test workflow
11
- - (Breaking) Set ruby 3.0 as minimum supported version
19
+
20
+ ### Breaking Changes
21
+ - Set ruby 3.0 as minimum supported version
12
22
 
13
23
  ## [2.4.0](https://github.com/hole19/bisu/releases/tag/v2.4.0)
14
24
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bisu (3.0.0)
4
+ bisu (3.0.2)
5
5
  colorize
6
6
  csv
7
7
  rubyzip (>= 2.0.0)
@@ -87,7 +87,7 @@ module Bisu
87
87
  text = text.gsub("...", "…")
88
88
  text = text.gsub("&", "&")
89
89
  text = text.gsub("@", "\\\\@")
90
- text = text.gsub(/%(?!{)/, "\\\\%%")
90
+ text = text.gsub(/%(?!{)/, "%%") if is_formatted_string
91
91
  when :ios
92
92
  text = text.gsub(/%(?!{)/, "%%") if is_formatted_string
93
93
  end
@@ -31,7 +31,7 @@ module Bisu
31
31
  request = Net::HTTP::Get.new(uri)
32
32
  request['X-API-Key'] = @api_key
33
33
 
34
- response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
34
+ response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, verify_mode: OpenSSL::SSL::VERIFY_NONE) do |http|
35
35
  http.request(request)
36
36
  end
37
37
 
data/lib/bisu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bisu
2
- VERSION = '3.0.0'
3
- VERSION_UPDATED_AT = '2025-10-13'
2
+ VERSION = '3.0.2'
3
+ VERSION_UPDATED_AT = '2025-11-26'
4
4
  end
@@ -186,8 +186,8 @@ describe Bisu::Localizer do
186
186
  ellipsis: "Não sabes nada João das Neves…",
187
187
  ampersand: "Não sabes nada João das Neves T&C",
188
188
  at_sign: "\\@johnsnow sabes alguma coisa?",
189
- percentage: "Sabes 0\\%% João das Neves.",
190
- percentage_formatted: "Sabes 0\\%% João das Neves.",
189
+ percentage: "Sabes 0% João das Neves.",
190
+ percentage_formatted: "Sabes 0%% João das Neves.",
191
191
  ) }
192
192
 
193
193
  it_behaves_like "a localizer"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bisu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joaoffcosta
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-13 00:00:00.000000000 Z
10
+ date: 2025-11-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: safe_yaml