-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathosv.gemspec
More file actions
46 lines (39 loc) · 1.77 KB
/
osv.gemspec
File metadata and controls
46 lines (39 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require_relative "lib/osv/version"
Gem::Specification.new do |spec|
spec.name = "osv"
spec.version = OSV::VERSION
spec.authors = ["Nathan Jaremko"]
spec.email = ["nathan@jaremko.ca"]
spec.summary = "CSV parser for Ruby"
spec.description = <<-EOF
OSV is a high-performance CSV parser for Ruby, implemented in Rust.
It wraps BurntSushi's csv-rs crate to provide fast CSV parsing with support for both hash-based and array-based row formats.
Features include: Flexible input sources (file paths, gzipped files, IO objects, strings),
configurable parsing options (headers, separators, quote chars), support for both hash and array output formats,
whitespace trimming options, strict or flexible parsing modes, and is significantly faster than Ruby's standard CSV library.
EOF
spec.homepage = "https://github.com/njaremko/osv"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/njaremko/osv"
spec.metadata["readme_uri"] = "https://github.com/njaremko/osv/blob/main/README.md"
spec.metadata["changelog_uri"] = "https://github.com/njaremko/osv/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/osv"
spec.metadata["funding_uri"] = "https://github.com/sponsors/njaremko"
spec.files =
Dir[
"{ext,lib}/**/*",
"LICENSE",
"README.md",
"Cargo.*",
"Gemfile",
"Rakefile"
]
spec.require_paths = ["lib"]
spec.extensions = ["ext/osv/extconf.rb"]
# needed until rubygems supports Rust support is out of beta
spec.add_dependency "rb_sys", "~> 0.9.39"
# only needed when developing or packaging your gem
spec.add_development_dependency "rake-compiler", "~> 1.2.0"
end