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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cd351b4c336ae65e4e7a5f52441b15e858596a3
4
- data.tar.gz: ba645526c4b37577cc7798343e99cb80de93e571
3
+ metadata.gz: ae7078abd0caa1a6c8344542a3e8ee6dbafe6613
4
+ data.tar.gz: 9604d9edc4d6f881bdfcf73b44f7751367f9e50c
5
5
  SHA512:
6
- metadata.gz: 9f609cbbb98acb9d4bfa66ddbb3d1702575528057438fbb2d1be1c4db0049bc350291ec4d5235ec91e9a8d9f0b713905f780db8f7640593dc95e1a842b99234b
7
- data.tar.gz: 5c5cc35553015cba2dc1272959b844874d39bb4e983ecc51d9040a033740b7af64509f489fc4a810267b8e8b2b71fa4646ebcbc62eed49f22376019bb10c188a
6
+ metadata.gz: 279cf6226b8bf21e722add1ac03a0eb9102719c87db915b12b9fd3656b70ba6f78c59ab340463544159512842aab08b20f0bfebf14518c35d8eb9affc19a105e
7
+ data.tar.gz: 8f306470a392a921b804052a544a84208a5a9efd7b8a12d6275f70f738c99c0b24e4520ce86853e4eeb67800743a58014ef2fb004e25e3195b2e5823b741733c
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Microbilt
2
2
 
3
+ [![Build Status](https://travis-ci.org/cmer/microbilt.svg?branch=master)](https://travis-ci.org/cmer/microbilt)
4
+
3
5
  A simple library to interact with the Microbilt IBV web service.
4
6
 
5
7
  ## License
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Microbilt
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-04-19 00:00:00.000000000 Z
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.8
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