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,186 @@
|
|
1
|
+
##
|
2
|
+
# A constant
|
3
|
+
|
4
|
+
class RDoc::Constant < RDoc::CodeObject
|
5
|
+
|
6
|
+
MARSHAL_VERSION = 0 # :nodoc:
|
7
|
+
|
8
|
+
##
|
9
|
+
# Sets the module or class this is constant is an alias for.
|
10
|
+
|
11
|
+
attr_writer :is_alias_for
|
12
|
+
|
13
|
+
##
|
14
|
+
# The constant's name
|
15
|
+
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
##
|
19
|
+
# The constant's value
|
20
|
+
|
21
|
+
attr_accessor :value
|
22
|
+
|
23
|
+
##
|
24
|
+
# The constant's visibility
|
25
|
+
|
26
|
+
attr_accessor :visibility
|
27
|
+
|
28
|
+
##
|
29
|
+
# Creates a new constant with +name+, +value+ and +comment+
|
30
|
+
|
31
|
+
def initialize(name, value, comment)
|
32
|
+
super()
|
33
|
+
|
34
|
+
@name = name
|
35
|
+
@value = value
|
36
|
+
|
37
|
+
@is_alias_for = nil
|
38
|
+
@visibility = nil
|
39
|
+
|
40
|
+
self.comment = comment
|
41
|
+
end
|
42
|
+
|
43
|
+
##
|
44
|
+
# Constants are ordered by name
|
45
|
+
|
46
|
+
def <=> other
|
47
|
+
return unless self.class === other
|
48
|
+
|
49
|
+
[parent_name, name] <=> [other.parent_name, other.name]
|
50
|
+
end
|
51
|
+
|
52
|
+
##
|
53
|
+
# Constants are equal when their #parent and #name is the same
|
54
|
+
|
55
|
+
def == other
|
56
|
+
self.class == other.class and
|
57
|
+
@parent == other.parent and
|
58
|
+
@name == other.name
|
59
|
+
end
|
60
|
+
|
61
|
+
##
|
62
|
+
# A constant is documented if it has a comment, or is an alias
|
63
|
+
# for a documented class or module.
|
64
|
+
|
65
|
+
def documented?
|
66
|
+
return true if super
|
67
|
+
return false unless @is_alias_for
|
68
|
+
case @is_alias_for
|
69
|
+
when String then
|
70
|
+
found = @store.find_class_or_module @is_alias_for
|
71
|
+
return false unless found
|
72
|
+
@is_alias_for = found
|
73
|
+
end
|
74
|
+
@is_alias_for.documented?
|
75
|
+
end
|
76
|
+
|
77
|
+
##
|
78
|
+
# Full constant name including namespace
|
79
|
+
|
80
|
+
def full_name
|
81
|
+
@full_name ||= "#{parent_name}::#{@name}"
|
82
|
+
end
|
83
|
+
|
84
|
+
##
|
85
|
+
# The module or class this constant is an alias for
|
86
|
+
|
87
|
+
def is_alias_for
|
88
|
+
case @is_alias_for
|
89
|
+
when String then
|
90
|
+
found = @store.find_class_or_module @is_alias_for
|
91
|
+
@is_alias_for = found if found
|
92
|
+
@is_alias_for
|
93
|
+
else
|
94
|
+
@is_alias_for
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
def inspect # :nodoc:
|
99
|
+
"#<%s:0x%x %s::%s>" % [
|
100
|
+
self.class, object_id,
|
101
|
+
parent_name, @name,
|
102
|
+
]
|
103
|
+
end
|
104
|
+
|
105
|
+
##
|
106
|
+
# Dumps this Constant for use by ri. See also #marshal_load
|
107
|
+
|
108
|
+
def marshal_dump
|
109
|
+
alias_name = case found = is_alias_for
|
110
|
+
when RDoc::CodeObject then found.full_name
|
111
|
+
else found
|
112
|
+
end
|
113
|
+
|
114
|
+
[ MARSHAL_VERSION,
|
115
|
+
@name,
|
116
|
+
full_name,
|
117
|
+
@visibility,
|
118
|
+
alias_name,
|
119
|
+
parse(@comment),
|
120
|
+
@file.relative_name,
|
121
|
+
parent.name,
|
122
|
+
parent.class,
|
123
|
+
section.title,
|
124
|
+
]
|
125
|
+
end
|
126
|
+
|
127
|
+
##
|
128
|
+
# Loads this Constant from +array+. For a loaded Constant the following
|
129
|
+
# methods will return cached values:
|
130
|
+
#
|
131
|
+
# * #full_name
|
132
|
+
# * #parent_name
|
133
|
+
|
134
|
+
def marshal_load array
|
135
|
+
initialize array[1], nil, array[5]
|
136
|
+
|
137
|
+
@full_name = array[2]
|
138
|
+
@visibility = array[3]
|
139
|
+
@is_alias_for = array[4]
|
140
|
+
# 5 handled above
|
141
|
+
# 6 handled below
|
142
|
+
@parent_name = array[7]
|
143
|
+
@parent_class = array[8]
|
144
|
+
@section_title = array[9]
|
145
|
+
|
146
|
+
@file = RDoc::TopLevel.new array[6]
|
147
|
+
end
|
148
|
+
|
149
|
+
##
|
150
|
+
# Path to this constant for use with HTML generator output.
|
151
|
+
|
152
|
+
def path
|
153
|
+
"#{@parent.path}##{@name}"
|
154
|
+
end
|
155
|
+
|
156
|
+
def pretty_print q # :nodoc:
|
157
|
+
q.group 2, "[#{self.class.name} #{full_name}", "]" do
|
158
|
+
unless comment.empty? then
|
159
|
+
q.breakable
|
160
|
+
q.text "comment:"
|
161
|
+
q.breakable
|
162
|
+
q.pp @comment
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
##
|
168
|
+
# Sets the store for this class or module and its contained code objects.
|
169
|
+
|
170
|
+
def store= store
|
171
|
+
super
|
172
|
+
|
173
|
+
@file = @store.add_file @file.full_name if @file
|
174
|
+
end
|
175
|
+
|
176
|
+
def to_s # :nodoc:
|
177
|
+
parent_name = parent ? parent.full_name : '(unknown)'
|
178
|
+
if is_alias_for
|
179
|
+
"constant #{parent_name}::#@name -> #{is_alias_for}"
|
180
|
+
else
|
181
|
+
"constant #{parent_name}::#@name"
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
186
|
+
|
@@ -0,0 +1,1211 @@
|
|
1
|
+
require 'cgi'
|
2
|
+
|
3
|
+
##
|
4
|
+
# A Context is something that can hold modules, classes, methods, attributes,
|
5
|
+
# aliases, requires, and includes. Classes, modules, and files are all
|
6
|
+
# Contexts.
|
7
|
+
|
8
|
+
class RDoc::Context < RDoc::CodeObject
|
9
|
+
|
10
|
+
include Comparable
|
11
|
+
|
12
|
+
##
|
13
|
+
# Types of methods
|
14
|
+
|
15
|
+
TYPES = %w[class instance]
|
16
|
+
|
17
|
+
##
|
18
|
+
# If a context has these titles it will be sorted in this order.
|
19
|
+
|
20
|
+
TOMDOC_TITLES = [nil, 'Public', 'Internal', 'Deprecated'] # :nodoc:
|
21
|
+
TOMDOC_TITLES_SORT = TOMDOC_TITLES.sort_by { |title| title.to_s } # :nodoc:
|
22
|
+
|
23
|
+
##
|
24
|
+
# Class/module aliases
|
25
|
+
|
26
|
+
attr_reader :aliases
|
27
|
+
|
28
|
+
##
|
29
|
+
# All attr* methods
|
30
|
+
|
31
|
+
attr_reader :attributes
|
32
|
+
|
33
|
+
##
|
34
|
+
# Block params to be used in the next MethodAttr parsed under this context
|
35
|
+
|
36
|
+
attr_accessor :block_params
|
37
|
+
|
38
|
+
##
|
39
|
+
# Constants defined
|
40
|
+
|
41
|
+
attr_reader :constants
|
42
|
+
|
43
|
+
##
|
44
|
+
# Sets the current documentation section of documentation
|
45
|
+
|
46
|
+
attr_writer :current_section
|
47
|
+
|
48
|
+
##
|
49
|
+
# Files this context is found in
|
50
|
+
|
51
|
+
attr_reader :in_files
|
52
|
+
|
53
|
+
##
|
54
|
+
# Modules this context includes
|
55
|
+
|
56
|
+
attr_reader :includes
|
57
|
+
|
58
|
+
##
|
59
|
+
# Modules this context is extended with
|
60
|
+
|
61
|
+
attr_reader :extends
|
62
|
+
|
63
|
+
##
|
64
|
+
# Methods defined in this context
|
65
|
+
|
66
|
+
attr_reader :method_list
|
67
|
+
|
68
|
+
##
|
69
|
+
# Name of this class excluding namespace. See also full_name
|
70
|
+
|
71
|
+
attr_reader :name
|
72
|
+
|
73
|
+
##
|
74
|
+
# Files this context requires
|
75
|
+
|
76
|
+
attr_reader :requires
|
77
|
+
|
78
|
+
##
|
79
|
+
# Use this section for the next method, attribute or constant added.
|
80
|
+
|
81
|
+
attr_accessor :temporary_section
|
82
|
+
|
83
|
+
##
|
84
|
+
# Hash <tt>old_name => [aliases]</tt>, for aliases
|
85
|
+
# that haven't (yet) been resolved to a method/attribute.
|
86
|
+
# (Not to be confused with the aliases of the context.)
|
87
|
+
|
88
|
+
attr_accessor :unmatched_alias_lists
|
89
|
+
|
90
|
+
##
|
91
|
+
# Aliases that could not be resolved.
|
92
|
+
|
93
|
+
attr_reader :external_aliases
|
94
|
+
|
95
|
+
##
|
96
|
+
# Current visibility of this context
|
97
|
+
|
98
|
+
attr_accessor :visibility
|
99
|
+
|
100
|
+
##
|
101
|
+
# Hash of registered methods. Attributes are also registered here,
|
102
|
+
# twice if they are RW.
|
103
|
+
|
104
|
+
attr_reader :methods_hash
|
105
|
+
|
106
|
+
##
|
107
|
+
# Params to be used in the next MethodAttr parsed under this context
|
108
|
+
|
109
|
+
attr_accessor :params
|
110
|
+
|
111
|
+
##
|
112
|
+
# Hash of registered constants.
|
113
|
+
|
114
|
+
attr_reader :constants_hash
|
115
|
+
|
116
|
+
##
|
117
|
+
# Creates an unnamed empty context with public current visibility
|
118
|
+
|
119
|
+
def initialize
|
120
|
+
super
|
121
|
+
|
122
|
+
@in_files = []
|
123
|
+
|
124
|
+
@name ||= "unknown"
|
125
|
+
@parent = nil
|
126
|
+
@visibility = :public
|
127
|
+
|
128
|
+
@current_section = Section.new self, nil, nil
|
129
|
+
@sections = { nil => @current_section }
|
130
|
+
@temporary_section = nil
|
131
|
+
|
132
|
+
@classes = {}
|
133
|
+
@modules = {}
|
134
|
+
|
135
|
+
initialize_methods_etc
|
136
|
+
end
|
137
|
+
|
138
|
+
##
|
139
|
+
# Sets the defaults for methods and so-forth
|
140
|
+
|
141
|
+
def initialize_methods_etc
|
142
|
+
@method_list = []
|
143
|
+
@attributes = []
|
144
|
+
@aliases = []
|
145
|
+
@requires = []
|
146
|
+
@includes = []
|
147
|
+
@extends = []
|
148
|
+
@constants = []
|
149
|
+
@external_aliases = []
|
150
|
+
|
151
|
+
# This Hash maps a method name to a list of unmatched aliases (aliases of
|
152
|
+
# a method not yet encountered).
|
153
|
+
@unmatched_alias_lists = {}
|
154
|
+
|
155
|
+
@methods_hash = {}
|
156
|
+
@constants_hash = {}
|
157
|
+
|
158
|
+
@params = nil
|
159
|
+
|
160
|
+
@store ||= nil
|
161
|
+
end
|
162
|
+
|
163
|
+
##
|
164
|
+
# Contexts are sorted by full_name
|
165
|
+
|
166
|
+
def <=>(other)
|
167
|
+
return nil unless RDoc::CodeObject === other
|
168
|
+
|
169
|
+
full_name <=> other.full_name
|
170
|
+
end
|
171
|
+
|
172
|
+
##
|
173
|
+
# Adds an item of type +klass+ with the given +name+ and +comment+ to the
|
174
|
+
# context.
|
175
|
+
#
|
176
|
+
# Currently only RDoc::Extend and RDoc::Include are supported.
|
177
|
+
|
178
|
+
def add klass, name, comment
|
179
|
+
if RDoc::Extend == klass then
|
180
|
+
ext = RDoc::Extend.new name, comment
|
181
|
+
add_extend ext
|
182
|
+
elsif RDoc::Include == klass then
|
183
|
+
incl = RDoc::Include.new name, comment
|
184
|
+
add_include incl
|
185
|
+
else
|
186
|
+
raise NotImplementedError, "adding a #{klass} is not implemented"
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
##
|
191
|
+
# Adds +an_alias+ that is automatically resolved
|
192
|
+
|
193
|
+
def add_alias an_alias
|
194
|
+
return an_alias unless @document_self
|
195
|
+
|
196
|
+
method_attr = find_method(an_alias.old_name, an_alias.singleton) ||
|
197
|
+
find_attribute(an_alias.old_name, an_alias.singleton)
|
198
|
+
|
199
|
+
if method_attr then
|
200
|
+
method_attr.add_alias an_alias, self
|
201
|
+
else
|
202
|
+
add_to @external_aliases, an_alias
|
203
|
+
unmatched_alias_list =
|
204
|
+
@unmatched_alias_lists[an_alias.pretty_old_name] ||= []
|
205
|
+
unmatched_alias_list.push an_alias
|
206
|
+
end
|
207
|
+
|
208
|
+
an_alias
|
209
|
+
end
|
210
|
+
|
211
|
+
##
|
212
|
+
# Adds +attribute+ if not already there. If it is (as method(s) or attribute),
|
213
|
+
# updates the comment if it was empty.
|
214
|
+
#
|
215
|
+
# The attribute is registered only if it defines a new method.
|
216
|
+
# For instance, <tt>attr_reader :foo</tt> will not be registered
|
217
|
+
# if method +foo+ exists, but <tt>attr_accessor :foo</tt> will be registered
|
218
|
+
# if method +foo+ exists, but <tt>foo=</tt> does not.
|
219
|
+
|
220
|
+
def add_attribute attribute
|
221
|
+
return attribute unless @document_self
|
222
|
+
|
223
|
+
# mainly to check for redefinition of an attribute as a method
|
224
|
+
# TODO find a policy for 'attr_reader :foo' + 'def foo=()'
|
225
|
+
register = false
|
226
|
+
|
227
|
+
key = nil
|
228
|
+
|
229
|
+
if attribute.rw.index 'R' then
|
230
|
+
key = attribute.pretty_name
|
231
|
+
known = @methods_hash[key]
|
232
|
+
|
233
|
+
if known then
|
234
|
+
known.comment = attribute.comment if known.comment.empty?
|
235
|
+
elsif registered = @methods_hash[attribute.pretty_name << '='] and
|
236
|
+
RDoc::Attr === registered then
|
237
|
+
registered.rw = 'RW'
|
238
|
+
else
|
239
|
+
@methods_hash[key] = attribute
|
240
|
+
register = true
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
if attribute.rw.index 'W' then
|
245
|
+
key = attribute.pretty_name << '='
|
246
|
+
known = @methods_hash[key]
|
247
|
+
|
248
|
+
if known then
|
249
|
+
known.comment = attribute.comment if known.comment.empty?
|
250
|
+
elsif registered = @methods_hash[attribute.pretty_name] and
|
251
|
+
RDoc::Attr === registered then
|
252
|
+
registered.rw = 'RW'
|
253
|
+
else
|
254
|
+
@methods_hash[key] = attribute
|
255
|
+
register = true
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
if register then
|
260
|
+
attribute.visibility = @visibility
|
261
|
+
add_to @attributes, attribute
|
262
|
+
resolve_aliases attribute
|
263
|
+
end
|
264
|
+
|
265
|
+
attribute
|
266
|
+
end
|
267
|
+
|
268
|
+
##
|
269
|
+
# Adds a class named +given_name+ with +superclass+.
|
270
|
+
#
|
271
|
+
# Both +given_name+ and +superclass+ may contain '::', and are
|
272
|
+
# interpreted relative to the +self+ context. This allows handling correctly
|
273
|
+
# examples like these:
|
274
|
+
# class RDoc::Gauntlet < Gauntlet
|
275
|
+
# module Mod
|
276
|
+
# class Object # implies < ::Object
|
277
|
+
# class SubObject < Object # this is _not_ ::Object
|
278
|
+
#
|
279
|
+
# Given <tt>class Container::Item</tt> RDoc assumes +Container+ is a module
|
280
|
+
# unless it later sees <tt>class Container</tt>. +add_class+ automatically
|
281
|
+
# upgrades +given_name+ to a class in this case.
|
282
|
+
|
283
|
+
def add_class class_type, given_name, superclass = '::Object'
|
284
|
+
# superclass +nil+ is passed by the C parser in the following cases:
|
285
|
+
# - registering Object in 1.8 (correct)
|
286
|
+
# - registering BasicObject in 1.9 (correct)
|
287
|
+
# - registering RubyVM in 1.9 in iseq.c (incorrect: < Object in vm.c)
|
288
|
+
#
|
289
|
+
# If we later find a superclass for a registered class with a nil
|
290
|
+
# superclass, we must honor it.
|
291
|
+
|
292
|
+
# find the name & enclosing context
|
293
|
+
if given_name =~ /^:+(\w+)$/ then
|
294
|
+
full_name = $1
|
295
|
+
enclosing = top_level
|
296
|
+
name = full_name.split(/:+/).last
|
297
|
+
else
|
298
|
+
full_name = child_name given_name
|
299
|
+
|
300
|
+
if full_name =~ /^(.+)::(\w+)$/ then
|
301
|
+
name = $2
|
302
|
+
ename = $1
|
303
|
+
enclosing = @store.classes_hash[ename] || @store.modules_hash[ename]
|
304
|
+
# HACK: crashes in actionpack/lib/action_view/helpers/form_helper.rb (metaprogramming)
|
305
|
+
unless enclosing then
|
306
|
+
# try the given name at top level (will work for the above example)
|
307
|
+
enclosing = @store.classes_hash[given_name] ||
|
308
|
+
@store.modules_hash[given_name]
|
309
|
+
return enclosing if enclosing
|
310
|
+
# not found: create the parent(s)
|
311
|
+
names = ename.split('::')
|
312
|
+
enclosing = self
|
313
|
+
names.each do |n|
|
314
|
+
enclosing = enclosing.classes_hash[n] ||
|
315
|
+
enclosing.modules_hash[n] ||
|
316
|
+
enclosing.add_module(RDoc::NormalModule, n)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
else
|
320
|
+
name = full_name
|
321
|
+
enclosing = self
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# fix up superclass
|
326
|
+
if full_name == 'BasicObject' then
|
327
|
+
superclass = nil
|
328
|
+
elsif full_name == 'Object' then
|
329
|
+
superclass = defined?(::BasicObject) ? '::BasicObject' : nil
|
330
|
+
end
|
331
|
+
|
332
|
+
# find the superclass full name
|
333
|
+
if superclass then
|
334
|
+
if superclass =~ /^:+/ then
|
335
|
+
superclass = $' #'
|
336
|
+
else
|
337
|
+
if superclass =~ /^(\w+):+(.+)$/ then
|
338
|
+
suffix = $2
|
339
|
+
mod = find_module_named($1)
|
340
|
+
superclass = mod.full_name + '::' + suffix if mod
|
341
|
+
else
|
342
|
+
mod = find_module_named(superclass)
|
343
|
+
superclass = mod.full_name if mod
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# did we believe it was a module?
|
348
|
+
mod = @store.modules_hash.delete superclass
|
349
|
+
|
350
|
+
upgrade_to_class mod, RDoc::NormalClass, mod.parent if mod
|
351
|
+
|
352
|
+
# e.g., Object < Object
|
353
|
+
superclass = nil if superclass == full_name
|
354
|
+
end
|
355
|
+
|
356
|
+
klass = @store.classes_hash[full_name]
|
357
|
+
|
358
|
+
if klass then
|
359
|
+
# if TopLevel, it may not be registered in the classes:
|
360
|
+
enclosing.classes_hash[name] = klass
|
361
|
+
|
362
|
+
# update the superclass if needed
|
363
|
+
if superclass then
|
364
|
+
existing = klass.superclass
|
365
|
+
existing = existing.full_name unless existing.is_a?(String) if existing
|
366
|
+
if existing.nil? ||
|
367
|
+
(existing == 'Object' && superclass != 'Object') then
|
368
|
+
klass.superclass = superclass
|
369
|
+
end
|
370
|
+
end
|
371
|
+
else
|
372
|
+
# this is a new class
|
373
|
+
mod = @store.modules_hash.delete full_name
|
374
|
+
|
375
|
+
if mod then
|
376
|
+
klass = upgrade_to_class mod, RDoc::NormalClass, enclosing
|
377
|
+
|
378
|
+
klass.superclass = superclass unless superclass.nil?
|
379
|
+
else
|
380
|
+
klass = class_type.new name, superclass
|
381
|
+
|
382
|
+
enclosing.add_class_or_module(klass, enclosing.classes_hash,
|
383
|
+
@store.classes_hash)
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
klass.parent = self
|
388
|
+
|
389
|
+
klass
|
390
|
+
end
|
391
|
+
|
392
|
+
##
|
393
|
+
# Adds the class or module +mod+ to the modules or
|
394
|
+
# classes Hash +self_hash+, and to +all_hash+ (either
|
395
|
+
# <tt>TopLevel::modules_hash</tt> or <tt>TopLevel::classes_hash</tt>),
|
396
|
+
# unless #done_documenting is +true+. Sets the #parent of +mod+
|
397
|
+
# to +self+, and its #section to #current_section. Returns +mod+.
|
398
|
+
|
399
|
+
def add_class_or_module mod, self_hash, all_hash
|
400
|
+
mod.section = current_section # TODO declaring context? something is
|
401
|
+
# wrong here...
|
402
|
+
mod.parent = self
|
403
|
+
mod.store = @store
|
404
|
+
|
405
|
+
unless @done_documenting then
|
406
|
+
self_hash[mod.name] = mod
|
407
|
+
# this must be done AFTER adding mod to its parent, so that the full
|
408
|
+
# name is correct:
|
409
|
+
all_hash[mod.full_name] = mod
|
410
|
+
end
|
411
|
+
|
412
|
+
mod
|
413
|
+
end
|
414
|
+
|
415
|
+
##
|
416
|
+
# Adds +constant+ if not already there. If it is, updates the comment,
|
417
|
+
# value and/or is_alias_for of the known constant if they were empty/nil.
|
418
|
+
|
419
|
+
def add_constant constant
|
420
|
+
return constant unless @document_self
|
421
|
+
|
422
|
+
# HACK: avoid duplicate 'PI' & 'E' in math.c (1.8.7 source code)
|
423
|
+
# (this is a #ifdef: should be handled by the C parser)
|
424
|
+
known = @constants_hash[constant.name]
|
425
|
+
|
426
|
+
if known then
|
427
|
+
known.comment = constant.comment if known.comment.empty?
|
428
|
+
|
429
|
+
known.value = constant.value if
|
430
|
+
known.value.nil? or known.value.strip.empty?
|
431
|
+
|
432
|
+
known.is_alias_for ||= constant.is_alias_for
|
433
|
+
else
|
434
|
+
@constants_hash[constant.name] = constant
|
435
|
+
add_to @constants, constant
|
436
|
+
end
|
437
|
+
|
438
|
+
constant
|
439
|
+
end
|
440
|
+
|
441
|
+
##
|
442
|
+
# Adds included module +include+ which should be an RDoc::Include
|
443
|
+
|
444
|
+
def add_include include
|
445
|
+
add_to @includes, include
|
446
|
+
|
447
|
+
include
|
448
|
+
end
|
449
|
+
|
450
|
+
##
|
451
|
+
# Adds extension module +ext+ which should be an RDoc::Extend
|
452
|
+
|
453
|
+
def add_extend ext
|
454
|
+
add_to @extends, ext
|
455
|
+
|
456
|
+
ext
|
457
|
+
end
|
458
|
+
|
459
|
+
##
|
460
|
+
# Adds +method+ if not already there. If it is (as method or attribute),
|
461
|
+
# updates the comment if it was empty.
|
462
|
+
|
463
|
+
def add_method method
|
464
|
+
return method unless @document_self
|
465
|
+
|
466
|
+
# HACK: avoid duplicate 'new' in io.c & struct.c (1.8.7 source code)
|
467
|
+
key = method.pretty_name
|
468
|
+
known = @methods_hash[key]
|
469
|
+
|
470
|
+
if known then
|
471
|
+
if @store then # otherwise we are loading
|
472
|
+
known.comment = method.comment if known.comment.empty?
|
473
|
+
previously = ", previously in #{known.file}" unless
|
474
|
+
method.file == known.file
|
475
|
+
@store.rdoc.options.warn \
|
476
|
+
"Duplicate method #{known.full_name} in #{method.file}#{previously}"
|
477
|
+
end
|
478
|
+
else
|
479
|
+
@methods_hash[key] = method
|
480
|
+
method.visibility = @visibility
|
481
|
+
add_to @method_list, method
|
482
|
+
resolve_aliases method
|
483
|
+
end
|
484
|
+
|
485
|
+
method
|
486
|
+
end
|
487
|
+
|
488
|
+
##
|
489
|
+
# Adds a module named +name+. If RDoc already knows +name+ is a class then
|
490
|
+
# that class is returned instead. See also #add_class.
|
491
|
+
|
492
|
+
def add_module(class_type, name)
|
493
|
+
mod = @classes[name] || @modules[name]
|
494
|
+
return mod if mod
|
495
|
+
|
496
|
+
full_name = child_name name
|
497
|
+
mod = @store.modules_hash[full_name] || class_type.new(name)
|
498
|
+
|
499
|
+
add_class_or_module mod, @modules, @store.modules_hash
|
500
|
+
end
|
501
|
+
|
502
|
+
##
|
503
|
+
# Adds an alias from +from+ (a class or module) to +name+ which was defined
|
504
|
+
# in +file+.
|
505
|
+
|
506
|
+
def add_module_alias from, name, file
|
507
|
+
return from if @done_documenting
|
508
|
+
|
509
|
+
to_name = child_name name
|
510
|
+
|
511
|
+
# if we already know this name, don't register an alias:
|
512
|
+
# see the metaprogramming in lib/active_support/basic_object.rb,
|
513
|
+
# where we already know BasicObject is a class when we find
|
514
|
+
# BasicObject = BlankSlate
|
515
|
+
return from if @store.find_class_or_module to_name
|
516
|
+
|
517
|
+
to = from.dup
|
518
|
+
to.name = name
|
519
|
+
to.full_name = nil
|
520
|
+
|
521
|
+
if to.module? then
|
522
|
+
@store.modules_hash[to_name] = to
|
523
|
+
@modules[name] = to
|
524
|
+
else
|
525
|
+
@store.classes_hash[to_name] = to
|
526
|
+
@classes[name] = to
|
527
|
+
end
|
528
|
+
|
529
|
+
# Registers a constant for this alias. The constant value and comment
|
530
|
+
# will be updated later, when the Ruby parser adds the constant
|
531
|
+
const = RDoc::Constant.new name, nil, to.comment
|
532
|
+
const.record_location file
|
533
|
+
const.is_alias_for = from
|
534
|
+
add_constant const
|
535
|
+
|
536
|
+
to
|
537
|
+
end
|
538
|
+
|
539
|
+
##
|
540
|
+
# Adds +require+ to this context's top level
|
541
|
+
|
542
|
+
def add_require(require)
|
543
|
+
return require unless @document_self
|
544
|
+
|
545
|
+
if RDoc::TopLevel === self then
|
546
|
+
add_to @requires, require
|
547
|
+
else
|
548
|
+
parent.add_require require
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
##
|
553
|
+
# Returns a section with +title+, creating it if it doesn't already exist.
|
554
|
+
# +comment+ will be appended to the section's comment.
|
555
|
+
#
|
556
|
+
# A section with a +title+ of +nil+ will return the default section.
|
557
|
+
#
|
558
|
+
# See also RDoc::Context::Section
|
559
|
+
|
560
|
+
def add_section title, comment = nil
|
561
|
+
if section = @sections[title] then
|
562
|
+
section.add_comment comment if comment
|
563
|
+
else
|
564
|
+
section = Section.new self, title, comment
|
565
|
+
@sections[title] = section
|
566
|
+
end
|
567
|
+
|
568
|
+
section
|
569
|
+
end
|
570
|
+
|
571
|
+
##
|
572
|
+
# Adds +thing+ to the collection +array+
|
573
|
+
|
574
|
+
def add_to array, thing
|
575
|
+
array << thing if @document_self
|
576
|
+
|
577
|
+
thing.parent = self
|
578
|
+
thing.store = @store if @store
|
579
|
+
thing.section = current_section
|
580
|
+
end
|
581
|
+
|
582
|
+
##
|
583
|
+
# Is there any content?
|
584
|
+
#
|
585
|
+
# This means any of: comment, aliases, methods, attributes, external
|
586
|
+
# aliases, require, constant.
|
587
|
+
#
|
588
|
+
# Includes and extends are also checked unless <tt>includes == false</tt>.
|
589
|
+
|
590
|
+
def any_content(includes = true)
|
591
|
+
@any_content ||= !(
|
592
|
+
@comment.empty? &&
|
593
|
+
@method_list.empty? &&
|
594
|
+
@attributes.empty? &&
|
595
|
+
@aliases.empty? &&
|
596
|
+
@external_aliases.empty? &&
|
597
|
+
@requires.empty? &&
|
598
|
+
@constants.empty?
|
599
|
+
)
|
600
|
+
@any_content || (includes && !(@includes + @extends).empty? )
|
601
|
+
end
|
602
|
+
|
603
|
+
##
|
604
|
+
# Creates the full name for a child with +name+
|
605
|
+
|
606
|
+
def child_name name
|
607
|
+
if name =~ /^:+/
|
608
|
+
$' #'
|
609
|
+
elsif RDoc::TopLevel === self then
|
610
|
+
name
|
611
|
+
else
|
612
|
+
"#{self.full_name}::#{name}"
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
##
|
617
|
+
# Class attributes
|
618
|
+
|
619
|
+
def class_attributes
|
620
|
+
@class_attributes ||= attributes.select { |a| a.singleton }
|
621
|
+
end
|
622
|
+
|
623
|
+
##
|
624
|
+
# Class methods
|
625
|
+
|
626
|
+
def class_method_list
|
627
|
+
@class_method_list ||= method_list.select { |a| a.singleton }
|
628
|
+
end
|
629
|
+
|
630
|
+
##
|
631
|
+
# Array of classes in this context
|
632
|
+
|
633
|
+
def classes
|
634
|
+
@classes.values
|
635
|
+
end
|
636
|
+
|
637
|
+
##
|
638
|
+
# All classes and modules in this namespace
|
639
|
+
|
640
|
+
def classes_and_modules
|
641
|
+
classes + modules
|
642
|
+
end
|
643
|
+
|
644
|
+
##
|
645
|
+
# Hash of classes keyed by class name
|
646
|
+
|
647
|
+
def classes_hash
|
648
|
+
@classes
|
649
|
+
end
|
650
|
+
|
651
|
+
##
|
652
|
+
# The current documentation section that new items will be added to. If
|
653
|
+
# temporary_section is available it will be used.
|
654
|
+
|
655
|
+
def current_section
|
656
|
+
if section = @temporary_section then
|
657
|
+
@temporary_section = nil
|
658
|
+
else
|
659
|
+
section = @current_section
|
660
|
+
end
|
661
|
+
|
662
|
+
section
|
663
|
+
end
|
664
|
+
|
665
|
+
##
|
666
|
+
# Is part of this thing was defined in +file+?
|
667
|
+
|
668
|
+
def defined_in?(file)
|
669
|
+
@in_files.include?(file)
|
670
|
+
end
|
671
|
+
|
672
|
+
def display(method_attr) # :nodoc:
|
673
|
+
if method_attr.is_a? RDoc::Attr
|
674
|
+
"#{method_attr.definition} #{method_attr.pretty_name}"
|
675
|
+
else
|
676
|
+
"method #{method_attr.pretty_name}"
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
##
|
681
|
+
# Iterator for ancestors for duck-typing. Does nothing. See
|
682
|
+
# RDoc::ClassModule#each_ancestor.
|
683
|
+
#
|
684
|
+
# This method exists to make it easy to work with Context subclasses that
|
685
|
+
# aren't part of RDoc.
|
686
|
+
|
687
|
+
def each_ancestor # :nodoc:
|
688
|
+
end
|
689
|
+
|
690
|
+
##
|
691
|
+
# Iterator for attributes
|
692
|
+
|
693
|
+
def each_attribute # :yields: attribute
|
694
|
+
@attributes.each { |a| yield a }
|
695
|
+
end
|
696
|
+
|
697
|
+
##
|
698
|
+
# Iterator for classes and modules
|
699
|
+
|
700
|
+
def each_classmodule(&block) # :yields: module
|
701
|
+
classes_and_modules.sort.each(&block)
|
702
|
+
end
|
703
|
+
|
704
|
+
##
|
705
|
+
# Iterator for constants
|
706
|
+
|
707
|
+
def each_constant # :yields: constant
|
708
|
+
@constants.each {|c| yield c}
|
709
|
+
end
|
710
|
+
|
711
|
+
##
|
712
|
+
# Iterator for included modules
|
713
|
+
|
714
|
+
def each_include # :yields: include
|
715
|
+
@includes.each do |i| yield i end
|
716
|
+
end
|
717
|
+
|
718
|
+
##
|
719
|
+
# Iterator for extension modules
|
720
|
+
|
721
|
+
def each_extend # :yields: extend
|
722
|
+
@extends.each do |e| yield e end
|
723
|
+
end
|
724
|
+
|
725
|
+
##
|
726
|
+
# Iterator for methods
|
727
|
+
|
728
|
+
def each_method # :yields: method
|
729
|
+
return enum_for __method__ unless block_given?
|
730
|
+
|
731
|
+
@method_list.sort.each { |m| yield m }
|
732
|
+
end
|
733
|
+
|
734
|
+
##
|
735
|
+
# Iterator for each section's contents sorted by title. The +section+, the
|
736
|
+
# section's +constants+ and the sections +attributes+ are yielded. The
|
737
|
+
# +constants+ and +attributes+ collections are sorted.
|
738
|
+
#
|
739
|
+
# To retrieve methods in a section use #methods_by_type with the optional
|
740
|
+
# +section+ parameter.
|
741
|
+
#
|
742
|
+
# NOTE: Do not edit collections yielded by this method
|
743
|
+
|
744
|
+
def each_section # :yields: section, constants, attributes
|
745
|
+
return enum_for __method__ unless block_given?
|
746
|
+
|
747
|
+
constants = @constants.group_by do |constant| constant.section end
|
748
|
+
attributes = @attributes.group_by do |attribute| attribute.section end
|
749
|
+
|
750
|
+
constants.default = []
|
751
|
+
attributes.default = []
|
752
|
+
|
753
|
+
sort_sections.each do |section|
|
754
|
+
yield section, constants[section].sort, attributes[section].sort
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
##
|
759
|
+
# Finds an attribute +name+ with singleton value +singleton+.
|
760
|
+
|
761
|
+
def find_attribute(name, singleton)
|
762
|
+
name = $1 if name =~ /^(.*)=$/
|
763
|
+
@attributes.find { |a| a.name == name && a.singleton == singleton }
|
764
|
+
end
|
765
|
+
|
766
|
+
##
|
767
|
+
# Finds an attribute with +name+ in this context
|
768
|
+
|
769
|
+
def find_attribute_named(name)
|
770
|
+
case name
|
771
|
+
when /\A#/ then
|
772
|
+
find_attribute name[1..-1], false
|
773
|
+
when /\A::/ then
|
774
|
+
find_attribute name[2..-1], true
|
775
|
+
else
|
776
|
+
@attributes.find { |a| a.name == name }
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
##
|
781
|
+
# Finds a class method with +name+ in this context
|
782
|
+
|
783
|
+
def find_class_method_named(name)
|
784
|
+
@method_list.find { |meth| meth.singleton && meth.name == name }
|
785
|
+
end
|
786
|
+
|
787
|
+
##
|
788
|
+
# Finds a constant with +name+ in this context
|
789
|
+
|
790
|
+
def find_constant_named(name)
|
791
|
+
@constants.find {|m| m.name == name}
|
792
|
+
end
|
793
|
+
|
794
|
+
##
|
795
|
+
# Find a module at a higher scope
|
796
|
+
|
797
|
+
def find_enclosing_module_named(name)
|
798
|
+
parent && parent.find_module_named(name)
|
799
|
+
end
|
800
|
+
|
801
|
+
##
|
802
|
+
# Finds an external alias +name+ with singleton value +singleton+.
|
803
|
+
|
804
|
+
def find_external_alias(name, singleton)
|
805
|
+
@external_aliases.find { |m| m.name == name && m.singleton == singleton }
|
806
|
+
end
|
807
|
+
|
808
|
+
##
|
809
|
+
# Finds an external alias with +name+ in this context
|
810
|
+
|
811
|
+
def find_external_alias_named(name)
|
812
|
+
case name
|
813
|
+
when /\A#/ then
|
814
|
+
find_external_alias name[1..-1], false
|
815
|
+
when /\A::/ then
|
816
|
+
find_external_alias name[2..-1], true
|
817
|
+
else
|
818
|
+
@external_aliases.find { |a| a.name == name }
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
##
|
823
|
+
# Finds a file with +name+ in this context
|
824
|
+
|
825
|
+
def find_file_named name
|
826
|
+
@store.find_file_named name
|
827
|
+
end
|
828
|
+
|
829
|
+
##
|
830
|
+
# Finds an instance method with +name+ in this context
|
831
|
+
|
832
|
+
def find_instance_method_named(name)
|
833
|
+
@method_list.find { |meth| !meth.singleton && meth.name == name }
|
834
|
+
end
|
835
|
+
|
836
|
+
##
|
837
|
+
# Finds a method, constant, attribute, external alias, module or file
|
838
|
+
# named +symbol+ in this context.
|
839
|
+
|
840
|
+
def find_local_symbol(symbol)
|
841
|
+
find_method_named(symbol) or
|
842
|
+
find_constant_named(symbol) or
|
843
|
+
find_attribute_named(symbol) or
|
844
|
+
find_external_alias_named(symbol) or
|
845
|
+
find_module_named(symbol) or
|
846
|
+
find_file_named(symbol)
|
847
|
+
end
|
848
|
+
|
849
|
+
##
|
850
|
+
# Finds a method named +name+ with singleton value +singleton+.
|
851
|
+
|
852
|
+
def find_method(name, singleton)
|
853
|
+
@method_list.find { |m| m.name == name && m.singleton == singleton }
|
854
|
+
end
|
855
|
+
|
856
|
+
##
|
857
|
+
# Finds a instance or module method with +name+ in this context
|
858
|
+
|
859
|
+
def find_method_named(name)
|
860
|
+
case name
|
861
|
+
when /\A#/ then
|
862
|
+
find_method name[1..-1], false
|
863
|
+
when /\A::/ then
|
864
|
+
find_method name[2..-1], true
|
865
|
+
else
|
866
|
+
@method_list.find { |meth| meth.name == name }
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
##
|
871
|
+
# Find a module with +name+ using ruby's scoping rules
|
872
|
+
|
873
|
+
def find_module_named(name)
|
874
|
+
res = @modules[name] || @classes[name]
|
875
|
+
return res if res
|
876
|
+
return self if self.name == name
|
877
|
+
find_enclosing_module_named name
|
878
|
+
end
|
879
|
+
|
880
|
+
##
|
881
|
+
# Look up +symbol+, first as a module, then as a local symbol.
|
882
|
+
|
883
|
+
def find_symbol(symbol)
|
884
|
+
find_symbol_module(symbol) || find_local_symbol(symbol)
|
885
|
+
end
|
886
|
+
|
887
|
+
##
|
888
|
+
# Look up a module named +symbol+.
|
889
|
+
|
890
|
+
def find_symbol_module(symbol)
|
891
|
+
result = nil
|
892
|
+
|
893
|
+
# look for a class or module 'symbol'
|
894
|
+
case symbol
|
895
|
+
when /^::/ then
|
896
|
+
result = @store.find_class_or_module symbol
|
897
|
+
when /^(\w+):+(.+)$/
|
898
|
+
suffix = $2
|
899
|
+
top = $1
|
900
|
+
searched = self
|
901
|
+
while searched do
|
902
|
+
mod = searched.find_module_named(top)
|
903
|
+
break unless mod
|
904
|
+
result = @store.find_class_or_module "#{mod.full_name}::#{suffix}"
|
905
|
+
break if result || searched.is_a?(RDoc::TopLevel)
|
906
|
+
searched = searched.parent
|
907
|
+
end
|
908
|
+
else
|
909
|
+
searched = self
|
910
|
+
while searched do
|
911
|
+
result = searched.find_module_named(symbol)
|
912
|
+
break if result || searched.is_a?(RDoc::TopLevel)
|
913
|
+
searched = searched.parent
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
result
|
918
|
+
end
|
919
|
+
|
920
|
+
##
|
921
|
+
# The full name for this context. This method is overridden by subclasses.
|
922
|
+
|
923
|
+
def full_name
|
924
|
+
'(unknown)'
|
925
|
+
end
|
926
|
+
|
927
|
+
##
|
928
|
+
# Does this context and its methods and constants all have documentation?
|
929
|
+
#
|
930
|
+
# (Yes, fully documented doesn't mean everything.)
|
931
|
+
|
932
|
+
def fully_documented?
|
933
|
+
documented? and
|
934
|
+
attributes.all? { |a| a.documented? } and
|
935
|
+
method_list.all? { |m| m.documented? } and
|
936
|
+
constants.all? { |c| c.documented? }
|
937
|
+
end
|
938
|
+
|
939
|
+
##
|
940
|
+
# URL for this with a +prefix+
|
941
|
+
|
942
|
+
def http_url(prefix)
|
943
|
+
path = name_for_path
|
944
|
+
path = path.gsub(/<<\s*(\w*)/, 'from-\1') if path =~ /<</
|
945
|
+
path = [prefix] + path.split('::')
|
946
|
+
|
947
|
+
File.join(*path.compact) + '.html'
|
948
|
+
end
|
949
|
+
|
950
|
+
##
|
951
|
+
# Instance attributes
|
952
|
+
|
953
|
+
def instance_attributes
|
954
|
+
@instance_attributes ||= attributes.reject { |a| a.singleton }
|
955
|
+
end
|
956
|
+
|
957
|
+
##
|
958
|
+
# Instance methods
|
959
|
+
#--
|
960
|
+
# TODO rename to instance_methods
|
961
|
+
|
962
|
+
def instance_method_list
|
963
|
+
@instance_method_list ||= method_list.reject { |a| a.singleton }
|
964
|
+
end
|
965
|
+
|
966
|
+
##
|
967
|
+
# Breaks method_list into a nested hash by type (<tt>'class'</tt> or
|
968
|
+
# <tt>'instance'</tt>) and visibility (+:public+, +:protected+, +:private+).
|
969
|
+
#
|
970
|
+
# If +section+ is provided only methods in that RDoc::Context::Section will
|
971
|
+
# be returned.
|
972
|
+
|
973
|
+
def methods_by_type section = nil
|
974
|
+
methods = {}
|
975
|
+
|
976
|
+
TYPES.each do |type|
|
977
|
+
visibilities = {}
|
978
|
+
RDoc::VISIBILITIES.each do |vis|
|
979
|
+
visibilities[vis] = []
|
980
|
+
end
|
981
|
+
|
982
|
+
methods[type] = visibilities
|
983
|
+
end
|
984
|
+
|
985
|
+
each_method do |method|
|
986
|
+
next if section and not method.section == section
|
987
|
+
methods[method.type][method.visibility] << method
|
988
|
+
end
|
989
|
+
|
990
|
+
methods
|
991
|
+
end
|
992
|
+
|
993
|
+
##
|
994
|
+
# Yields AnyMethod and Attr entries matching the list of names in +methods+.
|
995
|
+
|
996
|
+
def methods_matching(methods, singleton = false, &block)
|
997
|
+
(@method_list + @attributes).each do |m|
|
998
|
+
yield m if methods.include?(m.name) and m.singleton == singleton
|
999
|
+
end
|
1000
|
+
|
1001
|
+
each_ancestor do |parent|
|
1002
|
+
parent.methods_matching(methods, singleton, &block)
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
##
|
1007
|
+
# Array of modules in this context
|
1008
|
+
|
1009
|
+
def modules
|
1010
|
+
@modules.values
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
##
|
1014
|
+
# Hash of modules keyed by module name
|
1015
|
+
|
1016
|
+
def modules_hash
|
1017
|
+
@modules
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
##
|
1021
|
+
# Name to use to generate the url.
|
1022
|
+
# <tt>#full_name</tt> by default.
|
1023
|
+
|
1024
|
+
def name_for_path
|
1025
|
+
full_name
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
##
|
1029
|
+
# Changes the visibility for new methods to +visibility+
|
1030
|
+
|
1031
|
+
def ongoing_visibility=(visibility)
|
1032
|
+
@visibility = visibility
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
##
|
1036
|
+
# Record +top_level+ as a file +self+ is in.
|
1037
|
+
|
1038
|
+
def record_location(top_level)
|
1039
|
+
@in_files << top_level unless @in_files.include?(top_level)
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
##
|
1043
|
+
# Should we remove this context from the documentation?
|
1044
|
+
#
|
1045
|
+
# The answer is yes if:
|
1046
|
+
# * #received_nodoc is +true+
|
1047
|
+
# * #any_content is +false+ (not counting includes)
|
1048
|
+
# * All #includes are modules (not a string), and their module has
|
1049
|
+
# <tt>#remove_from_documentation? == true</tt>
|
1050
|
+
# * All classes and modules have <tt>#remove_from_documentation? == true</tt>
|
1051
|
+
|
1052
|
+
def remove_from_documentation?
|
1053
|
+
@remove_from_documentation ||=
|
1054
|
+
@received_nodoc &&
|
1055
|
+
!any_content(false) &&
|
1056
|
+
@includes.all? { |i| !i.module.is_a?(String) && i.module.remove_from_documentation? } &&
|
1057
|
+
classes_and_modules.all? { |cm| cm.remove_from_documentation? }
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
##
|
1061
|
+
# Removes methods and attributes with a visibility less than +min_visibility+.
|
1062
|
+
#--
|
1063
|
+
# TODO mark the visibility of attributes in the template (if not public?)
|
1064
|
+
|
1065
|
+
def remove_invisible min_visibility
|
1066
|
+
return if [:private, :nodoc].include? min_visibility
|
1067
|
+
remove_invisible_in @method_list, min_visibility
|
1068
|
+
remove_invisible_in @attributes, min_visibility
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
##
|
1072
|
+
# Only called when min_visibility == :public or :private
|
1073
|
+
|
1074
|
+
def remove_invisible_in array, min_visibility # :nodoc:
|
1075
|
+
if min_visibility == :public then
|
1076
|
+
array.reject! { |e|
|
1077
|
+
e.visibility != :public and not e.force_documentation
|
1078
|
+
}
|
1079
|
+
else
|
1080
|
+
array.reject! { |e|
|
1081
|
+
e.visibility == :private and not e.force_documentation
|
1082
|
+
}
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
##
|
1087
|
+
# Tries to resolve unmatched aliases when a method or attribute has just
|
1088
|
+
# been added.
|
1089
|
+
|
1090
|
+
def resolve_aliases added
|
1091
|
+
# resolve any pending unmatched aliases
|
1092
|
+
key = added.pretty_name
|
1093
|
+
unmatched_alias_list = @unmatched_alias_lists[key]
|
1094
|
+
return unless unmatched_alias_list
|
1095
|
+
unmatched_alias_list.each do |unmatched_alias|
|
1096
|
+
added.add_alias unmatched_alias, self
|
1097
|
+
@external_aliases.delete unmatched_alias
|
1098
|
+
end
|
1099
|
+
@unmatched_alias_lists.delete key
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
##
|
1103
|
+
# Returns RDoc::Context::Section objects referenced in this context for use
|
1104
|
+
# in a table of contents.
|
1105
|
+
|
1106
|
+
def section_contents
|
1107
|
+
used_sections = {}
|
1108
|
+
|
1109
|
+
each_method do |method|
|
1110
|
+
next unless method.display?
|
1111
|
+
|
1112
|
+
used_sections[method.section] = true
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# order found sections
|
1116
|
+
sections = sort_sections.select do |section|
|
1117
|
+
used_sections[section]
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# only the default section is used
|
1121
|
+
return [] if
|
1122
|
+
sections.length == 1 and not sections.first.title
|
1123
|
+
|
1124
|
+
sections
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
##
|
1128
|
+
# Sections in this context
|
1129
|
+
|
1130
|
+
def sections
|
1131
|
+
@sections.values
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def sections_hash # :nodoc:
|
1135
|
+
@sections
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
##
|
1139
|
+
# Sets the current section to a section with +title+. See also #add_section
|
1140
|
+
|
1141
|
+
def set_current_section title, comment
|
1142
|
+
@current_section = add_section title, comment
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
##
|
1146
|
+
# Given an array +methods+ of method names, set the visibility of each to
|
1147
|
+
# +visibility+
|
1148
|
+
|
1149
|
+
def set_visibility_for(methods, visibility, singleton = false)
|
1150
|
+
methods_matching methods, singleton do |m|
|
1151
|
+
m.visibility = visibility
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
##
|
1156
|
+
# Sorts sections alphabetically (default) or in TomDoc fashion (none,
|
1157
|
+
# Public, Internal, Deprecated)
|
1158
|
+
|
1159
|
+
def sort_sections
|
1160
|
+
titles = @sections.map { |title, _| title }
|
1161
|
+
|
1162
|
+
if titles.length > 1 and
|
1163
|
+
TOMDOC_TITLES_SORT ==
|
1164
|
+
(titles | TOMDOC_TITLES).sort_by { |title| title.to_s } then
|
1165
|
+
@sections.values_at(*TOMDOC_TITLES).compact
|
1166
|
+
else
|
1167
|
+
@sections.sort_by { |title, _|
|
1168
|
+
title.to_s
|
1169
|
+
}.map { |_, section|
|
1170
|
+
section
|
1171
|
+
}
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
def to_s # :nodoc:
|
1176
|
+
"#{self.class.name} #{self.full_name}"
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
##
|
1180
|
+
# Return the TopLevel that owns us
|
1181
|
+
#--
|
1182
|
+
# FIXME we can be 'owned' by several TopLevel (see #record_location &
|
1183
|
+
# #in_files)
|
1184
|
+
|
1185
|
+
def top_level
|
1186
|
+
return @top_level if defined? @top_level
|
1187
|
+
@top_level = self
|
1188
|
+
@top_level = @top_level.parent until RDoc::TopLevel === @top_level
|
1189
|
+
@top_level
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
##
|
1193
|
+
# Upgrades NormalModule +mod+ in +enclosing+ to a +class_type+
|
1194
|
+
|
1195
|
+
def upgrade_to_class mod, class_type, enclosing
|
1196
|
+
enclosing.modules_hash.delete mod.name
|
1197
|
+
|
1198
|
+
klass = RDoc::ClassModule.from_module class_type, mod
|
1199
|
+
klass.store = @store
|
1200
|
+
|
1201
|
+
# if it was there, then we keep it even if done_documenting
|
1202
|
+
@store.classes_hash[mod.full_name] = klass
|
1203
|
+
enclosing.classes_hash[mod.name] = klass
|
1204
|
+
|
1205
|
+
klass
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
autoload :Section, 'rdoc/context/section'
|
1209
|
+
|
1210
|
+
end
|
1211
|
+
|