babosa 0.3.7 → 0.3.8

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
+ * [Peco Danajlovski](https://github.com/Vortex) - Macedonian support
246
247
  * [Philip Arndt](https://github.com/parndt) - Bugfixes
247
248
  * [Jonas Forsberg](https://github.com/himynameisjonas) - Swedish support
248
249
  * [Jaroslav Kalistsuk](https://github.com/jarosan) - Greek support
@@ -258,6 +259,7 @@ Many thanks to the following people for their help:
258
259
 
259
260
  ## Changelog
260
261
 
262
+ * 0.3.8 - Correct and improve Macedonian support.
261
263
  * 0.3.7 - Fix compatibility with Ruby 1.8.7. Add Swedish support.
262
264
  * 0.3.6 - Allow multiple transliterators. Add Greek support.
263
265
  * 0.3.5 - Don't strip underscores from identifiers.
@@ -3,8 +3,24 @@ module Babosa
3
3
  module Transliterator
4
4
  class Macedonian < Cyrillic
5
5
  APPROXIMATIONS = {
6
+ "Ѓ" => "Gj",
7
+ "Љ" => "Lj",
8
+ "Њ" => "Nj",
9
+ "Ќ" => "Kj",
10
+ "Џ" => "Dzh",
11
+ "Ж" => "Zh",
12
+ "Ц" => "C",
6
13
  "S" => "Z",
14
+ "Ј" => "J",
15
+ "ѓ" => "gj",
16
+ "љ" => "lj",
17
+ "њ" => "nj",
18
+ "ќ" => "kj",
19
+ "џ" => "dzh",
20
+ "ж" => "zh",
21
+ "ц" => "c",
7
22
  "s" => "z",
23
+ "ј" => "j"
8
24
  }
9
25
  end
10
26
  end
@@ -1,5 +1,5 @@
1
1
  module Babosa
2
2
  module Version
3
- STRING = "0.3.7"
3
+ STRING = "0.3.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: babosa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-12 00:00:00.000000000 Z
12
+ date: 2012-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70194416980920 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 2.3.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70194416980920
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.3.0
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rspec
27
- requirement: &70194416979940 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 2.5.0
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70194416979940
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.5.0
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: simplecov
38
- requirement: &70194416979120 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70194416979120
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  description: ! " A library for creating slugs. Babosa an extraction and improvement
48
63
  of the\n string code from FriendlyId, intended to help developers create similar\n
49
64
  \ libraries or plugins.\n"
@@ -117,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
132
  version: '0'
118
133
  requirements: []
119
134
  rubyforge_project: ! '[none]'
120
- rubygems_version: 1.8.11
135
+ rubygems_version: 1.8.24
121
136
  signing_key:
122
137
  specification_version: 3
123
138
  summary: A library for creating slugs.