diff --git a/CHANGELOG.md b/CHANGELOG.md index 67bb072..ede433c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,51 @@ +0.4.0 / 2024-03-12 +================== + * Removed 4 characters from Arabic: + * U+0615 ARABIC SMALL HIGH TAH + * U+066A ARABIC PERCENT SIGN + * U+066B ARABIC DECIMAL SEPARATOR + * U+066C ARABIC THOUSANDS SEPARATOR + + * Removed 1 character from Devanagari: + * U+0950 DEVANAGARI OM + + * Removed 1 character from Gurmukhi: + * U+0A51 GURMUKHI SIGN UDAAT + + * Removed 1 character from Hebrew: + * U+05F4 HEBREW PUNCTUATION GERSHAYIM + + * Removed 5 characters from Japanese: + * U+3094 HIRAGANA LETTER VU + * U+309B KATAKANA-HIRAGANA VOICED SOUND MARK + * U+309C KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK + * U+309D HIRAGANA ITERATION MARK + * U+309E HIRAGANA VOICED ITERATION MARK + + * Removed 2 characters from Kannada: + * U+0964 DEVANAGARI DANDA + * U+0965 DEVANAGARI DOUBLE DANDA + + * Removed 8 characters from Malayalam: + * U+0D3D MALAYALAM SIGN AVAGRAHA + * U+0D4E MALAYALAM LETTER DOT REPH + * U+0D79 MALAYALAM DATE MARK + * U+0D7A MALAYALAM LETTER CHILLU NN + * U+0D7B MALAYALAM LETTER CHILLU N + * U+0D7D MALAYALAM LETTER CHILLU L + * U+0D7E MALAYALAM LETTER CHILLU LL + * U+0D7F MALAYALAM LETTER CHILLU K + + * Removed 2 characters from Tamil: + * U+0B9D (unassigned) + * U+0BFA TAMIL NUMBER SIGN + + * Removed 4 characters from Telugu: + * U+0C00 TELUGU SIGN COMBINING CANDRABINDU + * U+0C58 TELUGU LETTER TSA + * U+0C59 TELUGU LETTER DZA + * U+0C5A TELUGU LETTER RRRA + 0.3.0 / 2023-07-14 ================== * Add Fula (Adlam script). diff --git a/Gemfile.lock b/Gemfile.lock index 3a1bb33..12a024f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - speakeasy (0.3.0) + speakeasy (0.4.0) GEM remote: https://rubygems.org/ @@ -24,6 +24,7 @@ GEM PLATFORMS x86_64-darwin-18 + x86_64-darwin-21 x86_64-linux DEPENDENCIES @@ -32,4 +33,4 @@ DEPENDENCIES speakeasy! BUNDLED WITH - 2.2.31 + 2.3.5 diff --git a/data/Deva b/data/Deva index e1a977b..ae50813 100644 --- a/data/Deva +++ b/data/Deva @@ -13,5 +13,4 @@ codepoints: - !ruby/range 2364..2373 # ़ ऽ ा ि ी ु ू ृ ॄ ॅ - !ruby/range 2375..2377 # े ै ॉ - !ruby/range 2379..2381 # ो ौ ् -- 2384 # ॐ - !ruby/range 2406..2416 # ० १ २ ३ ४ ५ ६ ७ ८ ९ ॰ diff --git a/data/Guru b/data/Guru index 2eef594..cb39baf 100644 --- a/data/Guru +++ b/data/Guru @@ -16,7 +16,6 @@ codepoints: - !ruby/range 2622..2626 - !ruby/range 2631..2632 - !ruby/range 2635..2637 -- 2641 - !ruby/range 2649..2652 - 2654 - !ruby/range 2662..2676 diff --git a/data/ar b/data/ar index 820bd78..b14d5e8 100644 --- a/data/ar +++ b/data/ar @@ -4,9 +4,8 @@ anglicized_name: Arabic native_name: العربية codepoints: - 1548 # ARABIC COMMA -- 1557 # ARABIC SMALL HIGH TAH - 1563 # ARABIC SEMICOLON - 1567 # ARABIC QUESTION MARK - !ruby/range 1569..1594 # ARABIC LETTER HAMZA .. ARABIC LETTER GHAIN - !ruby/range 1600..1621 # ARABIC TATWEEL .. ARABIC HAMZA BELOW -- !ruby/range 1632..1644 # ARABIC-INDIC DIGIT ZERO .. ARABIC THOUSANDS SEPARATOR +- !ruby/range 1632..1641 # ARABIC-INDIC DIGIT ZERO .. ARABIC-INDIC DIGIT NINE diff --git a/data/he b/data/he index 8817143..a03cb35 100644 --- a/data/he +++ b/data/he @@ -5,4 +5,4 @@ native_name: עברית codepoints: - 1470 # ־ - !ruby/range 1488..1514 # א ב ג ד ה ו ז ח ט י ך כ ל ם מ ן נ ס ע ף פ ץ צ ק ר ש ת -- !ruby/range 1523..1524 # ׳ ״ +- 1523 # ׳ diff --git a/data/ja b/data/ja index 8621f42..2ea35a3 100644 --- a/data/ja +++ b/data/ja @@ -3,5 +3,4 @@ version: 2 anglicized_name: Japanese native_name: 日本語 codepoints: -- !ruby/range 12353..12436 # U+3041 (HIRAGANA LETTER SMALL A) .. U+3094 (HIRAGANA LETTER VU) -- !ruby/range 12443..12446 # U+309B (KATAKANA-HIRAGANA VOICED SOUND MARK) .. U+309E (HIRAGANA VOICED ITERATION MARK) +- !ruby/range 12353..12435 # U+3041 (HIRAGANA LETTER SMALL A) .. U+3093 (HIRAGANA LETTER N) diff --git a/data/kn b/data/kn index d7ca4ac..3921c0f 100644 --- a/data/kn +++ b/data/kn @@ -3,7 +3,6 @@ version: 2 anglicized_name: Kannada native_name: ಕನ್ನಡ codepoints: -- !ruby/range 2404..2405 # ।,॥ - !ruby/range 3202..3203 # ಂ,ಃ - !ruby/range 3205..3212 # ಅ,ಆ,ಇ,ಈ,ಉ,ಊ,ಋ,ಌ - !ruby/range 3214..3216 # ಎ,ಏ,ಐ diff --git a/data/ml b/data/ml index 98278b5..fa349ca 100644 --- a/data/ml +++ b/data/ml @@ -55,7 +55,6 @@ codepoints: - 3383 # ഷ (U+0D37) MALAYALAM LETTER SSA - 3384 # സ (U+0D38) MALAYALAM LETTER SA - 3385 # ഹ (U+0D39) MALAYALAM LETTER HA -- 3389 # ഽ (U+0D3D) MALAYALAM SIGN AVAGRAHA - 3390 # ാ (U+0D3E) MALAYALAM VOWEL SIGN AA - 3391 # ി (U+0D3F) MALAYALAM VOWEL SIGN I - 3392 # ീ (U+0D40) MALAYALAM VOWEL SIGN II @@ -69,11 +68,4 @@ codepoints: - 3403 # ോ (U+0D4B) MALAYALAM VOWEL SIGN OO - 3404 # ൌ (U+0D4C) MALAYALAM VOWEL SIGN AU - 3405 # ് (U+0D4D) MALAYALAM SIGN VIRAMA -- 3406 # ൎ (U+0D4E) MALAYALAM LETTER DOT REPH - 3415 # ൗ (U+0D57) MALAYALAM AU LENGTH MARK -- 3449 # ൹ (U+0D79) MALAYALAM DATE MARK -- 3450 # ൺ (U+0D7A) MALAYALAM LETTER CHILLU NN -- 3451 # ൻ (U+0D7B) MALAYALAM LETTER CHILLU N -- 3453 # ൽ (U+0D7D) MALAYALAM LETTER CHILLU L -- 3454 # ൾ (U+0D7E) MALAYALAM LETTER CHILLU LL -- 3455 # ൿ (U+0D7F) MALAYALAM LETTER CHILLU K diff --git a/data/ta b/data/ta index d30b01f..608e630 100644 --- a/data/ta +++ b/data/ta @@ -9,7 +9,7 @@ codepoints: - !ruby/range 2962..2965 - !ruby/range 2969..2970 - 2972 -- !ruby/range 2973..2974 +- 2974 - !ruby/range 2979..2980 - !ruby/range 2984..2986 - !ruby/range 2990..3001 @@ -18,4 +18,4 @@ codepoints: - !ruby/range 3018..3021 - 3024 - 3031 -- !ruby/range 3046..3066 +- !ruby/range 3046..3065 diff --git a/data/te b/data/te index 112d54f..d50605a 100644 --- a/data/te +++ b/data/te @@ -3,7 +3,6 @@ version: 2 anglicized_name: Telugu native_name: తెలుగు codepoints: -- 3072 # ఀ (U+0C00) TELUGU SIGN COMBINING CANDRABINDU - 3073 # ఁ (U+0C01) TELUGU SIGN CANDRABINDU - 3074 # ం (U+0C02) TELUGU SIGN ANUSVARA - 3075 # ః (U+0C03) TELUGU SIGN VISARGA @@ -73,9 +72,6 @@ codepoints: - 3149 # ్ (U+0C4D) TELUGU SIGN VIRAMA - 3157 # ౕ (U+0C55) TELUGU LENGTH MARK - 3158 # ౖ (U+0C56) TELUGU AI LENGTH MARK -- 3160 # ౘ (U+0C58) TELUGU LETTER TSA -- 3161 # ౙ (U+0C59) TELUGU LETTER DZA -- 3162 # ౚ (U+0C5A) TELUGU LETTER RRRA - 3168 # ౠ (U+0C60) TELUGU LETTER VOCALIC RR - 3169 # ౡ (U+0C61) TELUGU LETTER VOCALIC LL - 3170 # ౢ (U+0C62) TELUGU VOWEL SIGN VOCALIC L diff --git a/lib/speakeasy.rb b/lib/speakeasy.rb index 6cabc50..6eccc94 100644 --- a/lib/speakeasy.rb +++ b/lib/speakeasy.rb @@ -1,5 +1,5 @@ require 'speakeasy/language' module Speakeasy - VERSION = "0.3.0" + VERSION = "0.4.0" end diff --git a/speakeasy.gemspec b/speakeasy.gemspec index 970a8ff..faf85bb 100644 --- a/speakeasy.gemspec +++ b/speakeasy.gemspec @@ -13,8 +13,8 @@ Gem::Specification.new do |s| ## If your rubyforge_project name is different, then edit it and comment out ## the sub! line in the Rakefile s.name = 'speakeasy' - s.version = '0.3.0' - s.date = '2023-07-14' + s.version = '0.4.0' + s.date = '2024-03-12' s.rubyforge_project = 'speakeasy' ## Make sure your summary is short. The description may be as long diff --git a/spec/language_spec.rb b/spec/language_spec.rb index 0eac803..df5d7e7 100644 --- a/spec/language_spec.rb +++ b/spec/language_spec.rb @@ -4,15 +4,15 @@ SupportedLanguages = 64 it "can list the supported language ids" do - Speakeasy::Language.supported_language_ids.size.should == SupportedLanguages + expect(Speakeasy::Language.supported_language_ids.size).to eq(SupportedLanguages) end it "can get all supported languages" do - Speakeasy::Language.all.size.should == SupportedLanguages + expect(Speakeasy::Language.all.size).to eq(SupportedLanguages) end it "can iterate over all supported languages" do - Speakeasy::Language.each.to_a.size.should == SupportedLanguages + expect(Speakeasy::Language.each.to_a.size).to eq(SupportedLanguages) end it "contains valid code point ranges" do @@ -33,7 +33,7 @@ end it "has a language_id" do - subject.language_id.should == "de" + expect(subject.language_id).to eq("de") end it "has codepoints" do @@ -43,12 +43,12 @@ it "has a native name" do subject.respond_to? :native_name - subject.native_name.should == "Deutsch" + expect(subject.native_name).to eq("Deutsch") end it "has a anglicized name" do subject.respond_to? :anglicized_name - subject.anglicized_name.should == "German" + expect(subject.anglicized_name).to eq("German") end end end