vangogh 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/vangogh +1 -1
- data/lib/vangogh/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: 9ead3cd31b2b28427b03838cbebb3e46fce8074f
|
4
|
+
data.tar.gz: 778600addbdb64da5eda62a9be9cd4d084ed0641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f25654317b410af98f5a389870745dd694ad15b34a8747866def89e1c3fe5561dcba8dac8e0e122d959d52af83a5e174a96811ac431866a2920010f23064e922
|
7
|
+
data.tar.gz: 89d75f1fe39ffb366f01ba40739eed88c80136fb0112c9fea0b7b0f4609e8aeffa5bedbff1b0b5308feb7f9d2f5adf6fbef902553aaa5009b3ca442a92e5d9fb
|
data/bin/vangogh
CHANGED
@@ -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)
|
data/lib/vangogh/version.rb
CHANGED
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.
|
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-
|
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.
|
146
|
+
rubygems_version: 2.4.8
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: A Ruby Gem for abstracting numbers
|