bill_hicks 0.2.1 → 0.2.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: 18a025d06e590e81b0f5797deea45a2cbac0f137
4
- data.tar.gz: 7714a3ab0800a74514ba529221076eef384d23fe
3
+ metadata.gz: cbae56f3c12ad2cdd106414eb844183939c1b247
4
+ data.tar.gz: 14ef1d1a11211f29edb2022d7eb54794fab5aae1
5
5
  SHA512:
6
- metadata.gz: cc52e39c7da4f26c09dae40fe358b4f753fabddb4236b57ec48028c3fc422ca81e6d52b819f566f0d9a82acc1ae6c82956dd07317b23d5ac2b9865fa999b2fe3
7
- data.tar.gz: 8614176ec1b08b439b9779cf707e7710edd84748c07b54632784d81b31bc11596c3cf1df70a4e51bb9797e6cd5fca650e80d51662c5d403ac1092692d09b214a
6
+ metadata.gz: 65862430456703f1a6aae57757c0ea9af0ab6bba92664eb79e188239394da4ea1aec53e0baa0729604aaf5b1df9f98f19db7dadb5e23086fff188c9f09ba1003
7
+ data.tar.gz: b0b7aac2904172780ac42eb08a228a625677fa21959a2eb33f6be56487e3499829710dd684ac909dd080c59b2c39ad2de412de19b71849f8608c29dac24b3a6d
@@ -18,9 +18,7 @@ module BillHicks
18
18
  # }
19
19
  class Catalog < Base
20
20
 
21
- # FIXME: Change this back to the normal filename as soon as they fix the headers in this file.
22
21
  CATALOG_FILENAME = 'billhickscatalog.csv'
23
- # CATALOG_FILENAME = 'billhickscatalog-fixed.csv'
24
22
 
25
23
 
26
24
  def initialize(options = {})
@@ -42,11 +40,6 @@ module BillHicks
42
40
 
43
41
  lines = ftp.gettextfile(CATALOG_FILENAME, nil)
44
42
 
45
- # HACK: Their CSV header line has ' + ' in there for some reason, so strip that out.
46
- lines_array = lines.split('\n')
47
- lines_array.first.gsub!(' + ', '')
48
- lines = lines_array.join('\n')
49
-
50
43
  CSV.parse(lines, headers: :first_row) do |row|
51
44
  row_hash = {}
52
45
 
@@ -1,3 +1,3 @@
1
1
  module BillHicks
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-22 00:00:00.000000000 Z
11
+ date: 2016-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler