tratocyr 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2bcf1c60beaa5995ba7ad95dc3b411580bcab3cd
4
+ data.tar.gz: 5b491f2bfa1f5710308272488e06ba7900816756
5
+ SHA512:
6
+ metadata.gz: 462276b0cb4f072f6905d3b500f11e467399c944ec12a59aa10b84009e7c6b196e148a7c19bc9cf051eec8f2cf4d1ca698c9fbb3f24e32af0f14d4cdc44a0737
7
+ data.tar.gz: c7c13d688d107d84f36cd2a75f6dc9d82b35b164a8daffdb118fd978f1a45b46581c3cbed03961bf785e5bc76b8c37e95e9662d2cb0dfcb6059590d8d9fc2087
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ tratocyr
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-1.8.7-p374
data/.yardopts ADDED
@@ -0,0 +1,4 @@
1
+ --markup markdown
2
+ --markup-provider redcarpet
3
+ --charset utf-8
4
+ --readme README.md
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in tratocyr.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 CyberLight
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # Tratocyr
2
+
3
+ * Tratocyr - Translit To Cyrillic
4
+ * This gem provide functionality for translation string with translit symbols to string with cyrillic symbols
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'tratocyr'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install tratocyr
21
+
22
+ ## Usage
23
+
24
+ * Usage:
25
+ ```ruby
26
+ translator = Tratocyr::CyrillicTranslator.new
27
+ translator.to_cyrillic("Mister Putin molodec!")
28
+ ```
29
+ * Result:
30
+ ``` Мистер Путин молодец!```
31
+
32
+ ## Contributing
33
+
34
+ 1. Fork it ( https://github.com/CyberLight/tratocyr/fork )
35
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
36
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
37
+ 4. Push to the branch (`git push origin my-new-feature`)
38
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'yard'
3
+ require 'rspec/core/rake_task'
4
+
5
+ YARD::Rake::YardocTask.new
6
+
7
+ RSpec::Core::RakeTask.new
@@ -0,0 +1,47 @@
1
+ # encoding: UTF-8
2
+ require 'lib/tratocyr/mappings'
3
+
4
+ module Tratocyr
5
+ # Provide functionality for translation between translit symbols string to cyrillic symbols string
6
+ class CyrillicTranslator
7
+ include Tratocyr::Mapping
8
+
9
+ # Translate string symbols from translit to cyrillic
10
+ # @param: text [String] - text with translit symbols
11
+ # @example
12
+ # Tratocyr::CyrillicTranslator.new.to_cyrillic("Privet medved'!")
13
+ # @return: [String] - text with translated with cyrillic symbols
14
+ # @note: Return empty string if parameter type not equals to 'String'
15
+ def to_cyrillic(text)
16
+ return '' if not is_valid?(text)
17
+
18
+ latin_text = text.dup
19
+ latin_to_cyr.each do |mapping|
20
+ latin_text.gsub!(mapping[:latin_regexp], mapping[:cyrillic_value])
21
+ end
22
+ latin_text
23
+ end
24
+
25
+ # Translate string symbols from translit to cyrillic
26
+ # @param: text [String] - text with translit symbols
27
+ # @example
28
+ # Tratocyr::CyrillicTranslator.new.to_cyrillic("Privet medved'!")
29
+ # @return: [String] - text with translated with cyrillic symbols
30
+ # @raise: [TypeError] - if try to provide not String data
31
+ def to_cyrillic!(text)
32
+
33
+ raise TypeError, TYPE_ERROR_MESSAGE if not is_valid?(text)
34
+
35
+ self.to_cyrillic(text)
36
+ end
37
+
38
+ private
39
+
40
+ TYPE_ERROR_MESSAGE = 'You must give a not empty string for cyrillization!'
41
+
42
+ def is_valid?(text)
43
+ not text.nil? and text.kind_of?(String)
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,81 @@
1
+ # encoding: UTF-8
2
+
3
+ module Tratocyr
4
+ # Provide mapping between latin (translit) symbols to cyrillic symbols
5
+ module Mapping
6
+
7
+ # Return array of mappings from translit symbols to cyrillic symbols
8
+ # @return: [Array] - array of hashes with two keys :latin_regexp and cyrillic_value
9
+ def latin_to_cyr
10
+ @mapping = @mapping || [
11
+ {:latin_regexp => /Ya|Ja/, :cyrillic_value => 'Я'},
12
+ {:latin_regexp => /ya|ja/, :cyrillic_value => 'я'},
13
+ {:latin_regexp => /Je/, :cyrillic_value => 'Э'},
14
+ {:latin_regexp => /je|ä/, :cyrillic_value => 'э'},
15
+ {:latin_regexp => /Ju|Yu/, :cyrillic_value => 'Ю'},
16
+ {:latin_regexp => /ju|yu|ü/, :cyrillic_value => 'ю'},
17
+ {:latin_regexp => /Ch/, :cyrillic_value => 'Ч'},
18
+ {:latin_regexp => /ch/, :cyrillic_value => 'ч'},
19
+ {:latin_regexp => /Shh|W/, :cyrillic_value => 'Щ'},
20
+ {:latin_regexp => /shh|w/, :cyrillic_value => 'щ'},
21
+ {:latin_regexp => /Sh/, :cyrillic_value => 'Ш'},
22
+ {:latin_regexp => /sh/, :cyrillic_value => 'ш'},
23
+ {:latin_regexp => /Zh/, :cyrillic_value => 'Ж'},
24
+ {:latin_regexp => /zh/, :cyrillic_value => 'ж'},
25
+ {:latin_regexp => /Yo|Jo/, :cyrillic_value => 'Ё'},
26
+ {:latin_regexp => /yo|jo|ö/, :cyrillic_value => 'ё'},
27
+ {:latin_regexp => /H/, :cyrillic_value => 'Х'},
28
+ {:latin_regexp => /h/, :cyrillic_value => 'х'},
29
+ {:latin_regexp => /X/, :cyrillic_value => 'Кс'},
30
+ {:latin_regexp => /x/, :cyrillic_value => 'кс'},
31
+ {:latin_regexp => /"|'/, :cyrillic_value => 'ь'},
32
+ {:latin_regexp => /##/, :cyrillic_value => 'ъ'},
33
+ {:latin_regexp => /A/, :cyrillic_value => 'А'},
34
+ {:latin_regexp => /a/, :cyrillic_value => 'а'},
35
+ {:latin_regexp => /B/, :cyrillic_value => 'Б'},
36
+ {:latin_regexp => /b/, :cyrillic_value => 'б'},
37
+ {:latin_regexp => /V/, :cyrillic_value => 'В'},
38
+ {:latin_regexp => /v/, :cyrillic_value => 'в'},
39
+ {:latin_regexp => /G/, :cyrillic_value => 'Г'},
40
+ {:latin_regexp => /g/, :cyrillic_value => 'г'},
41
+ {:latin_regexp => /D/, :cyrillic_value => 'Д'},
42
+ {:latin_regexp => /d/, :cyrillic_value => 'д'},
43
+ {:latin_regexp => /Z/, :cyrillic_value => 'З'},
44
+ {:latin_regexp => /z/, :cyrillic_value => 'з'},
45
+ {:latin_regexp => /I/, :cyrillic_value => 'И'},
46
+ {:latin_regexp => /i/, :cyrillic_value => 'и'},
47
+ {:latin_regexp => /J/, :cyrillic_value => 'Й'},
48
+ {:latin_regexp => /j/, :cyrillic_value => 'й'},
49
+ {:latin_regexp => /K/, :cyrillic_value => 'К'},
50
+ {:latin_regexp => /k/, :cyrillic_value => 'к'},
51
+ {:latin_regexp => /L/, :cyrillic_value => 'Л'},
52
+ {:latin_regexp => /l/, :cyrillic_value => 'л'},
53
+ {:latin_regexp => /M/, :cyrillic_value => 'М'},
54
+ {:latin_regexp => /m/, :cyrillic_value => 'м'},
55
+ {:latin_regexp => /N/, :cyrillic_value => 'Н'},
56
+ {:latin_regexp => /n/, :cyrillic_value => 'н'},
57
+ {:latin_regexp => /O/, :cyrillic_value => 'О'},
58
+ {:latin_regexp => /o/, :cyrillic_value => 'о'},
59
+ {:latin_regexp => /P/, :cyrillic_value => 'П'},
60
+ {:latin_regexp => /p/, :cyrillic_value => 'п'},
61
+ {:latin_regexp => /R/, :cyrillic_value => 'Р'},
62
+ {:latin_regexp => /r/, :cyrillic_value => 'р'},
63
+ {:latin_regexp => /S/, :cyrillic_value => 'С'},
64
+ {:latin_regexp => /s/, :cyrillic_value => 'с'},
65
+ {:latin_regexp => /T/, :cyrillic_value => 'Т'},
66
+ {:latin_regexp => /t/, :cyrillic_value => 'т'},
67
+ {:latin_regexp => /U/, :cyrillic_value => 'У'},
68
+ {:latin_regexp => /u/, :cyrillic_value => 'у'},
69
+ {:latin_regexp => /F/, :cyrillic_value => 'Ф'},
70
+ {:latin_regexp => /f/, :cyrillic_value => 'ф'},
71
+ {:latin_regexp => /C/, :cyrillic_value => 'Ц'},
72
+ {:latin_regexp => /c/, :cyrillic_value => 'ц'},
73
+ {:latin_regexp => /Y/, :cyrillic_value => 'Ы'},
74
+ {:latin_regexp => /y/, :cyrillic_value => 'ы'},
75
+ {:latin_regexp => /#/, :cyrillic_value => 'ъ'},
76
+ {:latin_regexp => /E/, :cyrillic_value => 'Е'},
77
+ {:latin_regexp => /e/, :cyrillic_value => 'е'},
78
+ ]
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,4 @@
1
+ module Tratocyr
2
+ # Constant provide version of Tratocyr gem
3
+ VERSION = "0.0.1"
4
+ end
data/lib/tratocyr.rb ADDED
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ require 'tratocyr/version'
3
+ require 'tratocyr/cyrillic_translator'
4
+
@@ -0,0 +1,68 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'rubygems'
4
+ require 'rspec/core'
5
+ require 'rr'
6
+ require 'lib/tratocyr/cyrillic_translator'
7
+
8
+ describe 'Translate latin text to cyrillic' do
9
+ before do
10
+ @cyr_translator = Tratocyr::CyrillicTranslator.new
11
+ end
12
+
13
+ it 'should raise Exception when try to translate not String data' do
14
+ texts = [
15
+ nil,
16
+ {},
17
+ 123,
18
+ 123.56,
19
+ /123/
20
+ ]
21
+
22
+ texts.each do |text|
23
+ expect { @cyr_translator.to_cyrillic!(text) }.to raise_error(TypeError)
24
+ end
25
+ end
26
+
27
+ it 'should return empty string when try to translate not String data' do
28
+ texts = [
29
+ nil,
30
+ {},
31
+ 123,
32
+ 123.56,
33
+ /123/
34
+ ]
35
+
36
+ texts.each do |text|
37
+ result = @cyr_translator.to_cyrillic(text)
38
+ result.should == ''
39
+ end
40
+ end
41
+
42
+ it 'should translate some latin text to cyrillic' do
43
+ texts = [
44
+ 'Yandex jeto kruto!',
45
+ 'V Gugle eshhyo kruche!!!',
46
+ "Yozh bezhal po pereulku i zheval bol'shuyu bulku",
47
+ 'bystryj sokol v nebe plyashet',
48
+ 'posmotri na nebo, chego tam svetitsya?',
49
+ 'Pod##ezd k domu otdyha vyglyadil zagadochnym!',
50
+ "V Yandex brauzere est' mnogo interesnogo!"
51
+ ]
52
+ expected_texts = [
53
+ 'Яндекс это круто!',
54
+ 'В Гугле ещё круче!!!',
55
+ 'Ёж бежал по переулку и жевал большую булку',
56
+ 'быстрый сокол в небе пляшет',
57
+ 'посмотри на небо, чего там светится?',
58
+ 'Подъезд к дому отдыха выглядил загадочным!',
59
+ 'В Яндекс браузере есть много интересного!'
60
+ ]
61
+
62
+ texts.each_with_index do |text, index|
63
+ result = @cyr_translator.to_cyrillic(text)
64
+ result.should == expected_texts[index]
65
+ end
66
+
67
+ end
68
+ end
@@ -0,0 +1,69 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'rubygems'
4
+ require 'rspec/core'
5
+ require 'rr'
6
+ require 'lib/tratocyr/cyrillic_translator'
7
+
8
+ def check_latin_to_cyrillic_mapping(latin_symbols_array, expected_symbols_array)
9
+ result = []
10
+ latin_symbols_array.each do |symbols|
11
+ result << @cyr_translator.to_cyrillic(symbols)
12
+ end
13
+ result.should == expected_symbols_array
14
+ end
15
+
16
+ describe 'Translate partial symbols from latin to cyrillic' do
17
+ before do
18
+ @cyr_translator = Tratocyr::CyrillicTranslator.new
19
+ end
20
+
21
+ it 'should translate "Ya Ja ya ja" to "Я Я я я"' do
22
+ latin_symbols = %w(Ya Ja ya ja)
23
+ expected_symbols = %w(Я Я я я)
24
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
25
+ end
26
+
27
+ it 'should translate "Jo Yo jo yo ö" to "Ё Ё ё ё ё"' do
28
+ latin_symbols = %w(Jo Yo jo yo ö)
29
+ expected_symbols = %w(Ё Ё ё ё ё)
30
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
31
+ end
32
+
33
+ it 'should translate "Je je ä" to "Э э э"' do
34
+ latin_symbols = %w(Je je ä)
35
+ expected_symbols = %w(Э э э)
36
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
37
+ end
38
+
39
+ it 'should translate "Ju Yu ju yu ü" to "Ю Ю ю ю ю"' do
40
+ latin_symbols = %w(Ju Yu ju yu ü)
41
+ expected_symbols = %w(Ю Ю ю ю ю)
42
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
43
+ end
44
+
45
+ it 'should translate "A a B b V v G g D d" to "А а Б б В в Г г Д д"' do
46
+ latin_symbols = %w(A a B b V v G g D d)
47
+ expected_symbols = %w(А а Б б В в Г г Д д)
48
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
49
+ end
50
+
51
+ it 'should translate "Zh zh H h X x Ch ch Sh sh Shh shh W w" to "Ж ж Х х Кс кс Ч ч Ш ш Щ щ Щ щ"' do
52
+ latin_symbols = %w(Zh zh H h X x Ch ch Sh sh Shh shh W w)
53
+ expected_symbols = %w(Ж ж Х х Кс кс Ч ч Ш ш Щ щ Щ щ)
54
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
55
+ end
56
+
57
+ it 'should translate "Z z I i J j K k L l M m N n O o P p R r S s T t U u F f C c" to "З з И и Й й К к Л л М м Н н О о П п Р р С с Т т У у Ф ф Ц ц"' do
58
+ latin_symbols = %w(Z z I i J j K k L l M m N n O o P p R r S s T t U u F f C c)
59
+ expected_symbols = %w(З з И и Й й К к Л л М м Н н О о П п Р р С с Т т У у Ф ф Ц ц)
60
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
61
+ end
62
+
63
+ it 'should translate "Y y # ## "" ''" to "Ы ы ъ ъ ь ь"' do
64
+ latin_symbols = %w(Y y # ## " ')
65
+ expected_symbols = %w(Ы ы ъ ъ ь ь)
66
+ check_latin_to_cyrillic_mapping(latin_symbols, expected_symbols)
67
+ end
68
+
69
+ end
@@ -0,0 +1,18 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ RSpec.configure do |config|
8
+ config.treat_symbols_as_metadata_keys_with_true_values = true
9
+ config.run_all_when_everything_filtered = true
10
+ config.filter_run :focus
11
+
12
+ # Run specs in random order to surface order dependencies. If you find an
13
+ # order dependency and want to debug it, you can fix the order by providing
14
+ # the seed, which is printed after each run.
15
+ # --seed 1234
16
+ config.order = 'random'
17
+ config.mock_with :rr
18
+ end
data/tratocyr.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'tratocyr/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "tratocyr"
8
+ spec.version = Tratocyr::VERSION
9
+ spec.authors = ["CyberLight"]
10
+ spec.email = ["cyberlight@live.ru"]
11
+ spec.summary = ["Latin to cyrillic transformation gem"]
12
+ spec.description = ["Latin to cyrillic transformation gem"]
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "redcarpet", "~> 2.3.0"
24
+ spec.add_development_dependency "yard", "~> 0.8.7.4"
25
+
26
+ spec.add_development_dependency "rspec-core", "~> 2.0"
27
+ spec.add_development_dependency "rspec-expectations", "~> 2.0"
28
+ spec.add_development_dependency "rr", "~> 1.0"
29
+ end
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tratocyr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - CyberLight
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2014-10-12 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ prerelease: false
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: "1.7"
22
+ version_requirements: *id001
23
+ type: :development
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake
26
+ prerelease: false
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: "10.0"
32
+ version_requirements: *id002
33
+ type: :development
34
+ - !ruby/object:Gem::Dependency
35
+ name: redcarpet
36
+ prerelease: false
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 2.3.0
42
+ version_requirements: *id003
43
+ type: :development
44
+ - !ruby/object:Gem::Dependency
45
+ name: yard
46
+ prerelease: false
47
+ requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: 0.8.7.4
52
+ version_requirements: *id004
53
+ type: :development
54
+ - !ruby/object:Gem::Dependency
55
+ name: rspec-core
56
+ prerelease: false
57
+ requirement: &id005 !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: "2.0"
62
+ version_requirements: *id005
63
+ type: :development
64
+ - !ruby/object:Gem::Dependency
65
+ name: rspec-expectations
66
+ prerelease: false
67
+ requirement: &id006 !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ~>
70
+ - !ruby/object:Gem::Version
71
+ version: "2.0"
72
+ version_requirements: *id006
73
+ type: :development
74
+ - !ruby/object:Gem::Dependency
75
+ name: rr
76
+ prerelease: false
77
+ requirement: &id007 !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ~>
80
+ - !ruby/object:Gem::Version
81
+ version: "1.0"
82
+ version_requirements: *id007
83
+ type: :development
84
+ description: Latin to cyrillic transformation gem
85
+ email:
86
+ - cyberlight@live.ru
87
+ executables: []
88
+
89
+ extensions: []
90
+
91
+ extra_rdoc_files: []
92
+
93
+ files:
94
+ - .gitignore
95
+ - .rspec
96
+ - .ruby-gemset
97
+ - .ruby-version
98
+ - .yardopts
99
+ - Gemfile
100
+ - LICENSE.txt
101
+ - README.md
102
+ - Rakefile
103
+ - lib/tratocyr.rb
104
+ - lib/tratocyr/cyrillic_translator.rb
105
+ - lib/tratocyr/mappings.rb
106
+ - lib/tratocyr/version.rb
107
+ - spec/complex_lat_text_to_cyrillic_spec.rb
108
+ - spec/partial_symbols_to_cyrillic_spec.rb
109
+ - spec/spec_helper.rb
110
+ - tratocyr.gemspec
111
+ homepage: ""
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
115
+
116
+ post_install_message:
117
+ rdoc_options: []
118
+
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - &id008
124
+ - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: "0"
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - *id008
130
+ requirements: []
131
+
132
+ rubyforge_project:
133
+ rubygems_version: 2.0.14
134
+ signing_key:
135
+ specification_version: 4
136
+ summary: Latin to cyrillic transformation gem
137
+ test_files:
138
+ - spec/complex_lat_text_to_cyrillic_spec.rb
139
+ - spec/partial_symbols_to_cyrillic_spec.rb
140
+ - spec/spec_helper.rb
141
+ has_rdoc: