microbilt 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/microbilt/customer.rb +3 -3
- data/lib/microbilt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae7078abd0caa1a6c8344542a3e8ee6dbafe6613
|
4
|
+
data.tar.gz: 9604d9edc4d6f881bdfcf73b44f7751367f9e50c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 279cf6226b8bf21e722add1ac03a0eb9102719c87db915b12b9fd3656b70ba6f78c59ab340463544159512842aab08b20f0bfebf14518c35d8eb9affc19a105e
|
7
|
+
data.tar.gz: 8f306470a392a921b804052a544a84208a5a9efd7b8a12d6275f70f738c99c0b24e4520ce86853e4eeb67800743a58014ef2fb004e25e3195b2e5823b741733c
|
data/README.md
CHANGED
data/lib/microbilt/customer.rb
CHANGED
@@ -58,11 +58,11 @@ module Microbilt
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def formatted_zip
|
61
|
-
zip_code.gsub(/[^0-9a-z]/i, '')
|
61
|
+
zip_code.to_s.gsub(/[^0-9a-z]/i, '')
|
62
62
|
end
|
63
63
|
|
64
64
|
def formatted_phone(phone)
|
65
|
-
phone.gsub(/[^0-9]/i, '')[0..9]
|
65
|
+
phone.to_s.gsub(/[^0-9]/i, '')[0..9]
|
66
66
|
end
|
67
67
|
|
68
68
|
def formatted_email(address = email)
|
@@ -108,7 +108,7 @@ module Microbilt
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def formatted_sin
|
111
|
-
sin.gsub(/[^0-9]/i, '')
|
111
|
+
sin.to_s.gsub(/[^0-9]/i, '')
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|
data/lib/microbilt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microbilt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Mercier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
225
|
rubyforge_project:
|
226
|
-
rubygems_version: 2.6.
|
226
|
+
rubygems_version: 2.6.11
|
227
227
|
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: Simple library to interface with Microbilt's IBV API
|