babosa 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -243,6 +243,7 @@ tracker](http://github.com/norman/babosa/issues).
243
243
 
244
244
  Many thanks to the following people for their help:
245
245
 
246
+ * [Vassilis Rodokanakis](https://github.com/vrodokanakis) - Greek support
246
247
  * [Peco Danajlovski](https://github.com/Vortex) - Macedonian support
247
248
  * [Philip Arndt](https://github.com/parndt) - Bugfixes
248
249
  * [Jonas Forsberg](https://github.com/himynameisjonas) - Swedish support
@@ -259,6 +260,7 @@ Many thanks to the following people for their help:
259
260
 
260
261
  ## Changelog
261
262
 
263
+ * 0.3.9 - Added missing greek vowels with diaeresis
262
264
  * 0.3.8 - Correct and improve Macedonian support.
263
265
  * 0.3.7 - Fix compatibility with Ruby 1.8.7. Add Swedish support.
264
266
  * 0.3.6 - Allow multiple transliterators. Add Greek support.
@@ -7,8 +7,8 @@ module Babosa
7
7
  "Ά" => "A",
8
8
  "α" => "a",
9
9
  "ά" => "a",
10
- "Β" => "B",
11
- "β" => "b",
10
+ "Β" => "V",
11
+ "β" => "v",
12
12
  "Γ" => "G",
13
13
  "γ" => "g",
14
14
  "Δ" => "D",
@@ -19,17 +19,19 @@ module Babosa
19
19
  "έ" => "e",
20
20
  "Ζ" => "Z",
21
21
  "ζ" => "z",
22
- "Η" => "E",
23
- "Ή" => "e",
24
- "η" => "e",
25
- "ή" => "E",
26
- "Θ" => "Th",
22
+ "Η" => "I",
23
+ "Ή" => "i",
24
+ "η" => "i",
25
+ "ή" => "i",
26
+ "Θ" => "TH",
27
27
  "θ" => "th",
28
28
  "Ι" => "I",
29
29
  "Ί" => "Ι",
30
30
  "Î" => "I",
31
31
  "ι" => "i",
32
32
  "ί" => "i",
33
+ "ϊ" => "i",
34
+ "ΐ" => "i",
33
35
  "Κ" => "K",
34
36
  "κ" => "k",
35
37
  "Λ" => "L",
@@ -38,8 +40,8 @@ module Babosa
38
40
  "μ" => "m",
39
41
  "Ν" => "N",
40
42
  "ν" => "n",
41
- "Ξ" => "X",
42
- "ξ" => "x",
43
+ "Ξ" => "KS",
44
+ "ξ" => "ks",
43
45
  "Ο" => "O",
44
46
  "Ό" => "O",
45
47
  "ο" => "o",
@@ -53,15 +55,17 @@ module Babosa
53
55
  "ς" => "s",
54
56
  "Τ" => "T",
55
57
  "τ" => "t",
56
- "Υ" => "I",
57
- "Ύ" => "I",
58
- "υ" => "i",
59
- "ύ" => "i",
58
+ "Υ" => "Y",
59
+ "Ύ" => "Y",
60
+ "υ" => "y",
61
+ "ύ" => "y",
62
+ "ϋ" => "y",
63
+ "ΰ" => "y",
60
64
  "Φ" => "F",
61
65
  "φ" => "f",
62
- "Χ" => "Ch",
63
- "χ" => "ch",
64
- "Ψ" => "Ps",
66
+ "Χ" => "X",
67
+ "χ" => "x",
68
+ "Ψ" => "PS",
65
69
  "ψ" => "ps",
66
70
  "Ω" => "O",
67
71
  "Ώ" => "O",
@@ -1,5 +1,5 @@
1
1
  module Babosa
2
2
  module Version
3
- STRING = "0.3.8"
3
+ STRING = "0.3.9"
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ describe Babosa::Transliterator::Greek do
9
9
  it "should transliterate various characters" do
10
10
  examples = {
11
11
  "Γερμανία" => "Germania",
12
- "Αυστρία" => "Aistria",
12
+ "Αυστρία" => "Aystria",
13
13
  "Ιταλία" => "Italia"
14
14
  }
15
15
  examples.each {|k, v| t.transliterate(k).should eql(v)}
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: babosa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
5
4
  prerelease:
5
+ version: 0.3.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Norman Clarke
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-03 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -19,14 +19,14 @@ dependencies:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.3.0
22
- type: :development
23
- prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ! '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 2.3.0
28
+ prerelease: false
29
+ type: :development
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rspec
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -35,14 +35,14 @@ dependencies:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
37
  version: 2.5.0
38
- type: :development
39
- prerelease: false
40
38
  version_requirements: !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
43
  version: 2.5.0
44
+ prerelease: false
45
+ type: :development
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: simplecov
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -51,14 +51,14 @@ dependencies:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
- type: :development
55
- prerelease: false
56
54
  version_requirements: !ruby/object:Gem::Requirement
57
55
  none: false
58
56
  requirements:
59
57
  - - ! '>='
60
58
  - !ruby/object:Gem::Version
61
59
  version: '0'
60
+ prerelease: false
61
+ type: :development
62
62
  description: ! " A library for creating slugs. Babosa an extraction and improvement
63
63
  of the\n string code from FriendlyId, intended to help developers create similar\n
64
64
  \ libraries or plugins.\n"