mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Promote cgi to default gems
This commit is contained in:
parent
223d3c460a
commit
fc85bdeb77
5 changed files with 48 additions and 5 deletions
|
@ -44,8 +44,6 @@ Zachary Scott (zzak)
|
||||||
Akinori MUSHA (knu)
|
Akinori MUSHA (knu)
|
||||||
[lib/base64.rb]
|
[lib/base64.rb]
|
||||||
Yusuke Endoh (mame)
|
Yusuke Endoh (mame)
|
||||||
[lib/cgi.rb, lib/cgi/*]
|
|
||||||
Takeyuki Fujioka (xibbar)
|
|
||||||
[lib/drb.rb, lib/drb/*]
|
[lib/drb.rb, lib/drb/*]
|
||||||
Masatoshi SEKI (seki)
|
Masatoshi SEKI (seki)
|
||||||
[lib/debug.rb]
|
[lib/debug.rb]
|
||||||
|
@ -114,8 +112,6 @@ Zachary Scott (zzak)
|
||||||
|
|
||||||
=== Extensions
|
=== Extensions
|
||||||
|
|
||||||
[ext/cgi]
|
|
||||||
Nobuyoshi Nakada (nobu)
|
|
||||||
[ext/continuation]
|
[ext/continuation]
|
||||||
Koichi Sasada (ko1)
|
Koichi Sasada (ko1)
|
||||||
[ext/coverage]
|
[ext/coverage]
|
||||||
|
@ -162,6 +158,10 @@ Zachary Scott (zzak)
|
||||||
Hiroshi SHIBATA (hsbt)
|
Hiroshi SHIBATA (hsbt)
|
||||||
https://github.com/bundler/bundler
|
https://github.com/bundler/bundler
|
||||||
https://rubygems.org/gems/bundler
|
https://rubygems.org/gems/bundler
|
||||||
|
[lib/cgi.rb, lib/cgi/*]
|
||||||
|
Takeyuki Fujioka (xibbar)
|
||||||
|
https://github.com/ruby/cgi
|
||||||
|
https://rubygems.org/gems/cgi
|
||||||
[lib/csv.rb]
|
[lib/csv.rb]
|
||||||
Kenta Murata (mrkn), Kouhei Sutou (kou)
|
Kenta Murata (mrkn), Kouhei Sutou (kou)
|
||||||
https://github.com/ruby/csv
|
https://github.com/ruby/csv
|
||||||
|
@ -270,6 +270,10 @@ Zachary Scott (zzak)
|
||||||
Kenta Murata (mrkn)
|
Kenta Murata (mrkn)
|
||||||
https://github.com/ruby/bigdecimal
|
https://github.com/ruby/bigdecimal
|
||||||
https://rubygems.org/gems/bigdecimal
|
https://rubygems.org/gems/bigdecimal
|
||||||
|
[ext/cgi]
|
||||||
|
Nobuyoshi Nakada (nobu)
|
||||||
|
https://github.com/ruby/cgi
|
||||||
|
https://rubygems.org/gems/cgi
|
||||||
[ext/date]
|
[ext/date]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
https://github.com/ruby/date
|
https://github.com/ruby/date
|
||||||
|
|
|
@ -10,7 +10,6 @@ description.
|
||||||
|
|
||||||
Abbrev:: Calculates a set of unique abbreviations for a given set of strings
|
Abbrev:: Calculates a set of unique abbreviations for a given set of strings
|
||||||
Base64:: Support for encoding and decoding binary data using a Base64 representation
|
Base64:: Support for encoding and decoding binary data using a Base64 representation
|
||||||
CGI:: Support for the Common Gateway Interface protocol
|
|
||||||
DEBUGGER__:: Debugging functionality for Ruby
|
DEBUGGER__:: Debugging functionality for Ruby
|
||||||
DRb:: Distributed object system for Ruby
|
DRb:: Distributed object system for Ruby
|
||||||
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
||||||
|
@ -65,6 +64,7 @@ WIN32OLE:: Provides an interface for OLE Automation in Ruby
|
||||||
|
|
||||||
Benchmark:: Provides methods to measure and report the time used to execute code
|
Benchmark:: Provides methods to measure and report the time used to execute code
|
||||||
Bundler:: Manage your Ruby application's gem dependencies
|
Bundler:: Manage your Ruby application's gem dependencies
|
||||||
|
CGI:: Support for the Common Gateway Interface protocol
|
||||||
CSV:: Provides an interface to read and write CSV files and data
|
CSV:: Provides an interface to read and write CSV files and data
|
||||||
Delegator:: Provides three abilities to delegate method calls to an object
|
Delegator:: Provides three abilities to delegate method calls to an object
|
||||||
E2MM:: Module for defining custom exceptions with specific messages
|
E2MM:: Module for defining custom exceptions with specific messages
|
||||||
|
|
27
lib/cgi/cgi.gemspec
Normal file
27
lib/cgi/cgi.gemspec
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
begin
|
||||||
|
require_relative "lib/cgi/version"
|
||||||
|
rescue LoadError # Fallback to load version file in ruby core repository
|
||||||
|
require_relative "version"
|
||||||
|
end
|
||||||
|
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "cgi"
|
||||||
|
spec.version = CGI::VERSION
|
||||||
|
spec.authors = ["Yukihiro Matsumoto"]
|
||||||
|
spec.email = ["matz@ruby-lang.org"]
|
||||||
|
|
||||||
|
spec.summary = %q{Support for the Common Gateway Interface protocol.}
|
||||||
|
spec.description = %q{Support for the Common Gateway Interface protocol.}
|
||||||
|
spec.homepage = "https://github.com/ruby/cgi"
|
||||||
|
spec.license = "BSD-2-Clause"
|
||||||
|
|
||||||
|
spec.metadata["homepage_uri"] = spec.homepage
|
||||||
|
spec.metadata["source_code_uri"] = spec.homepage
|
||||||
|
|
||||||
|
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/cgi/version.rb
Normal file
3
lib/cgi/version.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
class CGI
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
end
|
|
@ -41,6 +41,7 @@
|
||||||
# * https://github.com/ruby/benchmark
|
# * https://github.com/ruby/benchmark
|
||||||
# * https://github.com/ruby/net-pop
|
# * https://github.com/ruby/net-pop
|
||||||
# * https://github.com/ruby/net-smtp
|
# * https://github.com/ruby/net-smtp
|
||||||
|
# * https://github.com/ruby/cgi
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
@ -89,6 +90,7 @@ $repositories = {
|
||||||
benchmark: "ruby/benchmark",
|
benchmark: "ruby/benchmark",
|
||||||
netpop: "ruby/net-pop",
|
netpop: "ruby/net-pop",
|
||||||
netsmtp: "ruby/net-smtp",
|
netsmtp: "ruby/net-smtp",
|
||||||
|
cgi: "ruby/cgi",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
|
@ -226,6 +228,13 @@ def sync_default_gems(gem)
|
||||||
rm_rf("test/racc/lib")
|
rm_rf("test/racc/lib")
|
||||||
rm_rf("lib/racc/cparse-jruby.jar")
|
rm_rf("lib/racc/cparse-jruby.jar")
|
||||||
`git checkout ext/racc/cparse/README ext/racc/cparse/depend`
|
`git checkout ext/racc/cparse/README ext/racc/cparse/depend`
|
||||||
|
when "cgi"
|
||||||
|
rm_rf(%w[lib/cgi.rb lib/cgi ext/cgi test/cgi])
|
||||||
|
cp_r("#{upstream}/ext/cgi", "ext")
|
||||||
|
cp_r("#{upstream}/lib", ".")
|
||||||
|
cp_r("#{upstream}/test/cgi", "test")
|
||||||
|
cp_r("#{upstream}/cgi.gemspec", "lib/cgi")
|
||||||
|
`git checkout ext/cgi/escape/depend`
|
||||||
when "netpop"
|
when "netpop"
|
||||||
sync_lib "net-pop"
|
sync_lib "net-pop"
|
||||||
mv "lib/net-pop.gemspec", "lib/net/pop"
|
mv "lib/net-pop.gemspec", "lib/net/pop"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue