Sha256: 7b426d68b5e083cb453266ab5d9746085ccf6d6233f902f9a1c1ea0a293226b4
Contents?: true
Size: 964 Bytes
Versions: 2
Compression:
Stored size: 964 Bytes
Contents
verreg = /^\s*\*\s+version:\s*(\d+(?:\.\w+)+)\s*$/i unless File.read("README.md", mode: "rt") =~ verreg raise "``version'' is not defined or bad syntax in ``README.md''" end version = String($1) GEMSTUB = Gem::Specification.new do |s| s.name = "extzstd" s.version = version s.summary = "ruby bindings for Zstandard (zstd)" s.description = <<EOS unoficial ruby bindings for Zstandard (zstd) <https://github.com/Cyan4973/zstd>. EOS s.homepage = "https://osdn.jp/projects/rutsubo/" s.license = "2-clause BSD License" s.author = "dearblue" s.email = "dearblue@users.osdn.me" s.required_ruby_version = ">= 2.0" s.add_development_dependency "rake" end LIB << "lib/extzstd/version.rb" file "lib/extzstd/version.rb" => %w(README.md) do GEMSTUB.version = version mkpath "lib/extzstd" File.write "lib/extzstd/version.rb", <<-"EOS", mode: "wb" module Zstd VERSION = #{version.inspect} end EOS end EXTRA.concat(FileList["contrib/**/*"])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
extzstd-0.1-x86-mingw32 | gemstub.rb |
extzstd-0.1 | gemstub.rb |