bright 2.1 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cecf72fc184d3cdf9aabf35502de293d80fd66ebf89d1f7e54a26ed9b8eb3bc3
4
- data.tar.gz: 195907040f1522459af343ca88d19bec678678112ac312ad6b40ce0710a1033a
3
+ metadata.gz: 48e27194c2181d27cb151befbbb5c3fb7e2fc437efdcf835e8dfaac1568f44c7
4
+ data.tar.gz: de02a1ebae94664c6eb67ed0f0185632f219f6cb3aa832600f2ef69aa273e9b8
5
5
  SHA512:
6
- metadata.gz: cef10a48aaf47c282d87c2b18d23ad39b0747667e21c2841f698a4ef22ba35f7c83dd2b407cc16a27333b0e16923648b8f8ad5d623633898e5fbb40714e441e5
7
- data.tar.gz: 99da5c90309415481bf7eabd7b08a12e5836b127aee8e0ed6835956bffa1833ff000bb82b596fa8921c288a1105d2fd56b44fe0e4911d55e6ddabf116b88ad05
6
+ metadata.gz: 168aaada8ed778f327d787cc0fb03d6949549fda0a0b5a6318b4dfa9c894e3cd8e6e1c59dcc0e07f40760226140de7cd9bd75d83a20bc6f5ac03de1007b07e9f
7
+ data.tar.gz: 28fbd3ed53d4df3f2f98c5459828d8a73159970d229b08d87f69245d929d2f582978479fe47075349e85261793f15c42bf4c04a4bdcc9b0ab19cf20fd9becc72
@@ -7,9 +7,9 @@ module Bright
7
7
  def phone_number=(number)
8
8
  number_a = number.to_s.split(/x|X/)
9
9
  if number_a.size == 2
10
- @extension = number_a.last.gsub(/[^0-9]/, "").strip
10
+ @extension = number_a.last.to_s.gsub(/[^0-9]/, "").strip
11
11
  end
12
- @phone_number = number_a.first.gsub(/[^0-9]/, "").strip
12
+ @phone_number = number_a.first.to_s.gsub(/[^0-9]/, "").strip
13
13
  end
14
14
 
15
15
  def extension=(number)
@@ -1,3 +1,3 @@
1
1
  module Bright
2
- VERSION = "2.1"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bright
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.1'
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arux Software
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-28 00:00:00.000000000 Z
10
+ date: 2025-03-21 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: httpi