Project

General

Profile

Bug #269

OptionParser#environment requires shellwords

Added by sheepman (Takashi Tamura) about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
[ruby-dev:35466]

Description

=begin
OptionParser#environment が shellwords ライブラリの Shellwords.shellwords を
使っていますが、optparse.rb 自体は shellwords を require していません。
ので OptionParser#environment を使うと常に例外が発生します。

$ cat t.rb
require 'optparse'
ENV["A"] = '-a -b'
p OptionParser.new.environment("A")

$ ruby-1.8 -v t.rb
ruby 1.8.7 (2008-07-01 revision 17756) [i686-linux]
/usr/local/lib/ruby/1.8/optparse.rb:1479:in `environment': uninitialized constant OptionParser::Shellwords (NameError)
from t.rb:3
=end

Associated revisions

Revision c25aa9f5
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 40014
Added by hsbt (Hiroshi SHIBATA) over 6 years ago

Document the default Net timeout values by toolmantim (Tim Lucas) [GH fixes #269]

  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

Revision 3ed62b8e
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 40014: [Backport #8199]

    Document the default Net timeout values by @toolmantim [GH fixes #269]
  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 95d36502
Added by usa (Usaku NAKAMURA) over 6 years ago

merge revision(s) 40014: [Backport #8198]

    Document the default Net timeout values by @toolmantim [GH fixes #269]
  • lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1

Updated by shyouhei (Shyouhei Urabe) about 11 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

=begin
Assigning to nobu; optparse.
=end

#2

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r18058.
=end

Also available in: Atom PDF