az 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/az/constants.rb +2 -2
- data/spec/az_spec.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c239e6d1aa094835f3e2cc63caa4315ef9127c3e47108cf2bf3c0a0a8e40ebc
|
4
|
+
data.tar.gz: e159f2a988cc0e030ce4a445fd84d074adb9f680ba0d73898d37da5ecdd6239f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d32eccdd4e3d2bcda763c1e9d96b8ef6018ecb5bf2c6764049e0fdcfe7c1428daaabca33a1bf5a7456d0d4eef12332966600a3b548531d3fc32ad1fb46409aa6
|
7
|
+
data.tar.gz: ddfad2771f68f689ee704d5f644fd63ec0bb9e0887c0e26d511f85753754613ed5d1e58611b9d20f58cd5854b8fbc31f2da83406e2ec833cebde7dd94f8d969b
|
data/CHANGELOG.md
CHANGED
data/lib/az/constants.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Az
|
4
|
-
VERSION = "2.0.
|
4
|
+
VERSION = "2.0.1"
|
5
5
|
UNICODE_VERSION = "12.0.0"
|
6
6
|
|
7
7
|
FONTS = {
|
8
8
|
ascii: "A-Za-z",
|
9
9
|
bold: "𝐀-𝐙𝐚-𝐳",
|
10
|
-
italic: "
|
10
|
+
italic: "𝐴-𝑍𝑎-𝑔ℎ𝑖-𝑧",
|
11
11
|
bold_italic: "𝑨-𝒁𝒂-𝒛",
|
12
12
|
italic_bold: "𝑨-𝒁𝒂-𝒛",
|
13
13
|
monospace: "𝙰-𝚉𝚊-𝚣",
|
data/spec/az_spec.rb
CHANGED
@@ -49,6 +49,10 @@ describe "az" do
|
|
49
49
|
assert_equal "🇫🇷🇴🇲 🇦 🇹🇴 🇿", az("From A to Z", :region)
|
50
50
|
assert_equal " ", az("From A to Z", :tag)
|
51
51
|
end
|
52
|
+
|
53
|
+
it "works to convert an h to italic" do
|
54
|
+
assert_equal "𝑐ℎ𝑎𝑟𝑎𝑐𝑡𝑒𝑟.𝑐𝑜𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛", az("character.construction", :italic)
|
55
|
+
end
|
52
56
|
end
|
53
57
|
|
54
58
|
|