1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
glass b906f78855 Fix exception type in option type checker
* lib/shell/system-command.rb (SystemCommand#initialize):
  `def_e2message` wraps error message, but does not define new exception

* test/shell/test_command_processor.rb: add a test

This patch is authored by Kenichi Kamiya <kachick1@gmail.com>
close #1657

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-22 10:56:49 +00:00
..
cgi cgi/util.rb: Don't escape tilde in #escape 2017-05-17 12:34:59 +00:00
drb Use \A and \z to match whole string 2017-04-07 13:26:12 +00:00
forwardable
irb Don't pollute toplevel by an IRB internal method 2017-06-15 10:43:17 +00:00
matrix get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
net lib/net/protocol.rb: account read_bytes before caller sees it 2017-05-22 07:36:00 +00:00
optparse
racc
rdoc Fix typo. 2017-06-09 01:31:36 +00:00
rexml rexml: add close tag check on end of document to StreamParser 2017-06-07 13:01:28 +00:00
rinda rinda/ring.rb (make_socket): do not keep socket on failures 2017-01-17 03:31:57 +00:00
rss rss: Accept empty text element as valid element 2017-05-03 12:25:17 +00:00
rubygems fix tempfile leaks on Windows 2017-05-16 05:47:53 +00:00
shell Fix exception type in option type checker 2017-06-22 10:56:49 +00:00
unicode_normalize add explanations about status of module UnicodeNormalize 2017-05-09 10:45:46 +00:00
uri * lib/uri/common.rb: [DOC] add rdoc to describe 2017-05-26 06:42:11 +00:00
webrick Make string literal to frozen object on gemspec of defulte gems. 2017-06-19 13:03:06 +00:00
yaml
abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
base64.rb Use unpack1 instead of unpack and first 2017-02-10 00:58:47 +00:00
benchmark.rb lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
cgi.rb {lib,test}/cgi: Specify frozen_string_literal: true. 2017-02-18 05:52:16 +00:00
cmath.gemspec Make string literal to frozen object on gemspec of defulte gems. 2017-06-19 13:03:06 +00:00
cmath.rb lib/cmath.rb: Specify frozen_string_literal: true. 2017-01-04 05:47:52 +00:00
csv.gemspec Make string literal to frozen object on gemspec of defulte gems. 2017-06-19 13:03:06 +00:00
csv.rb Remove redundant square brackets 2017-05-21 01:01:10 +00:00
debug.rb lib/debug.rb: Specify frozen_string_literal: true. 2017-01-05 01:00:01 +00:00
delegate.rb lib/delegate.rb: Specify frozen_string_literal: true. 2017-01-06 02:05:35 +00:00
drb.rb
e2mmap.rb lib/e2mmap.rb: Specify frozen_string_literal: true. 2017-03-01 11:37:30 +00:00
English.rb lib/English.rb: Specify frozen_string_literal: true. 2017-01-02 12:20:09 +00:00
erb.rb suppress warning: ambiguous first argument; put parentheses or a space even after `-' operator 2017-05-28 16:41:31 +00:00
fileutils.gemspec Make string literal to frozen object on gemspec of defulte gems. 2017-06-19 13:03:06 +00:00
fileutils.rb docs for FileUtils.ln methods 2017-03-08 20:41:38 +00:00
find.rb lib/find.rb: Specify frozen_string_literal: true. 2017-02-13 12:16:26 +00:00
forwardable.rb forwardable.rb: fix branches 2017-01-03 09:47:16 +00:00
getoptlong.rb lib/getoptlong.rb: Specify frozen_string_literal: true. 2017-01-08 04:17:08 +00:00
ipaddr.rb
irb.rb Removed math mode from irb. 2017-04-20 09:11:36 +00:00
logger.rb logger: remove redundant opt_str_freeze use 2017-03-24 07:29:33 +00:00
matrix.rb * lib/matrix.rb: Add Vector.zero and Vector#zero? 2017-03-14 20:09:30 +00:00
mkmf.rb mkmf.rb: get rid of error messages 2017-02-27 07:37:55 +00:00
monitor.rb
mutex_m.rb
observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
open-uri.rb
open3.rb
optionparser.rb
optparse.rb nodoc OptParse 2017-03-04 19:52:30 +00:00
ostruct.rb ostruct.rb: improve fix for OpenStruct.allocate + #respond_to? 2017-04-01 10:30:48 +00:00
pp.rb Refactored using Method#owner. 2017-04-04 12:54:42 +00:00
prettyprint.rb
prime.rb prime.rb: remove alias after timeout test 2017-05-20 10:21:44 +00:00
profile.rb lib/profile.rb: Specify frozen_string_literal: true. 2017-01-15 02:56:04 +00:00
profiler.rb lib/profiler.rb: Specify frozen_string_literal: true. 2017-01-18 12:35:10 +00:00
pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
rdoc.rb Update rdoc-5.1.0 2017-02-24 07:39:37 +00:00
resolv-replace.rb
resolv.rb resolv.rb: byte buffer 2017-01-14 02:26:49 +00:00
rss.rb
rubygems.rb Merge rubygems-2.6.12 from rubygems/rubygems. 2017-05-01 11:40:46 +00:00
scanf.gemspec Make string literal to frozen object on gemspec of defulte gems. 2017-06-19 13:03:06 +00:00
scanf.rb
securerandom.rb securerandom: fix up r57384 2017-02-24 11:33:06 +00:00
set.rb
shell.rb
shellwords.rb
singleton.rb
sync.rb
tempfile.rb tempfile.rb: do not call File.identical? on closed stream 2017-05-19 09:36:34 +00:00
thwait.rb
time.rb
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
ubygems.rb
un.rb
uri.rb
weakref.rb [DOC] Use Integer instead of Fixnum [ci skip] 2017-01-26 15:14:02 +00:00
webrick.rb
yaml.rb