[前][次][番号順一覧][スレッド一覧]

ruby-changes:51833

From: hsbt <ko1@a...>
Date: Wed, 25 Jul 2018 21:26:49 +0900 (JST)
Subject: [ruby-changes:51833] hsbt:r64046 (trunk): Promote Exception2MessageMapper to Default gems.

hsbt	2018-07-25 21:26:41 +0900 (Wed, 25 Jul 2018)

  New Revision: 64046

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64046

  Log:
    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.

  Added directories:
    trunk/lib/e2mmap/
  Added files:
    trunk/lib/e2mmap/version.rb
    trunk/lib/e2mmap.gemspec
  Modified files:
    trunk/tool/sync_default_gems.rb
Index: lib/e2mmap.gemspec
===================================================================
--- lib/e2mmap.gemspec	(nonexistent)
+++ lib/e2mmap.gemspec	(revision 64046)
@@ -0,0 +1,21 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.gemspec#L1
+require_relative "e2mmap/version"
+
+Gem::Specification.new do |spec|
+  spec.name          = "e2mmap"
+  spec.version       = Exception2MessageMapper::VERSION
+  spec.authors       = ["Keiju ISHITSUKA"]
+  spec.email         = ["keiju@r..."]
+
+  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
Index: lib/e2mmap/version.rb
===================================================================
--- lib/e2mmap/version.rb	(nonexistent)
+++ lib/e2mmap/version.rb	(revision 64046)
@@ -0,0 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap/version.rb#L1
+module Exception2MessageMapper
+  VERSION = "0.1.0"
+end
Index: tool/sync_default_gems.rb
===================================================================
--- tool/sync_default_gems.rb	(revision 64045)
+++ tool/sync_default_gems.rb	(revision 64046)
@@ -33,6 +33,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L33
 # * https://github.com/ruby/shell
 # * https://github.com/ruby/forwardable
 # * https://github.com/ruby/thwait
+# * https://github.com/ruby/e2mmap
 #
 
 $repositories = {
@@ -68,7 +69,8 @@ $repositories = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L69
   tracer: 'ruby/tracer',
   shell: 'ruby/shell',
   forwardable: "ruby/forwardable",
-  thwait: "ruby/thwait"
+  thwait: "ruby/thwait",
+  e2mmap: "ruby/e2mmap"
 }
 
 def sync_default_gems(gem)
@@ -178,6 +180,10 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L180
     `rm -rf lib/thwait*`
     `cp -rf ../thwait/lib/* lib`
     `cp -rf ../thwait/thwait.gemspec lib`
+  when "e2mmap"
+    `rm -rf lib/e2mmap*`
+    `cp -rf ../e2mmap/lib/* lib`
+    `cp -rf ../e2mmap/e2mmap.gemspec lib`
   when "strscan"
     `rm -rf ext/strscan test/strscan`
     `cp -rf ../strscan/ext/strscan ext`

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]