summaryrefslogtreecommitdiff
path: root/lib/open-uri.gemspec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-11 20:38:18 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-11 20:38:18 +0900
commit2f24818319154bcd6fbc422f2f5d46cdd1f9a5c2 (patch)
tree1b61093795568d0c159e9d201704a80709435bbc /lib/open-uri.gemspec
parentf0ddbd502c1d6912cec9a91997966ba659e347c1 (diff)
Promote open-uri to default gems
Diffstat (limited to 'lib/open-uri.gemspec')
-rw-r--r--lib/open-uri.gemspec22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/open-uri.gemspec b/lib/open-uri.gemspec
new file mode 100644
index 0000000000..45f0d47e6f
--- /dev/null
+++ b/lib/open-uri.gemspec
@@ -0,0 +1,22 @@
+Gem::Specification.new do |spec|
+ spec.name = "open-uri"
+ spec.version = "0.1.0"
+ spec.authors = ["Tanaka Akira"]
+ spec.email = ["akr@fsij.org"]
+
+ spec.summary = %q{An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP.}
+ spec.description = %q{An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP.}
+ spec.homepage = "https://github.com/ruby/open-uri"
+ 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