mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Followed up with 708413807a
* Added sync task for digest * Update doc/* for default gems * Update the latest version of gemspec
This commit is contained in:
parent
708413807a
commit
3f97940252
4 changed files with 25 additions and 4 deletions
|
@ -56,8 +56,6 @@ Zachary Scott (zzak)
|
|||
Koichi Sasada (ko1)
|
||||
[ext/coverage]
|
||||
Yusuke Endoh (mame)
|
||||
[ext/digest, ext/digest/*]
|
||||
Akinori MUSHA (knu)
|
||||
[ext/fiber]
|
||||
Koichi Sasada (ko1)
|
||||
[ext/monitor]
|
||||
|
@ -112,6 +110,9 @@ Zachary Scott (zzak)
|
|||
[lib/did_you_mean.rb]
|
||||
Yuki Nishijima (yuki24)
|
||||
https://github.com/ruby/did_you_mean
|
||||
[ext/digest, ext/digest/*]
|
||||
Akinori MUSHA (knu)
|
||||
https://github.com/ruby/digest
|
||||
[lib/drb.rb, lib/drb/*]
|
||||
Masatoshi SEKI (seki)
|
||||
https://github.com/ruby/drb
|
||||
|
|
|
@ -17,7 +17,6 @@ un.rb:: Utilities to replace common UNIX commands
|
|||
== Extensions
|
||||
|
||||
Coverage:: Provides coverage measurement for Ruby
|
||||
Digest:: Provides a framework for message digest libraries
|
||||
Monitor:: Provides an object or module to use safely by more than one thread
|
||||
objspace:: Extends ObjectSpace module to add methods for internal statistics
|
||||
PTY:: Creates and manages pseudo terminals
|
||||
|
@ -37,6 +36,7 @@ CGI:: Support for the Common Gateway Interface protocol
|
|||
CSV:: Provides an interface to read and write CSV files and data
|
||||
Delegator:: Provides three abilities to delegate method calls to an object
|
||||
DidYouMean:: "Did you mean?" experience in Ruby
|
||||
Digest:: Provides a framework for message digest libraries
|
||||
DRb:: Distributed object system for Ruby
|
||||
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
||||
ERB:: An easy to use but powerful templating system for Ruby
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "digest"
|
||||
spec.version = "0.1.0"
|
||||
spec.version = "1.0.0"
|
||||
spec.authors = ["Akinori MUSHA"]
|
||||
spec.email = ["knu@idaemons.org"]
|
||||
|
||||
|
@ -24,9 +24,20 @@ Gem::Specification.new do |spec|
|
|||
"ext/digest/sha2/sha2.c", "ext/digest/sha2/sha2.h", "ext/digest/sha2/sha2cc.h", "ext/digest/sha2/sha2init.c",
|
||||
"ext/digest/sha2/sha2ossl.h", "ext/digest/test.sh", "ext/openssl/deprecation.rb", "lib/digest.rb"
|
||||
]
|
||||
spec.required_ruby_version = ">= 2.3.0"
|
||||
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.require_paths = ["lib"]
|
||||
spec.extensions = %w[
|
||||
ext/digest/extconf.rb
|
||||
ext/digest/bubblebabble/extconf.rb
|
||||
ext/digest/md5/extconf.rb
|
||||
ext/digest/rmd160/extconf.rb
|
||||
ext/digest/sha1/extconf.rb
|
||||
ext/digest/sha2/extconf.rb
|
||||
]
|
||||
spec.metadata["msys2_mingw_dependencies"] = "openssl"
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "rake"
|
||||
|
|
|
@ -81,6 +81,7 @@ REPOSITORIES = {
|
|||
prettyprint: "ruby/prettyprint",
|
||||
drb: "ruby/drb",
|
||||
pathname: "ruby/pathname",
|
||||
digest: "ruby/digest",
|
||||
}
|
||||
|
||||
def sync_default_gems(gem)
|
||||
|
@ -315,6 +316,14 @@ def sync_default_gems(gem)
|
|||
cp_r("#{upstream}/test/pathname", "test")
|
||||
cp_r("#{upstream}/pathname.gemspec", "ext/pathname")
|
||||
`git checkout ext/pathname/depend`
|
||||
when "digest"
|
||||
rm_rf(%w[ext/digest test/digest])
|
||||
cp_r("#{upstream}/ext/digest", "ext")
|
||||
mkdir_p("#{upstream}/ext/digest/lib")
|
||||
cp_r("#{upstream}/lib/digest.rb", "ext/digest/lib")
|
||||
cp_r("#{upstream}/test/digest", "test")
|
||||
cp_r("#{upstream}/digest.gemspec", "ext/digest")
|
||||
`git checkout ext/digest/depend ext/digest/*/depend`
|
||||
else
|
||||
sync_lib gem, upstream
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue