diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-10 18:56:13 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-10 18:56:17 +0900 |
commit | cf76a4a5c28ee41221d961935e08404a0ceac6df (patch) | |
tree | 2b8a2ead5c596d33385cdb671d5b58d8f07d9aaf /lib/base64.gemspec | |
parent | cf681038d621bbd8bb7808b7b153535397df0e68 (diff) | |
download | ruby-cf76a4a5c28ee41221d961935e08404a0ceac6df.tar.gz |
Promote base64 to default gems
Diffstat (limited to 'lib/base64.gemspec')
-rw-r--r-- | lib/base64.gemspec | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/base64.gemspec b/lib/base64.gemspec new file mode 100644 index 0000000000..331ecc4491 --- /dev/null +++ b/lib/base64.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |spec| + spec.name = "base64" + spec.version = "0.1.0" + spec.authors = ["Yusuke Endoh"] + spec.email = ["mame@ruby-lang.org"] + + spec.summary = %q{Support for encoding and decoding binary data using a Base64 representation.} + spec.description = %q{Support for encoding and decoding binary data using a Base64 representation.} + spec.homepage = "https://github.com/ruby/base64" + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] + + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = spec.homepage + + spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] +end |