phonelib 0.6.54 → 0.6.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/extended_data.dat +0 -0
- data/data/phone_data.dat +0 -0
- data/lib/phonelib/version.rb +1 -1
- data/lib/validators/phone_validator.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecdda9f8093d20e648458be7dcd8f53d3ff55f47250a69af51cd4414d3792842
|
4
|
+
data.tar.gz: e7cdff4ba507a3b9a1e4919fc67154777f55b76a02096791932d92488c3382be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfc44e2043ea2115ee1852a5bf2e21e07fe9bd27d0501a6c44451ff4e5d22150580cdf196c5886e1867610be4424fe17ae5e09754ce516a8541e7bc8080e2b54
|
7
|
+
data.tar.gz: eb7da4439a2d40378b6f38d6d386cc7b55ecc2fd7400f368ccac40c6770ed5142d510c243e1d2a9687519dd0261265dafa6960221ed2e4881f5bbeb92d338c9f
|
data/data/extended_data.dat
CHANGED
Binary file
|
data/data/phone_data.dat
CHANGED
Binary file
|
data/lib/phonelib/version.rb
CHANGED
@@ -62,7 +62,7 @@ class PhoneValidator < ActiveModel::EachValidator
|
|
62
62
|
@phone = parse(value, specified_country(record))
|
63
63
|
valid = phone_valid? && valid_types? && valid_country? && valid_extensions?
|
64
64
|
|
65
|
-
record.errors.add(attribute, message, options) unless valid
|
65
|
+
record.errors.add(attribute, message, **options) unless valid
|
66
66
|
end
|
67
67
|
|
68
68
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.55
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vadim Senderovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.13.0
|
34
34
|
type: :development
|
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: 1.
|
40
|
+
version: 1.13.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|