speakingurl-rails 10.0.0 → 11.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -3
  3. data/lib/speakingurl.js +71 -6
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a19ec62c197d3c0c942843595e0129e631861e35
4
- data.tar.gz: 16c33b167034837fcb3e8ec1f422676b86170c03
3
+ metadata.gz: 03da50d5de08264d7bf75bdef270be7a2da8b678
4
+ data.tar.gz: d528dc0a4d845994a6d329d291ae71acf93ca878
5
5
  SHA512:
6
- metadata.gz: 61c8d91815fa271ff6693c7e10fa782049b3761070edcfef5b0deb84a0cf941923e5f14448463073a5ded579ce88468388a741168c3b123333934c436e2b62b8
7
- data.tar.gz: 217034e09edff267d8cc0082c5dc307efaae819c0261cc6cc382758cadd896f3b7b4373aec8269414dcdcf61231fe3f147619db725d69a2137a105f42ab8c0be
6
+ metadata.gz: 013a7d9335a3d3a827842d77fbce0191885a54e9f849d5372ec3caf9d3973a027ff3bd7d079a66d47d519975ff83b9bb80e41c80057d6c76c47b932b48978b15
7
+ data.tar.gz: dd814b9904404e8274c69181efaf7977270d172ac1e2c399ac5e4d482d92b55abdb0e57e1a7bcfcba7f313b7adc4367d465867829b7d92ee23924506cf32c0a3
data/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  SpeakingURL
2
2
  ===========
3
3
 
4
- [![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl) [![NPM version](https://badge.fury.io/js/speakingurl.png)](http://badge.fury.io/js/speakingurl) [![Bower version](https://badge.fury.io/bo/speakingurl.svg)](http://badge.fury.io/bo/speakingurl) [![Gem Version](https://badge.fury.io/rb/speakingurl-rails.svg)](http://badge.fury.io/rb/speakingurl-rails) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pid/speakingurl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1418477/pidspeakingurl-on-GitHub)
4
+ [![Build Status](https://travis-ci.org/pid/speakingurl.svg)](https://travis-ci.org/pid/speakingurl)
5
+ [![NPM version](https://badge.fury.io/js/speakingurl.svg)](http://badge.fury.io/js/speakingurl)
6
+ [![Bower version](https://badge.fury.io/bo/speakingurl.svg)](http://badge.fury.io/bo/speakingurl)
7
+ [![Gem Version](https://badge.fury.io/rb/speakingurl-rails.svg)](http://badge.fury.io/rb/speakingurl-rails)
8
+ [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pid/speakingurl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
9
+ [![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1418477/pidspeakingurl-on-GitHub)
5
10
 
6
11
 
7
12
  ====================================================================================================================================================================================================================================================================================================================================================
@@ -12,7 +17,7 @@ For use in browser and server - no dependencies!
12
17
 
13
18
  ##### NPM Badge
14
19
 
15
- [![Module Status](https://nodei.co/npm/speakingurl.png?downloads=true&stars=true)](https://npmjs.org/package/speakingurl)
20
+ [![Module Status](https://nodei.co/npm/speakingurl.svg?downloads=true&stars=true)](https://npmjs.org/package/speakingurl)
16
21
 
17
22
  Installation
18
23
  ------------
@@ -88,6 +93,8 @@ Usage
88
93
  - 'dv' // Divehi
89
94
  - 'en' // English
90
95
  - 'es' // Spanish
96
+ - 'fa' // Persian
97
+ - 'fi' // Finnish
91
98
  - 'fr' // French
92
99
  - 'gr' // Greek\*
93
100
  - 'hu' // Hungarian
@@ -330,7 +337,7 @@ see [CHANGELOG.md](https://raw.github.com/pid/speakingurl/master/CHANGELOG.md)
330
337
  Tests
331
338
  -----
332
339
 
333
- [![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)
340
+ [![Build Status](https://travis-ci.org/pid/speakingurl.svg)](https://travis-ci.org/pid/speakingurl)
334
341
 
335
342
  ```shell
336
343
  npm test
@@ -153,6 +153,14 @@
153
153
  'ﻹ': 'lai',
154
154
  'ﻵ': 'laa',
155
155
 
156
+ // Persian additional characters than Arabic
157
+ 'گ': 'g',
158
+ 'چ': 'ch',
159
+ 'پ': 'p',
160
+ 'ژ': 'zh',
161
+ 'ک': 'k',
162
+ 'ی': 'y',
163
+
156
164
  // Arabic diactrics
157
165
  'َ': 'a',
158
166
  'ً': 'an',
@@ -174,6 +182,18 @@
174
182
  '٨': '8',
175
183
  '٩': '9',
176
184
 
185
+ // Persian numbers
186
+ '۰': '0',
187
+ '۱': '1',
188
+ '۲': '2',
189
+ '۳': '3',
190
+ '۴': '4',
191
+ '۵': '5',
192
+ '۶': '6',
193
+ '۷': '7',
194
+ '۸': '8',
195
+ '۹': '9',
196
+
177
197
  // Burmese consonants
178
198
  'က': 'k',
179
199
  'ခ': 'kh',
@@ -372,7 +392,7 @@
372
392
  'Φ': 'F',
373
393
  'Χ': 'X',
374
394
  'Ψ': 'PS',
375
- 'Ω': 'W',
395
+ 'Ω': 'O',
376
396
  'Ά': 'A',
377
397
  'Έ': 'E',
378
398
  'Ί': 'I',
@@ -717,7 +737,18 @@
717
737
  '฿': 'THB',
718
738
  '₨': 'INR',
719
739
  '₹': 'INR',
720
- '₰': 'PF'
740
+ '₰': 'PF',
741
+ '₺': 'TRY',
742
+ '؋': 'AFN',
743
+ '₼': 'AZN',
744
+ 'лв': 'BGN',
745
+ '៛': 'KHR',
746
+ '₡': 'CRC',
747
+ '₸': 'KZT',
748
+ 'ден': 'MKD',
749
+ 'zł': 'PLN',
750
+ '₽': 'RUB',
751
+ '₾': 'GEL'
721
752
 
722
753
  };
723
754
 
@@ -989,14 +1020,14 @@
989
1020
  '¤': 'moneda'
990
1021
  },
991
1022
 
992
- 'cz': {
1023
+ 'cs': {
993
1024
  '∆': 'delta',
994
1025
  '∞': 'nekonecno',
995
1026
  '♥': 'laska',
996
1027
  '&': 'a',
997
1028
  '|': 'nebo',
998
- '<': 'mene jako',
999
- '>': 'vice jako',
1029
+ '<': 'mensi nez',
1030
+ '>': 'vetsi nez',
1000
1031
  '∑': 'soucet',
1001
1032
  '¤': 'mena'
1002
1033
  },
@@ -1049,6 +1080,30 @@
1049
1080
  '¤': 'moneda'
1050
1081
  },
1051
1082
 
1083
+ 'fa': {
1084
+ '∆': 'delta',
1085
+ '∞': 'bi-nahayat',
1086
+ '♥': 'eshgh',
1087
+ '&': 'va',
1088
+ '|': 'ya',
1089
+ '<': 'kamtar-az',
1090
+ '>': 'bishtar-az',
1091
+ '∑': 'majmooe',
1092
+ '¤': 'vahed'
1093
+ },
1094
+
1095
+ 'fi': {
1096
+ '∆': 'delta',
1097
+ '∞': 'aarettomyys',
1098
+ '♥': 'rakkaus',
1099
+ '&': 'ja',
1100
+ '|': 'tai',
1101
+ '<': 'pienempi kuin',
1102
+ '>': 'suurempi kuin',
1103
+ '∑': 'summa',
1104
+ '¤': 'valuutta'
1105
+ },
1106
+
1052
1107
  'fr': {
1053
1108
  '∆': 'delta',
1054
1109
  '∞': 'infiniment',
@@ -1087,7 +1142,17 @@
1087
1142
  '¤': 'moneta'
1088
1143
  },
1089
1144
 
1090
- 'lt': {},
1145
+ 'lt': {
1146
+ '∆': 'delta',
1147
+ '∞': 'begalybe',
1148
+ '♥': 'meile',
1149
+ '&': 'ir',
1150
+ '|': 'ar',
1151
+ '<': 'maziau nei',
1152
+ '>': 'daugiau nei',
1153
+ '∑': 'suma',
1154
+ '¤': 'valiuta'
1155
+ },
1091
1156
 
1092
1157
  'lv': {
1093
1158
  '∆': 'delta',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speakingurl-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Droste
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 2.5.1
59
+ rubygems_version: 2.5.2
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Speakingurl for Rails asset pipeline