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

ruby-changes:51393

From: hsbt <ko1@a...>
Date: Thu, 7 Jun 2018 19:13:07 +0900 (JST)
Subject: [ruby-changes:51393] hsbt:r63599 (trunk): Promote OpenStruct to default gems.

hsbt	2018-06-07 19:13:00 +0900 (Thu, 07 Jun 2018)

  New Revision: 63599

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

  Log:
    Promote OpenStruct to default gems.
    
      Upstream repository is https://github.com/ruby/ostruct.

  Added files:
    trunk/lib/ostruct.gemspec
  Modified files:
    trunk/doc/maintainers.rdoc
    trunk/doc/standard_library.rdoc
Index: doc/standard_library.rdoc
===================================================================
--- doc/standard_library.rdoc	(revision 63598)
+++ doc/standard_library.rdoc	(revision 63599)
@@ -37,7 +37,6 @@ Observable:: Provides a mechanism for pu https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L37
 OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
 Open3:: Provides access to stdin, stdout and stderr when running other programs
 OptionParser:: Ruby-oriented class for command-line option analysis
-OpenStruct:: Class to build custom data structures, similar to a Hash
 PP:: Provides a PrettyPrinter for Ruby objects
 PrettyPrinter:: Implements a pretty printing algorithm for readable structure
 profile.rb:: Runs the Ruby Profiler__
@@ -92,6 +91,7 @@ CMath:: Provides Trigonometric and Trans https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L91
 CSV:: Provides an interface to read and write CSV files and data
 FileUtils:: Several file utility methods for copying, moving, removing, etc
 Logger:: Provides a simple logging utility for outputting messages
+OpenStruct:: Class to build custom data structures, similar to a Hash
 Prime:: Prime numbers and factorization library
 RDoc:: Produces HTML and command-line documentation for Ruby
 REXML:: An XML toolkit for Ruby
Index: doc/maintainers.rdoc
===================================================================
--- doc/maintainers.rdoc	(revision 63598)
+++ doc/maintainers.rdoc	(revision 63599)
@@ -96,8 +96,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L96
   _unmaintained_
 [lib/optparse.rb, lib/optparse/*]
   Nobuyuki Nakada (nobu)
-[lib/ostruct.rb]
-  Marc-Andre Lafortune (marcandre)
 [lib/pp.rb]
   Tanaka Akira (akr)
 [lib/prettyprint.rb]
@@ -211,6 +209,8 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L209
   https://github.com/ruby/fileutils
 [lib/logger.rb]
   Naotoshi Seo (sonots)
+[lib/ostruct.rb]
+  Marc-Andre Lafortune (marcandre)
 [lib/prime.rb]
   Yuki Sonoda (yugui)
 [lib/rdoc.rb, lib/rdoc/*]
Index: lib/ostruct.gemspec
===================================================================
--- lib/ostruct.gemspec	(nonexistent)
+++ lib/ostruct.gemspec	(revision 63599)
@@ -0,0 +1,21 @@ https://github.com/ruby/ruby/blob/trunk/lib/ostruct.gemspec#L1
+# 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@m..."]
+
+  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

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

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