structured_csv 0.1.0
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/.github/workflows/main.yml +18 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +12 -0
- data/README.adoc +205 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/exe/csv_join.rb +95 -0
- data/exe/structured_csv_to_yaml.rb +254 -0
- data/lib/structured_csv.rb +8 -0
- data/lib/structured_csv/version.rb +5 -0
- data/samples/T-SP-E.212B-2018.et.csv +89 -0
- data/samples/T-SP-E.212B-2018.et.yaml +471 -0
- data/samples/T-SP-F.1-1998-MSW.csv +238 -0
- data/samples/T-SP-F.1-1998-MSW.yaml +1928 -0
- data/samples/T-SP-SR.1-2012.csv +99 -0
- data/samples/T-SP-SR.1-2012.yaml +1081 -0
- data/structured_csv.gemspec +34 -0
- metadata +67 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/structured_csv/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "structured_csv"
|
7
|
+
spec.version = StructuredCsv::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "Library to process structured CSV files"
|
12
|
+
spec.description = "Library to process structured CSV files"
|
13
|
+
spec.homepage = "https://open.ribose.com"
|
14
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] = "https://github.com/riboseinc/structured_csv"
|
18
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
# Uncomment to register a new dependency of your gem
|
30
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
31
|
+
|
32
|
+
# For more information and examples about making a new gem, checkout our
|
33
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: structured_csv
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Library to process structured CSV files
|
14
|
+
email:
|
15
|
+
- open.source@ribose.com
|
16
|
+
executables:
|
17
|
+
- csv_join.rb
|
18
|
+
- structured_csv_to_yaml.rb
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files: []
|
21
|
+
files:
|
22
|
+
- ".github/workflows/main.yml"
|
23
|
+
- ".gitignore"
|
24
|
+
- ".rspec"
|
25
|
+
- ".rubocop.yml"
|
26
|
+
- CODE_OF_CONDUCT.md
|
27
|
+
- Gemfile
|
28
|
+
- README.adoc
|
29
|
+
- Rakefile
|
30
|
+
- bin/console
|
31
|
+
- bin/setup
|
32
|
+
- exe/csv_join.rb
|
33
|
+
- exe/structured_csv_to_yaml.rb
|
34
|
+
- lib/structured_csv.rb
|
35
|
+
- lib/structured_csv/version.rb
|
36
|
+
- samples/T-SP-E.212B-2018.et.csv
|
37
|
+
- samples/T-SP-E.212B-2018.et.yaml
|
38
|
+
- samples/T-SP-F.1-1998-MSW.csv
|
39
|
+
- samples/T-SP-F.1-1998-MSW.yaml
|
40
|
+
- samples/T-SP-SR.1-2012.csv
|
41
|
+
- samples/T-SP-SR.1-2012.yaml
|
42
|
+
- structured_csv.gemspec
|
43
|
+
homepage: https://open.ribose.com
|
44
|
+
licenses: []
|
45
|
+
metadata:
|
46
|
+
homepage_uri: https://open.ribose.com
|
47
|
+
source_code_uri: https://github.com/riboseinc/structured_csv
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options: []
|
50
|
+
require_paths:
|
51
|
+
- lib
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.4.0
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
requirements: []
|
63
|
+
rubygems_version: 3.0.3
|
64
|
+
signing_key:
|
65
|
+
specification_version: 4
|
66
|
+
summary: Library to process structured CSV files
|
67
|
+
test_files: []
|