aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-25 12:26:41 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-25 12:26:41 +0000
commitf79eb34cffdb264377532a48973326aa8fc32b29 (patch)
treefd1ca886a7f14ca936237e5d33167098498f6c78 /lib
parent05152b9d2126498a6ca4aeb4742dc0eedbc588a1 (diff)
downloadruby-f79eb34cffdb264377532a48973326aa8fc32b29.tar.gz
Promote Exception2MessageMapper to Default gems.
* lib/e2mmap.gemspec: Added initial gemspec. * lib/e2mmap/version.rb: Added Exception2MessageMapper::VERSION for gemspec. * tool/sync_default_gems.rb: Support Exception2MessageMapper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/e2mmap.gemspec21
-rw-r--r--lib/e2mmap/version.rb3
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/e2mmap.gemspec b/lib/e2mmap.gemspec
new file mode 100644
index 0000000000..126637c756
--- /dev/null
+++ b/lib/e2mmap.gemspec
@@ -0,0 +1,21 @@
+require_relative "e2mmap/version"
+
+Gem::Specification.new do |spec|
+ spec.name = "e2mmap"
+ spec.version = Exception2MessageMapper::VERSION
+ spec.authors = ["Keiju ISHITSUKA"]
+ spec.email = ["keiju@ruby-lang.org"]
+
+ spec.summary = %q{Module for defining custom exceptions with specific messages.}
+ spec.description = %q{Module for defining custom exceptions with specific messages.}
+ spec.homepage = "https://github.com/ruby/e2mmap"
+ spec.license = "BSD-2-Clause"
+
+ spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "e2mmap.gemspec", "lib/e2mmap.rb", "lib/e2mmap/version.rb"]
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler", "~> 1.16"
+ spec.add_development_dependency "rake", "~> 10.0"
+end
diff --git a/lib/e2mmap/version.rb b/lib/e2mmap/version.rb
new file mode 100644
index 0000000000..c459aeace3
--- /dev/null
+++ b/lib/e2mmap/version.rb
@@ -0,0 +1,3 @@
+module Exception2MessageMapper
+ VERSION = "0.1.0"
+end