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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c9b4d5a5ea10576d4d7957c0018f7a4e6b7392fb6111712fb42624dfc7b1bbe
4
- data.tar.gz: aecdaec7d4d52ca92b657df57a92c85db4582b0e686784436d9a40afe716414c
3
+ metadata.gz: 16b05f591a5e6f3faee61fe3f86007fc70727f63eaee7b36d59f76a847a31096
4
+ data.tar.gz: 917d3c886bb533c70d304120803f33b5fa7fec825535640b24d7ac9336987434
5
5
  SHA512:
6
- metadata.gz: dd3a6af253ccb51bb89a33295e6b03da915c4a7ba08aeb802f0bda06dfd2110ed44483c37036d83017ac75e69714a84cdaddf63a83904bde06ad892036f0520d
7
- data.tar.gz: 92af77cb29940a6189dcae0d668dc7cc696db1e048f497d14b3e9fa5d20f5001611e66f99423783222d4c136d1000e40bc3421448f696fadd4486b835bde7b07
6
+ metadata.gz: c4969135296668550865c9426a396aa27af230d6b39616897a5c713c915ea526b05c52cfc2f661a9600c4e948e54cc1f552f41cf2c728a70f10d04f4f73c3f48
7
+ data.tar.gz: fec5947833c78a829ccd272c9e5e610f3a82699ad621bf5536842bbb9450a3454eb63011b8ba2cb3a47453c5127ae936a67a892ca1dd346205c9568d4f545bbf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tocsv (0.1.0)
4
+ tocsv (0.1.1)
5
5
  roo (~> 2.0)
6
6
  roo-xls (~> 1.2.0)
7
7
 
data/README.md CHANGED
@@ -10,7 +10,7 @@ A tool to convert spreadsheet to csv format
10
10
  * ods: LibreOffice / OpenOffice.org
11
11
  * xml: Excel 2002 2003 XML
12
12
 
13
- **More see roo-rb/roo**
13
+ **More see [roo-rb/roo](https://github.com/roo-rb/roo)**
14
14
 
15
15
 
16
16
  ## Installation
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
@@ -1,3 +1,3 @@
1
1
  module Tocsv
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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: