rtl 0.2.3 → 0.2.4

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
  SHA1:
3
- metadata.gz: f29ce6d7cd35feb3e394b9db19248d5fb1ed1209
4
- data.tar.gz: 4764067b643f9ff4be3db94b1186984e1c23de10
3
+ metadata.gz: 6571b3f57a8a1124799f0cfda3a5fd030dfde4a4
4
+ data.tar.gz: 78212aa6ccd87e71c5827c6b96c540a7a1511813
5
5
  SHA512:
6
- metadata.gz: 0f0f31ad9f71b08c39c1702584a8f12d8a0a65d95946942839d328ec536a64cfc6ea6d7f318e313a768aa338d75e047d09aec9aea26f21f3ae99f5f197a8787c
7
- data.tar.gz: b3b00a657fb73e1b0faec27ecac519d8f59b65eb60971ecf2f0b77a23a5b4b9fce6a7151054e00750645d979d51445c1aa62e90f3116adcf6769f0481620d33e
6
+ metadata.gz: 0217f4e1bab48c2eeb42d323471ba6e1138dbb57e5acd760dd80fd8f4c30ededf781df81887a285bd30ebbbd9fb472841e976f0b1f2afe4acbe3ce324952ba10
7
+ data.tar.gz: 58b1b4a7d07bdeb739d6bb4ab70529470c2993d5c5da008c58d40bb709f5029204fa9dabf1a9a07dc6a4be9f93e9d9fc9031f9ed0894abd27befc53766d52582
data/README.md CHANGED
@@ -65,6 +65,13 @@ Rtl.rtl? 'Hebrew', :unicode_alias #=> true
65
65
  Rtl.rtl? :Persian, :full_name #=> true
66
66
  ```
67
67
 
68
+ #### Or check all ways ..
69
+
70
+ ```ruby
71
+ Rtl.rtl? :kur, :all #=> true
72
+ ```
73
+
74
+
68
75
  #### Get List of all languages by any of the above criteria:
69
76
 
70
77
  ```ruby
@@ -9,12 +9,12 @@ module Rtl
9
9
  "Inscriptional Pahlavi", "Psalter Pahlavi", "Book Pahlavi", "Phoenician",
10
10
  "Inscriptional Parthian", "Samaritan", "Old South Arabian", "Syriac",
11
11
  "Syriac (Estrangelo variant)", "Syriac (Western variant)",
12
- "Syriac (Eastern variant)", "Thaana", "Woleai", "Persian", "Kurdish"]
12
+ "Syriac (Eastern variant)", "Thaana", "Woleai", "Persian", "Kurdish", "Urdu"]
13
13
 
14
14
  # ISO 639 codes for RTL languages.
15
15
  # If a language has 639-1 and 639-2 codes, both are included.
16
16
  ISO_CODES = ["ar", "ara", "arc", "ae", "ave", "egy", "he", "heb", "nqo", "pal", "phn", "sam",
17
- "syc", "syr", "fa", "per", "fas", "ku", "kur"]
17
+ "syc", "syr", "fa", "per", "fas", "ku", "kur", "ur", "urd"]
18
18
 
19
19
  # ISO 15924 codes for RTL languages.
20
20
  ISO_LONG_CODES = ['Adlm', 'Arab', 'Aran', 'Armi', 'Avst', 'Cprt', 'Egyd', 'Egyh', 'Hatr',
@@ -1,3 +1,3 @@
1
1
  module Rtl
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -2,11 +2,12 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'rtl/version'
5
+ require 'date'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
8
  spec.name = "rtl"
8
9
  spec.version = Rtl::VERSION
9
- spec.date = '2016-10-01'
10
+ spec.date = Date.today.to_s
10
11
  spec.authors = ["Abdullah Barrak (abarrak)"]
11
12
  spec.email = ["a@abarrak.com"]
12
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdullah Barrak (abarrak)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-01 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.4.8
95
+ rubygems_version: 2.6.10
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: A gem for checking RTL direction of a language.