vangogh 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/vangogh +1 -1
  3. data/lib/vangogh/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 975a2f5d4d0a1890a6ce46df6c4151829f88f0d4
4
- data.tar.gz: f0ef17b4ced2a78632e6b24fd5e7facb3a8eab9f
3
+ metadata.gz: 9ead3cd31b2b28427b03838cbebb3e46fce8074f
4
+ data.tar.gz: 778600addbdb64da5eda62a9be9cd4d084ed0641
5
5
  SHA512:
6
- metadata.gz: 12133477da376c8318233cc5b4e352251314311da60d20ca21489a32430c9cd4fcc1c8f0d55997fb26e89d62f951b5149491d44c8358634e9c11b3c27f2f0d71
7
- data.tar.gz: 8881fefa3ef6e945d8c00cd44c5b70fba0a098ca5ed66967a09a7b2ad5c1ac2ac8c540f96503c7ea22e8e299a5f69b277e2a32dea5a2fa3a81e4e78a51100f48
6
+ metadata.gz: f25654317b410af98f5a389870745dd694ad15b34a8747866def89e1c3fe5561dcba8dac8e0e122d959d52af83a5e174a96811ac431866a2920010f23064e922
7
+ data.tar.gz: 89d75f1fe39ffb366f01ba40739eed88c80136fb0112c9fea0b7b0f4609e8aeffa5bedbff1b0b5308feb7f9d2f5adf6fbef902553aaa5009b3ca442a92e5d9fb
@@ -38,9 +38,9 @@ class VangoghCli < Thor
38
38
 
39
39
  csv = CSV.generate do |output|
40
40
  input = read_csv(path)
41
+ output << input.headers
41
42
  input.each do |row|
42
43
  output_row = []
43
- output << input.headers
44
44
  row.each do |key, value|
45
45
  if (fields.empty? || fields.include?(key.strip)) && Vangogh.numeric?(value)
46
46
  output_row.push Vangogh.send(process, value)
@@ -1,3 +1,3 @@
1
1
  module Vangogh
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vangogh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-09 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: si
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.2.3
146
+ rubygems_version: 2.4.8
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: A Ruby Gem for abstracting numbers