flash_validators 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/en.yml +29 -29
- data/flash_validators.gemspec +3 -3
- data/lib/flash_validators/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68a46b1ccf46d44d800e42bb0de5ea27ca31a93e
|
4
|
+
data.tar.gz: 376eb212f7e88b75b11f93d3b9b2dbe62896ce9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d0ae6f24fe6c994e3818d5df69160d8ee9812da2c33fcc29848c26972158134c5b94d5c0992dc4a7869a59a8634dcf6d7d671bf9df1b8630e0c881dc241940b
|
7
|
+
data.tar.gz: b4f7f6c5a9373cb5aac7f348ebd2a1f4113a9eb7fb7e687c7cb4d400f5d5e4806c9ddbae90a78894d5f426d5a767b696019021820b2d28b1e004bbbafad0e486
|
data/config/locales/en.yml
CHANGED
@@ -1,34 +1,34 @@
|
|
1
1
|
en:
|
2
|
-
errors:
|
3
|
-
messages:
|
4
|
-
alpha: "is not a valid alpha characters"
|
5
|
-
alpha_numeric: "is not a valid alpha-numeric characters"
|
6
|
-
base64: "is not a valid Base64 encode"
|
7
|
-
boolean: "is not a valid boolean"
|
8
|
-
credit_card: "is not a valid credit card"
|
9
|
-
currency: "is not a valid currency"
|
10
|
-
cusip: "is not a valid CUSIP"
|
11
|
-
email: "is not a valid email"
|
12
|
-
equality: "is not %{operator} %{attr}"
|
13
|
-
gtin: "is not a valid GTIN"
|
14
|
-
hex: "is not a valid hex color"
|
15
|
-
imei: "is not a valid IMEI"
|
16
|
-
ip: "is not a valid IP"
|
17
|
-
isbn: "is not a valid ISBN"
|
18
|
-
isin: "is not a valid ISIN"
|
19
|
-
longitude: "is not a valid latitude"
|
20
|
-
longitude: "is not a valid longitude"
|
21
|
-
mac_address: "is not a valid MAC address"
|
22
|
-
name: "is not a valid name"
|
23
|
-
password: "is not a valid password"
|
24
|
-
phone: "is not a valid phone number"
|
25
|
-
sedol: "is not a valid SEDOL"
|
26
|
-
slug: "is not a valid slug"
|
27
|
-
ssn: "is not a valid social security number"
|
28
|
-
url: "is not a valid URL"
|
29
|
-
username: "is not a valid username"
|
30
|
-
uuid: "is not a valid UUID"
|
31
2
|
flash_validators:
|
3
|
+
errors:
|
4
|
+
messages:
|
5
|
+
alpha: "is not a valid alpha characters"
|
6
|
+
alpha_numeric: "is not a valid alpha-numeric characters"
|
7
|
+
base64: "is not a valid Base64 encode"
|
8
|
+
boolean: "is not a valid boolean"
|
9
|
+
credit_card: "is not a valid credit card"
|
10
|
+
currency: "is not a valid currency"
|
11
|
+
cusip: "is not a valid CUSIP"
|
12
|
+
email: "is not a valid email"
|
13
|
+
equality: "is not %{operator} %{attr}"
|
14
|
+
gtin: "is not a valid GTIN"
|
15
|
+
hex: "is not a valid hex color"
|
16
|
+
imei: "is not a valid IMEI"
|
17
|
+
ip: "is not a valid IP"
|
18
|
+
isbn: "is not a valid ISBN"
|
19
|
+
isin: "is not a valid ISIN"
|
20
|
+
longitude: "is not a valid latitude"
|
21
|
+
longitude: "is not a valid longitude"
|
22
|
+
mac_address: "is not a valid MAC address"
|
23
|
+
name: "is not a valid name"
|
24
|
+
password: "is not a valid password"
|
25
|
+
phone: "is not a valid phone number"
|
26
|
+
sedol: "is not a valid SEDOL"
|
27
|
+
slug: "is not a valid slug"
|
28
|
+
ssn: "is not a valid social security number"
|
29
|
+
url: "is not a valid URL"
|
30
|
+
username: "is not a valid username"
|
31
|
+
uuid: "is not a valid UUID"
|
32
32
|
matchers:
|
33
33
|
ensure_valid_alpha_format_of:
|
34
34
|
failure_message_for_should: "%{model} should ensure valid alpha format of attribute %{attr}"
|
data/flash_validators.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "activemodel", ">
|
22
|
-
spec.add_dependency "activesupport", ">
|
21
|
+
spec.add_dependency "activemodel", "> 4.1.0"
|
22
|
+
spec.add_dependency "activesupport", "> 4.1.0"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.5"
|
24
24
|
spec.add_development_dependency "coveralls"
|
25
25
|
spec.add_development_dependency "rake"
|
26
|
-
spec.add_development_dependency "rspec", "~> 3.
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.1.0"
|
27
27
|
spec.add_development_dependency "shoulda-matchers"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flash_validators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.1.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.1.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: shoulda-matchers
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|