tocsv 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/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/exe/tocsv +2 -2
- data/lib/tocsv/version.rb +1 -1
- data/tocsv-0.1.0.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16b05f591a5e6f3faee61fe3f86007fc70727f63eaee7b36d59f76a847a31096
|
4
|
+
data.tar.gz: 917d3c886bb533c70d304120803f33b5fa7fec825535640b24d7ac9336987434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4969135296668550865c9426a396aa27af230d6b39616897a5c713c915ea526b05c52cfc2f661a9600c4e948e54cc1f552f41cf2c728a70f10d04f4f73c3f48
|
7
|
+
data.tar.gz: fec5947833c78a829ccd272c9e5e610f3a82699ad621bf5536842bbb9450a3454eb63011b8ba2cb3a47453c5127ae936a67a892ca1dd346205c9568d4f545bbf
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/exe/tocsv
CHANGED
@@ -4,9 +4,9 @@ require 'csv'
|
|
4
4
|
require 'roo'
|
5
5
|
require 'roo-xls'
|
6
6
|
|
7
|
-
path, sheet = ARGV.first.split(':')
|
7
|
+
path, sheet = ARGV.first.to_s.split(':')
|
8
8
|
|
9
|
-
unless File.exists?(path)
|
9
|
+
unless path && path.size > 0 && File.exists?(path)
|
10
10
|
puts "Not found file"
|
11
11
|
puts "Usage: tocsv /path/to/your/file.xlsx > data.csv"
|
12
12
|
exit
|
data/lib/tocsv/version.rb
CHANGED
data/tocsv-0.1.0.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tocsv
|
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
|
- jiangzhi.xie
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- exe/tocsv
|
86
86
|
- lib/tocsv.rb
|
87
87
|
- lib/tocsv/version.rb
|
88
|
+
- tocsv-0.1.0.gem
|
88
89
|
- tocsv.gemspec
|
89
90
|
homepage: https://github.com/xiejiangzhi/tocsv
|
90
91
|
licenses:
|