summaryrefslogtreecommitdiff
path: root/lib/ostruct.gemspec
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-07 10:13:00 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-07 10:13:00 +0000
commit5a10e577dfdb764c9b4eafa295c5196775cbd515 (patch)
tree0803e004fc922831c7bb59c37d2974933a366a47 /lib/ostruct.gemspec
parent265bfdfbf5a809a7e22231ae25a551eda23cbf7d (diff)
Promote OpenStruct to default gems.
Upstream repository is https://github.com/ruby/ostruct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ostruct.gemspec')
-rw-r--r--lib/ostruct.gemspec21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/ostruct.gemspec b/lib/ostruct.gemspec
new file mode 100644
index 0000000000..4faf5b84aa
--- /dev/null
+++ b/lib/ostruct.gemspec
@@ -0,0 +1,21 @@
+# frozen_string_literal: true
+
+Gem::Specification.new do |spec|
+ spec.name = "ostruct"
+ spec.version = "0.1.0"
+ spec.authors = ["Marc-Andre Lafortune"]
+ spec.email = ["ruby-core@marc-andre.ca"]
+
+ spec.summary = %q{Class to build custom data structures, similar to a Hash.}
+ spec.description = %q{Class to build custom data structures, similar to a Hash.}
+ spec.homepage = "https://github.com/ruby/ostruct"
+ spec.license = "BSD-2-Clause"
+
+ spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"]
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler"
+ spec.add_development_dependency "rake"
+end