romanvbabenko-ukrainian 0.1.0 → 0.2.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.
- data/README.textile +40 -0
- data/Rakefile +3 -1
- data/VERSION.yml +4 -4
- data/lib/ukrainian/locale/activerecord.yml +2 -2
- data/lib/ukrainian/locale/formtastic.yml +8 -0
- data/ukrainian.gemspec +17 -5
- metadata +19 -7
- data/README.rdoc +0 -7
data/README.textile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
h2. Ukrainian
|
2
|
+
|
3
|
+
Ukrainian language support for Ruby & Ruby and Rails | Підтримка української мови для Ruby та Ruby on Rails
|
4
|
+
|
5
|
+
h3. Що це і кому це може знадобиться?
|
6
|
+
|
7
|
+
Ukrainian - бібліотека повноцінної підтримки української мови(форматування дати та часу, плюралізації та інтернаціоналізації вцілому)
|
8
|
+
|
9
|
+
h3. Процес встановлення
|
10
|
+
|
11
|
+
<pre><code>
|
12
|
+
$ sudo aptitude install romanvbabenko-ukrainian
|
13
|
+
</code></pre>
|
14
|
+
|
15
|
+
config/environment.rb
|
16
|
+
<pre><code>
|
17
|
+
config.gem "romanvbabenko-ukrainian", :lib => "ukrainian",
|
18
|
+
:source => "http://gems.github.com"
|
19
|
+
|
20
|
+
...
|
21
|
+
|
22
|
+
config.i18n.default_locale = :uk
|
23
|
+
</code></pre>
|
24
|
+
|
25
|
+
h3. Ruby on Rails
|
26
|
+
|
27
|
+
Пакет мість в собі переклади стандартних бібліотек: ActionView, ActiveRecord, ActiveSupport, а також підтримку плюралізаціх для таких методів як *distance_of_time_in_words* та *distance_of_time_in_words_to_now*
|
28
|
+
|
29
|
+
h3. Сторонні пакети
|
30
|
+
|
31
|
+
Крім стандартних бібліотек Ruby on Rails підтримуються також переклади пакетів сторонніх розробників:
|
32
|
+
* "justinfrench/formtastic":http://github.com/justinfrench/formtastic/tree/master
|
33
|
+
|
34
|
+
...
|
35
|
+
|
36
|
+
Якщо у вас я власні переклади чи зауваження, то напишіть мені повідомлення через github, або на поштову скріньку "romanvbabenko@gmail.com":mailto:romanvbabenko@gmail.com
|
37
|
+
|
38
|
+
h3. Copyright
|
39
|
+
|
40
|
+
Copyright (c) 2009 Roman V. Babenko. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -7,10 +7,12 @@ begin
|
|
7
7
|
gem.name = "ukrainian"
|
8
8
|
gem.summary = "Ukrainian language support for Ruby and Rails"
|
9
9
|
gem.email = "romanvbabenko@gmail.com"
|
10
|
+
gem.description = "Ukrainian language support for Ruby and Rails"
|
10
11
|
gem.homepage = "http://github.com/romanvbabenko/ukrainian"
|
11
12
|
gem.authors = ["romanvbabenko"]
|
12
13
|
gem.files.include FileList['lib/**/*']
|
13
|
-
gem.
|
14
|
+
gem.add_development_dependency "thoughtbot-shoulda"
|
15
|
+
gem.add_dependency "i18n"
|
14
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
17
|
end
|
16
18
|
|
data/VERSION.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
---
|
2
|
-
:
|
3
|
-
:
|
4
|
-
:
|
1
|
+
---
|
2
|
+
:patch: 1
|
3
|
+
:major: 0
|
4
|
+
:minor: 2
|
@@ -18,8 +18,8 @@ uk:
|
|
18
18
|
invalid: "недійсний"
|
19
19
|
confirmation: "не збігається з підтвердженням"
|
20
20
|
accepted: "має бути прийнятий"
|
21
|
-
empty: "не може бути
|
22
|
-
blank: "не може
|
21
|
+
empty: "не може бути пустим"
|
22
|
+
blank: "не може містити тільки пробіли"
|
23
23
|
too_long:
|
24
24
|
one: "занадто довгий (максимум {{count}} знак)"
|
25
25
|
few: "занадто довгий (максимум {{count}} знаки)"
|
data/ukrainian.gemspec
CHANGED
@@ -1,27 +1,32 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = %q{ukrainian}
|
5
|
-
s.version = "0.1
|
8
|
+
s.version = "0.2.1"
|
6
9
|
|
7
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
11
|
s.authors = ["romanvbabenko"]
|
9
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-08-12}
|
13
|
+
s.description = %q{Ukrainian language support for Ruby and Rails}
|
10
14
|
s.email = %q{romanvbabenko@gmail.com}
|
11
15
|
s.extra_rdoc_files = [
|
12
16
|
"LICENSE",
|
13
|
-
"README.
|
17
|
+
"README.textile"
|
14
18
|
]
|
15
19
|
s.files = [
|
16
20
|
".document",
|
17
21
|
".gitignore",
|
18
22
|
"LICENSE",
|
19
|
-
"README.
|
23
|
+
"README.textile",
|
20
24
|
"Rakefile",
|
21
25
|
"VERSION.yml",
|
22
26
|
"lib/ukrainian.rb",
|
23
27
|
"lib/ukrainian.rb",
|
24
28
|
"lib/ukrainian/backend/simple.rb",
|
29
|
+
"lib/ukrainian/backend/simple.rb",
|
25
30
|
"lib/ukrainian/locale/acitvesupport.yml",
|
26
31
|
"lib/ukrainian/locale/acitvesupport.yml",
|
27
32
|
"lib/ukrainian/locale/actionview.yml",
|
@@ -30,15 +35,19 @@ Gem::Specification.new do |s|
|
|
30
35
|
"lib/ukrainian/locale/activerecord.yml",
|
31
36
|
"lib/ukrainian/locale/datetime.yml",
|
32
37
|
"lib/ukrainian/locale/datetime.yml",
|
38
|
+
"lib/ukrainian/locale/formtastic.yml",
|
39
|
+
"lib/ukrainian/locale/formtastic.yml",
|
40
|
+
"lib/ukrainian/locale/pluralize.rb",
|
33
41
|
"lib/ukrainian/locale/pluralize.rb",
|
34
42
|
"test/test_helper.rb",
|
35
43
|
"test/ukrainian_test.rb",
|
36
44
|
"ukrainian.gemspec"
|
37
45
|
]
|
46
|
+
s.has_rdoc = true
|
38
47
|
s.homepage = %q{http://github.com/romanvbabenko/ukrainian}
|
39
48
|
s.rdoc_options = ["--charset=UTF-8"]
|
40
49
|
s.require_paths = ["lib"]
|
41
|
-
s.rubygems_version = %q{1.3.
|
50
|
+
s.rubygems_version = %q{1.3.2}
|
42
51
|
s.summary = %q{Ukrainian language support for Ruby and Rails}
|
43
52
|
s.test_files = [
|
44
53
|
"test/test_helper.rb",
|
@@ -50,11 +59,14 @@ Gem::Specification.new do |s|
|
|
50
59
|
s.specification_version = 3
|
51
60
|
|
52
61
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
62
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
53
63
|
s.add_runtime_dependency(%q<i18n>, [">= 0"])
|
54
64
|
else
|
65
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
55
66
|
s.add_dependency(%q<i18n>, [">= 0"])
|
56
67
|
end
|
57
68
|
else
|
69
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
58
70
|
s.add_dependency(%q<i18n>, [">= 0"])
|
59
71
|
end
|
60
72
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: romanvbabenko-ukrainian
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- romanvbabenko
|
@@ -9,9 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-12 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: thoughtbot-shoulda
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
15
25
|
- !ruby/object:Gem::Dependency
|
16
26
|
name: i18n
|
17
27
|
type: :runtime
|
@@ -22,7 +32,7 @@ dependencies:
|
|
22
32
|
- !ruby/object:Gem::Version
|
23
33
|
version: "0"
|
24
34
|
version:
|
25
|
-
description:
|
35
|
+
description: Ukrainian language support for Ruby and Rails
|
26
36
|
email: romanvbabenko@gmail.com
|
27
37
|
executables: []
|
28
38
|
|
@@ -30,12 +40,12 @@ extensions: []
|
|
30
40
|
|
31
41
|
extra_rdoc_files:
|
32
42
|
- LICENSE
|
33
|
-
- README.
|
43
|
+
- README.textile
|
34
44
|
files:
|
35
45
|
- .document
|
36
46
|
- .gitignore
|
37
47
|
- LICENSE
|
38
|
-
- README.
|
48
|
+
- README.textile
|
39
49
|
- Rakefile
|
40
50
|
- VERSION.yml
|
41
51
|
- lib/ukrainian.rb
|
@@ -44,12 +54,14 @@ files:
|
|
44
54
|
- lib/ukrainian/locale/actionview.yml
|
45
55
|
- lib/ukrainian/locale/activerecord.yml
|
46
56
|
- lib/ukrainian/locale/datetime.yml
|
57
|
+
- lib/ukrainian/locale/formtastic.yml
|
47
58
|
- lib/ukrainian/locale/pluralize.rb
|
48
59
|
- test/test_helper.rb
|
49
60
|
- test/ukrainian_test.rb
|
50
61
|
- ukrainian.gemspec
|
51
|
-
has_rdoc:
|
62
|
+
has_rdoc: true
|
52
63
|
homepage: http://github.com/romanvbabenko/ukrainian
|
64
|
+
licenses:
|
53
65
|
post_install_message:
|
54
66
|
rdoc_options:
|
55
67
|
- --charset=UTF-8
|
@@ -70,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
82
|
requirements: []
|
71
83
|
|
72
84
|
rubyforge_project:
|
73
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.3.5
|
74
86
|
signing_key:
|
75
87
|
specification_version: 3
|
76
88
|
summary: Ukrainian language support for Ruby and Rails
|