speakingurl-rails 5.0.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/speakingurl.js +21 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 959212a062fd3eaa9a9889c6850664f34432727d
|
4
|
+
data.tar.gz: 617c2088f5c2003fce836b7e4eeaf90e6f229fee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7146b9dea481488a1a96fc7cc76f0a2284af6ec5f87b9e1d15230956376c23950d7a05a5ee36b4f043cfbe1ff24d7b909a694a27c6757079531b631bb5063a
|
7
|
+
data.tar.gz: b37acf71b67547ad3d56ef1b2e12ccac3d9fa7f84c7b5a8991ba36d9d9ce3496820b59ab9db7fb0ec1858ca6f39aee6a48adccc9fb8962123e9c2f1d95f1584f
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ SpeakingURL
|
|
7
7
|
|
8
8
|
====================================================================================================================================================================================================================================================================================================================================================
|
9
9
|
|
10
|
-
> Generate a slug with a lot of options; create
|
10
|
+
> Generate a slug with a lot of options; create a so-called [Semantic URL](https://en.wikipedia.org/wiki/Semantic_URL) or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' from a string. This module aims to transliterate the input string.
|
11
11
|
|
12
12
|
For use in browser and server - no dependencies!
|
13
13
|
|
@@ -58,14 +58,14 @@ copy the file speakingurl.min.js to your script directory
|
|
58
58
|
available versions:
|
59
59
|
|
60
60
|
- [www.cdnjs.com/libraries/speakingurl/](http://cdnjs.com/libraries/speakingurl/)
|
61
|
-
- use [//cdnjs.cloudflare.com/ajax/libs/speakingurl/
|
61
|
+
- use [//cdnjs.cloudflare.com/ajax/libs/speakingurl/6.0.0/speakingurl.min.js](https://cdnjs.cloudflare.com/ajax/libs/speakingurl/6.0.0/speakingurl.min.js)
|
62
62
|
|
63
63
|
#### [CDN/maxcdn](https://www.maxcdn.com/)
|
64
64
|
|
65
65
|
available versions:
|
66
66
|
|
67
67
|
- [www.jsdelivr.com/#!speakingurl](]http://www.jsdelivr.com/#!speakingurl)
|
68
|
-
- use [//cdn.jsdelivr.net/speakingurl/
|
68
|
+
- use [//cdn.jsdelivr.net/speakingurl/6.0.0/speakingurl.min.js](https://cdn.jsdelivr.net/speakingurl/6.0.0/speakingurl.min.js)
|
69
69
|
|
70
70
|
Usage
|
71
71
|
-----
|
data/lib/speakingurl.js
CHANGED
@@ -784,6 +784,15 @@
|
|
784
784
|
'Ž': 'Z'
|
785
785
|
},
|
786
786
|
|
787
|
+
'fi': { // Finnish
|
788
|
+
// 'å': 'a', duplicate see charMap/latin
|
789
|
+
// 'Å': 'A', duplicate see charMap/latin
|
790
|
+
'ä': 'a', // ok
|
791
|
+
'Ä': 'A', // ok
|
792
|
+
'ö': 'o', // ok
|
793
|
+
'Ö': 'O' // ok
|
794
|
+
},
|
795
|
+
|
787
796
|
'hu': { // Hungarian
|
788
797
|
'ä': 'a', // ok
|
789
798
|
'Ä': 'A', // ok
|
@@ -908,6 +917,18 @@
|
|
908
917
|
|
909
918
|
'az': {},
|
910
919
|
|
920
|
+
'ca': {
|
921
|
+
'∆': 'delta',
|
922
|
+
'∞': 'infinit',
|
923
|
+
'♥': 'amor',
|
924
|
+
'&': 'i',
|
925
|
+
'|': 'o',
|
926
|
+
'<': 'menys que',
|
927
|
+
'>': 'mes que',
|
928
|
+
'∑': 'suma dels',
|
929
|
+
'¤': 'moneda'
|
930
|
+
},
|
931
|
+
|
911
932
|
'cz': {
|
912
933
|
'∆': 'delta',
|
913
934
|
'∞': 'nekonecno',
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakingurl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.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: 2015-
|
11
|
+
date: 2015-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.1'
|
27
27
|
description: Generate a slug – transliteration with a lot of options
|
@@ -31,8 +31,8 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- README.md
|
35
34
|
- LICENSE
|
35
|
+
- README.md
|
36
36
|
- lib/speakingurl-rails.rb
|
37
37
|
- lib/speakingurl.js
|
38
38
|
homepage: http://pid.github.io/speakingurl/
|
@@ -46,17 +46,17 @@ require_paths:
|
|
46
46
|
- lib
|
47
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
|
-
- -
|
49
|
+
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
51
|
version: '0'
|
52
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.
|
59
|
+
rubygems_version: 2.4.5
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: Speakingurl for Rails asset pipeline
|