-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstring_view.gemspec
More file actions
35 lines (29 loc) · 1.15 KB
/
string_view.gemspec
File metadata and controls
35 lines (29 loc) · 1.15 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
# frozen_string_literal: true
require_relative "lib/string_view/version"
Gem::Specification.new do |spec|
spec.name = "string_view"
spec.version = StringView::VERSION
spec.authors = ["Shopify"]
spec.email = ["ruby@shopify.com"]
spec.summary = "Zero-copy string slicing for Ruby via a C extension."
spec.description = "StringView provides a read-only, zero-copy view into a frozen " \
"Ruby String, avoiding intermediate allocations for slicing, " \
"searching, and delegation of transform methods. Uses simdutf " \
"for SIMD-accelerated UTF-8 character counting."
spec.homepage = "https://github.com/Shopify/string_view"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.3.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/Shopify/string_view"
spec.metadata["changelog_uri"] = "https://github.com/Shopify/string_view/releases"
spec.files = Dir.glob([
"LICENSE.txt",
"LICENSE-simdutf.txt",
"README.md",
"Rakefile",
"lib/**/*.rb",
"ext/**/*.{rb,c,cpp,h}",
])
spec.require_paths = ["lib"]
spec.extensions = ["ext/string_view/extconf.rb"]
end