rb2exe 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +22 -0
- data/README.md +18 -22
- data/bin/build +24 -0
- data/bin/decompress +17 -0
- data/bin/installer +19 -0
- data/bin/rb2exe +3 -0
- data/bin/rb2exe.rb +49 -0
- data/bin/traveling-ruby-2.2.2/bin.real/bundle +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/bundler +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/gem +25 -0
- data/bin/traveling-ruby-2.2.2/bin.real/irb +11 -0
- data/bin/traveling-ruby-2.2.2/bin.real/nokogiri +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/posix-spawn-benchmark +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/puma +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/pumactl +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/rackup +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/rake +33 -0
- data/bin/traveling-ruby-2.2.2/bin.real/redcarpet +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/redcloth +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/ruby +0 -0
- data/bin/traveling-ruby-2.2.2/bin.real/thin +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/unicorn +23 -0
- data/bin/traveling-ruby-2.2.2/bin.real/unicorn_rails +23 -0
- data/bin/traveling-ruby-2.2.2/bin/gem +6 -0
- data/bin/traveling-ruby-2.2.2/bin/irb +6 -0
- data/bin/traveling-ruby-2.2.2/bin/rake +6 -0
- data/bin/traveling-ruby-2.2.2/bin/ruby +6 -0
- data/bin/traveling-ruby-2.2.2/bin/ruby_environment +33 -0
- data/bin/traveling-ruby-2.2.2/info/GEM_EXTENSION_API_VERSION +1 -0
- data/bin/traveling-ruby-2.2.2/info/GEM_PLATFORM +1 -0
- data/bin/traveling-ruby-2.2.2/info/RUBY_ARCH +1 -0
- data/bin/traveling-ruby-2.2.2/info/RUBY_COMPAT_VERSION +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ca-bundle.crt +13885 -0
- data/bin/traveling-ruby-2.2.2/lib/libffi.so.6 +0 -0
- data/bin/traveling-ruby-2.2.2/lib/libreadline.so.5 +0 -0
- data/bin/traveling-ruby-2.2.2/lib/libtermcap.so.2 +0 -0
- data/bin/traveling-ruby-2.2.2/lib/libz.so.1 +0 -0
- data/bin/traveling-ruby-2.2.2/lib/restore_environment.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/English.rb +185 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/abbrev.rb +131 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/base64.rb +91 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb +557 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/bigdecimal/jacobian.rb +87 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/bigdecimal/ludcmp.rb +88 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/bigdecimal/math.rb +231 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/bigdecimal/newton.rb +79 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/bigdecimal/util.rb +127 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi.rb +295 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/cookie.rb +170 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/core.rb +880 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/html.rb +1034 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/session.rb +531 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/session/pstore.rb +100 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cgi/util.rb +194 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/cmath.rb +400 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/csv.rb +2341 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/date.rb +60 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/debug.rb +1087 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/delegate.rb +417 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/digest.rb +108 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/digest/sha2.rb +107 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb.rb +2 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/acl.rb +232 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/drb.rb +1864 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/eq.rb +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/extserv.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/extservm.rb +93 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/gw.rb +160 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/invokemethod.rb +34 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/observer.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/ssl.rb +345 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/timeridconv.rb +101 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/drb/unix.rb +117 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/e2mmap.rb +172 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/erb.rb +1022 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/expect.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle.rb +55 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/closure.rb +48 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/cparser.rb +176 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/function.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/import.rb +314 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/pack.rb +128 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/struct.rb +243 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/types.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fiddle/value.rb +112 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/fileutils.rb +1761 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/find.rb +88 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/forwardable.rb +289 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/getoptlong.rb +612 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/bigdecimal.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/continuation.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/date_core.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest/bubblebabble.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest/md5.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest/rmd160.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest/sha1.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/digest/sha2.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/big5.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/cp949.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/emacs_mule.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/encdb.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/euc_jp.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/euc_kr.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/euc_tw.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/gb18030.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/gb2312.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/gbk.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_1.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_10.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_11.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_13.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_14.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_15.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_16.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_2.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_3.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_4.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_5.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_6.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_7.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_8.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/iso_8859_9.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/koi8_r.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/koi8_u.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/shift_jis.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/big5.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/chinese.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/emoji.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/emoji_iso2022_kddi.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/emoji_sjis_docomo.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/emoji_sjis_kddi.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/emoji_sjis_softbank.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/escape.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/gb18030.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/gbk.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/iso2022.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/japanese.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/japanese_euc.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/japanese_sjis.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/korean.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/single_byte.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/transdb.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/utf8_mac.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/trans/utf_16_32.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/utf_16be.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/utf_16le.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/utf_32be.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/utf_32le.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/windows_1251.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/enc/windows_31j.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/etc.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/fcntl.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/fiber.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/fiddle.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/io/console.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/io/nonblock.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/io/wait.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/json/ext/generator.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/json/ext/parser.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/mathn/complex.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/mathn/rational.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/nkf.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/objspace.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/openssl.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/pathname.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/psych.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/pty.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/racc/cparse.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/rbconfig.rb +279 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/rbconfig/sizeof.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/readline.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/ripper.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/socket.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/stringio.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/strscan.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/syslog.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/thread.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/i686-linux/zlib.so +0 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/io/console/size.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ipaddr.rb +658 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb.rb +703 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/chws.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/fork.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/help.rb +41 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/load.rb +66 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/nop.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/pushws.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/cmd/subirb.rb +42 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/completion.rb +227 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/context.rb +419 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/change-ws.rb +45 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/history.rb +118 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/loader.rb +128 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/math-mode.rb +47 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/multi-irb.rb +265 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/save-history.rb +103 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/tracer.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/use-loader.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ext/workspaces.rb +66 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/extend-command.rb +308 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/frame.rb +80 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/help.rb +36 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/init.rb +304 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/input-method.rb +191 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/inspector.rb +131 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/lc/error.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/lc/help-message +50 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/lc/ja/encoding_aliases.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/lc/ja/error.rb +30 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/lc/ja/help-message +53 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/locale.rb +181 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/magic-file.rb +37 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/notifier.rb +231 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/output-method.rb +91 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb +1170 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-token.rb +266 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/slex.rb +281 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/src_encoding.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/version.rb +15 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/workspace.rb +114 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/ws-for-case-2.rb +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/irb/xmp.rb +169 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json.rb +62 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/bigdecimal.rb +28 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/complex.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/core.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/date.rb +34 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/date_time.rb +50 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/exception.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/ostruct.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/range.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/rational.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/regexp.rb +30 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/struct.rb +30 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/symbol.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/add/time.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/common.rb +484 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/ext.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/generic_object.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/json/version.rb +8 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/kconv.rb +282 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/logger.rb +737 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/mathn.rb +191 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/matrix.rb +2161 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/matrix/eigenvalue_decomposition.rb +882 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/matrix/lup_decomposition.rb +218 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/mkmf.rb +2677 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/monitor.rb +300 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/mutex_m.rb +111 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/ftp.rb +1126 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http.rb +1559 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/backward.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/exceptions.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/generic_request.rb +332 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/header.rb +452 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/proxy_delta.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/request.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/requests.rb +122 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/response.rb +414 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/http/responses.rb +273 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/https.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/imap.rb +3616 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/pop.rb +1021 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/protocol.rb +420 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/smtp.rb +1073 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/net/telnet.rb +763 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/observer.rb +203 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/open-uri.rb +801 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/open3.rb +663 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/bn.rb +45 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/buffering.rb +457 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/cipher.rb +65 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/config.rb +472 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/digest.rb +88 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/ssl.rb +308 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/openssl/x509.rb +182 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optionparser.rb +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse.rb +1997 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/ac.rb +50 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/date.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/shellwords.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/time.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/uri.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/optparse/version.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ostruct.rb +286 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/pathname.rb +579 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/pp.rb +546 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/prettyprint.rb +554 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/prime.rb +487 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/profile.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/profiler.rb +148 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/pstore.rb +484 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych.rb +498 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/class_loader.rb +101 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/coder.rb +94 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/core_ext.rb +35 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/deprecated.rb +85 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/exception.rb +13 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/handler.rb +249 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/handlers/document_stream.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/handlers/recorder.rb +39 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/json/ruby_events.rb +19 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/json/stream.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/json/tree_builder.rb +12 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/json/yaml_events.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes.rb +77 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/alias.rb +18 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/document.rb +60 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/mapping.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/node.rb +55 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/scalar.rb +67 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/sequence.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/nodes/stream.rb +37 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/omap.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/parser.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/scalar_scanner.rb +149 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/set.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/stream.rb +37 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/streaming.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/syntax_error.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/tree_builder.rb +96 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/depth_first.rb +26 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/emitter.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/json_tree.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/to_ruby.rb +389 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/visitor.rb +19 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/visitors/yaml_tree.rb +565 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/psych/y.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/racc/parser.rb +622 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake.rb +79 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/alt_system.rb +110 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb +790 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/backtrace.rb +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/clean.rb +76 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/cloneable.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/compositepublisher.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/ftptools.rb +137 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/publisher.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/rubyforgepublisher.rb +18 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/sshpublisher.rb +61 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/contrib/sys.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/cpu_counter.rb +125 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/default_loader.rb +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/dsl_definition.rb +201 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/early_time.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ext/core.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ext/module.rb +2 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ext/pathname.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ext/string.rb +173 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ext/time.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/file_creation_task.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/file_list.rb +428 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/file_task.rb +46 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/file_utils.rb +128 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/file_utils_ext.rb +144 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/gempackagetask.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/invocation_chain.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/invocation_exception_mixin.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/late_time.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/linked_list.rb +103 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/loaders/makefile.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/multi_task.rb +13 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/name_space.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/packagetask.rb +199 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/pathmap.rb +3 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/phony.rb +15 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/private_reader.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/promise.rb +99 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/pseudo_status.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/rake_module.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/rake_test_loader.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/rdoctask.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/ruby182_test_unit_fix.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/rule_recursion_overflow_error.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/runtest.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/scope.rb +42 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb +383 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/task_argument_error.rb +7 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/task_arguments.rb +98 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/task_manager.rb +310 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/tasklib.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/testtask.rb +212 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/thread_history_display.rb +48 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/thread_pool.rb +164 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/trace_output.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/version.rb +7 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rake/win32.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rbconfig/datadir.rb +13 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc.rb +185 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/alias.rb +111 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/anon_class.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/any_method.rb +316 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/attr.rb +175 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/class_module.rb +799 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/code_object.rb +429 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/code_objects.rb +5 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/comment.rb +229 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/constant.rb +186 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/context.rb +1211 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/context/section.rb +238 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/cross_reference.rb +183 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/encoding.rb +99 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/erb_partial.rb +18 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/erbio.rb +37 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/extend.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/generator.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ghost_method.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/i18n.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/i18n/locale.rb +101 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/i18n/text.rb +125 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/include.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/known_classes.rb +72 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markdown.rb +16133 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markdown/entities.rb +2131 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markdown/literals_1_9.rb +420 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup.rb +869 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/attr_changer.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/attr_span.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/attribute_manager.rb +343 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/attributes.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/blank_line.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/block_quote.rb +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/document.rb +164 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/formatter.rb +264 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/formatter_test_case.rb +767 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/hard_break.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/heading.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/include.rb +42 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/indented_paragraph.rb +47 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/inline.rb +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/list.rb +101 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/list_item.rb +99 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/paragraph.rb +28 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/parser.rb +558 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/pre_process.rb +293 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/raw.rb +69 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/rule.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/special.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/text_formatter_test_case.rb +114 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_ansi.rb +93 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_bs.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_html.rb +398 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_html_crossref.rb +160 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_html_snippet.rb +284 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_joined_paragraph.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_label.rb +74 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_markdown.rb +191 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_rdoc.rb +333 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_table_of_contents.rb +87 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_test.rb +69 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/to_tt_only.rb +120 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/markup/verbatim.rb +83 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/meta_method.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/method_attr.rb +418 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/mixin.rb +120 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/normal_class.rb +92 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/normal_module.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/options.rb +1251 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser.rb +310 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/c.rb +1229 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/changelog.rb +198 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/markdown.rb +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/rd.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/ruby.rb +2160 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/ruby_tools.rb +167 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/simple.rb +61 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/parser/text.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rd.rb +99 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rd/block_parser.rb +1055 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rd/inline.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rd/inline_parser.rb +1207 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rdoc.rb +570 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/require.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri/driver.rb +1497 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri/formatter.rb +5 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri/paths.rb +187 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri/store.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ri/task.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ruby_lex.rb +1377 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/ruby_token.rb +460 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/rubygems_hook.rb +253 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/servlet.rb +441 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/single_class.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/stats.rb +461 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/stats/normal.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/stats/quiet.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/stats/verbose.rb +45 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/store.rb +979 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/task.rb +330 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/test_case.rb +217 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/text.rb +324 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/token_stream.rb +95 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/tom_doc.rb +257 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rdoc/top_level.rb +282 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/resolv-replace.rb +74 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/resolv.rb +2836 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/attlistdecl.rb +62 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/attribute.rb +191 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/cdata.rb +67 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/child.rb +96 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/comment.rb +79 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/doctype.rb +269 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/document.rb +290 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/dtd/attlistdecl.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/dtd/dtd.rb +46 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/dtd/elementdecl.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/dtd/entitydecl.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/dtd/notationdecl.rb +39 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/element.rb +1240 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/encoding.rb +50 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/entity.rb +173 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/formatters/default.rb +111 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/formatters/pretty.rb +141 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/formatters/transitive.rb +57 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/functions.rb +394 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/instruction.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/light/node.rb +195 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/namespace.rb +47 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/node.rb +75 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/output.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parent.rb +165 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parseexception.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/baseparser.rb +532 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/lightparser.rb +58 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/pullparser.rb +196 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/sax2parser.rb +272 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/streamparser.rb +52 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/treeparser.rb +100 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/ultralightparser.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/parsers/xpathparser.rb +656 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/quickpath.rb +265 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/rexml.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/sax2listener.rb +97 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/security.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/source.rb +296 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/streamlistener.rb +92 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/syncenumerator.rb +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/text.rb +425 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/undefinednamespaceexception.rb +8 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/validation/relaxng.rb +538 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/validation/validation.rb +143 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/validation/validationexception.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/xmldecl.rb +115 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/xmltokens.rb +84 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/xpath.rb +80 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rexml/xpath_parser.rb +703 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rinda/rinda.rb +327 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rinda/ring.rb +480 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rinda/tuplespace.rb +642 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ripper.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ripper/core.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ripper/filter.rb +77 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ripper/lexer.rb +186 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ripper/sexp.rb +118 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss.rb +91 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/0.9.rb +461 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/1.0.rb +484 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/2.0.rb +142 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/atom.rb +839 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/content.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/content/1.0.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/content/2.0.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/converter.rb +170 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/dublincore.rb +163 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/dublincore/1.0.rb +12 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/dublincore/2.0.rb +12 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/dublincore/atom.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/image.rb +197 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/itunes.rb +412 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/0.9.rb +508 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/1.0.rb +435 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/2.0.rb +223 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/atom.rb +172 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/base.rb +944 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/content.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/dublincore.rb +121 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/entry.rb +163 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/feed.rb +426 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/image.rb +111 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/itunes.rb +242 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/slash.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/syndication.rb +18 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/taxonomy.rb +118 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/maker/trackback.rb +61 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/parser.rb +570 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/rexmlparser.rb +49 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/rss.rb +1352 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/slash.rb +51 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/syndication.rb +68 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/taxonomy.rb +147 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/trackback.rb +290 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/utils.rb +199 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/xml-stylesheet.rb +105 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/xml.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/xmlparser.rb +94 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rss/xmlscanner.rb +121 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems.rb +1245 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/available_set.rb +164 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/basic_specification.rb +290 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/command.rb +582 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/command_manager.rb +218 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/build_command.rb +60 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/cert_command.rb +276 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/check_command.rb +93 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/cleanup_command.rb +165 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/contents_command.rb +190 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/dependency_command.rb +207 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/environment_command.rb +158 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/fetch_command.rb +77 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/generate_index_command.rb +84 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/help_command.rb +384 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/install_command.rb +347 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/list_command.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/lock_command.rb +110 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/mirror_command.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/open_command.rb +74 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/outdated_command.rb +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/owner_command.rb +99 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/pristine_command.rb +165 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/push_command.rb +98 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/query_command.rb +343 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/rdoc_command.rb +96 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/search_command.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/server_command.rb +86 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/setup_command.rb +483 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/sources_command.rb +210 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/specification_command.rb +145 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/stale_command.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/uninstall_command.rb +164 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/unpack_command.rb +182 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/update_command.rb +277 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/which_command.rb +90 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/commands/yank_command.rb +107 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/compatibility.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/config_file.rb +483 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb +139 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/defaults.rb +177 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb +334 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/dependency_installer.rb +480 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/dependency_list.rb +240 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/deprecate.rb +70 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/doctor.rb +131 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/errors.rb +137 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/exceptions.rb +270 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext.rb +18 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/build_error.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/builder.rb +218 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/cmake_builder.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/ext_conf_builder.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ext/rake_builder.rb +36 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/gem_runner.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/gemcutter_utilities.rb +154 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/indexer.rb +498 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/install_default_message.rb +12 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/install_message.rb +12 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/install_update_options.rb +186 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/installer.rb +819 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/installer_test_case.rb +193 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/local_remote_options.rb +148 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/mock_gem_ui.rb +88 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/name_tuple.rb +123 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package.rb +613 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/digest_io.rb +64 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/file_source.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/io_source.rb +45 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/old.rb +178 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/source.rb +3 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/tar_header.rb +229 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/tar_reader.rb +123 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/tar_reader/entry.rb +147 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/tar_test_case.rb +137 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package/tar_writer.rb +326 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/package_task.rb +128 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/path_support.rb +87 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/platform.rb +204 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/psych_additions.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/psych_tree.rb +31 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/rdoc.rb +335 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/remote_fetcher.rb +398 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request.rb +244 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request/connection_pools.rb +83 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request/http_pool.rb +47 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request/https_pool.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request_set.rb +413 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request_set/gem_dependency_api.rb +801 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/request_set/lockfile.rb +650 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/requirement.rb +273 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver.rb +485 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/activation_request.rb +172 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/api_set.rb +125 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/api_specification.rb +85 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/best_set.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/composed_set.rb +66 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/conflict.rb +160 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/current_set.rb +13 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/dependency_request.rb +116 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/git_set.rb +122 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/git_specification.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/index_set.rb +80 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/index_specification.rb +69 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/installed_specification.rb +58 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/installer_set.rb +224 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/local_specification.rb +41 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/lock_set.rb +84 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/lock_specification.rb +84 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/requirement_list.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/set.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/spec_specification.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/specification.rb +110 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/stats.rb +44 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/vendor_set.rb +87 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/resolver/vendor_specification.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/security.rb +595 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/security/policies.rb +115 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/security/policy.rb +295 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/security/signer.rb +154 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/security/trust_dir.rb +118 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/server.rb +868 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source.rb +234 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/git.rb +240 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/installed.rb +40 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/local.rb +129 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/lock.rb +48 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/specific_file.rb +72 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source/vendor.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source_list.rb +149 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source_local.rb +5 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/source_specific_file.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/spec_fetcher.rb +269 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/specification.rb +2800 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/AddTrustExternalCARoot.pem +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +28 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/ssl_certs/GeoTrustGlobalCA.pem +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/stub_specification.rb +196 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/syck_hack.rb +76 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/test_case.rb +1430 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/test_utilities.rb +383 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/text.rb +75 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/uninstaller.rb +345 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/uri_formatter.rb +49 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/user_interaction.rb +711 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/util.rb +134 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/util/list.rb +48 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/util/stringio.rb +34 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/validator.rb +165 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/version.rb +356 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/rubygems/version_option.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/scanf.rb +776 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/securerandom.rb +293 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/set.rb +787 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell.rb +458 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/builtin-command.rb +146 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/command-processor.rb +667 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/error.rb +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/filter.rb +137 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/process-controller.rb +310 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/system-command.rb +158 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shell/version.rb +15 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/shellwords.rb +215 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/singleton.rb +172 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/socket.rb +871 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/sync.rb +328 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/syslog/logger.rb +208 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/tempfile.rb +367 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/thwait.rb +140 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/time.rb +676 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/timeout.rb +130 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/tmpdir.rb +139 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/tracer.rb +286 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/tsort.rb +450 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/ubygems.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/un.rb +375 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/unicode_normalize.rb +78 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/unicode_normalize/normalize.rb +168 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/unicode_normalize/tables.rb +1163 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri.rb +111 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/common.rb +720 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/ftp.rb +266 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/generic.rb +1557 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/http.rb +106 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/https.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/ldap.rb +260 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/ldaps.rb +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/mailto.rb +286 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/rfc2396_parser.rb +543 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/uri/rfc3986_parser.rb +124 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/weakref.rb +106 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick.rb +226 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/accesslog.rb +158 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/cgi.rb +308 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb +35 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/config.rb +151 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/cookie.rb +171 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/htmlutils.rb +29 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth.rb +95 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/authenticator.rb +116 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/basicauth.rb +108 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/digestauth.rb +408 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/htdigest.rb +131 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/htgroup.rb +93 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/htpasswd.rb +124 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpauth/userdb.rb +52 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpproxy.rb +337 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httprequest.rb +584 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpresponse.rb +466 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/https.rb +86 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb +278 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet.rb +22 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/abstract.rb +153 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/cgi_runner.rb +46 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/cgihandler.rb +120 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/erbhandler.rb +87 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/filehandler.rb +521 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpservlet/prochandler.rb +46 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpstatus.rb +196 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httputils.rb +509 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/httpversion.rb +75 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/log.rb +155 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb +365 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/ssl.rb +196 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/utils.rb +230 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/version.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc.rb +301 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/base64.rb +62 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/client.rb +614 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/config.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/create.rb +286 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/datetime.rb +129 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/marshal.rb +66 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/parser.rb +870 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/server.rb +707 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/xmlrpc/utils.rb +171 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/yaml.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/yaml/dbm.rb +279 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/yaml/store.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/charlock_holmes-0.7.3.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/eventmachine-1.0.4.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/eventmachine-1.0.6.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/puma-2.11.2.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/rugged-0.21.4.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/build_info/rugged-0.22.0b5.info +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/bin/bundle +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/bin/bundle_ruby +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/bin/bundler +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/bundler.gemspec +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler.rb +446 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/anonymizable_uri.rb +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/capistrano.rb +16 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli.rb +407 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/binstubs.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/cache.rb +35 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/check.rb +35 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/clean.rb +26 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/common.rb +56 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/config.rb +84 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/console.rb +38 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/exec.rb +44 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/gem.rb +195 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/init.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/inject.rb +33 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/install.rb +156 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/open.rb +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/outdated.rb +80 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/package.rb +45 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/platform.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/show.rb +74 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/update.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/cli/viz.rb +27 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/constants.rb +5 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/current_ruby.rb +183 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb +628 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dep_proxy.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dependency.rb +110 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/deployment.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/deprecate.rb +15 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dsl.rb +331 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/endpoint_specification.rb +76 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/env.rb +75 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb +42 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/fetcher.rb +423 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/friendly_errors.rb +85 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_helper.rb +180 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_helpers.rb +26 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_installer.rb +9 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_path_manipulation.rb +8 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_tasks.rb +2 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/graph.rb +169 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/index.rb +197 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/injector.rb +64 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/installer.rb +339 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/lazy_specification.rb +83 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/lockfile_parser.rb +167 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle +119 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-config +217 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-exec +159 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-install +345 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-package +52 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-platform +61 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/bundle-update +213 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/man/gemfile.5 +669 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/match_platform.rb +13 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/psyched_yaml.rb +26 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/remote_specification.rb +57 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/resolver.rb +334 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/retry.rb +60 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ruby_dsl.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ruby_version.rb +117 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/rubygems_ext.rb +170 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/rubygems_integration.rb +619 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb +289 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/settings.rb +208 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/setup.rb +24 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/shared_helpers.rb +149 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/similarity_detector.rb +63 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source.rb +46 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/git.rb +294 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/git/git_proxy.rb +162 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/path.rb +226 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/path/installer.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/rubygems.rb +381 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source_list.rb +101 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb +154 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/.document +1 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/AddTrustExternalCARoot-2048.pem +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/AddTrustExternalCARoot.pem +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +14 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +28 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/GeoTrustGlobalCA.pem +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ssl_certs/certificate_manager.rb +65 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ui.rb +7 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ui/rg_proxy.rb +21 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ui/shell.rb +103 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ui/silent.rb +44 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo.rb +5 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +266 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +69 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +3 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +90 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +63 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +415 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +43 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/net/http/faster.rb +26 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/net/http/persistent.rb +1230 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb +128 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor.rb +484 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions.rb +319 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +103 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +59 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +118 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +135 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +316 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +107 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/base.rb +656 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/command.rb +133 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +98 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/error.rb +32 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/group.rb +281 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +35 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +175 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/parser/option.rb +125 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/parser/options.rb +218 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +71 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/runner.rb +322 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +421 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/shell/color.rb +149 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/shell/html.rb +126 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/util.rb +267 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendored_molinillo.rb +2 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendored_persistent.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vendored_thor.rb +3 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/version.rb +6 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/vlad.rb +11 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/worker.rb +73 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/bundler-1.9.9.gemspec +47 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/bigdecimal-1.2.6.gemspec +20 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/io-console-0.4.3.gemspec +23 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/json-1.8.1.gemspec +7 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/psych-2.0.8.gemspec +25 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/rake-10.4.2.gemspec +7 -0
- data/bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/specifications/default/rdoc-4.2.0.gemspec +7 -0
- data/bin/traveling-ruby-2.2.2/test +1 -0
- data/bin/traveling-ruby-2.2.2/test-rake +1 -0
- data/lib/rb2exe/version.rb +1 -1
- data/rb2exe.gemspec +0 -1
- metadata +1003 -16
- data/.gitignore +0 -9
@@ -0,0 +1,420 @@
|
|
1
|
+
#
|
2
|
+
# = net/protocol.rb
|
3
|
+
#
|
4
|
+
#--
|
5
|
+
# Copyright (c) 1999-2004 Yukihiro Matsumoto
|
6
|
+
# Copyright (c) 1999-2004 Minero Aoki
|
7
|
+
#
|
8
|
+
# written and maintained by Minero Aoki <aamine@loveruby.net>
|
9
|
+
#
|
10
|
+
# This program is free software. You can re-distribute and/or
|
11
|
+
# modify this program under the same terms as Ruby itself,
|
12
|
+
# Ruby Distribute License or GNU General Public License.
|
13
|
+
#
|
14
|
+
# $Id: protocol.rb 46060 2014-05-23 12:36:30Z nobu $
|
15
|
+
#++
|
16
|
+
#
|
17
|
+
# WARNING: This file is going to remove.
|
18
|
+
# Do not rely on the implementation written in this file.
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'socket'
|
22
|
+
require 'timeout'
|
23
|
+
|
24
|
+
module Net # :nodoc:
|
25
|
+
|
26
|
+
class Protocol #:nodoc: internal use only
|
27
|
+
private
|
28
|
+
def Protocol.protocol_param(name, val)
|
29
|
+
module_eval(<<-End, __FILE__, __LINE__ + 1)
|
30
|
+
def #{name}
|
31
|
+
#{val}
|
32
|
+
end
|
33
|
+
End
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
|
38
|
+
class ProtocolError < StandardError; end
|
39
|
+
class ProtoSyntaxError < ProtocolError; end
|
40
|
+
class ProtoFatalError < ProtocolError; end
|
41
|
+
class ProtoUnknownError < ProtocolError; end
|
42
|
+
class ProtoServerError < ProtocolError; end
|
43
|
+
class ProtoAuthError < ProtocolError; end
|
44
|
+
class ProtoCommandError < ProtocolError; end
|
45
|
+
class ProtoRetriableError < ProtocolError; end
|
46
|
+
ProtocRetryError = ProtoRetriableError
|
47
|
+
|
48
|
+
##
|
49
|
+
# OpenTimeout, a subclass of Timeout::Error, is raised if a connection cannot
|
50
|
+
# be created within the open_timeout.
|
51
|
+
|
52
|
+
class OpenTimeout < Timeout::Error; end
|
53
|
+
|
54
|
+
##
|
55
|
+
# ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
56
|
+
# response cannot be read within the read_timeout.
|
57
|
+
|
58
|
+
class ReadTimeout < Timeout::Error; end
|
59
|
+
|
60
|
+
|
61
|
+
class BufferedIO #:nodoc: internal use only
|
62
|
+
def initialize(io)
|
63
|
+
@io = io
|
64
|
+
@read_timeout = 60
|
65
|
+
@continue_timeout = nil
|
66
|
+
@debug_output = nil
|
67
|
+
@rbuf = ''
|
68
|
+
end
|
69
|
+
|
70
|
+
attr_reader :io
|
71
|
+
attr_accessor :read_timeout
|
72
|
+
attr_accessor :continue_timeout
|
73
|
+
attr_accessor :debug_output
|
74
|
+
|
75
|
+
def inspect
|
76
|
+
"#<#{self.class} io=#{@io}>"
|
77
|
+
end
|
78
|
+
|
79
|
+
def eof?
|
80
|
+
@io.eof?
|
81
|
+
end
|
82
|
+
|
83
|
+
def closed?
|
84
|
+
@io.closed?
|
85
|
+
end
|
86
|
+
|
87
|
+
def close
|
88
|
+
@io.close
|
89
|
+
end
|
90
|
+
|
91
|
+
#
|
92
|
+
# Read
|
93
|
+
#
|
94
|
+
|
95
|
+
public
|
96
|
+
|
97
|
+
def read(len, dest = '', ignore_eof = false)
|
98
|
+
LOG "reading #{len} bytes..."
|
99
|
+
read_bytes = 0
|
100
|
+
begin
|
101
|
+
while read_bytes + @rbuf.size < len
|
102
|
+
dest << (s = rbuf_consume(@rbuf.size))
|
103
|
+
read_bytes += s.size
|
104
|
+
rbuf_fill
|
105
|
+
end
|
106
|
+
dest << (s = rbuf_consume(len - read_bytes))
|
107
|
+
read_bytes += s.size
|
108
|
+
rescue EOFError
|
109
|
+
raise unless ignore_eof
|
110
|
+
end
|
111
|
+
LOG "read #{read_bytes} bytes"
|
112
|
+
dest
|
113
|
+
end
|
114
|
+
|
115
|
+
def read_all(dest = '')
|
116
|
+
LOG 'reading all...'
|
117
|
+
read_bytes = 0
|
118
|
+
begin
|
119
|
+
while true
|
120
|
+
dest << (s = rbuf_consume(@rbuf.size))
|
121
|
+
read_bytes += s.size
|
122
|
+
rbuf_fill
|
123
|
+
end
|
124
|
+
rescue EOFError
|
125
|
+
;
|
126
|
+
end
|
127
|
+
LOG "read #{read_bytes} bytes"
|
128
|
+
dest
|
129
|
+
end
|
130
|
+
|
131
|
+
def readuntil(terminator, ignore_eof = false)
|
132
|
+
begin
|
133
|
+
until idx = @rbuf.index(terminator)
|
134
|
+
rbuf_fill
|
135
|
+
end
|
136
|
+
return rbuf_consume(idx + terminator.size)
|
137
|
+
rescue EOFError
|
138
|
+
raise unless ignore_eof
|
139
|
+
return rbuf_consume(@rbuf.size)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
def readline
|
144
|
+
readuntil("\n").chop
|
145
|
+
end
|
146
|
+
|
147
|
+
private
|
148
|
+
|
149
|
+
BUFSIZE = 1024 * 16
|
150
|
+
|
151
|
+
def rbuf_fill
|
152
|
+
begin
|
153
|
+
@rbuf << @io.read_nonblock(BUFSIZE)
|
154
|
+
rescue IO::WaitReadable
|
155
|
+
if IO.select([@io], nil, nil, @read_timeout)
|
156
|
+
retry
|
157
|
+
else
|
158
|
+
raise Net::ReadTimeout
|
159
|
+
end
|
160
|
+
rescue IO::WaitWritable
|
161
|
+
# OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable.
|
162
|
+
# http://www.openssl.org/support/faq.html#PROG10
|
163
|
+
if IO.select(nil, [@io], nil, @read_timeout)
|
164
|
+
retry
|
165
|
+
else
|
166
|
+
raise Net::ReadTimeout
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
def rbuf_consume(len)
|
172
|
+
s = @rbuf.slice!(0, len)
|
173
|
+
@debug_output << %Q[-> #{s.dump}\n] if @debug_output
|
174
|
+
s
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Write
|
179
|
+
#
|
180
|
+
|
181
|
+
public
|
182
|
+
|
183
|
+
def write(str)
|
184
|
+
writing {
|
185
|
+
write0 str
|
186
|
+
}
|
187
|
+
end
|
188
|
+
|
189
|
+
alias << write
|
190
|
+
|
191
|
+
def writeline(str)
|
192
|
+
writing {
|
193
|
+
write0 str + "\r\n"
|
194
|
+
}
|
195
|
+
end
|
196
|
+
|
197
|
+
private
|
198
|
+
|
199
|
+
def writing
|
200
|
+
@written_bytes = 0
|
201
|
+
@debug_output << '<- ' if @debug_output
|
202
|
+
yield
|
203
|
+
@debug_output << "\n" if @debug_output
|
204
|
+
bytes = @written_bytes
|
205
|
+
@written_bytes = nil
|
206
|
+
bytes
|
207
|
+
end
|
208
|
+
|
209
|
+
def write0(str)
|
210
|
+
@debug_output << str.dump if @debug_output
|
211
|
+
len = @io.write(str)
|
212
|
+
@written_bytes += len
|
213
|
+
len
|
214
|
+
end
|
215
|
+
|
216
|
+
#
|
217
|
+
# Logging
|
218
|
+
#
|
219
|
+
|
220
|
+
private
|
221
|
+
|
222
|
+
def LOG_off
|
223
|
+
@save_debug_out = @debug_output
|
224
|
+
@debug_output = nil
|
225
|
+
end
|
226
|
+
|
227
|
+
def LOG_on
|
228
|
+
@debug_output = @save_debug_out
|
229
|
+
end
|
230
|
+
|
231
|
+
def LOG(msg)
|
232
|
+
return unless @debug_output
|
233
|
+
@debug_output << msg + "\n"
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
|
238
|
+
class InternetMessageIO < BufferedIO #:nodoc: internal use only
|
239
|
+
def initialize(io)
|
240
|
+
super
|
241
|
+
@wbuf = nil
|
242
|
+
end
|
243
|
+
|
244
|
+
#
|
245
|
+
# Read
|
246
|
+
#
|
247
|
+
|
248
|
+
def each_message_chunk
|
249
|
+
LOG 'reading message...'
|
250
|
+
LOG_off()
|
251
|
+
read_bytes = 0
|
252
|
+
while (line = readuntil("\r\n")) != ".\r\n"
|
253
|
+
read_bytes += line.size
|
254
|
+
yield line.sub(/\A\./, '')
|
255
|
+
end
|
256
|
+
LOG_on()
|
257
|
+
LOG "read message (#{read_bytes} bytes)"
|
258
|
+
end
|
259
|
+
|
260
|
+
# *library private* (cannot handle 'break')
|
261
|
+
def each_list_item
|
262
|
+
while (str = readuntil("\r\n")) != ".\r\n"
|
263
|
+
yield str.chop
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
def write_message_0(src)
|
268
|
+
prev = @written_bytes
|
269
|
+
each_crlf_line(src) do |line|
|
270
|
+
write0 dot_stuff(line)
|
271
|
+
end
|
272
|
+
@written_bytes - prev
|
273
|
+
end
|
274
|
+
|
275
|
+
#
|
276
|
+
# Write
|
277
|
+
#
|
278
|
+
|
279
|
+
def write_message(src)
|
280
|
+
LOG "writing message from #{src.class}"
|
281
|
+
LOG_off()
|
282
|
+
len = writing {
|
283
|
+
using_each_crlf_line {
|
284
|
+
write_message_0 src
|
285
|
+
}
|
286
|
+
}
|
287
|
+
LOG_on()
|
288
|
+
LOG "wrote #{len} bytes"
|
289
|
+
len
|
290
|
+
end
|
291
|
+
|
292
|
+
def write_message_by_block(&block)
|
293
|
+
LOG 'writing message from block'
|
294
|
+
LOG_off()
|
295
|
+
len = writing {
|
296
|
+
using_each_crlf_line {
|
297
|
+
begin
|
298
|
+
block.call(WriteAdapter.new(self, :write_message_0))
|
299
|
+
rescue LocalJumpError
|
300
|
+
# allow `break' from writer block
|
301
|
+
end
|
302
|
+
}
|
303
|
+
}
|
304
|
+
LOG_on()
|
305
|
+
LOG "wrote #{len} bytes"
|
306
|
+
len
|
307
|
+
end
|
308
|
+
|
309
|
+
private
|
310
|
+
|
311
|
+
def dot_stuff(s)
|
312
|
+
s.sub(/\A\./, '..')
|
313
|
+
end
|
314
|
+
|
315
|
+
def using_each_crlf_line
|
316
|
+
@wbuf = ''
|
317
|
+
yield
|
318
|
+
if not @wbuf.empty? # unterminated last line
|
319
|
+
write0 dot_stuff(@wbuf.chomp) + "\r\n"
|
320
|
+
elsif @written_bytes == 0 # empty src
|
321
|
+
write0 "\r\n"
|
322
|
+
end
|
323
|
+
write0 ".\r\n"
|
324
|
+
@wbuf = nil
|
325
|
+
end
|
326
|
+
|
327
|
+
def each_crlf_line(src)
|
328
|
+
buffer_filling(@wbuf, src) do
|
329
|
+
while line = @wbuf.slice!(/\A[^\r\n]*(?:\n|\r(?:\n|(?!\z)))/)
|
330
|
+
yield line.chomp("\n") + "\r\n"
|
331
|
+
end
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
def buffer_filling(buf, src)
|
336
|
+
case src
|
337
|
+
when String # for speeding up.
|
338
|
+
0.step(src.size - 1, 1024) do |i|
|
339
|
+
buf << src[i, 1024]
|
340
|
+
yield
|
341
|
+
end
|
342
|
+
when File # for speeding up.
|
343
|
+
while s = src.read(1024)
|
344
|
+
buf << s
|
345
|
+
yield
|
346
|
+
end
|
347
|
+
else # generic reader
|
348
|
+
src.each do |str|
|
349
|
+
buf << str
|
350
|
+
yield if buf.size > 1024
|
351
|
+
end
|
352
|
+
yield unless buf.empty?
|
353
|
+
end
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
|
358
|
+
#
|
359
|
+
# The writer adapter class
|
360
|
+
#
|
361
|
+
class WriteAdapter
|
362
|
+
def initialize(socket, method)
|
363
|
+
@socket = socket
|
364
|
+
@method_id = method
|
365
|
+
end
|
366
|
+
|
367
|
+
def inspect
|
368
|
+
"#<#{self.class} socket=#{@socket.inspect}>"
|
369
|
+
end
|
370
|
+
|
371
|
+
def write(str)
|
372
|
+
@socket.__send__(@method_id, str)
|
373
|
+
end
|
374
|
+
|
375
|
+
alias print write
|
376
|
+
|
377
|
+
def <<(str)
|
378
|
+
write str
|
379
|
+
self
|
380
|
+
end
|
381
|
+
|
382
|
+
def puts(str = '')
|
383
|
+
write str.chomp("\n") + "\n"
|
384
|
+
end
|
385
|
+
|
386
|
+
def printf(*args)
|
387
|
+
write sprintf(*args)
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
|
392
|
+
class ReadAdapter #:nodoc: internal use only
|
393
|
+
def initialize(block)
|
394
|
+
@block = block
|
395
|
+
end
|
396
|
+
|
397
|
+
def inspect
|
398
|
+
"#<#{self.class}>"
|
399
|
+
end
|
400
|
+
|
401
|
+
def <<(str)
|
402
|
+
call_block(str, &@block) if @block
|
403
|
+
end
|
404
|
+
|
405
|
+
private
|
406
|
+
|
407
|
+
# This method is needed because @block must be called by yield,
|
408
|
+
# not Proc#call. You can see difference when using `break' in
|
409
|
+
# the block.
|
410
|
+
def call_block(str)
|
411
|
+
yield str
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
|
416
|
+
module NetPrivate #:nodoc: obsolete
|
417
|
+
Socket = ::Net::InternetMessageIO
|
418
|
+
end
|
419
|
+
|
420
|
+
end # module Net
|
@@ -0,0 +1,1073 @@
|
|
1
|
+
# = net/smtp.rb
|
2
|
+
#
|
3
|
+
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
|
4
|
+
#
|
5
|
+
# Copyright (c) 1999-2007 Minero Aoki.
|
6
|
+
#
|
7
|
+
# Written & maintained by Minero Aoki <aamine@loveruby.net>.
|
8
|
+
#
|
9
|
+
# Documented by William Webber and Minero Aoki.
|
10
|
+
#
|
11
|
+
# This program is free software. You can re-distribute and/or
|
12
|
+
# modify this program under the same terms as Ruby itself.
|
13
|
+
#
|
14
|
+
# NOTE: You can find Japanese version of this document at:
|
15
|
+
# http://www.ruby-lang.org/ja/man/html/net_smtp.html
|
16
|
+
#
|
17
|
+
# $Id: smtp.rb 46793 2014-07-11 19:22:19Z kosaki $
|
18
|
+
#
|
19
|
+
# See Net::SMTP for documentation.
|
20
|
+
#
|
21
|
+
|
22
|
+
require 'net/protocol'
|
23
|
+
require 'digest/md5'
|
24
|
+
require 'timeout'
|
25
|
+
begin
|
26
|
+
require 'openssl'
|
27
|
+
rescue LoadError
|
28
|
+
end
|
29
|
+
|
30
|
+
module Net
|
31
|
+
|
32
|
+
# Module mixed in to all SMTP error classes
|
33
|
+
module SMTPError
|
34
|
+
# This *class* is a module for backward compatibility.
|
35
|
+
# In later release, this module becomes a class.
|
36
|
+
end
|
37
|
+
|
38
|
+
# Represents an SMTP authentication error.
|
39
|
+
class SMTPAuthenticationError < ProtoAuthError
|
40
|
+
include SMTPError
|
41
|
+
end
|
42
|
+
|
43
|
+
# Represents SMTP error code 420 or 450, a temporary error.
|
44
|
+
class SMTPServerBusy < ProtoServerError
|
45
|
+
include SMTPError
|
46
|
+
end
|
47
|
+
|
48
|
+
# Represents an SMTP command syntax error (error code 500)
|
49
|
+
class SMTPSyntaxError < ProtoSyntaxError
|
50
|
+
include SMTPError
|
51
|
+
end
|
52
|
+
|
53
|
+
# Represents a fatal SMTP error (error code 5xx, except for 500)
|
54
|
+
class SMTPFatalError < ProtoFatalError
|
55
|
+
include SMTPError
|
56
|
+
end
|
57
|
+
|
58
|
+
# Unexpected reply code returned from server.
|
59
|
+
class SMTPUnknownError < ProtoUnknownError
|
60
|
+
include SMTPError
|
61
|
+
end
|
62
|
+
|
63
|
+
# Command is not supported on server.
|
64
|
+
class SMTPUnsupportedCommand < ProtocolError
|
65
|
+
include SMTPError
|
66
|
+
end
|
67
|
+
|
68
|
+
#
|
69
|
+
# == What is This Library?
|
70
|
+
#
|
71
|
+
# This library provides functionality to send internet
|
72
|
+
# mail via SMTP, the Simple Mail Transfer Protocol. For details of
|
73
|
+
# SMTP itself, see [RFC2821] (http://www.ietf.org/rfc/rfc2821.txt).
|
74
|
+
#
|
75
|
+
# == What is This Library NOT?
|
76
|
+
#
|
77
|
+
# This library does NOT provide functions to compose internet mails.
|
78
|
+
# You must create them by yourself. If you want better mail support,
|
79
|
+
# try RubyMail or TMail or search for alternatives in
|
80
|
+
# {RubyGems.org}[https://rubygems.org/] or {The Ruby
|
81
|
+
# Toolbox}[https://www.ruby-toolbox.com/].
|
82
|
+
#
|
83
|
+
# FYI: the official documentation on internet mail is: [RFC2822] (http://www.ietf.org/rfc/rfc2822.txt).
|
84
|
+
#
|
85
|
+
# == Examples
|
86
|
+
#
|
87
|
+
# === Sending Messages
|
88
|
+
#
|
89
|
+
# You must open a connection to an SMTP server before sending messages.
|
90
|
+
# The first argument is the address of your SMTP server, and the second
|
91
|
+
# argument is the port number. Using SMTP.start with a block is the simplest
|
92
|
+
# way to do this. This way, the SMTP connection is closed automatically
|
93
|
+
# after the block is executed.
|
94
|
+
#
|
95
|
+
# require 'net/smtp'
|
96
|
+
# Net::SMTP.start('your.smtp.server', 25) do |smtp|
|
97
|
+
# # Use the SMTP object smtp only in this block.
|
98
|
+
# end
|
99
|
+
#
|
100
|
+
# Replace 'your.smtp.server' with your SMTP server. Normally
|
101
|
+
# your system manager or internet provider supplies a server
|
102
|
+
# for you.
|
103
|
+
#
|
104
|
+
# Then you can send messages.
|
105
|
+
#
|
106
|
+
# msgstr = <<END_OF_MESSAGE
|
107
|
+
# From: Your Name <your@mail.address>
|
108
|
+
# To: Destination Address <someone@example.com>
|
109
|
+
# Subject: test message
|
110
|
+
# Date: Sat, 23 Jun 2001 16:26:43 +0900
|
111
|
+
# Message-Id: <unique.message.id.string@example.com>
|
112
|
+
#
|
113
|
+
# This is a test message.
|
114
|
+
# END_OF_MESSAGE
|
115
|
+
#
|
116
|
+
# require 'net/smtp'
|
117
|
+
# Net::SMTP.start('your.smtp.server', 25) do |smtp|
|
118
|
+
# smtp.send_message msgstr,
|
119
|
+
# 'your@mail.address',
|
120
|
+
# 'his_address@example.com'
|
121
|
+
# end
|
122
|
+
#
|
123
|
+
# === Closing the Session
|
124
|
+
#
|
125
|
+
# You MUST close the SMTP session after sending messages, by calling
|
126
|
+
# the #finish method:
|
127
|
+
#
|
128
|
+
# # using SMTP#finish
|
129
|
+
# smtp = Net::SMTP.start('your.smtp.server', 25)
|
130
|
+
# smtp.send_message msgstr, 'from@address', 'to@address'
|
131
|
+
# smtp.finish
|
132
|
+
#
|
133
|
+
# You can also use the block form of SMTP.start/SMTP#start. This closes
|
134
|
+
# the SMTP session automatically:
|
135
|
+
#
|
136
|
+
# # using block form of SMTP.start
|
137
|
+
# Net::SMTP.start('your.smtp.server', 25) do |smtp|
|
138
|
+
# smtp.send_message msgstr, 'from@address', 'to@address'
|
139
|
+
# end
|
140
|
+
#
|
141
|
+
# I strongly recommend this scheme. This form is simpler and more robust.
|
142
|
+
#
|
143
|
+
# === HELO domain
|
144
|
+
#
|
145
|
+
# In almost all situations, you must provide a third argument
|
146
|
+
# to SMTP.start/SMTP#start. This is the domain name which you are on
|
147
|
+
# (the host to send mail from). It is called the "HELO domain".
|
148
|
+
# The SMTP server will judge whether it should send or reject
|
149
|
+
# the SMTP session by inspecting the HELO domain.
|
150
|
+
#
|
151
|
+
# Net::SMTP.start('your.smtp.server', 25,
|
152
|
+
# 'mail.from.domain') { |smtp| ... }
|
153
|
+
#
|
154
|
+
# === SMTP Authentication
|
155
|
+
#
|
156
|
+
# The Net::SMTP class supports three authentication schemes;
|
157
|
+
# PLAIN, LOGIN and CRAM MD5. (SMTP Authentication: [RFC2554])
|
158
|
+
# To use SMTP authentication, pass extra arguments to
|
159
|
+
# SMTP.start/SMTP#start.
|
160
|
+
#
|
161
|
+
# # PLAIN
|
162
|
+
# Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',
|
163
|
+
# 'Your Account', 'Your Password', :plain)
|
164
|
+
# # LOGIN
|
165
|
+
# Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',
|
166
|
+
# 'Your Account', 'Your Password', :login)
|
167
|
+
#
|
168
|
+
# # CRAM MD5
|
169
|
+
# Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',
|
170
|
+
# 'Your Account', 'Your Password', :cram_md5)
|
171
|
+
#
|
172
|
+
class SMTP
|
173
|
+
|
174
|
+
Revision = %q$Revision: 46793 $.split[1]
|
175
|
+
|
176
|
+
# The default SMTP port number, 25.
|
177
|
+
def SMTP.default_port
|
178
|
+
25
|
179
|
+
end
|
180
|
+
|
181
|
+
# The default mail submission port number, 587.
|
182
|
+
def SMTP.default_submission_port
|
183
|
+
587
|
184
|
+
end
|
185
|
+
|
186
|
+
# The default SMTPS port number, 465.
|
187
|
+
def SMTP.default_tls_port
|
188
|
+
465
|
189
|
+
end
|
190
|
+
|
191
|
+
class << self
|
192
|
+
alias default_ssl_port default_tls_port
|
193
|
+
end
|
194
|
+
|
195
|
+
def SMTP.default_ssl_context
|
196
|
+
OpenSSL::SSL::SSLContext.new
|
197
|
+
end
|
198
|
+
|
199
|
+
#
|
200
|
+
# Creates a new Net::SMTP object.
|
201
|
+
#
|
202
|
+
# +address+ is the hostname or ip address of your SMTP
|
203
|
+
# server. +port+ is the port to connect to; it defaults to
|
204
|
+
# port 25.
|
205
|
+
#
|
206
|
+
# This method does not open the TCP connection. You can use
|
207
|
+
# SMTP.start instead of SMTP.new if you want to do everything
|
208
|
+
# at once. Otherwise, follow SMTP.new with SMTP#start.
|
209
|
+
#
|
210
|
+
def initialize(address, port = nil)
|
211
|
+
@address = address
|
212
|
+
@port = (port || SMTP.default_port)
|
213
|
+
@esmtp = true
|
214
|
+
@capabilities = nil
|
215
|
+
@socket = nil
|
216
|
+
@started = false
|
217
|
+
@open_timeout = 30
|
218
|
+
@read_timeout = 60
|
219
|
+
@error_occurred = false
|
220
|
+
@debug_output = nil
|
221
|
+
@tls = false
|
222
|
+
@starttls = false
|
223
|
+
@ssl_context = nil
|
224
|
+
end
|
225
|
+
|
226
|
+
# Provide human-readable stringification of class state.
|
227
|
+
def inspect
|
228
|
+
"#<#{self.class} #{@address}:#{@port} started=#{@started}>"
|
229
|
+
end
|
230
|
+
|
231
|
+
#
|
232
|
+
# Set whether to use ESMTP or not. This should be done before
|
233
|
+
# calling #start. Note that if #start is called in ESMTP mode,
|
234
|
+
# and the connection fails due to a ProtocolError, the SMTP
|
235
|
+
# object will automatically switch to plain SMTP mode and
|
236
|
+
# retry (but not vice versa).
|
237
|
+
#
|
238
|
+
attr_accessor :esmtp
|
239
|
+
|
240
|
+
# +true+ if the SMTP object uses ESMTP (which it does by default).
|
241
|
+
alias :esmtp? :esmtp
|
242
|
+
|
243
|
+
# true if server advertises STARTTLS.
|
244
|
+
# You cannot get valid value before opening SMTP session.
|
245
|
+
def capable_starttls?
|
246
|
+
capable?('STARTTLS')
|
247
|
+
end
|
248
|
+
|
249
|
+
def capable?(key)
|
250
|
+
return nil unless @capabilities
|
251
|
+
@capabilities[key] ? true : false
|
252
|
+
end
|
253
|
+
private :capable?
|
254
|
+
|
255
|
+
# true if server advertises AUTH PLAIN.
|
256
|
+
# You cannot get valid value before opening SMTP session.
|
257
|
+
def capable_plain_auth?
|
258
|
+
auth_capable?('PLAIN')
|
259
|
+
end
|
260
|
+
|
261
|
+
# true if server advertises AUTH LOGIN.
|
262
|
+
# You cannot get valid value before opening SMTP session.
|
263
|
+
def capable_login_auth?
|
264
|
+
auth_capable?('LOGIN')
|
265
|
+
end
|
266
|
+
|
267
|
+
# true if server advertises AUTH CRAM-MD5.
|
268
|
+
# You cannot get valid value before opening SMTP session.
|
269
|
+
def capable_cram_md5_auth?
|
270
|
+
auth_capable?('CRAM-MD5')
|
271
|
+
end
|
272
|
+
|
273
|
+
def auth_capable?(type)
|
274
|
+
return nil unless @capabilities
|
275
|
+
return false unless @capabilities['AUTH']
|
276
|
+
@capabilities['AUTH'].include?(type)
|
277
|
+
end
|
278
|
+
private :auth_capable?
|
279
|
+
|
280
|
+
# Returns supported authentication methods on this server.
|
281
|
+
# You cannot get valid value before opening SMTP session.
|
282
|
+
def capable_auth_types
|
283
|
+
return [] unless @capabilities
|
284
|
+
return [] unless @capabilities['AUTH']
|
285
|
+
@capabilities['AUTH']
|
286
|
+
end
|
287
|
+
|
288
|
+
# true if this object uses SMTP/TLS (SMTPS).
|
289
|
+
def tls?
|
290
|
+
@tls
|
291
|
+
end
|
292
|
+
|
293
|
+
alias ssl? tls?
|
294
|
+
|
295
|
+
# Enables SMTP/TLS (SMTPS: SMTP over direct TLS connection) for
|
296
|
+
# this object. Must be called before the connection is established
|
297
|
+
# to have any effect. +context+ is a OpenSSL::SSL::SSLContext object.
|
298
|
+
def enable_tls(context = SMTP.default_ssl_context)
|
299
|
+
raise 'openssl library not installed' unless defined?(OpenSSL)
|
300
|
+
raise ArgumentError, "SMTPS and STARTTLS is exclusive" if @starttls
|
301
|
+
@tls = true
|
302
|
+
@ssl_context = context
|
303
|
+
end
|
304
|
+
|
305
|
+
alias enable_ssl enable_tls
|
306
|
+
|
307
|
+
# Disables SMTP/TLS for this object. Must be called before the
|
308
|
+
# connection is established to have any effect.
|
309
|
+
def disable_tls
|
310
|
+
@tls = false
|
311
|
+
@ssl_context = nil
|
312
|
+
end
|
313
|
+
|
314
|
+
alias disable_ssl disable_tls
|
315
|
+
|
316
|
+
# Returns truth value if this object uses STARTTLS.
|
317
|
+
# If this object always uses STARTTLS, returns :always.
|
318
|
+
# If this object uses STARTTLS when the server support TLS, returns :auto.
|
319
|
+
def starttls?
|
320
|
+
@starttls
|
321
|
+
end
|
322
|
+
|
323
|
+
# true if this object uses STARTTLS.
|
324
|
+
def starttls_always?
|
325
|
+
@starttls == :always
|
326
|
+
end
|
327
|
+
|
328
|
+
# true if this object uses STARTTLS when server advertises STARTTLS.
|
329
|
+
def starttls_auto?
|
330
|
+
@starttls == :auto
|
331
|
+
end
|
332
|
+
|
333
|
+
# Enables SMTP/TLS (STARTTLS) for this object.
|
334
|
+
# +context+ is a OpenSSL::SSL::SSLContext object.
|
335
|
+
def enable_starttls(context = SMTP.default_ssl_context)
|
336
|
+
raise 'openssl library not installed' unless defined?(OpenSSL)
|
337
|
+
raise ArgumentError, "SMTPS and STARTTLS is exclusive" if @tls
|
338
|
+
@starttls = :always
|
339
|
+
@ssl_context = context
|
340
|
+
end
|
341
|
+
|
342
|
+
# Enables SMTP/TLS (STARTTLS) for this object if server accepts.
|
343
|
+
# +context+ is a OpenSSL::SSL::SSLContext object.
|
344
|
+
def enable_starttls_auto(context = SMTP.default_ssl_context)
|
345
|
+
raise 'openssl library not installed' unless defined?(OpenSSL)
|
346
|
+
raise ArgumentError, "SMTPS and STARTTLS is exclusive" if @tls
|
347
|
+
@starttls = :auto
|
348
|
+
@ssl_context = context
|
349
|
+
end
|
350
|
+
|
351
|
+
# Disables SMTP/TLS (STARTTLS) for this object. Must be called
|
352
|
+
# before the connection is established to have any effect.
|
353
|
+
def disable_starttls
|
354
|
+
@starttls = false
|
355
|
+
@ssl_context = nil
|
356
|
+
end
|
357
|
+
|
358
|
+
# The address of the SMTP server to connect to.
|
359
|
+
attr_reader :address
|
360
|
+
|
361
|
+
# The port number of the SMTP server to connect to.
|
362
|
+
attr_reader :port
|
363
|
+
|
364
|
+
# Seconds to wait while attempting to open a connection.
|
365
|
+
# If the connection cannot be opened within this time, a
|
366
|
+
# Net::OpenTimeout is raised. The default value is 30 seconds.
|
367
|
+
attr_accessor :open_timeout
|
368
|
+
|
369
|
+
# Seconds to wait while reading one block (by one read(2) call).
|
370
|
+
# If the read(2) call does not complete within this time, a
|
371
|
+
# Net::ReadTimeout is raised. The default value is 60 seconds.
|
372
|
+
attr_reader :read_timeout
|
373
|
+
|
374
|
+
# Set the number of seconds to wait until timing-out a read(2)
|
375
|
+
# call.
|
376
|
+
def read_timeout=(sec)
|
377
|
+
@socket.read_timeout = sec if @socket
|
378
|
+
@read_timeout = sec
|
379
|
+
end
|
380
|
+
|
381
|
+
#
|
382
|
+
# WARNING: This method causes serious security holes.
|
383
|
+
# Use this method for only debugging.
|
384
|
+
#
|
385
|
+
# Set an output stream for debug logging.
|
386
|
+
# You must call this before #start.
|
387
|
+
#
|
388
|
+
# # example
|
389
|
+
# smtp = Net::SMTP.new(addr, port)
|
390
|
+
# smtp.set_debug_output $stderr
|
391
|
+
# smtp.start do |smtp|
|
392
|
+
# ....
|
393
|
+
# end
|
394
|
+
#
|
395
|
+
def debug_output=(arg)
|
396
|
+
@debug_output = arg
|
397
|
+
end
|
398
|
+
|
399
|
+
alias set_debug_output debug_output=
|
400
|
+
|
401
|
+
#
|
402
|
+
# SMTP session control
|
403
|
+
#
|
404
|
+
|
405
|
+
#
|
406
|
+
# Creates a new Net::SMTP object and connects to the server.
|
407
|
+
#
|
408
|
+
# This method is equivalent to:
|
409
|
+
#
|
410
|
+
# Net::SMTP.new(address, port).start(helo_domain, account, password, authtype)
|
411
|
+
#
|
412
|
+
# === Example
|
413
|
+
#
|
414
|
+
# Net::SMTP.start('your.smtp.server') do |smtp|
|
415
|
+
# smtp.send_message msgstr, 'from@example.com', ['dest@example.com']
|
416
|
+
# end
|
417
|
+
#
|
418
|
+
# === Block Usage
|
419
|
+
#
|
420
|
+
# If called with a block, the newly-opened Net::SMTP object is yielded
|
421
|
+
# to the block, and automatically closed when the block finishes. If called
|
422
|
+
# without a block, the newly-opened Net::SMTP object is returned to
|
423
|
+
# the caller, and it is the caller's responsibility to close it when
|
424
|
+
# finished.
|
425
|
+
#
|
426
|
+
# === Parameters
|
427
|
+
#
|
428
|
+
# +address+ is the hostname or ip address of your smtp server.
|
429
|
+
#
|
430
|
+
# +port+ is the port to connect to; it defaults to port 25.
|
431
|
+
#
|
432
|
+
# +helo+ is the _HELO_ _domain_ provided by the client to the
|
433
|
+
# server (see overview comments); it defaults to 'localhost'.
|
434
|
+
#
|
435
|
+
# The remaining arguments are used for SMTP authentication, if required
|
436
|
+
# or desired. +user+ is the account name; +secret+ is your password
|
437
|
+
# or other authentication token; and +authtype+ is the authentication
|
438
|
+
# type, one of :plain, :login, or :cram_md5. See the discussion of
|
439
|
+
# SMTP Authentication in the overview notes.
|
440
|
+
#
|
441
|
+
# === Errors
|
442
|
+
#
|
443
|
+
# This method may raise:
|
444
|
+
#
|
445
|
+
# * Net::SMTPAuthenticationError
|
446
|
+
# * Net::SMTPServerBusy
|
447
|
+
# * Net::SMTPSyntaxError
|
448
|
+
# * Net::SMTPFatalError
|
449
|
+
# * Net::SMTPUnknownError
|
450
|
+
# * Net::OpenTimeout
|
451
|
+
# * Net::ReadTimeout
|
452
|
+
# * IOError
|
453
|
+
#
|
454
|
+
def SMTP.start(address, port = nil, helo = 'localhost',
|
455
|
+
user = nil, secret = nil, authtype = nil,
|
456
|
+
&block) # :yield: smtp
|
457
|
+
new(address, port).start(helo, user, secret, authtype, &block)
|
458
|
+
end
|
459
|
+
|
460
|
+
# +true+ if the SMTP session has been started.
|
461
|
+
def started?
|
462
|
+
@started
|
463
|
+
end
|
464
|
+
|
465
|
+
#
|
466
|
+
# Opens a TCP connection and starts the SMTP session.
|
467
|
+
#
|
468
|
+
# === Parameters
|
469
|
+
#
|
470
|
+
# +helo+ is the _HELO_ _domain_ that you'll dispatch mails from; see
|
471
|
+
# the discussion in the overview notes.
|
472
|
+
#
|
473
|
+
# If both of +user+ and +secret+ are given, SMTP authentication
|
474
|
+
# will be attempted using the AUTH command. +authtype+ specifies
|
475
|
+
# the type of authentication to attempt; it must be one of
|
476
|
+
# :login, :plain, and :cram_md5. See the notes on SMTP Authentication
|
477
|
+
# in the overview.
|
478
|
+
#
|
479
|
+
# === Block Usage
|
480
|
+
#
|
481
|
+
# When this methods is called with a block, the newly-started SMTP
|
482
|
+
# object is yielded to the block, and automatically closed after
|
483
|
+
# the block call finishes. Otherwise, it is the caller's
|
484
|
+
# responsibility to close the session when finished.
|
485
|
+
#
|
486
|
+
# === Example
|
487
|
+
#
|
488
|
+
# This is very similar to the class method SMTP.start.
|
489
|
+
#
|
490
|
+
# require 'net/smtp'
|
491
|
+
# smtp = Net::SMTP.new('smtp.mail.server', 25)
|
492
|
+
# smtp.start(helo_domain, account, password, authtype) do |smtp|
|
493
|
+
# smtp.send_message msgstr, 'from@example.com', ['dest@example.com']
|
494
|
+
# end
|
495
|
+
#
|
496
|
+
# The primary use of this method (as opposed to SMTP.start)
|
497
|
+
# is probably to set debugging (#set_debug_output) or ESMTP
|
498
|
+
# (#esmtp=), which must be done before the session is
|
499
|
+
# started.
|
500
|
+
#
|
501
|
+
# === Errors
|
502
|
+
#
|
503
|
+
# If session has already been started, an IOError will be raised.
|
504
|
+
#
|
505
|
+
# This method may raise:
|
506
|
+
#
|
507
|
+
# * Net::SMTPAuthenticationError
|
508
|
+
# * Net::SMTPServerBusy
|
509
|
+
# * Net::SMTPSyntaxError
|
510
|
+
# * Net::SMTPFatalError
|
511
|
+
# * Net::SMTPUnknownError
|
512
|
+
# * Net::OpenTimeout
|
513
|
+
# * Net::ReadTimeout
|
514
|
+
# * IOError
|
515
|
+
#
|
516
|
+
def start(helo = 'localhost',
|
517
|
+
user = nil, secret = nil, authtype = nil) # :yield: smtp
|
518
|
+
if block_given?
|
519
|
+
begin
|
520
|
+
do_start helo, user, secret, authtype
|
521
|
+
return yield(self)
|
522
|
+
ensure
|
523
|
+
do_finish
|
524
|
+
end
|
525
|
+
else
|
526
|
+
do_start helo, user, secret, authtype
|
527
|
+
return self
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
# Finishes the SMTP session and closes TCP connection.
|
532
|
+
# Raises IOError if not started.
|
533
|
+
def finish
|
534
|
+
raise IOError, 'not yet started' unless started?
|
535
|
+
do_finish
|
536
|
+
end
|
537
|
+
|
538
|
+
private
|
539
|
+
|
540
|
+
def tcp_socket(address, port)
|
541
|
+
TCPSocket.open address, port
|
542
|
+
end
|
543
|
+
|
544
|
+
def do_start(helo_domain, user, secret, authtype)
|
545
|
+
raise IOError, 'SMTP session already started' if @started
|
546
|
+
if user or secret
|
547
|
+
check_auth_method(authtype || DEFAULT_AUTH_TYPE)
|
548
|
+
check_auth_args user, secret
|
549
|
+
end
|
550
|
+
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) do
|
551
|
+
tcp_socket(@address, @port)
|
552
|
+
end
|
553
|
+
logging "Connection opened: #{@address}:#{@port}"
|
554
|
+
@socket = new_internet_message_io(tls? ? tlsconnect(s) : s)
|
555
|
+
check_response critical { recv_response() }
|
556
|
+
do_helo helo_domain
|
557
|
+
if starttls_always? or (capable_starttls? and starttls_auto?)
|
558
|
+
unless capable_starttls?
|
559
|
+
raise SMTPUnsupportedCommand,
|
560
|
+
"STARTTLS is not supported on this server"
|
561
|
+
end
|
562
|
+
starttls
|
563
|
+
@socket = new_internet_message_io(tlsconnect(s))
|
564
|
+
# helo response may be different after STARTTLS
|
565
|
+
do_helo helo_domain
|
566
|
+
end
|
567
|
+
authenticate user, secret, (authtype || DEFAULT_AUTH_TYPE) if user
|
568
|
+
@started = true
|
569
|
+
ensure
|
570
|
+
unless @started
|
571
|
+
# authentication failed, cancel connection.
|
572
|
+
s.close if s and not s.closed?
|
573
|
+
@socket = nil
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
def ssl_socket(socket, context)
|
578
|
+
OpenSSL::SSL::SSLSocket.new socket, context
|
579
|
+
end
|
580
|
+
|
581
|
+
def tlsconnect(s)
|
582
|
+
verified = false
|
583
|
+
s = ssl_socket(s, @ssl_context)
|
584
|
+
logging "TLS connection started"
|
585
|
+
s.sync_close = true
|
586
|
+
s.connect
|
587
|
+
if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
|
588
|
+
s.post_connection_check(@address)
|
589
|
+
end
|
590
|
+
verified = true
|
591
|
+
s
|
592
|
+
ensure
|
593
|
+
s.close unless verified
|
594
|
+
end
|
595
|
+
|
596
|
+
def new_internet_message_io(s)
|
597
|
+
io = InternetMessageIO.new(s)
|
598
|
+
io.read_timeout = @read_timeout
|
599
|
+
io.debug_output = @debug_output
|
600
|
+
io
|
601
|
+
end
|
602
|
+
|
603
|
+
def do_helo(helo_domain)
|
604
|
+
res = @esmtp ? ehlo(helo_domain) : helo(helo_domain)
|
605
|
+
@capabilities = res.capabilities
|
606
|
+
rescue SMTPError
|
607
|
+
if @esmtp
|
608
|
+
@esmtp = false
|
609
|
+
@error_occurred = false
|
610
|
+
retry
|
611
|
+
end
|
612
|
+
raise
|
613
|
+
end
|
614
|
+
|
615
|
+
def do_finish
|
616
|
+
quit if @socket and not @socket.closed? and not @error_occurred
|
617
|
+
ensure
|
618
|
+
@started = false
|
619
|
+
@error_occurred = false
|
620
|
+
@socket.close if @socket and not @socket.closed?
|
621
|
+
@socket = nil
|
622
|
+
end
|
623
|
+
|
624
|
+
#
|
625
|
+
# Message Sending
|
626
|
+
#
|
627
|
+
|
628
|
+
public
|
629
|
+
|
630
|
+
#
|
631
|
+
# Sends +msgstr+ as a message. Single CR ("\r") and LF ("\n") found
|
632
|
+
# in the +msgstr+, are converted into the CR LF pair. You cannot send a
|
633
|
+
# binary message with this method. +msgstr+ should include both
|
634
|
+
# the message headers and body.
|
635
|
+
#
|
636
|
+
# +from_addr+ is a String representing the source mail address.
|
637
|
+
#
|
638
|
+
# +to_addr+ is a String or Strings or Array of Strings, representing
|
639
|
+
# the destination mail address or addresses.
|
640
|
+
#
|
641
|
+
# === Example
|
642
|
+
#
|
643
|
+
# Net::SMTP.start('smtp.example.com') do |smtp|
|
644
|
+
# smtp.send_message msgstr,
|
645
|
+
# 'from@example.com',
|
646
|
+
# ['dest@example.com', 'dest2@example.com']
|
647
|
+
# end
|
648
|
+
#
|
649
|
+
# === Errors
|
650
|
+
#
|
651
|
+
# This method may raise:
|
652
|
+
#
|
653
|
+
# * Net::SMTPServerBusy
|
654
|
+
# * Net::SMTPSyntaxError
|
655
|
+
# * Net::SMTPFatalError
|
656
|
+
# * Net::SMTPUnknownError
|
657
|
+
# * Net::ReadTimeout
|
658
|
+
# * IOError
|
659
|
+
#
|
660
|
+
def send_message(msgstr, from_addr, *to_addrs)
|
661
|
+
raise IOError, 'closed session' unless @socket
|
662
|
+
mailfrom from_addr
|
663
|
+
rcptto_list(to_addrs) {data msgstr}
|
664
|
+
end
|
665
|
+
|
666
|
+
alias send_mail send_message
|
667
|
+
alias sendmail send_message # obsolete
|
668
|
+
|
669
|
+
#
|
670
|
+
# Opens a message writer stream and gives it to the block.
|
671
|
+
# The stream is valid only in the block, and has these methods:
|
672
|
+
#
|
673
|
+
# puts(str = ''):: outputs STR and CR LF.
|
674
|
+
# print(str):: outputs STR.
|
675
|
+
# printf(fmt, *args):: outputs sprintf(fmt,*args).
|
676
|
+
# write(str):: outputs STR and returns the length of written bytes.
|
677
|
+
# <<(str):: outputs STR and returns self.
|
678
|
+
#
|
679
|
+
# If a single CR ("\r") or LF ("\n") is found in the message,
|
680
|
+
# it is converted to the CR LF pair. You cannot send a binary
|
681
|
+
# message with this method.
|
682
|
+
#
|
683
|
+
# === Parameters
|
684
|
+
#
|
685
|
+
# +from_addr+ is a String representing the source mail address.
|
686
|
+
#
|
687
|
+
# +to_addr+ is a String or Strings or Array of Strings, representing
|
688
|
+
# the destination mail address or addresses.
|
689
|
+
#
|
690
|
+
# === Example
|
691
|
+
#
|
692
|
+
# Net::SMTP.start('smtp.example.com', 25) do |smtp|
|
693
|
+
# smtp.open_message_stream('from@example.com', ['dest@example.com']) do |f|
|
694
|
+
# f.puts 'From: from@example.com'
|
695
|
+
# f.puts 'To: dest@example.com'
|
696
|
+
# f.puts 'Subject: test message'
|
697
|
+
# f.puts
|
698
|
+
# f.puts 'This is a test message.'
|
699
|
+
# end
|
700
|
+
# end
|
701
|
+
#
|
702
|
+
# === Errors
|
703
|
+
#
|
704
|
+
# This method may raise:
|
705
|
+
#
|
706
|
+
# * Net::SMTPServerBusy
|
707
|
+
# * Net::SMTPSyntaxError
|
708
|
+
# * Net::SMTPFatalError
|
709
|
+
# * Net::SMTPUnknownError
|
710
|
+
# * Net::ReadTimeout
|
711
|
+
# * IOError
|
712
|
+
#
|
713
|
+
def open_message_stream(from_addr, *to_addrs, &block) # :yield: stream
|
714
|
+
raise IOError, 'closed session' unless @socket
|
715
|
+
mailfrom from_addr
|
716
|
+
rcptto_list(to_addrs) {data(&block)}
|
717
|
+
end
|
718
|
+
|
719
|
+
alias ready open_message_stream # obsolete
|
720
|
+
|
721
|
+
#
|
722
|
+
# Authentication
|
723
|
+
#
|
724
|
+
|
725
|
+
public
|
726
|
+
|
727
|
+
DEFAULT_AUTH_TYPE = :plain
|
728
|
+
|
729
|
+
def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE)
|
730
|
+
check_auth_method authtype
|
731
|
+
check_auth_args user, secret
|
732
|
+
send auth_method(authtype), user, secret
|
733
|
+
end
|
734
|
+
|
735
|
+
def auth_plain(user, secret)
|
736
|
+
check_auth_args user, secret
|
737
|
+
res = critical {
|
738
|
+
get_response('AUTH PLAIN ' + base64_encode("\0#{user}\0#{secret}"))
|
739
|
+
}
|
740
|
+
check_auth_response res
|
741
|
+
res
|
742
|
+
end
|
743
|
+
|
744
|
+
def auth_login(user, secret)
|
745
|
+
check_auth_args user, secret
|
746
|
+
res = critical {
|
747
|
+
check_auth_continue get_response('AUTH LOGIN')
|
748
|
+
check_auth_continue get_response(base64_encode(user))
|
749
|
+
get_response(base64_encode(secret))
|
750
|
+
}
|
751
|
+
check_auth_response res
|
752
|
+
res
|
753
|
+
end
|
754
|
+
|
755
|
+
def auth_cram_md5(user, secret)
|
756
|
+
check_auth_args user, secret
|
757
|
+
res = critical {
|
758
|
+
res0 = get_response('AUTH CRAM-MD5')
|
759
|
+
check_auth_continue res0
|
760
|
+
crammed = cram_md5_response(secret, res0.cram_md5_challenge)
|
761
|
+
get_response(base64_encode("#{user} #{crammed}"))
|
762
|
+
}
|
763
|
+
check_auth_response res
|
764
|
+
res
|
765
|
+
end
|
766
|
+
|
767
|
+
private
|
768
|
+
|
769
|
+
def check_auth_method(type)
|
770
|
+
unless respond_to?(auth_method(type), true)
|
771
|
+
raise ArgumentError, "wrong authentication type #{type}"
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
def auth_method(type)
|
776
|
+
"auth_#{type.to_s.downcase}".intern
|
777
|
+
end
|
778
|
+
|
779
|
+
def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE)
|
780
|
+
unless user
|
781
|
+
raise ArgumentError, 'SMTP-AUTH requested but missing user name'
|
782
|
+
end
|
783
|
+
unless secret
|
784
|
+
raise ArgumentError, 'SMTP-AUTH requested but missing secret phrase'
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
def base64_encode(str)
|
789
|
+
# expects "str" may not become too long
|
790
|
+
[str].pack('m').gsub(/\s+/, '')
|
791
|
+
end
|
792
|
+
|
793
|
+
IMASK = 0x36
|
794
|
+
OMASK = 0x5c
|
795
|
+
|
796
|
+
# CRAM-MD5: [RFC2195]
|
797
|
+
def cram_md5_response(secret, challenge)
|
798
|
+
tmp = Digest::MD5.digest(cram_secret(secret, IMASK) + challenge)
|
799
|
+
Digest::MD5.hexdigest(cram_secret(secret, OMASK) + tmp)
|
800
|
+
end
|
801
|
+
|
802
|
+
CRAM_BUFSIZE = 64
|
803
|
+
|
804
|
+
def cram_secret(secret, mask)
|
805
|
+
secret = Digest::MD5.digest(secret) if secret.size > CRAM_BUFSIZE
|
806
|
+
buf = secret.ljust(CRAM_BUFSIZE, "\0")
|
807
|
+
0.upto(buf.size - 1) do |i|
|
808
|
+
buf[i] = (buf[i].ord ^ mask).chr
|
809
|
+
end
|
810
|
+
buf
|
811
|
+
end
|
812
|
+
|
813
|
+
#
|
814
|
+
# SMTP command dispatcher
|
815
|
+
#
|
816
|
+
|
817
|
+
public
|
818
|
+
|
819
|
+
# Aborts the current mail transaction
|
820
|
+
|
821
|
+
def rset
|
822
|
+
getok('RSET')
|
823
|
+
end
|
824
|
+
|
825
|
+
def starttls
|
826
|
+
getok('STARTTLS')
|
827
|
+
end
|
828
|
+
|
829
|
+
def helo(domain)
|
830
|
+
getok("HELO #{domain}")
|
831
|
+
end
|
832
|
+
|
833
|
+
def ehlo(domain)
|
834
|
+
getok("EHLO #{domain}")
|
835
|
+
end
|
836
|
+
|
837
|
+
def mailfrom(from_addr)
|
838
|
+
if $SAFE > 0
|
839
|
+
raise SecurityError, 'tainted from_addr' if from_addr.tainted?
|
840
|
+
end
|
841
|
+
getok("MAIL FROM:<#{from_addr}>")
|
842
|
+
end
|
843
|
+
|
844
|
+
def rcptto_list(to_addrs)
|
845
|
+
raise ArgumentError, 'mail destination not given' if to_addrs.empty?
|
846
|
+
ok_users = []
|
847
|
+
unknown_users = []
|
848
|
+
to_addrs.flatten.each do |addr|
|
849
|
+
begin
|
850
|
+
rcptto addr
|
851
|
+
rescue SMTPAuthenticationError
|
852
|
+
unknown_users << addr.dump
|
853
|
+
else
|
854
|
+
ok_users << addr
|
855
|
+
end
|
856
|
+
end
|
857
|
+
raise ArgumentError, 'mail destination not given' if ok_users.empty?
|
858
|
+
ret = yield
|
859
|
+
unless unknown_users.empty?
|
860
|
+
raise SMTPAuthenticationError, "failed to deliver for #{unknown_users.join(', ')}"
|
861
|
+
end
|
862
|
+
ret
|
863
|
+
end
|
864
|
+
|
865
|
+
def rcptto(to_addr)
|
866
|
+
if $SAFE > 0
|
867
|
+
raise SecurityError, 'tainted to_addr' if to_addr.tainted?
|
868
|
+
end
|
869
|
+
getok("RCPT TO:<#{to_addr}>")
|
870
|
+
end
|
871
|
+
|
872
|
+
# This method sends a message.
|
873
|
+
# If +msgstr+ is given, sends it as a message.
|
874
|
+
# If block is given, yield a message writer stream.
|
875
|
+
# You must write message before the block is closed.
|
876
|
+
#
|
877
|
+
# # Example 1 (by string)
|
878
|
+
# smtp.data(<<EndMessage)
|
879
|
+
# From: john@example.com
|
880
|
+
# To: betty@example.com
|
881
|
+
# Subject: I found a bug
|
882
|
+
#
|
883
|
+
# Check vm.c:58879.
|
884
|
+
# EndMessage
|
885
|
+
#
|
886
|
+
# # Example 2 (by block)
|
887
|
+
# smtp.data {|f|
|
888
|
+
# f.puts "From: john@example.com"
|
889
|
+
# f.puts "To: betty@example.com"
|
890
|
+
# f.puts "Subject: I found a bug"
|
891
|
+
# f.puts ""
|
892
|
+
# f.puts "Check vm.c:58879."
|
893
|
+
# }
|
894
|
+
#
|
895
|
+
def data(msgstr = nil, &block) #:yield: stream
|
896
|
+
if msgstr and block
|
897
|
+
raise ArgumentError, "message and block are exclusive"
|
898
|
+
end
|
899
|
+
unless msgstr or block
|
900
|
+
raise ArgumentError, "message or block is required"
|
901
|
+
end
|
902
|
+
res = critical {
|
903
|
+
check_continue get_response('DATA')
|
904
|
+
socket_sync_bak = @socket.io.sync
|
905
|
+
begin
|
906
|
+
@socket.io.sync = false
|
907
|
+
if msgstr
|
908
|
+
@socket.write_message msgstr
|
909
|
+
else
|
910
|
+
@socket.write_message_by_block(&block)
|
911
|
+
end
|
912
|
+
ensure
|
913
|
+
@socket.io.flush
|
914
|
+
@socket.io.sync = socket_sync_bak
|
915
|
+
end
|
916
|
+
recv_response()
|
917
|
+
}
|
918
|
+
check_response res
|
919
|
+
res
|
920
|
+
end
|
921
|
+
|
922
|
+
def quit
|
923
|
+
getok('QUIT')
|
924
|
+
end
|
925
|
+
|
926
|
+
private
|
927
|
+
|
928
|
+
def getok(reqline)
|
929
|
+
res = critical {
|
930
|
+
@socket.writeline reqline
|
931
|
+
recv_response()
|
932
|
+
}
|
933
|
+
check_response res
|
934
|
+
res
|
935
|
+
end
|
936
|
+
|
937
|
+
def get_response(reqline)
|
938
|
+
@socket.writeline reqline
|
939
|
+
recv_response()
|
940
|
+
end
|
941
|
+
|
942
|
+
def recv_response
|
943
|
+
buf = ''
|
944
|
+
while true
|
945
|
+
line = @socket.readline
|
946
|
+
buf << line << "\n"
|
947
|
+
break unless line[3,1] == '-' # "210-PIPELINING"
|
948
|
+
end
|
949
|
+
Response.parse(buf)
|
950
|
+
end
|
951
|
+
|
952
|
+
def critical
|
953
|
+
return Response.parse('200 dummy reply code') if @error_occurred
|
954
|
+
begin
|
955
|
+
return yield()
|
956
|
+
rescue Exception
|
957
|
+
@error_occurred = true
|
958
|
+
raise
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
def check_response(res)
|
963
|
+
unless res.success?
|
964
|
+
raise res.exception_class, res.message
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
def check_continue(res)
|
969
|
+
unless res.continue?
|
970
|
+
raise SMTPUnknownError, "could not get 3xx (#{res.status}: #{res.string})"
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
def check_auth_response(res)
|
975
|
+
unless res.success?
|
976
|
+
raise SMTPAuthenticationError, res.message
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
def check_auth_continue(res)
|
981
|
+
unless res.continue?
|
982
|
+
raise res.exception_class, res.message
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
986
|
+
# This class represents a response received by the SMTP server. Instances
|
987
|
+
# of this class are created by the SMTP class; they should not be directly
|
988
|
+
# created by the user. For more information on SMTP responses, view
|
989
|
+
# {Section 4.2 of RFC 5321}[http://tools.ietf.org/html/rfc5321#section-4.2]
|
990
|
+
class Response
|
991
|
+
# Parses the received response and separates the reply code and the human
|
992
|
+
# readable reply text
|
993
|
+
def self.parse(str)
|
994
|
+
new(str[0,3], str)
|
995
|
+
end
|
996
|
+
|
997
|
+
# Creates a new instance of the Response class and sets the status and
|
998
|
+
# string attributes
|
999
|
+
def initialize(status, string)
|
1000
|
+
@status = status
|
1001
|
+
@string = string
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# The three digit reply code of the SMTP response
|
1005
|
+
attr_reader :status
|
1006
|
+
|
1007
|
+
# The human readable reply text of the SMTP response
|
1008
|
+
attr_reader :string
|
1009
|
+
|
1010
|
+
# Takes the first digit of the reply code to determine the status type
|
1011
|
+
def status_type_char
|
1012
|
+
@status[0, 1]
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Determines whether the response received was a Positive Completion
|
1016
|
+
# reply (2xx reply code)
|
1017
|
+
def success?
|
1018
|
+
status_type_char() == '2'
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# Determines whether the response received was a Positive Intermediate
|
1022
|
+
# reply (3xx reply code)
|
1023
|
+
def continue?
|
1024
|
+
status_type_char() == '3'
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# The first line of the human readable reply text
|
1028
|
+
def message
|
1029
|
+
@string.lines.first
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
# Creates a CRAM-MD5 challenge. You can view more information on CRAM-MD5
|
1033
|
+
# on Wikipedia: http://en.wikipedia.org/wiki/CRAM-MD5
|
1034
|
+
def cram_md5_challenge
|
1035
|
+
@string.split(/ /)[1].unpack('m')[0]
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Returns a hash of the human readable reply text in the response if it
|
1039
|
+
# is multiple lines. It does not return the first line. The key of the
|
1040
|
+
# hash is the first word the value of the hash is an array with each word
|
1041
|
+
# thereafter being a value in the array
|
1042
|
+
def capabilities
|
1043
|
+
return {} unless @string[3, 1] == '-'
|
1044
|
+
h = {}
|
1045
|
+
@string.lines.drop(1).each do |line|
|
1046
|
+
k, *v = line[4..-1].chomp.split
|
1047
|
+
h[k] = v
|
1048
|
+
end
|
1049
|
+
h
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# Determines whether there was an error and raises the appropriate error
|
1053
|
+
# based on the reply code of the response
|
1054
|
+
def exception_class
|
1055
|
+
case @status
|
1056
|
+
when /\A4/ then SMTPServerBusy
|
1057
|
+
when /\A50/ then SMTPSyntaxError
|
1058
|
+
when /\A53/ then SMTPAuthenticationError
|
1059
|
+
when /\A5/ then SMTPFatalError
|
1060
|
+
else SMTPUnknownError
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def logging(msg)
|
1066
|
+
@debug_output << msg + "\n" if @debug_output
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
end # class SMTP
|
1070
|
+
|
1071
|
+
SMTPSession = SMTP # :nodoc:
|
1072
|
+
|
1073
|
+
end
|