dm-validations-i18n 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'shoulda', '~> 2.11.3'
22
22
  s.add_development_dependency 'rake', '~> 0.9.2.2'
23
23
  s.add_development_dependency 'rdoc', '~> 3.11'
24
- s.add_runtime_dependency 'dm-validations', '~> 1.2.0'
24
+ s.add_runtime_dependency 'dm-validations', '~> 1.2'
25
25
  end
@@ -1,7 +1,7 @@
1
1
  module DataMapper
2
2
  module Validations
3
3
  module I18n
4
- VERSION = "0.3.9"
4
+ VERSION = "0.3.10"
5
5
  end
6
6
  end
7
7
  end
@@ -0,0 +1,22 @@
1
+ absent: "%s debe estar ausente"
2
+ inclusion: "%s debe ser uno de %s"
3
+ invalid: "%s tiene un formato inválido"
4
+ confirmation: "%s no coincide con la confirmación"
5
+ accepted: "%s debe aceptarse"
6
+ 'nil': "%s no debe ser nil"
7
+ blank: "%s no debe estar vacío"
8
+ length_between: "%s debe tener entre %s y %s caracteres de longitud"
9
+ too_long: "%s sólo puede tener como máximo %s caracteres"
10
+ too_short: "%s debe tener como mínimo %s caracteres"
11
+ wrong_length: "%s debe tener exactamente %s caracteres"
12
+ taken: "%s ya está en uso"
13
+ not_a_number: "%s debe ser un número"
14
+ not_an_integer: "%s debe ser un entero"
15
+ greater_than: "%s debe ser mayor que %s"
16
+ greater_than_or_equal_to: "%s debe ser mayor o igual que %s"
17
+ equal_to: "%s debe ser igual a %s"
18
+ not_equal_to: "%s no debe ser igual a %s"
19
+ less_than: "%s debe ser menor que %s"
20
+ less_than_or_equal_to: "%s debe ser menor o igual que %s"
21
+ value_between: "%s debe estar entre %s y %s"
22
+ primitive: "%s debe ser de tipo %s"
metadata CHANGED
@@ -1,96 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dm-validations-i18n
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.10
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 9
10
- version: 0.3.9
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Masaki Komagata
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-12-05 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-05-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: shoulda
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 37
29
- segments:
30
- - 2
31
- - 11
32
- - 3
20
+ - !ruby/object:Gem::Version
33
21
  version: 2.11.3
34
22
  type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rake
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
40
25
  none: false
41
- requirements:
26
+ requirements:
42
27
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 11
45
- segments:
46
- - 0
47
- - 9
48
- - 2
49
- - 2
28
+ - !ruby/object:Gem::Version
29
+ version: 2.11.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
50
37
  version: 0.9.2.2
51
38
  type: :development
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: rdoc
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.2.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: rdoc
48
+ requirement: !ruby/object:Gem::Requirement
57
49
  none: false
58
- requirements:
50
+ requirements:
59
51
  - - ~>
60
- - !ruby/object:Gem::Version
61
- hash: 17
62
- segments:
63
- - 3
64
- - 11
65
- version: "3.11"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.11'
66
54
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: dm-validations
70
55
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
72
57
  none: false
73
- requirements:
58
+ requirements:
74
59
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 31
77
- segments:
78
- - 1
79
- - 2
80
- - 0
81
- version: 1.2.0
60
+ - !ruby/object:Gem::Version
61
+ version: '3.11'
62
+ - !ruby/object:Gem::Dependency
63
+ name: dm-validations
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.2'
82
70
  type: :runtime
83
- version_requirements: *id004
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.2'
84
78
  description: Localize error messages in dm-validations.
85
- email:
79
+ email:
86
80
  - komagata@gmail.com
87
81
  executables: []
88
-
89
82
  extensions: []
90
-
91
83
  extra_rdoc_files: []
92
-
93
- files:
84
+ files:
94
85
  - .gemtest
95
86
  - .gitignore
96
87
  - .travis.yml
@@ -104,6 +95,7 @@ files:
104
95
  - lib/data_mapper/validations/i18n/version.rb
105
96
  - lib/dm-validations-i18n.rb
106
97
  - locale/en.yml
98
+ - locale/es-ES.yml
107
99
  - locale/it.yml
108
100
  - locale/ja.yml
109
101
  - locale/ru.yml
@@ -113,37 +105,29 @@ files:
113
105
  - test/test_dm-validations-i18n.rb
114
106
  homepage: https://github.com/komagata/dm-validations-i18n
115
107
  licenses: []
116
-
117
108
  post_install_message:
118
109
  rdoc_options: []
119
-
120
- require_paths:
110
+ require_paths:
121
111
  - lib
122
- required_ruby_version: !ruby/object:Gem::Requirement
112
+ required_ruby_version: !ruby/object:Gem::Requirement
123
113
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
- version: "0"
131
- required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
119
  none: false
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- hash: 3
137
- segments:
138
- - 0
139
- version: "0"
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
140
124
  requirements: []
141
-
142
125
  rubyforge_project: dm-validations-i18n
143
- rubygems_version: 1.8.10
126
+ rubygems_version: 1.8.24
144
127
  signing_key:
145
128
  specification_version: 3
146
129
  summary: Localize error messages in dm-validations.
147
- test_files:
130
+ test_files:
148
131
  - test/helper.rb
149
132
  - test/test_dm-validations-i18n.rb
133
+ has_rdoc: