Граф коммитов

143 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA e7cc791838 [ruby/cgi] Bump up 0.4.1
https://github.com/ruby/cgi/commit/929e6264b5
2023-12-05 06:38:55 +00:00
Hiroshi SHIBATA 123b2e2fb4 [ruby/cgi] Bump up 0.4.0
https://github.com/ruby/cgi/commit/6ddd5fc7d7
2023-11-07 08:29:31 +00:00
Hiroshi SHIBATA b335d899ff [ruby/cgi] Bump up 0.3.6
https://github.com/ruby/cgi/commit/827b7d43cc
2022-11-28 04:40:26 +00:00
Hiroshi SHIBATA 98074a57ca [ruby/cgi] Prepare to release 0.3.6
https://github.com/ruby/cgi/commit/710a647855
2022-11-28 03:34:42 +00:00
Hiroshi SHIBATA 805d70f716 [ruby/cgi] Bump up 0.3.5
https://github.com/ruby/cgi/commit/daf88c2a75
2022-11-22 02:12:50 +00:00
Hiroshi SHIBATA 3f960cf445 [ruby/cgi] Bump up 0.3.4
https://github.com/ruby/cgi/commit/3649a27bf4
2022-11-22 02:00:11 +00:00
Hiroshi SHIBATA 928aeef330 [ruby/cgi] Bump up 0.3.3
https://github.com/ruby/cgi/commit/c1ffa3a428
2022-09-22 17:29:55 +09:00
Kazuhiro NISHIYAMA d06f787e9f
Fix broken links of rdoc
- `www.ruby-lang.org` links to `./www.ruby-lang.org`
- `cgi['field_name']` links to `./'field_name'`
2022-03-17 10:11:38 +09:00
Hiroshi SHIBATA 7f7db124ee [ruby/cgi] Bump up v0.3.2
https://github.com/ruby/cgi/commit/734dfdf1b4
2022-03-03 17:55:45 +09:00
Yusuke Endoh 5445d33be2 [ruby/cgi] Bump version
https://github.com/ruby/cgi/commit/c9c800715e
2021-11-24 19:59:00 +09:00
Hiroshi SHIBATA 6f67a78ad6
[ruby/cgi] Bump up cgi version to 0.3.0
https://github.com/ruby/cgi/commit/95324433b4
2021-10-14 20:09:41 +09:00
Hiroshi SHIBATA 9b9cbbbc17
Update library versions of the default gems.
They are followed up with
  8fb02b7a97
2020-12-22 21:45:28 +09:00
Nobuyoshi Nakada b2d96abb42 Extract version number from the source
"requiring version.rb" strategy has some issues.

- cannot work when cross-compiling
- often introduces wrong namespace
- must know the superclasses
- costs at each runtime than at build-time

etc.
2020-07-30 19:03:18 +09:00
Semyon Pupkov 4173258fd0
change call CGI methods from :: to .
Closes: https://github.com/ruby/ruby/pull/1749
2019-08-04 09:19:30 +09:00
kazu fbd5cda6aa {lib,test}/cgi: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-18 05:52:16 +00:00
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
hsbt 53e4e7fc3d * lib/cgi.rb: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-14 02:51:34 +00:00
hsbt b618b8685c * lib/cgi.rb: remove needless condition for old ruby version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 06:14:29 +00:00
zzak c366a99cc5 * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
Patch by Dave Worth https://github.com/ruby/ruby/pull/341
* lib/webrick.rb: ditto
* lib/scanf.rb: ditto
* lib/xmlrpc/config.rb: ditto
* lib/resolv.rb: ditto
* lib/e2mmap.rb: ditto
* lib/fileutils.rb: ditto
* lib/mkmf.rb: ditto
* lib/cgi/session.rb: ditto
* lib/yaml.rb: ditto
* lib/erb.rb: ditto
* lib/irb.rb: ditto
* lib/tracer.rb: ditto
* lib/net/http.rb: ditto
* ext/syslog/lib/syslog/logger.rb: ditto
* sample/pty/expect_sample.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-18 13:50:32 +00:00
xibbar c394688567 * lib/cgi.rb: Add a document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-30 06:58:15 +00:00
zzak 90d43225eb * lib/cgi.rb: CGI example for HTML generation
Patch by Marcus Stollsteimer [ruby-core:50303] [Bug #7465]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 05:06:45 +00:00
xibbar 6837f3dc54 Sun Nov 4 20:41:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi.rb, lib/cgi/*/rb: rename CGI#header to
    CGI#http_header,
    add  and update HTML5 tag generater.  [Bug #7110]
    Patch provided by Marcus Stollsteimer, thank you !

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-04 11:48:05 +00:00
drbrain e60f744e9a * lib/cgi.rb: Add toplevel documentation to class CGI
* lib/cgi/session.rb: Add overview documentation to CGI::Cookie
	* lib/cgi/html.rb:  Don't add CGI::TagMaker documentation to CGI.
	  Patch by David Copeland.  [Ruby 1.9 - Bug #4704]
	* lib/cgi/core.rb:  Clean up CGI documentation.  Patch by David
	  Copeland.  [Ruby 1.9 - Bug #4704]
	* lib/cgi/cookie.rb:  Clean up CGI::Cookie documentation.  Patch by
	  David Copeland.  [Ruby 1.9 - Bug #4704]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:21:35 +00:00
mame 266ee3bc7a * lib/cgi.rb: set autoload to CGI::HtmlExtension. [ruby-dev:40194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 15:19:52 +00:00
nobu 287a34ae0d * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
xibbar 0bbda39758 * lib/cgi*: split cgi.rb into four files. [ruby-dev:36041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-09 13:09:56 +00:00
xibbar d166d0be91 * lib/cgi.rb : obsolete regex "n" option. [ruby-dev:36130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-08 13:27:17 +00:00
matz d945524057 * lib/cgi.rb (CGI#initialize): remove unused constants. a patch
from Takeyuki Fujioka in [ruby-dev:36046].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 16:38:25 +00:00
naruse 382b4af605 revert removed comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-27 05:02:32 +00:00
naruse 19b25eb670 * lib/cgi.rb (CGI::Cookie): remove delagate.
* test/cgi/test_cgi_cookie.rb: added for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-27 01:38:23 +00:00
naruse ae86df99f7 * lib/cgi.rb (nOE_element_def): fix error when cascade methods which
don't have arguments. Patch by Takeyuki Fujioka. [ruby-dev:35964]

* lib/cgi.rb (blockquote): String#collect (this depends on
  String#each) is no longer exists.
  Patch by Takeyuki Fujioka. [ruby-dev:35946]

* lib/cgi.rb (blockquote): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-26 02:42:27 +00:00
naruse 55742dce2d * lib/cgi.rb (CGI::unescapeHTML): consider ISO-8859-1.
[ruby-dev:35936]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-24 02:27:47 +00:00
naruse 29449d70be * lib/cgi.rb (CGI::unescapeHTML): more encoding sensible unescaping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-23 21:40:59 +00:00
naruse 9c24ab3d9d * lib/cgi.rb (CGI#out): remove auto encoding conversion and set
LANGUAGE. [ruby-dev:35922]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-23 14:29:00 +00:00
usa 760ee4ec04 * lib/cgi.rb: use bytesize instead of size/length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-22 06:48:22 +00:00
nobu fd77e489f2 * lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
double quotes are allowed.  [ruby-list:45140]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 16:07:19 +00:00
matz 8ead071828 * lib/cgi.rb (CGI::Cookie::initialize): performance patch from
Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 08:08:51 +00:00
kazu adc639bb26 * lib/cgi.rb (CGI::escapeHTML): use gsub with Hash. [ruby-dev:33828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-17 14:08:27 +00:00
matz 50f6e01b44 * lib/cgi.rb (CGI::QueryExtension::[]): no more transition
extend(CGI::Value).  a patch from <tommy AT tmtm.org> in
  [ruby-dev:33583].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-04 00:02:53 +00:00
akr 78fd550840 * lib/cgi.rb (CGI::escape): m17nized.
(CGI::unescape): ditto.
  (CGI::escapeHTML): ditto.
  (CGI::unescapeHTML): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:59:34 +00:00
matz 0f0f79d34b * lib/rdoc/options.rb (Options::parse): do not access $KCODE any
longer.  [ruby-core:14079]

* lib/irb/init.rb (IRB::IRB.parse_opts): ditto.

* lib/cgi.rb (CGI::CGI): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14 17:05:15 +00:00
nobu 78cc1c45ee * lib/cgi.rb (read_multipart): exclude blanks from header values.
[ruby-list:44327]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 03:39:04 +00:00
matz f7575739f9 * lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
[ruby-dev:30740], Thanks Kentaro KAWAMOTO.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-23 01:45:37 +00:00
knu 9d5c0ea4a3 * lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
assumption any more; submitted by MIYASAKA Masaru <alkaid AT
  coral.ocn.ne.jp> in [ruby-dev:30537].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-12 17:48:10 +00:00
knu 8b11e9e778 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse
a quoted-string in a Content-Disposition value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10 22:46:08 +00:00
matz d592db9308 * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single
unescaped ampersand.  a patch from Tietew
  <tietew+ruby-dev at tietew.net> in [ruby-dev:30292].
  fixed: [ruby-dev:30289]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-08 07:19:54 +00:00
knu 48e30fa965 * lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug
print.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-03 17:24:13 +00:00
matz cd8e10d609 * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===.  [ruby-dev:30176]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23 09:27:57 +00:00
matz 703532aa1c * lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
[ruby-core:09781]


* object.c (rb_Array): returns 1-element array if the argument
  does not have to_ary nor to_a.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-28 06:34:02 +00:00
matz 3d519d2d60 * lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may
not be string.  [ruby-core:09750]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-21 16:36:31 +00:00