-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgemstub.rb
More file actions
22 lines (19 loc) · 813 Bytes
/
gemstub.rb
File metadata and controls
22 lines (19 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
unless version = File.read("README.md").scan(/^\s*[\*\-]\s*version:{1,2}\s*(.+)/i).flatten[-1]
raise "バージョン情報が README.md に見つかりません"
end
DOC << "QUICKREF.ja.md"
GEMSTUB = Gem::Specification.new do |s|
s.name = "extattr"
s.version = version
s.summary = "extended file attribute manipurator"
s.description = <<-EOS
"extattr" is extended file attribute manipurator for Ruby.
Supported for FreeBSD (extattr), GNU/Linux (xattr) and Microsoft Windows (NTFS Alternative Data Stream (ADS) + NTFS Extended Attributes (EA)).
EOS
s.homepage = "https://github.com/dearblue/ruby-extattr"
s.license = "BSD-2-Clause"
s.author = "dearblue"
s.email = "dearblue@users.osdn.me"
s.add_development_dependency "rake", "~> 0"
s.add_development_dependency "test-unit", "~> 0"
end