fileconv 0.2.0 → 0.2.1
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/Gemfile.lock +1 -1
- data/README.md +3 -2
- data/fileconv.gemspec +2 -2
- data/lib/fileconv/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0c5d033ca9bf1db0e74d9bdc1771d6cc41c3e6fc2729d3fe3f44d67e443a426
|
|
4
|
+
data.tar.gz: 583900bf4b63b85b88f1f6c151123c6885ef77315ddfe462d1f401837477e65f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f380da592013613c8a661c3136ac8bdde1eaec479407133cee8a2360983d07474d4c1f6f16f1de0ef4f0f613b66b4678d44bbc7e5acd53cbcbab6a9f72eeff7d
|
|
7
|
+
data.tar.gz: e1c1385f7d0eb5f474df3e0a605672a12327c9ae67cd549717987cda3ec55fd00e161b85d55b9b23722ea9e58f894b163104ca3430091375a1f6e21c7b4657d4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -181,10 +181,11 @@ converted file (`output/address.json`) :
|
|
|
181
181
|
[{"name":"Mike","Age":"21","country":"USA"},{"name":"Jon","Age":"33","country":"USA"}]
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
+
You can see more [examples](https://github.com/hinastory/fileconv/tree/master/example).
|
|
184
185
|
|
|
185
|
-
### Make
|
|
186
|
+
### Make MetaConvertors
|
|
186
187
|
|
|
187
|
-
You can make meta
|
|
188
|
+
You can make meta convertors easily.
|
|
188
189
|
`fileconv` gem's JSON MetaConvertor is below:
|
|
189
190
|
|
|
190
191
|
```ruby
|
data/fileconv.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.authors = ["hinastory"]
|
|
9
9
|
spec.email = ["1696779+hinastory@users.noreply.github.com"]
|
|
10
10
|
|
|
11
|
-
spec.summary = %q{Extensible multi-file convertor.}
|
|
12
|
-
spec.description = %q{Extensible multi-file convertor.}
|
|
11
|
+
spec.summary = %q{Extensible multi-file convertor. Simple text file, CSV file, JSON file, binary file and so on.}
|
|
12
|
+
spec.description = %q{Extensible multi-file convertor. Simple text file, CSV file, JSON file, binary file and so on.}
|
|
13
13
|
spec.homepage = "https://github.com/hinastory/fileconv"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
data/lib/fileconv/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fileconv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hinastory
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -38,7 +38,8 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '10.0'
|
|
41
|
-
description: Extensible multi-file convertor.
|
|
41
|
+
description: Extensible multi-file convertor. Simple text file, CSV file, JSON file,
|
|
42
|
+
binary file and so on.
|
|
42
43
|
email:
|
|
43
44
|
- 1696779+hinastory@users.noreply.github.com
|
|
44
45
|
executables: []
|
|
@@ -59,7 +60,6 @@ files:
|
|
|
59
60
|
- example/csv/test2.txt
|
|
60
61
|
- example/csv/with_header.rb
|
|
61
62
|
- example/data/list_file.rb
|
|
62
|
-
- example/data/output/result.txt
|
|
63
63
|
- example/data/test.data
|
|
64
64
|
- example/file/read_bytes.rb
|
|
65
65
|
- example/file/test.data
|
|
@@ -112,5 +112,6 @@ requirements: []
|
|
|
112
112
|
rubygems_version: 3.0.6
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
|
-
summary: Extensible multi-file convertor.
|
|
115
|
+
summary: Extensible multi-file convertor. Simple text file, CSV file, JSON file, binary
|
|
116
|
+
file and so on.
|
|
116
117
|
test_files: []
|