will-paginate-i18n 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +14 -1
- data/VERSION +1 -1
- data/lib/will-paginate-i18n.rb +1 -1
- data/{locale → locales}/bg.yml +0 -0
- data/{locale → locales}/da.yml +0 -0
- data/{locale → locales}/de.yml +0 -0
- data/{locale → locales}/en-AU.yml +0 -0
- data/{locale → locales}/en-GB.yml +0 -0
- data/{locale → locales}/en-US.yml +0 -0
- data/{locale → locales}/es.yml +0 -0
- data/{locale → locales}/fr.yml +0 -0
- data/{locale → locales}/hu.yml +0 -0
- data/{locale → locales}/it.yml +0 -0
- data/{locale → locales}/ja.yml +0 -0
- data/{locale → locales}/nl.yml +0 -0
- data/{locale → locales}/pt-BR.yml +0 -0
- data/{locale → locales}/pt-PT.yml +0 -0
- data/{locale → locales}/ro.yml +0 -0
- data/{locale → locales}/ru.yml +0 -0
- data/{locale → locales}/sk.yml +0 -0
- data/{locale → locales}/tr.yml +0 -0
- data/{locale → locales}/zh-CN.yml +0 -0
- data/spec/will-paginate-i18n_spec.rb +2 -2
- data/will-paginate-i18n.gemspec +24 -21
- metadata +43 -32
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,17 +3,28 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
diff-lcs (1.1.3)
|
5
5
|
git (1.2.5)
|
6
|
-
|
6
|
+
gli (1.5.1)
|
7
|
+
i18n (0.6.0)
|
8
|
+
i18n-spec (0.1.2)
|
7
9
|
jeweler (1.8.3)
|
8
10
|
bundler (~> 1.0)
|
9
11
|
git (>= 1.2.5)
|
10
12
|
rake
|
11
13
|
rdoc
|
12
14
|
json (1.6.5)
|
15
|
+
localeapp (0.4.1)
|
16
|
+
gli
|
17
|
+
i18n
|
18
|
+
json
|
19
|
+
rest-client
|
20
|
+
ya2yaml
|
21
|
+
mime-types (1.17.2)
|
13
22
|
rake (0.9.2.2)
|
14
23
|
rcov (0.9.11)
|
15
24
|
rdoc (3.12)
|
16
25
|
json (~> 1.4)
|
26
|
+
rest-client (1.6.7)
|
27
|
+
mime-types (>= 1.16)
|
17
28
|
rspec (2.8.0)
|
18
29
|
rspec-core (~> 2.8.0)
|
19
30
|
rspec-expectations (~> 2.8.0)
|
@@ -22,6 +33,7 @@ GEM
|
|
22
33
|
rspec-expectations (2.8.0)
|
23
34
|
diff-lcs (~> 1.1.2)
|
24
35
|
rspec-mocks (2.8.0)
|
36
|
+
ya2yaml (0.31)
|
25
37
|
|
26
38
|
PLATFORMS
|
27
39
|
ruby
|
@@ -30,5 +42,6 @@ DEPENDENCIES
|
|
30
42
|
bundler (~> 1.0.10)
|
31
43
|
i18n-spec
|
32
44
|
jeweler (~> 1.8.3)
|
45
|
+
localeapp
|
33
46
|
rcov
|
34
47
|
rspec (~> 2.8.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/lib/will-paginate-i18n.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rails'
|
|
3
3
|
module WillPaginateI18n
|
4
4
|
class Railtie < ::Rails::Railtie #:nodoc:
|
5
5
|
initializer 'rails-i18n' do |app|
|
6
|
-
I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../
|
6
|
+
I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../locales'), '*.yml')]
|
7
7
|
I18n.load_path.flatten!
|
8
8
|
end
|
9
9
|
end
|
data/{locale → locales}/bg.yml
RENAMED
File without changes
|
data/{locale → locales}/da.yml
RENAMED
File without changes
|
data/{locale → locales}/de.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{locale → locales}/es.yml
RENAMED
File without changes
|
data/{locale → locales}/fr.yml
RENAMED
File without changes
|
data/{locale → locales}/hu.yml
RENAMED
File without changes
|
data/{locale → locales}/it.yml
RENAMED
File without changes
|
data/{locale → locales}/ja.yml
RENAMED
File without changes
|
data/{locale → locales}/nl.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/{locale → locales}/ro.yml
RENAMED
File without changes
|
data/{locale → locales}/ru.yml
RENAMED
File without changes
|
data/{locale → locales}/sk.yml
RENAMED
File without changes
|
data/{locale → locales}/tr.yml
RENAMED
File without changes
|
File without changes
|
@@ -1,8 +1,8 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
2
|
|
3
|
-
Dir.glob('
|
3
|
+
Dir.glob('locales/*.yml').each do |locale_file|
|
4
4
|
describe 'a locale file' do
|
5
5
|
it_behaves_like 'a valid locale file', locale_file
|
6
|
-
it { locale_file.should be_a_subset_of '
|
6
|
+
it { locale_file.should be_a_subset_of 'locales/en-US.yml' }
|
7
7
|
end
|
8
8
|
end
|
data/will-paginate-i18n.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{will-paginate-i18n}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Christopher Dell}]
|
12
|
-
s.date = %q{2012-02
|
12
|
+
s.date = %q{2012-03-02}
|
13
13
|
s.description = %q{Translations for the will_paginate gem}
|
14
14
|
s.email = %q{chris@tigrish.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -28,25 +28,25 @@ Gem::Specification.new do |s|
|
|
28
28
|
"Rakefile",
|
29
29
|
"VERSION",
|
30
30
|
"lib/will-paginate-i18n.rb",
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
31
|
+
"locales/bg.yml",
|
32
|
+
"locales/da.yml",
|
33
|
+
"locales/de.yml",
|
34
|
+
"locales/en-AU.yml",
|
35
|
+
"locales/en-GB.yml",
|
36
|
+
"locales/en-US.yml",
|
37
|
+
"locales/es.yml",
|
38
|
+
"locales/fr.yml",
|
39
|
+
"locales/hu.yml",
|
40
|
+
"locales/it.yml",
|
41
|
+
"locales/ja.yml",
|
42
|
+
"locales/nl.yml",
|
43
|
+
"locales/pt-BR.yml",
|
44
|
+
"locales/pt-PT.yml",
|
45
|
+
"locales/ro.yml",
|
46
|
+
"locales/ru.yml",
|
47
|
+
"locales/sk.yml",
|
48
|
+
"locales/tr.yml",
|
49
|
+
"locales/zh-CN.yml",
|
50
50
|
"spec/spec_helper.rb",
|
51
51
|
"spec/will-paginate-i18n_spec.rb",
|
52
52
|
"will-paginate-i18n.gemspec"
|
@@ -66,12 +66,14 @@ Gem::Specification.new do |s|
|
|
66
66
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
67
67
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
68
68
|
s.add_development_dependency(%q<i18n-spec>, [">= 0"])
|
69
|
+
s.add_development_dependency(%q<localeapp>, [">= 0"])
|
69
70
|
else
|
70
71
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
71
72
|
s.add_dependency(%q<bundler>, ["~> 1.0.10"])
|
72
73
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
73
74
|
s.add_dependency(%q<rcov>, [">= 0"])
|
74
75
|
s.add_dependency(%q<i18n-spec>, [">= 0"])
|
76
|
+
s.add_dependency(%q<localeapp>, [">= 0"])
|
75
77
|
end
|
76
78
|
else
|
77
79
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
@@ -79,6 +81,7 @@ Gem::Specification.new do |s|
|
|
79
81
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
80
82
|
s.add_dependency(%q<rcov>, [">= 0"])
|
81
83
|
s.add_dependency(%q<i18n-spec>, [">= 0"])
|
84
|
+
s.add_dependency(%q<localeapp>, [">= 0"])
|
82
85
|
end
|
83
86
|
end
|
84
87
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will-paginate-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
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-02
|
12
|
+
date: 2012-03-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70169682422100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.8.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70169682422100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70169682421500 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.10
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70169682421500
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jeweler
|
38
|
-
requirement: &
|
38
|
+
requirement: &70169682420620 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.8.3
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70169682420620
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rcov
|
49
|
-
requirement: &
|
49
|
+
requirement: &70169682420000 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70169682420000
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: i18n-spec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70169682419400 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,18 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70169682419400
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: localeapp
|
71
|
+
requirement: &70169682418880 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70169682418880
|
69
80
|
description: Translations for the will_paginate gem
|
70
81
|
email: chris@tigrish.com
|
71
82
|
executables: []
|
@@ -85,25 +96,25 @@ files:
|
|
85
96
|
- Rakefile
|
86
97
|
- VERSION
|
87
98
|
- lib/will-paginate-i18n.rb
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
99
|
+
- locales/bg.yml
|
100
|
+
- locales/da.yml
|
101
|
+
- locales/de.yml
|
102
|
+
- locales/en-AU.yml
|
103
|
+
- locales/en-GB.yml
|
104
|
+
- locales/en-US.yml
|
105
|
+
- locales/es.yml
|
106
|
+
- locales/fr.yml
|
107
|
+
- locales/hu.yml
|
108
|
+
- locales/it.yml
|
109
|
+
- locales/ja.yml
|
110
|
+
- locales/nl.yml
|
111
|
+
- locales/pt-BR.yml
|
112
|
+
- locales/pt-PT.yml
|
113
|
+
- locales/ro.yml
|
114
|
+
- locales/ru.yml
|
115
|
+
- locales/sk.yml
|
116
|
+
- locales/tr.yml
|
117
|
+
- locales/zh-CN.yml
|
107
118
|
- spec/spec_helper.rb
|
108
119
|
- spec/will-paginate-i18n_spec.rb
|
109
120
|
- will-paginate-i18n.gemspec
|
@@ -122,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
133
|
version: '0'
|
123
134
|
segments:
|
124
135
|
- 0
|
125
|
-
hash:
|
136
|
+
hash: 1514024666005224122
|
126
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
138
|
none: false
|
128
139
|
requirements:
|