az 2.0.0 → 2.0.1

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: 6ea01898973734ca8b60989aaae0921874d2932fbcac1f888c2c9a19b2a45fdb
4
- data.tar.gz: 54a1feede7dcbf0caa136aa6622b3f00623e8a62269c206e655d88c95e81ede6
3
+ metadata.gz: 2c239e6d1aa094835f3e2cc63caa4315ef9127c3e47108cf2bf3c0a0a8e40ebc
4
+ data.tar.gz: e159f2a988cc0e030ce4a445fd84d074adb9f680ba0d73898d37da5ecdd6239f
5
5
  SHA512:
6
- metadata.gz: f5dfc6980f11086da0cc24d1b8df72f5555bf09425939c9333f401263bb0106521c49eec7892a221c950f04fcca2bbaa2a54425c7855b0da1fe4d9f7c491bf91
7
- data.tar.gz: 1c48f0d27e82db7f96f5697958c365d458b23c14e8bc42f7a0783404c26ce37fa61af068ffc2d7f1dd5c9e327080d564f1eb3456cea6123609e1b8896848516d
6
+ metadata.gz: d32eccdd4e3d2bcda763c1e9d96b8ef6018ecb5bf2c6764049e0fdcfe7c1428daaabca33a1bf5a7456d0d4eef12332966600a3b548531d3fc32ad1fb46409aa6
7
+ data.tar.gz: ddfad2771f68f689ee704d5f644fd63ec0bb9e0887c0e26d511f85753754613ed5d1e58611b9d20f58cd5854b8fbc31f2da83406e2ec833cebde7dd94f8d969b
@@ -1,5 +1,8 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 2.0.1
4
+ - Fix italic font to include Planck constant
5
+
3
6
  ### 2.0.0
4
7
  #### New CLI Options
5
8
  - Add `--copy` option to directly copy to clipboard
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Az
4
- VERSION = "2.0.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: "𝙰-𝚉𝚊-𝚣",
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: az
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis