backframe 0.0.31 → 0.0.32

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
  SHA1:
3
- metadata.gz: d1bdf74706f63ac3c050f8331b44cb5c8f16366d
4
- data.tar.gz: 54fadaea0957955e0562d95f23f045a648b5cdec
3
+ metadata.gz: d59f6e11a5b5a46861cbf5deaf1ee801528bedf3
4
+ data.tar.gz: b3c6cb6c7ab5f6d0277969b778d2fe5cfc64a1a1
5
5
  SHA512:
6
- metadata.gz: de568b2b5844a7907c17fb2e2bb9b825b431070b014e0603d993b80000a7f3d11339311ecfce51767de4db036b330cf95f831d8bc2ce7612754acbb3bd44702a
7
- data.tar.gz: 36c3c9b38b4676737bb619bf2e058e86382768ab4bd2597cc9d9ef691604f187040bd594e23b325c48f3811e7dee43a8255571ca8df3a429ee4a42cc381522b4
6
+ metadata.gz: 7cda2267bcd265dd17bbbd52addbff1dbcfde18ea24809c05f086ec6a8415838862ce7f5cf8b0bff100bd91092d5a5b1233e59d3d84778f5c075559b4b7db646
7
+ data.tar.gz: f21d1df236414604a00e8255788abc6fd451f4f14fe89f925f0204e9bd072cc29bdb68139703aab1d495a17c0bf16cb16d51ba6c95437197878ba3b40178da35
@@ -37,7 +37,7 @@ module Backframe
37
37
  def validates_phone_#{entity}
38
38
  testvalue = Phony.normalize(self.#{entity})
39
39
  testvalue = '1'+testvalue if (testvalue.length == 10)
40
- if Phony.plausible?(testvalue)
40
+ if !Phony.plausible?(testvalue)
41
41
  self.errors.add(:#{entity}, 'invalid #{entity} number')
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.31'
4
+ VERSION = '0.0.32'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops