csvyaml 0.0.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 +7 -0
- data/HISTORY.md +3 -0
- data/Manifest.txt +6 -0
- data/README.md +26 -0
- data/Rakefile +29 -0
- data/lib/csvyaml.rb +11 -0
- data/lib/csvyaml/version.rb +23 -0
- metadata +86 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1d89beb0f7d059235cd458d33f33b107fba249cb
|
4
|
+
data.tar.gz: c6404fe2ab304c3130ba97afdd72ab1e8badf9c6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 85372ed928cd3a8fc433afba51333951ac1632b254f9092e3eb2c0de698bbfff697e27ccfa9c90ee520fc5204ff71525ca19df6509f77e02c75a230c2d5a5a93
|
7
|
+
data.tar.gz: 4c0eaca93f47884b0e4c88eef1eb5eef1c688fb874dd2cbd33d9a209b2a3e833f5f5da8d5ad8624d5104a28df77003a248d6cd73952d7dfaf3f87a5476251df9
|
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# CSV <3 YAML Parser / Reader
|
2
|
+
|
3
|
+
csvyaml library / gem - read tabular data in the CSV <3 YAML format, that is, comma-separated values CSV (line-by-line) records with yaml ain't markup language (YAML) encoding rules
|
4
|
+
|
5
|
+
* home :: [github.com/csv11/csvyaml](https://github.com/csv11/csvyaml)
|
6
|
+
* bugs :: [github.com/csv11/csvyaml/issues](https://github.com/csv11/csvyaml/issues)
|
7
|
+
* gem :: [rubygems.org/gems/csvyaml](https://rubygems.org/gems/csvyaml)
|
8
|
+
* rdoc :: [rubydoc.info/gems/csvyaml](http://rubydoc.info/gems/csvyaml)
|
9
|
+
* forum :: [wwwmake](http://groups.google.com/group/wwwmake)
|
10
|
+
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
to be done
|
15
|
+
|
16
|
+
|
17
|
+
## License
|
18
|
+
|
19
|
+
The `csvyaml` scripts are dedicated to the public domain.
|
20
|
+
Use it as you please with no restrictions whatsoever.
|
21
|
+
|
22
|
+
|
23
|
+
## Questions? Comments?
|
24
|
+
|
25
|
+
Send them along to the [wwwmake forum](http://groups.google.com/group/wwwmake).
|
26
|
+
Thanks!
|
data/Rakefile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/csvyaml/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'csvyaml' do
|
5
|
+
|
6
|
+
self.version = CsvYaml::VERSION
|
7
|
+
|
8
|
+
self.summary = "csvyaml - read tabular data in the CSV <3 YAML format, that is, comma-separated values CSV (line-by-line) records with yaml ain't markup language (YAML) encoding rules"
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/csv11/csvyaml']
|
12
|
+
|
13
|
+
self.author = 'Gerald Bauer'
|
14
|
+
self.email = 'wwwmake@googlegroups.com'
|
15
|
+
|
16
|
+
# switch extension to .markdown for gihub formatting
|
17
|
+
self.readme_file = 'README.md'
|
18
|
+
self.history_file = 'HISTORY.md'
|
19
|
+
|
20
|
+
self.extra_deps = [
|
21
|
+
]
|
22
|
+
|
23
|
+
self.licenses = ['Public Domain']
|
24
|
+
|
25
|
+
self.spec_extras = {
|
26
|
+
required_ruby_version: '>= 2.2.2'
|
27
|
+
}
|
28
|
+
|
29
|
+
end
|
data/lib/csvyaml.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
|
4
|
+
class CsvYaml
|
5
|
+
|
6
|
+
MAJOR = 0
|
7
|
+
MINOR = 0
|
8
|
+
PATCH = 1
|
9
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
10
|
+
|
11
|
+
def self.version
|
12
|
+
VERSION
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.banner
|
16
|
+
"csvyaml/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.root
|
20
|
+
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
|
21
|
+
end
|
22
|
+
|
23
|
+
end # module CsvYaml
|
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: csvyaml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gerald Bauer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rdoc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hoe
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.16'
|
41
|
+
description: csvyaml - read tabular data in the CSV <3 YAML format, that is, comma-separated
|
42
|
+
values CSV (line-by-line) records with yaml ain't markup language (YAML) encoding
|
43
|
+
rules
|
44
|
+
email: wwwmake@googlegroups.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files:
|
48
|
+
- HISTORY.md
|
49
|
+
- Manifest.txt
|
50
|
+
- README.md
|
51
|
+
files:
|
52
|
+
- HISTORY.md
|
53
|
+
- Manifest.txt
|
54
|
+
- README.md
|
55
|
+
- Rakefile
|
56
|
+
- lib/csvyaml.rb
|
57
|
+
- lib/csvyaml/version.rb
|
58
|
+
homepage: https://github.com/csv11/csvyaml
|
59
|
+
licenses:
|
60
|
+
- Public Domain
|
61
|
+
metadata: {}
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options:
|
64
|
+
- "--main"
|
65
|
+
- README.md
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.2.2
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
requirements: []
|
79
|
+
rubyforge_project:
|
80
|
+
rubygems_version: 2.5.2
|
81
|
+
signing_key:
|
82
|
+
specification_version: 4
|
83
|
+
summary: csvyaml - read tabular data in the CSV <3 YAML format, that is, comma-separated
|
84
|
+
values CSV (line-by-line) records with yaml ain't markup language (YAML) encoding
|
85
|
+
rules
|
86
|
+
test_files: []
|