csv-xlsx-converter 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +19 -7
- data/VERSION +1 -1
- data/csv-xlsx-converter.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87eb84fb925613fb9b96f7c7b07d3d7a086cb7cf
|
|
4
|
+
data.tar.gz: b6085caec5773b5275bc61c955025eed7c6337fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6483c0ddcaa0d79776c0a7cd4490ef24d0dc8c81233fafa01d13cbbaa320d14b36c14f059a34bd224875c10a757eb0b3640559f16aea1dd422519d634bb9c3fe
|
|
7
|
+
data.tar.gz: 862b23c792dc5a05791f8cc43fb52d56c46fb08cb0c769425d07387178a3e4db2013a89e0a25b7c0a9ef8b5451d8225eaeadedea634db3ddde9a148a761e7a7b
|
data/README.rdoc
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
= csv-xlsx-converter
|
|
2
|
+
{<img src="https://img.shields.io/gem/v/csv-xlsx-converter.svg" alt="Gem Version"/>}[https://rubygems.org/gems/csv-xlsx-converter]
|
|
2
3
|
{<img src="https://travis-ci.org/if1live/csv-xlsx-converter.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/if1live/csv-xlsx-converter]
|
|
3
4
|
|
|
5
|
+
|
|
6
|
+
|
|
4
7
|
== To Install:
|
|
5
|
-
gem install
|
|
6
|
-
# or...
|
|
7
|
-
bundle install
|
|
8
|
+
gem install csv-xlsx-converter
|
|
8
9
|
|
|
9
10
|
== Usage
|
|
10
11
|
Command line script get one or two arguments.
|
|
@@ -16,12 +17,23 @@ If second argment is not predefined, use first filename as excel xlsx filename.
|
|
|
16
17
|
For example, input filename is foo.csv then output filename is foo.xlsx.
|
|
17
18
|
|
|
18
19
|
=== CSV to Excel xlsx:
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
csv_to_xlsx input.csv
|
|
21
|
+
csv_to_xlsx input.csv output.xlsx
|
|
21
22
|
|
|
22
23
|
=== Excel xlsx to CSV:
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
csv_to_xlsx input.xlsx
|
|
25
|
+
csv_to_xlsx input.xlsx output.csv
|
|
26
|
+
|
|
27
|
+
== Development
|
|
28
|
+
# prepare repository
|
|
29
|
+
git clone https://github.com/if1live/csv-xlsx-converter.git
|
|
30
|
+
cd csv-xlsx-converter
|
|
31
|
+
|
|
32
|
+
# install dependencies
|
|
33
|
+
bundle install
|
|
34
|
+
|
|
35
|
+
# run test case
|
|
36
|
+
rake spec
|
|
25
37
|
|
|
26
38
|
== Copyright
|
|
27
39
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/csv-xlsx-converter.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: csv-xlsx-converter 0.0.
|
|
5
|
+
# stub: csv-xlsx-converter 0.0.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "csv-xlsx-converter".freeze
|
|
9
|
-
s.version = "0.0.
|
|
9
|
+
s.version = "0.0.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["if1live".freeze]
|
|
14
|
-
s.date = "2017-
|
|
14
|
+
s.date = "2017-08-23"
|
|
15
15
|
s.description = "Convert CSV to Excel xlsx, Excel xlsx to CSV.".freeze
|
|
16
16
|
s.email = "libsora25@gmail.com".freeze
|
|
17
17
|
s.executables = ["csv_to_xlsx".freeze]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: csv-xlsx-converter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- if1live
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyXL
|