wolf_core 0.1.83 → 0.1.84

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: f4b0f3bfe1409887d5c1462aa1ce4ddcfafb37a57c3d7031833c941deabc741c
4
- data.tar.gz: cd066fb14a238bd02504a9a3c5eed5cd7a3f2223d2b5c971d2cbb758ab8dcf32
3
+ metadata.gz: '09d1efc3f70eb1c6b5a179f0952db9c57ba369d0fedb667c57d64826b8ffb2f4'
4
+ data.tar.gz: 117693f64b32ffa1fd489608ee736c2cbb5d31836b68036fbcd720f2871ac97d
5
5
  SHA512:
6
- metadata.gz: 9fdc43a3cc64e4ad3de417764b59ab2738b6740a189e2debd2fa4732aee9510d0bf8254eb0caaf814dbc77769c5f14ea6ffeeebeb09d1bc0debc635627e861f9
7
- data.tar.gz: 178a73a2c0feb5369a3832ac5206acb863365673abb2bc2670c3621f6d9869da93c39da57869ecdcdbb9944bcfe438c7bf7beab9c5ce12b21ac783ede387a95b
6
+ metadata.gz: ad4f312753754ef1cd8faede22b0bab951e2304be101211bd6d8525e839776eae5a5d8003269730785ef120e1ae7fd5ddec06c96c1a9fe7a1a5e2b7083488437
7
+ data.tar.gz: 83fc2bca8152b0bd1a52c1f12283b11fbf0f618f6e8ac0583453005d47a4229253a162c9f31a4afe6f4dbd6268bab1b48c84e17db2b8d5722f76f51661f61f8c
@@ -7,7 +7,7 @@ module WolfCore
7
7
 
8
8
  def clean_phone_number(phone)
9
9
  return if phone.nil?
10
- cleaned_phone = phone.gsub(/\D/, '')
10
+ cleaned_phone = phone.to_s.gsub(/\D/, '')
11
11
  last_ten_digits = cleaned_phone[-10, 10]
12
12
  last_ten_digits
13
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.83"
4
+ VERSION = "0.1.84"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.83
4
+ version: 0.1.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo