bill_hicks 1.3.0 → 1.3.1

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: e48de64ff5d527cc8f31b9566ca0d107528717fd
4
- data.tar.gz: 9ba44e2e1ca079346a50fa276d27cbce5d970a49
3
+ metadata.gz: 743d8a6aab097535ddfbf3d8fe42e2cb83c26093
4
+ data.tar.gz: dc30cfb0edc4f2cf23fea8949fbc2a5fcdc65672
5
5
  SHA512:
6
- metadata.gz: c92a2b46442174db39669efe922fb6d89c81a0e6b479a79666fea72d2f6c846e30bae0e5557676bc8570abd3fdba16bab8adb56f99c447b992a64b0f17da2a35
7
- data.tar.gz: f00e75bf53fad3b5c29cae8a09f4610462db23cc7585ed312204c470a778bff267333e725516b3258580555a9fcb4c0a74716037d0bbd5f4208623109ff921af
6
+ metadata.gz: 08b692fb7dac160f3625a84dae2c051fbda000a9b153eaaa29f9baaddbf2dd47fa41b025085a81c4a73d1875c59d03eebfb098a70075d500ad6774b31f1fc06b
7
+ data.tar.gz: 1249d1f4fbe43717e0792895075424b37922f0fc66ba9ab25594d2d342867d7db9493db19d4dde8ff5a0918d619db66849f86f58c4a30e9d28bec6564ff058c0
@@ -3,7 +3,7 @@ module BillHicks
3
3
 
4
4
  def self.convert(value)
5
5
  # Strip out all non-word characters and upcase
6
- normalized_value = value.gsub(/\W/, '').split[0].upcase
6
+ normalized_value = value.split[0].gsub(/\W/, '').upcase
7
7
  if brand = self.brands.detect { |brand| brand[:prefix] == normalized_value }
8
8
  return brand[:company]
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module BillHicks
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bill_hicks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-10 00:00:00.000000000 Z
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: smarter_csv