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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e14b66f811632e1127f59129e7ae723e5414578f1d792a9bdbb7b56322e542d7
4
- data.tar.gz: 9869b24e806b4452e793fe11b4f99ce1cfdbf245479ef6c132fe6ab622f658e8
3
+ metadata.gz: ecdda9f8093d20e648458be7dcd8f53d3ff55f47250a69af51cd4414d3792842
4
+ data.tar.gz: e7cdff4ba507a3b9a1e4919fc67154777f55b76a02096791932d92488c3382be
5
5
  SHA512:
6
- metadata.gz: 457f7d9ed48b836d75f595ffee60cffc50ba5191ea86e1c0f0dc2600aa98bb1a7d6f2a56e7784323916635c6927f4231cf4ae552c7b343a471e1067e2dcb7608
7
- data.tar.gz: eb5396872ae956a2b6611b7d6df5f7f2d05f8d965d27368eacd9efb5c38627c312eef8582d0894908e06e5944a43f8fd880e6346fe3fefe5ada6ef4e1499f85b
6
+ metadata.gz: bfc44e2043ea2115ee1852a5bf2e21e07fe9bd27d0501a6c44451ff4e5d22150580cdf196c5886e1867610be4424fe17ae5e09754ce516a8541e7bc8080e2b54
7
+ data.tar.gz: eb7da4439a2d40378b6f38d6d386cc7b55ecc2fd7400f368ccac40c6770ed5142d510c243e1d2a9687519dd0261265dafa6960221ed2e4881f5bbeb92d338c9f
Binary file
data/data/phone_data.dat CHANGED
Binary file
@@ -1,4 +1,4 @@
1
1
  module Phonelib
2
2
  # @private
3
- VERSION = '0.6.54'
3
+ VERSION = '0.6.55'
4
4
  end
@@ -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.54
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: 2021-11-09 00:00:00.000000000 Z
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.10.8
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.10.8
40
+ version: 1.13.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement