c12-commons 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/c12-commons/string.rb +3 -3
- data/lib/c12-commons/version.rb +1 -1
- metadata +35 -33
data/lib/c12-commons/string.rb
CHANGED
@@ -16,9 +16,9 @@ class String
|
|
16
16
|
|
17
17
|
# Translation between legacy character sets.
|
18
18
|
|
19
|
-
GEO = '
|
20
|
-
KA = '
|
21
|
-
LAT = 'abgdevzTiklmnopJrstufqRySCcZwWxjh'
|
19
|
+
GEO = 'ÀÁÂÃÄÅÆÈÉÊËÌÍÏÐÑÒÓÔÖ×ØÙÚÛÜÝÞßàáãä#'
|
20
|
+
KA = 'აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰ№'
|
21
|
+
LAT = 'abgdevzTiklmnopJrstufqRySCcZwWxjh#'
|
22
22
|
|
23
23
|
def translate(from, to)
|
24
24
|
txt = ""
|
data/lib/c12-commons/version.rb
CHANGED
metadata
CHANGED
@@ -1,39 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: c12-commons
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Dimitri Kurashvili
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
date: 2013-03-19 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
15
16
|
name: rspec
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '2'
|
22
|
-
type: :development
|
23
17
|
prerelease: false
|
24
|
-
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
|
-
requirements:
|
20
|
+
requirements:
|
27
21
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version:
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "2"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
30
26
|
description: Functionality used in georgian projects
|
31
|
-
email:
|
27
|
+
email:
|
32
28
|
- dimitri@c12.ge
|
33
29
|
executables: []
|
30
|
+
|
34
31
|
extensions: []
|
32
|
+
|
35
33
|
extra_rdoc_files: []
|
36
|
-
|
34
|
+
|
35
|
+
files:
|
37
36
|
- .gitignore
|
38
37
|
- .project
|
39
38
|
- .rspec
|
@@ -56,29 +55,32 @@ files:
|
|
56
55
|
- spec/spec_helper.rb
|
57
56
|
homepage: http://c12.ge
|
58
57
|
licenses: []
|
58
|
+
|
59
59
|
post_install_message:
|
60
60
|
rdoc_options: []
|
61
|
-
|
61
|
+
|
62
|
+
require_paths:
|
62
63
|
- lib
|
63
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
65
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
71
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version:
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: "0"
|
75
76
|
requirements: []
|
77
|
+
|
76
78
|
rubyforge_project: c12-commons
|
77
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.25
|
78
80
|
signing_key:
|
79
81
|
specification_version: 3
|
80
82
|
summary: KA Localization
|
81
|
-
test_files:
|
83
|
+
test_files:
|
82
84
|
- spec/c12-commons/core_spec.rb
|
83
85
|
- spec/c12-commons/date_spec.rb
|
84
86
|
- spec/c12-commons/email_spec.rb
|