1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Promote pstore to default gems

This commit is contained in:
Hiroshi SHIBATA 2019-11-07 11:17:12 +09:00
parent 6797c3e371
commit 3b0bd34001
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
5 changed files with 39 additions and 3 deletions

View file

@ -84,8 +84,6 @@ Zachary Scott (zzak)
Tanaka Akira (akr)
[lib/prettyprint.rb]
Tanaka Akira (akr)
[lib/pstore.rb]
_unmaintained_
[lib/resolv-replace.rb]
Tanaka Akira (akr)
[lib/resolv.rb]
@ -218,6 +216,10 @@ Zachary Scott (zzak)
[lib/prime.rb]
Yuki Sonoda (yugui)
https://github.com/ruby/prime
[lib/pstore.rb]
_unmaintained_
https://github.com/ruby/pstore
https://rubygems.org/gems/pstore
[lib/racc.rb, lib/racc/*]
Aaron Patterson (tenderlove), Hiroshi SHIBATA (hsbt)
https://github.com/ruby/racc

View file

@ -30,7 +30,6 @@ OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
OptionParser:: Ruby-oriented class for command-line option analysis
PP:: Provides a PrettyPrinter for Ruby objects
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
PStore:: Implements a file based persistence mechanism based on a Hash
RbConfig:: Information of your configure and build of Ruby
resolv-replace.rb:: Replace Socket DNS with Resolv
Resolv:: Thread-aware DNS resolver library in Ruby
@ -82,6 +81,7 @@ Mutex_m:: Mixin to extend objects to be handled like a Mutex
Open3:: Provides access to stdin, stdout and stderr when running other programs
OpenStruct:: Class to build custom data structures, similar to a Hash
Prime:: Prime numbers and factorization library
PStore:: Implements a file based persistence mechanism based on a Hash
Racc:: A LALR(1) parser generator written in Ruby.
RDoc:: Produces HTML and command-line documentation for Ruby
REXML:: An XML toolkit for Ruby

29
lib/pstore/pstore.gemspec Normal file
View file

@ -0,0 +1,29 @@
begin
require_relative "lib/pstore/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "pstore"
spec.version = PStore::VERSION
spec.authors = ["Yukihiro Matsumoto"]
spec.email = ["matz@ruby-lang.org"]
spec.summary = %q{Transactional File Storage for Ruby Objects}
spec.description = spec.summary
spec.homepage = "https://github.com/ruby/pstore"
spec.license = "BSD-2-Clause"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/ruby/pstore"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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

3
lib/pstore/version.rb Normal file
View file

@ -0,0 +1,3 @@
class PStore
VERSION = "0.1.0"
end

View file

@ -36,6 +36,7 @@
# * https://github.com/ruby/singleton
# * https://github.com/ruby/open3
# * https://github.com/ruby/getoptlong
# * https://github.com/ruby/pstore
#
require 'fileutils'
@ -79,6 +80,7 @@ $repositories = {
singleton: "ruby/singleton",
open3: "ruby/open3",
getoptlong: "ruby/getoptlong",
pstore: "ruby/pstore",
}
def sync_default_gems(gem)