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,310 @@
|
|
1
|
+
# -*- coding: us-ascii -*-
|
2
|
+
|
3
|
+
##
|
4
|
+
# A parser is simple a class that subclasses RDoc::Parser and implements #scan
|
5
|
+
# to fill in an RDoc::TopLevel with parsed data.
|
6
|
+
#
|
7
|
+
# The initialize method takes an RDoc::TopLevel to fill with parsed content,
|
8
|
+
# the name of the file to be parsed, the content of the file, an RDoc::Options
|
9
|
+
# object and an RDoc::Stats object to inform the user of parsed items. The
|
10
|
+
# scan method is then called to parse the file and must return the
|
11
|
+
# RDoc::TopLevel object. By calling super these items will be set for you.
|
12
|
+
#
|
13
|
+
# In order to be used by RDoc the parser needs to register the file extensions
|
14
|
+
# it can parse. Use ::parse_files_matching to register extensions.
|
15
|
+
#
|
16
|
+
# require 'rdoc'
|
17
|
+
#
|
18
|
+
# class RDoc::Parser::Xyz < RDoc::Parser
|
19
|
+
# parse_files_matching /\.xyz$/
|
20
|
+
#
|
21
|
+
# def initialize top_level, file_name, content, options, stats
|
22
|
+
# super
|
23
|
+
#
|
24
|
+
# # extra initialization if needed
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# def scan
|
28
|
+
# # parse file and fill in @top_level
|
29
|
+
# end
|
30
|
+
# end
|
31
|
+
|
32
|
+
class RDoc::Parser
|
33
|
+
|
34
|
+
@parsers = []
|
35
|
+
|
36
|
+
class << self
|
37
|
+
|
38
|
+
##
|
39
|
+
# An Array of arrays that maps file extension (or name) regular
|
40
|
+
# expressions to parser classes that will parse matching filenames.
|
41
|
+
#
|
42
|
+
# Use parse_files_matching to register a parser's file extensions.
|
43
|
+
|
44
|
+
attr_reader :parsers
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# The name of the file being parsed
|
50
|
+
|
51
|
+
attr_reader :file_name
|
52
|
+
|
53
|
+
##
|
54
|
+
# Alias an extension to another extension. After this call, files ending
|
55
|
+
# "new_ext" will be parsed using the same parser as "old_ext"
|
56
|
+
|
57
|
+
def self.alias_extension(old_ext, new_ext)
|
58
|
+
old_ext = old_ext.sub(/^\.(.*)/, '\1')
|
59
|
+
new_ext = new_ext.sub(/^\.(.*)/, '\1')
|
60
|
+
|
61
|
+
parser = can_parse_by_name "xxx.#{old_ext}"
|
62
|
+
return false unless parser
|
63
|
+
|
64
|
+
RDoc::Parser.parsers.unshift [/\.#{new_ext}$/, parser]
|
65
|
+
|
66
|
+
true
|
67
|
+
end
|
68
|
+
|
69
|
+
##
|
70
|
+
# Determines if the file is a "binary" file which basically means it has
|
71
|
+
# content that an RDoc parser shouldn't try to consume.
|
72
|
+
|
73
|
+
def self.binary?(file)
|
74
|
+
return false if file =~ /\.(rdoc|txt)$/
|
75
|
+
|
76
|
+
s = File.read(file, 1024) or return false
|
77
|
+
|
78
|
+
have_encoding = s.respond_to? :encoding
|
79
|
+
|
80
|
+
return true if s[0, 2] == Marshal.dump('')[0, 2] or s.index("\x00")
|
81
|
+
|
82
|
+
if have_encoding then
|
83
|
+
mode = "r"
|
84
|
+
s.sub!(/\A#!.*\n/, '') # assume shebang line isn't longer than 1024.
|
85
|
+
encoding = s[/^\s*\#\s*(?:-\*-\s*)?(?:en)?coding:\s*([^\s;]+?)(?:-\*-|[\s;])/, 1]
|
86
|
+
mode = "rb:#{encoding}" if encoding
|
87
|
+
s = File.open(file, mode) {|f| f.gets(nil, 1024)}
|
88
|
+
|
89
|
+
not s.valid_encoding?
|
90
|
+
else
|
91
|
+
if 0.respond_to? :fdiv then
|
92
|
+
s.count("\x00-\x7F", "^ -~\t\r\n").fdiv(s.size) > 0.3
|
93
|
+
else # HACK 1.8.6
|
94
|
+
(s.count("\x00-\x7F", "^ -~\t\r\n").to_f / s.size) > 0.3
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
##
|
100
|
+
# Processes common directives for CodeObjects for the C and Ruby parsers.
|
101
|
+
#
|
102
|
+
# Applies +directive+'s +value+ to +code_object+, if appropriate
|
103
|
+
|
104
|
+
def self.process_directive code_object, directive, value
|
105
|
+
warn "RDoc::Parser::process_directive is deprecated and wil be removed in RDoc 4. Use RDoc::Markup::PreProcess#handle_directive instead" if $-w
|
106
|
+
|
107
|
+
case directive
|
108
|
+
when 'nodoc' then
|
109
|
+
code_object.document_self = nil # notify nodoc
|
110
|
+
code_object.document_children = value.downcase != 'all'
|
111
|
+
when 'doc' then
|
112
|
+
code_object.document_self = true
|
113
|
+
code_object.force_documentation = true
|
114
|
+
when 'yield', 'yields' then
|
115
|
+
# remove parameter &block
|
116
|
+
code_object.params.sub!(/,?\s*&\w+/, '') if code_object.params
|
117
|
+
|
118
|
+
code_object.block_params = value
|
119
|
+
when 'arg', 'args' then
|
120
|
+
code_object.params = value
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
##
|
125
|
+
# Checks if +file+ is a zip file in disguise. Signatures from
|
126
|
+
# http://www.garykessler.net/library/file_sigs.html
|
127
|
+
|
128
|
+
def self.zip? file
|
129
|
+
zip_signature = File.read file, 4
|
130
|
+
|
131
|
+
zip_signature == "PK\x03\x04" or
|
132
|
+
zip_signature == "PK\x05\x06" or
|
133
|
+
zip_signature == "PK\x07\x08"
|
134
|
+
rescue
|
135
|
+
false
|
136
|
+
end
|
137
|
+
|
138
|
+
##
|
139
|
+
# Return a parser that can handle a particular extension
|
140
|
+
|
141
|
+
def self.can_parse file_name
|
142
|
+
parser = can_parse_by_name file_name
|
143
|
+
|
144
|
+
# HACK Selenium hides a jar file using a .txt extension
|
145
|
+
return if parser == RDoc::Parser::Simple and zip? file_name
|
146
|
+
|
147
|
+
parser
|
148
|
+
end
|
149
|
+
|
150
|
+
##
|
151
|
+
# Returns a parser that can handle the extension for +file_name+. This does
|
152
|
+
# not depend upon the file being readable.
|
153
|
+
|
154
|
+
def self.can_parse_by_name file_name
|
155
|
+
_, parser = RDoc::Parser.parsers.find { |regexp,| regexp =~ file_name }
|
156
|
+
|
157
|
+
# The default parser must not parse binary files
|
158
|
+
ext_name = File.extname file_name
|
159
|
+
return parser if ext_name.empty?
|
160
|
+
|
161
|
+
if parser == RDoc::Parser::Simple and ext_name !~ /txt|rdoc/ then
|
162
|
+
case check_modeline file_name
|
163
|
+
when nil, 'rdoc' then # continue
|
164
|
+
else return nil
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
parser
|
169
|
+
rescue Errno::EACCES
|
170
|
+
end
|
171
|
+
|
172
|
+
##
|
173
|
+
# Returns the file type from the modeline in +file_name+
|
174
|
+
|
175
|
+
def self.check_modeline file_name
|
176
|
+
line = open file_name do |io|
|
177
|
+
io.gets
|
178
|
+
end
|
179
|
+
|
180
|
+
/-\*-\s*(.*?\S)\s*-\*-/ =~ line
|
181
|
+
|
182
|
+
return nil unless type = $1
|
183
|
+
|
184
|
+
if /;/ =~ type then
|
185
|
+
return nil unless /(?:\s|\A)mode:\s*([^\s;]+)/i =~ type
|
186
|
+
type = $1
|
187
|
+
end
|
188
|
+
|
189
|
+
return nil if /coding:/i =~ type
|
190
|
+
|
191
|
+
type.downcase
|
192
|
+
rescue ArgumentError # invalid byte sequence, etc.
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# Finds and instantiates the correct parser for the given +file_name+ and
|
197
|
+
# +content+.
|
198
|
+
|
199
|
+
def self.for top_level, file_name, content, options, stats
|
200
|
+
return if binary? file_name
|
201
|
+
|
202
|
+
parser = use_markup content
|
203
|
+
|
204
|
+
unless parser then
|
205
|
+
parse_name = file_name
|
206
|
+
|
207
|
+
# If no extension, look for shebang
|
208
|
+
if file_name !~ /\.\w+$/ && content =~ %r{\A#!(.+)} then
|
209
|
+
shebang = $1
|
210
|
+
case shebang
|
211
|
+
when %r{env\s+ruby}, %r{/ruby}
|
212
|
+
parse_name = 'dummy.rb'
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
parser = can_parse parse_name
|
217
|
+
end
|
218
|
+
|
219
|
+
return unless parser
|
220
|
+
|
221
|
+
content = remove_modeline content
|
222
|
+
|
223
|
+
parser.new top_level, file_name, content, options, stats
|
224
|
+
rescue SystemCallError
|
225
|
+
nil
|
226
|
+
end
|
227
|
+
|
228
|
+
##
|
229
|
+
# Record which file types this parser can understand.
|
230
|
+
#
|
231
|
+
# It is ok to call this multiple times.
|
232
|
+
|
233
|
+
def self.parse_files_matching(regexp)
|
234
|
+
RDoc::Parser.parsers.unshift [regexp, self]
|
235
|
+
end
|
236
|
+
|
237
|
+
##
|
238
|
+
# Removes an emacs-style modeline from the first line of the document
|
239
|
+
|
240
|
+
def self.remove_modeline content
|
241
|
+
content.sub(/\A.*-\*-\s*(.*?\S)\s*-\*-.*\r?\n/, '')
|
242
|
+
end
|
243
|
+
|
244
|
+
##
|
245
|
+
# If there is a <tt>markup: parser_name</tt> comment at the front of the
|
246
|
+
# file, use it to determine the parser. For example:
|
247
|
+
#
|
248
|
+
# # markup: rdoc
|
249
|
+
# # Class comment can go here
|
250
|
+
#
|
251
|
+
# class C
|
252
|
+
# end
|
253
|
+
#
|
254
|
+
# The comment should appear as the first line of the +content+.
|
255
|
+
#
|
256
|
+
# If the content contains a shebang or editor modeline the comment may
|
257
|
+
# appear on the second or third line.
|
258
|
+
#
|
259
|
+
# Any comment style may be used to hide the markup comment.
|
260
|
+
|
261
|
+
def self.use_markup content
|
262
|
+
markup = content.lines.first(3).grep(/markup:\s+(\w+)/) { $1 }.first
|
263
|
+
|
264
|
+
return unless markup
|
265
|
+
|
266
|
+
# TODO Ruby should be returned only when the filename is correct
|
267
|
+
return RDoc::Parser::Ruby if %w[tomdoc markdown].include? markup
|
268
|
+
|
269
|
+
markup = Regexp.escape markup
|
270
|
+
|
271
|
+
_, selected = RDoc::Parser.parsers.find do |_, parser|
|
272
|
+
/^#{markup}$/i =~ parser.name.sub(/.*:/, '')
|
273
|
+
end
|
274
|
+
|
275
|
+
selected
|
276
|
+
end
|
277
|
+
|
278
|
+
##
|
279
|
+
# Creates a new Parser storing +top_level+, +file_name+, +content+,
|
280
|
+
# +options+ and +stats+ in instance variables. In +@preprocess+ an
|
281
|
+
# RDoc::Markup::PreProcess object is created which allows processing of
|
282
|
+
# directives.
|
283
|
+
|
284
|
+
def initialize top_level, file_name, content, options, stats
|
285
|
+
@top_level = top_level
|
286
|
+
@top_level.parser = self.class
|
287
|
+
@store = @top_level.store
|
288
|
+
|
289
|
+
@file_name = file_name
|
290
|
+
@content = content
|
291
|
+
@options = options
|
292
|
+
@stats = stats
|
293
|
+
|
294
|
+
@preprocess = RDoc::Markup::PreProcess.new @file_name, @options.rdoc_include
|
295
|
+
@preprocess.options = @options
|
296
|
+
end
|
297
|
+
|
298
|
+
autoload :RubyTools, 'rdoc/parser/ruby_tools'
|
299
|
+
autoload :Text, 'rdoc/parser/text'
|
300
|
+
|
301
|
+
end
|
302
|
+
|
303
|
+
# simple must come first in order to show up last in the parsers list
|
304
|
+
require 'rdoc/parser/simple'
|
305
|
+
require 'rdoc/parser/c'
|
306
|
+
require 'rdoc/parser/changelog'
|
307
|
+
require 'rdoc/parser/markdown'
|
308
|
+
require 'rdoc/parser/rd'
|
309
|
+
require 'rdoc/parser/ruby'
|
310
|
+
|
@@ -0,0 +1,1229 @@
|
|
1
|
+
require 'tsort'
|
2
|
+
|
3
|
+
##
|
4
|
+
# RDoc::Parser::C attempts to parse C extension files. It looks for
|
5
|
+
# the standard patterns that you find in extensions: <tt>rb_define_class,
|
6
|
+
# rb_define_method</tt> and so on. It tries to find the corresponding
|
7
|
+
# C source for the methods and extract comments, but if we fail
|
8
|
+
# we don't worry too much.
|
9
|
+
#
|
10
|
+
# The comments associated with a Ruby method are extracted from the C
|
11
|
+
# comment block associated with the routine that _implements_ that
|
12
|
+
# method, that is to say the method whose name is given in the
|
13
|
+
# <tt>rb_define_method</tt> call. For example, you might write:
|
14
|
+
#
|
15
|
+
# /*
|
16
|
+
# * Returns a new array that is a one-dimensional flattening of this
|
17
|
+
# * array (recursively). That is, for every element that is an array,
|
18
|
+
# * extract its elements into the new array.
|
19
|
+
# *
|
20
|
+
# * s = [ 1, 2, 3 ] #=> [1, 2, 3]
|
21
|
+
# * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]]
|
22
|
+
# * a = [ s, t, 9, 10 ] #=> [[1, 2, 3], [4, 5, 6, [7, 8]], 9, 10]
|
23
|
+
# * a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
24
|
+
# */
|
25
|
+
# static VALUE
|
26
|
+
# rb_ary_flatten(ary)
|
27
|
+
# VALUE ary;
|
28
|
+
# {
|
29
|
+
# ary = rb_obj_dup(ary);
|
30
|
+
# rb_ary_flatten_bang(ary);
|
31
|
+
# return ary;
|
32
|
+
# }
|
33
|
+
#
|
34
|
+
# ...
|
35
|
+
#
|
36
|
+
# void
|
37
|
+
# Init_Array()
|
38
|
+
# {
|
39
|
+
# ...
|
40
|
+
# rb_define_method(rb_cArray, "flatten", rb_ary_flatten, 0);
|
41
|
+
#
|
42
|
+
# Here RDoc will determine from the rb_define_method line that there's a
|
43
|
+
# method called "flatten" in class Array, and will look for the implementation
|
44
|
+
# in the method rb_ary_flatten. It will then use the comment from that
|
45
|
+
# method in the HTML output. This method must be in the same source file
|
46
|
+
# as the rb_define_method.
|
47
|
+
#
|
48
|
+
# The comment blocks may include special directives:
|
49
|
+
#
|
50
|
+
# [Document-class: +name+]
|
51
|
+
# Documentation for the named class.
|
52
|
+
#
|
53
|
+
# [Document-module: +name+]
|
54
|
+
# Documentation for the named module.
|
55
|
+
#
|
56
|
+
# [Document-const: +name+]
|
57
|
+
# Documentation for the named +rb_define_const+.
|
58
|
+
#
|
59
|
+
# Constant values can be supplied on the first line of the comment like so:
|
60
|
+
#
|
61
|
+
# /* 300: The highest possible score in bowling */
|
62
|
+
# rb_define_const(cFoo, "PERFECT", INT2FIX(300));
|
63
|
+
#
|
64
|
+
# The value can contain internal colons so long as they are escaped with a \
|
65
|
+
#
|
66
|
+
# [Document-global: +name+]
|
67
|
+
# Documentation for the named +rb_define_global_const+
|
68
|
+
#
|
69
|
+
# [Document-variable: +name+]
|
70
|
+
# Documentation for the named +rb_define_variable+
|
71
|
+
#
|
72
|
+
# [Document-method: +method_name+]
|
73
|
+
# Documentation for the named method. Use this when the method name is
|
74
|
+
# unambiguous.
|
75
|
+
#
|
76
|
+
# [Document-method: <tt>ClassName::method_name<tt>]
|
77
|
+
# Documentation for a singleton method in the given class. Use this when
|
78
|
+
# the method name alone is ambiguous.
|
79
|
+
#
|
80
|
+
# [Document-method: <tt>ClassName#method_name<tt>]
|
81
|
+
# Documentation for a instance method in the given class. Use this when the
|
82
|
+
# method name alone is ambiguous.
|
83
|
+
#
|
84
|
+
# [Document-attr: +name+]
|
85
|
+
# Documentation for the named attribute.
|
86
|
+
#
|
87
|
+
# [call-seq: <i>text up to an empty line</i>]
|
88
|
+
# Because C source doesn't give descriptive names to Ruby-level parameters,
|
89
|
+
# you need to document the calling sequence explicitly
|
90
|
+
#
|
91
|
+
# In addition, RDoc assumes by default that the C method implementing a
|
92
|
+
# Ruby function is in the same source file as the rb_define_method call.
|
93
|
+
# If this isn't the case, add the comment:
|
94
|
+
#
|
95
|
+
# rb_define_method(....); // in filename
|
96
|
+
#
|
97
|
+
# As an example, we might have an extension that defines multiple classes
|
98
|
+
# in its Init_xxx method. We could document them using
|
99
|
+
#
|
100
|
+
# /*
|
101
|
+
# * Document-class: MyClass
|
102
|
+
# *
|
103
|
+
# * Encapsulate the writing and reading of the configuration
|
104
|
+
# * file. ...
|
105
|
+
# */
|
106
|
+
#
|
107
|
+
# /*
|
108
|
+
# * Document-method: read_value
|
109
|
+
# *
|
110
|
+
# * call-seq:
|
111
|
+
# * cfg.read_value(key) -> value
|
112
|
+
# * cfg.read_value(key} { |key| } -> value
|
113
|
+
# *
|
114
|
+
# * Return the value corresponding to +key+ from the configuration.
|
115
|
+
# * In the second form, if the key isn't found, invoke the
|
116
|
+
# * block and return its value.
|
117
|
+
# */
|
118
|
+
|
119
|
+
class RDoc::Parser::C < RDoc::Parser
|
120
|
+
|
121
|
+
parse_files_matching(/\.(?:([CcHh])\1?|c([+xp])\2|y)\z/)
|
122
|
+
|
123
|
+
include RDoc::Text
|
124
|
+
|
125
|
+
##
|
126
|
+
# Maps C variable names to names of Ruby classes or modules
|
127
|
+
|
128
|
+
attr_reader :classes
|
129
|
+
|
130
|
+
##
|
131
|
+
# C file the parser is parsing
|
132
|
+
|
133
|
+
attr_accessor :content
|
134
|
+
|
135
|
+
##
|
136
|
+
# Dependencies from a missing enclosing class to the classes in
|
137
|
+
# missing_dependencies that depend upon it.
|
138
|
+
|
139
|
+
attr_reader :enclosure_dependencies
|
140
|
+
|
141
|
+
##
|
142
|
+
# Maps C variable names to names of Ruby classes (and singleton classes)
|
143
|
+
|
144
|
+
attr_reader :known_classes
|
145
|
+
|
146
|
+
##
|
147
|
+
# Classes found while parsing the C file that were not yet registered due to
|
148
|
+
# a missing enclosing class. These are processed by do_missing
|
149
|
+
|
150
|
+
attr_reader :missing_dependencies
|
151
|
+
|
152
|
+
##
|
153
|
+
# Maps C variable names to names of Ruby singleton classes
|
154
|
+
|
155
|
+
attr_reader :singleton_classes
|
156
|
+
|
157
|
+
##
|
158
|
+
# The TopLevel items in the parsed file belong to
|
159
|
+
|
160
|
+
attr_reader :top_level
|
161
|
+
|
162
|
+
##
|
163
|
+
# Prepares for parsing a C file. See RDoc::Parser#initialize for details on
|
164
|
+
# the arguments.
|
165
|
+
|
166
|
+
def initialize top_level, file_name, content, options, stats
|
167
|
+
super
|
168
|
+
|
169
|
+
@known_classes = RDoc::KNOWN_CLASSES.dup
|
170
|
+
@content = handle_tab_width handle_ifdefs_in @content
|
171
|
+
@file_dir = File.dirname @file_name
|
172
|
+
|
173
|
+
@classes = load_variable_map :c_class_variables
|
174
|
+
@singleton_classes = load_variable_map :c_singleton_class_variables
|
175
|
+
|
176
|
+
# class_variable => { function => [method, ...] }
|
177
|
+
@methods = Hash.new { |h, f| h[f] = Hash.new { |i, m| i[m] = [] } }
|
178
|
+
|
179
|
+
# missing variable => [handle_class_module arguments]
|
180
|
+
@missing_dependencies = {}
|
181
|
+
|
182
|
+
# missing enclosure variable => [dependent handle_class_module arguments]
|
183
|
+
@enclosure_dependencies = Hash.new { |h, k| h[k] = [] }
|
184
|
+
@enclosure_dependencies.instance_variable_set :@missing_dependencies,
|
185
|
+
@missing_dependencies
|
186
|
+
|
187
|
+
@enclosure_dependencies.extend TSort
|
188
|
+
|
189
|
+
def @enclosure_dependencies.tsort_each_node &block
|
190
|
+
each_key(&block)
|
191
|
+
rescue TSort::Cyclic => e
|
192
|
+
cycle_vars = e.message.scan(/"(.*?)"/).flatten
|
193
|
+
|
194
|
+
cycle = cycle_vars.sort.map do |var_name|
|
195
|
+
delete var_name
|
196
|
+
|
197
|
+
var_name, type, mod_name, = @missing_dependencies[var_name]
|
198
|
+
|
199
|
+
"#{type} #{mod_name} (#{var_name})"
|
200
|
+
end.join ', '
|
201
|
+
|
202
|
+
warn "Unable to create #{cycle} due to a cyclic class or module creation"
|
203
|
+
|
204
|
+
retry
|
205
|
+
end
|
206
|
+
|
207
|
+
def @enclosure_dependencies.tsort_each_child node, &block
|
208
|
+
fetch(node, []).each(&block)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
##
|
213
|
+
# Removes duplicate call-seq entries for methods using the same
|
214
|
+
# implementation.
|
215
|
+
|
216
|
+
def deduplicate_call_seq
|
217
|
+
@methods.each do |var_name, functions|
|
218
|
+
class_name = @known_classes[var_name]
|
219
|
+
class_obj = find_class var_name, class_name
|
220
|
+
|
221
|
+
functions.each_value do |method_names|
|
222
|
+
next if method_names.length == 1
|
223
|
+
|
224
|
+
method_names.each do |method_name|
|
225
|
+
deduplicate_method_name class_obj, method_name
|
226
|
+
end
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
##
|
232
|
+
# If two ruby methods share a C implementation (and comment) this
|
233
|
+
# deduplicates the examples in the call_seq for the method to reduce
|
234
|
+
# confusion in the output.
|
235
|
+
|
236
|
+
def deduplicate_method_name class_obj, method_name # :nodoc:
|
237
|
+
return unless
|
238
|
+
method = class_obj.method_list.find { |m| m.name == method_name }
|
239
|
+
return unless call_seq = method.call_seq
|
240
|
+
|
241
|
+
method_name = method_name[0, 1] if method_name =~ /\A\[/
|
242
|
+
|
243
|
+
entries = call_seq.split "\n"
|
244
|
+
|
245
|
+
matching = entries.select do |entry|
|
246
|
+
entry =~ /^\w*\.?#{Regexp.escape method_name}/ or
|
247
|
+
entry =~ /\s#{Regexp.escape method_name}\s/
|
248
|
+
end
|
249
|
+
|
250
|
+
method.call_seq = matching.join "\n"
|
251
|
+
end
|
252
|
+
|
253
|
+
##
|
254
|
+
# Scans #content for rb_define_alias
|
255
|
+
|
256
|
+
def do_aliases
|
257
|
+
@content.scan(/rb_define_alias\s*\(
|
258
|
+
\s*(\w+),
|
259
|
+
\s*"(.+?)",
|
260
|
+
\s*"(.+?)"
|
261
|
+
\s*\)/xm) do |var_name, new_name, old_name|
|
262
|
+
class_name = @known_classes[var_name]
|
263
|
+
|
264
|
+
unless class_name then
|
265
|
+
@options.warn "Enclosing class or module %p for alias %s %s is not known" % [
|
266
|
+
var_name, new_name, old_name]
|
267
|
+
next
|
268
|
+
end
|
269
|
+
|
270
|
+
class_obj = find_class var_name, class_name
|
271
|
+
|
272
|
+
al = RDoc::Alias.new '', old_name, new_name, ''
|
273
|
+
al.singleton = @singleton_classes.key? var_name
|
274
|
+
|
275
|
+
comment = find_alias_comment var_name, new_name, old_name
|
276
|
+
|
277
|
+
comment.normalize
|
278
|
+
|
279
|
+
al.comment = comment
|
280
|
+
|
281
|
+
al.record_location @top_level
|
282
|
+
|
283
|
+
class_obj.add_alias al
|
284
|
+
@stats.add_alias al
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
##
|
289
|
+
# Scans #content for rb_attr and rb_define_attr
|
290
|
+
|
291
|
+
def do_attrs
|
292
|
+
@content.scan(/rb_attr\s*\(
|
293
|
+
\s*(\w+),
|
294
|
+
\s*([\w"()]+),
|
295
|
+
\s*([01]),
|
296
|
+
\s*([01]),
|
297
|
+
\s*\w+\);/xm) do |var_name, attr_name, read, write|
|
298
|
+
handle_attr var_name, attr_name, read, write
|
299
|
+
end
|
300
|
+
|
301
|
+
@content.scan(%r%rb_define_attr\(
|
302
|
+
\s*([\w\.]+),
|
303
|
+
\s*"([^"]+)",
|
304
|
+
\s*(\d+),
|
305
|
+
\s*(\d+)\s*\);
|
306
|
+
%xm) do |var_name, attr_name, read, write|
|
307
|
+
handle_attr var_name, attr_name, read, write
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
##
|
312
|
+
# Scans #content for boot_defclass
|
313
|
+
|
314
|
+
def do_boot_defclass
|
315
|
+
@content.scan(/(\w+)\s*=\s*boot_defclass\s*\(\s*"(\w+?)",\s*(\w+?)\s*\)/) do
|
316
|
+
|var_name, class_name, parent|
|
317
|
+
parent = nil if parent == "0"
|
318
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
##
|
323
|
+
# Scans #content for rb_define_class, boot_defclass, rb_define_class_under
|
324
|
+
# and rb_singleton_class
|
325
|
+
|
326
|
+
def do_classes
|
327
|
+
do_boot_defclass
|
328
|
+
do_define_class
|
329
|
+
do_define_class_under
|
330
|
+
do_singleton_class
|
331
|
+
do_struct_define_without_accessor
|
332
|
+
end
|
333
|
+
|
334
|
+
##
|
335
|
+
# Scans #content for rb_define_variable, rb_define_readonly_variable,
|
336
|
+
# rb_define_const and rb_define_global_const
|
337
|
+
|
338
|
+
def do_constants
|
339
|
+
@content.scan(%r%\Wrb_define_
|
340
|
+
( variable |
|
341
|
+
readonly_variable |
|
342
|
+
const |
|
343
|
+
global_const )
|
344
|
+
\s*\(
|
345
|
+
(?:\s*(\w+),)?
|
346
|
+
\s*"(\w+)",
|
347
|
+
\s*(.*?)\s*\)\s*;
|
348
|
+
%xm) do |type, var_name, const_name, definition|
|
349
|
+
var_name = "rb_cObject" if !var_name or var_name == "rb_mKernel"
|
350
|
+
handle_constants type, var_name, const_name, definition
|
351
|
+
end
|
352
|
+
|
353
|
+
@content.scan(%r%
|
354
|
+
\Wrb_curses_define_const
|
355
|
+
\s*\(
|
356
|
+
\s*
|
357
|
+
(\w+)
|
358
|
+
\s*
|
359
|
+
\)
|
360
|
+
\s*;%xm) do |consts|
|
361
|
+
const = consts.first
|
362
|
+
|
363
|
+
handle_constants 'const', 'mCurses', const, "UINT2NUM(#{const})"
|
364
|
+
end
|
365
|
+
|
366
|
+
@content.scan(%r%
|
367
|
+
\Wrb_file_const
|
368
|
+
\s*\(
|
369
|
+
\s*
|
370
|
+
"([^"]+)",
|
371
|
+
\s*
|
372
|
+
(.*?)
|
373
|
+
\s*
|
374
|
+
\)
|
375
|
+
\s*;%xm) do |name, value|
|
376
|
+
handle_constants 'const', 'rb_mFConst', name, value
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
##
|
381
|
+
# Scans #content for rb_define_class
|
382
|
+
|
383
|
+
def do_define_class
|
384
|
+
# The '.' lets us handle SWIG-generated files
|
385
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_define_class\s*
|
386
|
+
\(
|
387
|
+
\s*"(\w+)",
|
388
|
+
\s*(\w+)\s*
|
389
|
+
\)/mx) do |var_name, class_name, parent|
|
390
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
##
|
395
|
+
# Scans #content for rb_define_class_under
|
396
|
+
|
397
|
+
def do_define_class_under
|
398
|
+
@content.scan(/([\w\.]+)\s* = # var_name
|
399
|
+
\s*rb_define_class_under\s*
|
400
|
+
\(
|
401
|
+
\s* (\w+), # under
|
402
|
+
\s* "(\w+)", # class_name
|
403
|
+
\s*
|
404
|
+
(?:
|
405
|
+
([\w\*\s\(\)\.\->]+) | # parent_name
|
406
|
+
rb_path2class\("([\w:]+)"\) # path
|
407
|
+
)
|
408
|
+
\s*
|
409
|
+
\)
|
410
|
+
/mx) do |var_name, under, class_name, parent_name, path|
|
411
|
+
parent = path || parent_name
|
412
|
+
|
413
|
+
handle_class_module var_name, :class, class_name, parent, under
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
##
|
418
|
+
# Scans #content for rb_define_module
|
419
|
+
|
420
|
+
def do_define_module
|
421
|
+
@content.scan(/(\w+)\s* = \s*rb_define_module\s*\(\s*"(\w+)"\s*\)/mx) do
|
422
|
+
|var_name, class_name|
|
423
|
+
handle_class_module(var_name, :module, class_name, nil, nil)
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
##
|
428
|
+
# Scans #content for rb_define_module_under
|
429
|
+
|
430
|
+
def do_define_module_under
|
431
|
+
@content.scan(/(\w+)\s* = \s*rb_define_module_under\s*
|
432
|
+
\(
|
433
|
+
\s*(\w+),
|
434
|
+
\s*"(\w+)"
|
435
|
+
\s*\)/mx) do |var_name, in_module, class_name|
|
436
|
+
handle_class_module(var_name, :module, class_name, nil, in_module)
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
##
|
441
|
+
# Scans #content for rb_include_module
|
442
|
+
|
443
|
+
def do_includes
|
444
|
+
@content.scan(/rb_include_module\s*\(\s*(\w+?),\s*(\w+?)\s*\)/) do |c,m|
|
445
|
+
next unless cls = @classes[c]
|
446
|
+
m = @known_classes[m] || m
|
447
|
+
|
448
|
+
comment = RDoc::Comment.new '', @top_level
|
449
|
+
incl = cls.add_include RDoc::Include.new(m, comment)
|
450
|
+
incl.record_location @top_level
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
##
|
455
|
+
# Scans #content for rb_define_method, rb_define_singleton_method,
|
456
|
+
# rb_define_module_function, rb_define_private_method,
|
457
|
+
# rb_define_global_function and define_filetest_function
|
458
|
+
|
459
|
+
def do_methods
|
460
|
+
@content.scan(%r%rb_define_
|
461
|
+
(
|
462
|
+
singleton_method |
|
463
|
+
method |
|
464
|
+
module_function |
|
465
|
+
private_method
|
466
|
+
)
|
467
|
+
\s*\(\s*([\w\.]+),
|
468
|
+
\s*"([^"]+)",
|
469
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\(|\(METHOD\))?(\w+)\)?,
|
470
|
+
\s*(-?\w+)\s*\)
|
471
|
+
(?:;\s*/[*/]\s+in\s+(\w+?\.(?:cpp|c|y)))?
|
472
|
+
%xm) do |type, var_name, meth_name, function, param_count, source_file|
|
473
|
+
|
474
|
+
# Ignore top-object and weird struct.c dynamic stuff
|
475
|
+
next if var_name == "ruby_top_self"
|
476
|
+
next if var_name == "nstr"
|
477
|
+
|
478
|
+
var_name = "rb_cObject" if var_name == "rb_mKernel"
|
479
|
+
handle_method(type, var_name, meth_name, function, param_count,
|
480
|
+
source_file)
|
481
|
+
end
|
482
|
+
|
483
|
+
@content.scan(%r%rb_define_global_function\s*\(
|
484
|
+
\s*"([^"]+)",
|
485
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\()?(\w+)\)?,
|
486
|
+
\s*(-?\w+)\s*\)
|
487
|
+
(?:;\s*/[*/]\s+in\s+(\w+?\.[cy]))?
|
488
|
+
%xm) do |meth_name, function, param_count, source_file|
|
489
|
+
handle_method("method", "rb_mKernel", meth_name, function, param_count,
|
490
|
+
source_file)
|
491
|
+
end
|
492
|
+
|
493
|
+
@content.scan(/define_filetest_function\s*\(
|
494
|
+
\s*"([^"]+)",
|
495
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\()?(\w+)\)?,
|
496
|
+
\s*(-?\w+)\s*\)/xm) do |meth_name, function, param_count|
|
497
|
+
|
498
|
+
handle_method("method", "rb_mFileTest", meth_name, function, param_count)
|
499
|
+
handle_method("singleton_method", "rb_cFile", meth_name, function,
|
500
|
+
param_count)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
##
|
505
|
+
# Creates classes and module that were missing were defined due to the file
|
506
|
+
# order being different than the declaration order.
|
507
|
+
|
508
|
+
def do_missing
|
509
|
+
return if @missing_dependencies.empty?
|
510
|
+
|
511
|
+
@enclosure_dependencies.tsort.each do |in_module|
|
512
|
+
arguments = @missing_dependencies.delete in_module
|
513
|
+
|
514
|
+
next unless arguments # dependency on existing class
|
515
|
+
|
516
|
+
handle_class_module(*arguments)
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
##
|
521
|
+
# Scans #content for rb_define_module and rb_define_module_under
|
522
|
+
|
523
|
+
def do_modules
|
524
|
+
do_define_module
|
525
|
+
do_define_module_under
|
526
|
+
end
|
527
|
+
|
528
|
+
##
|
529
|
+
# Scans #content for rb_singleton_class
|
530
|
+
|
531
|
+
def do_singleton_class
|
532
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_singleton_class\s*
|
533
|
+
\(
|
534
|
+
\s*(\w+)
|
535
|
+
\s*\)/mx) do |sclass_var, class_var|
|
536
|
+
handle_singleton sclass_var, class_var
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
##
|
541
|
+
# Scans #content for struct_define_without_accessor
|
542
|
+
|
543
|
+
def do_struct_define_without_accessor
|
544
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_struct_define_without_accessor\s*
|
545
|
+
\(
|
546
|
+
\s*"(\w+)", # Class name
|
547
|
+
\s*(\w+), # Parent class
|
548
|
+
\s*\w+, # Allocation function
|
549
|
+
(\s*"\w+",)* # Attributes
|
550
|
+
\s*NULL
|
551
|
+
\)/mx) do |var_name, class_name, parent|
|
552
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
##
|
557
|
+
# Finds the comment for an alias on +class_name+ from +new_name+ to
|
558
|
+
# +old_name+
|
559
|
+
|
560
|
+
def find_alias_comment class_name, new_name, old_name
|
561
|
+
content =~ %r%((?>/\*.*?\*/\s+))
|
562
|
+
rb_define_alias\(\s*#{Regexp.escape class_name}\s*,
|
563
|
+
\s*"#{Regexp.escape new_name}"\s*,
|
564
|
+
\s*"#{Regexp.escape old_name}"\s*\);%xm
|
565
|
+
|
566
|
+
RDoc::Comment.new($1 || '', @top_level)
|
567
|
+
end
|
568
|
+
|
569
|
+
##
|
570
|
+
# Finds a comment for rb_define_attr, rb_attr or Document-attr.
|
571
|
+
#
|
572
|
+
# +var_name+ is the C class variable the attribute is defined on.
|
573
|
+
# +attr_name+ is the attribute's name.
|
574
|
+
#
|
575
|
+
# +read+ and +write+ are the read/write flags ('1' or '0'). Either both or
|
576
|
+
# neither must be provided.
|
577
|
+
|
578
|
+
def find_attr_comment var_name, attr_name, read = nil, write = nil
|
579
|
+
attr_name = Regexp.escape attr_name
|
580
|
+
|
581
|
+
rw = if read and write then
|
582
|
+
/\s*#{read}\s*,\s*#{write}\s*/xm
|
583
|
+
else
|
584
|
+
/.*?/m
|
585
|
+
end
|
586
|
+
|
587
|
+
comment = if @content =~ %r%((?>/\*.*?\*/\s+))
|
588
|
+
rb_define_attr\((?:\s*#{var_name},)?\s*
|
589
|
+
"#{attr_name}"\s*,
|
590
|
+
#{rw}\)\s*;%xm then
|
591
|
+
$1
|
592
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
593
|
+
rb_attr\(\s*#{var_name}\s*,
|
594
|
+
\s*#{attr_name}\s*,
|
595
|
+
#{rw},.*?\)\s*;%xm then
|
596
|
+
$1
|
597
|
+
elsif @content =~ %r%(/\*.*?(?:\s*\*\s*)?)
|
598
|
+
Document-attr:\s#{attr_name}\s*?\n
|
599
|
+
((?>(.|\n)*?\*/))%x then
|
600
|
+
"#{$1}\n#{$2}"
|
601
|
+
else
|
602
|
+
''
|
603
|
+
end
|
604
|
+
|
605
|
+
RDoc::Comment.new comment, @top_level
|
606
|
+
end
|
607
|
+
|
608
|
+
##
|
609
|
+
# Find the C code corresponding to a Ruby method
|
610
|
+
|
611
|
+
def find_body class_name, meth_name, meth_obj, file_content, quiet = false
|
612
|
+
case file_content
|
613
|
+
when %r%((?>/\*.*?\*/\s*)?)
|
614
|
+
((?:(?:\w+)\s+)?
|
615
|
+
(?:intern\s+)?VALUE\s+#{meth_name}
|
616
|
+
\s*(\([^)]*\))([^;]|$))%xm then
|
617
|
+
comment = RDoc::Comment.new $1, @top_level
|
618
|
+
body = $2
|
619
|
+
offset, = $~.offset(2)
|
620
|
+
|
621
|
+
comment.remove_private if comment
|
622
|
+
|
623
|
+
# try to find the whole body
|
624
|
+
body = $& if /#{Regexp.escape body}[^(]*?\{.*?^\}/m =~ file_content
|
625
|
+
|
626
|
+
# The comment block may have been overridden with a 'Document-method'
|
627
|
+
# block. This happens in the interpreter when multiple methods are
|
628
|
+
# vectored through to the same C method but those methods are logically
|
629
|
+
# distinct (for example Kernel.hash and Kernel.object_id share the same
|
630
|
+
# implementation
|
631
|
+
|
632
|
+
override_comment = find_override_comment class_name, meth_obj
|
633
|
+
comment = override_comment if override_comment
|
634
|
+
|
635
|
+
comment.normalize
|
636
|
+
find_modifiers comment, meth_obj if comment
|
637
|
+
|
638
|
+
#meth_obj.params = params
|
639
|
+
meth_obj.start_collecting_tokens
|
640
|
+
tk = RDoc::RubyToken::Token.new nil, 1, 1
|
641
|
+
tk.set_text body
|
642
|
+
meth_obj.add_token tk
|
643
|
+
meth_obj.comment = comment
|
644
|
+
meth_obj.offset = offset
|
645
|
+
meth_obj.line = file_content[0, offset].count("\n") + 1
|
646
|
+
|
647
|
+
body
|
648
|
+
when %r%((?>/\*.*?\*/\s*))^\s*(\#\s*define\s+#{meth_name}\s+(\w+))%m then
|
649
|
+
comment = RDoc::Comment.new $1, @top_level
|
650
|
+
body = $2
|
651
|
+
offset = $~.offset(2).first
|
652
|
+
|
653
|
+
find_body class_name, $3, meth_obj, file_content, true
|
654
|
+
|
655
|
+
comment.normalize
|
656
|
+
find_modifiers comment, meth_obj
|
657
|
+
|
658
|
+
meth_obj.start_collecting_tokens
|
659
|
+
tk = RDoc::RubyToken::Token.new nil, 1, 1
|
660
|
+
tk.set_text body
|
661
|
+
meth_obj.add_token tk
|
662
|
+
meth_obj.comment = comment
|
663
|
+
meth_obj.offset = offset
|
664
|
+
meth_obj.line = file_content[0, offset].count("\n") + 1
|
665
|
+
|
666
|
+
body
|
667
|
+
when %r%^\s*\#\s*define\s+#{meth_name}\s+(\w+)%m then
|
668
|
+
# with no comment we hope the aliased definition has it and use it's
|
669
|
+
# definition
|
670
|
+
|
671
|
+
body = find_body(class_name, $1, meth_obj, file_content, true)
|
672
|
+
|
673
|
+
return body if body
|
674
|
+
|
675
|
+
@options.warn "No definition for #{meth_name}"
|
676
|
+
false
|
677
|
+
else # No body, but might still have an override comment
|
678
|
+
comment = find_override_comment class_name, meth_obj
|
679
|
+
|
680
|
+
if comment then
|
681
|
+
comment.normalize
|
682
|
+
find_modifiers comment, meth_obj
|
683
|
+
meth_obj.comment = comment
|
684
|
+
|
685
|
+
''
|
686
|
+
else
|
687
|
+
@options.warn "No definition for #{meth_name}"
|
688
|
+
false
|
689
|
+
end
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
##
|
694
|
+
# Finds a RDoc::NormalClass or RDoc::NormalModule for +raw_name+
|
695
|
+
|
696
|
+
def find_class(raw_name, name)
|
697
|
+
unless @classes[raw_name]
|
698
|
+
if raw_name =~ /^rb_m/
|
699
|
+
container = @top_level.add_module RDoc::NormalModule, name
|
700
|
+
else
|
701
|
+
container = @top_level.add_class RDoc::NormalClass, name
|
702
|
+
end
|
703
|
+
|
704
|
+
container.record_location @top_level
|
705
|
+
@classes[raw_name] = container
|
706
|
+
end
|
707
|
+
@classes[raw_name]
|
708
|
+
end
|
709
|
+
|
710
|
+
##
|
711
|
+
# Look for class or module documentation above Init_+class_name+(void),
|
712
|
+
# in a Document-class +class_name+ (or module) comment or above an
|
713
|
+
# rb_define_class (or module). If a comment is supplied above a matching
|
714
|
+
# Init_ and a rb_define_class the Init_ comment is used.
|
715
|
+
#
|
716
|
+
# /*
|
717
|
+
# * This is a comment for Foo
|
718
|
+
# */
|
719
|
+
# Init_Foo(void) {
|
720
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
721
|
+
# }
|
722
|
+
#
|
723
|
+
# /*
|
724
|
+
# * Document-class: Foo
|
725
|
+
# * This is a comment for Foo
|
726
|
+
# */
|
727
|
+
# Init_foo(void) {
|
728
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
729
|
+
# }
|
730
|
+
#
|
731
|
+
# /*
|
732
|
+
# * This is a comment for Foo
|
733
|
+
# */
|
734
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
735
|
+
|
736
|
+
def find_class_comment class_name, class_mod
|
737
|
+
comment = nil
|
738
|
+
|
739
|
+
if @content =~ %r%
|
740
|
+
((?>/\*.*?\*/\s+))
|
741
|
+
(static\s+)?
|
742
|
+
void\s+
|
743
|
+
Init_#{class_name}\s*(?:_\(\s*)?\(\s*(?:void\s*)?\)%xmi then
|
744
|
+
comment = $1.sub(%r%Document-(?:class|module):\s+#{class_name}%, '')
|
745
|
+
elsif @content =~ %r%Document-(?:class|module):\s+#{class_name}\s*?
|
746
|
+
(?:<\s+[:,\w]+)?\n((?>.*?\*/))%xm then
|
747
|
+
comment = "/*\n#{$1}"
|
748
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
749
|
+
([\w\.\s]+\s* = \s+)?rb_define_(class|module)[\t (]*?"(#{class_name})"%xm then
|
750
|
+
comment = $1
|
751
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
752
|
+
([\w\. \t]+ = \s+)?rb_define_(class|module)_under[\t\w, (]*?"(#{class_name.split('::').last})"%xm then
|
753
|
+
comment = $1
|
754
|
+
else
|
755
|
+
comment = ''
|
756
|
+
end
|
757
|
+
|
758
|
+
comment = RDoc::Comment.new comment, @top_level
|
759
|
+
comment.normalize
|
760
|
+
|
761
|
+
look_for_directives_in class_mod, comment
|
762
|
+
|
763
|
+
class_mod.add_comment comment, @top_level
|
764
|
+
end
|
765
|
+
|
766
|
+
##
|
767
|
+
# Finds a comment matching +type+ and +const_name+ either above the
|
768
|
+
# comment or in the matching Document- section.
|
769
|
+
|
770
|
+
def find_const_comment(type, const_name, class_name = nil)
|
771
|
+
comment = if @content =~ %r%((?>^\s*/\*.*?\*/\s+))
|
772
|
+
rb_define_#{type}\((?:\s*(\w+),)?\s*
|
773
|
+
"#{const_name}"\s*,
|
774
|
+
.*?\)\s*;%xmi then
|
775
|
+
$1
|
776
|
+
elsif class_name and
|
777
|
+
@content =~ %r%Document-(?:const|global|variable):\s
|
778
|
+
#{class_name}::#{const_name}
|
779
|
+
\s*?\n((?>.*?\*/))%xm then
|
780
|
+
"/*\n#{$1}"
|
781
|
+
elsif @content =~ %r%Document-(?:const|global|variable):
|
782
|
+
\s#{const_name}
|
783
|
+
\s*?\n((?>.*?\*/))%xm then
|
784
|
+
"/*\n#{$1}"
|
785
|
+
else
|
786
|
+
''
|
787
|
+
end
|
788
|
+
|
789
|
+
RDoc::Comment.new comment, @top_level
|
790
|
+
end
|
791
|
+
|
792
|
+
##
|
793
|
+
# Handles modifiers in +comment+ and updates +meth_obj+ as appropriate.
|
794
|
+
|
795
|
+
def find_modifiers comment, meth_obj
|
796
|
+
comment.normalize
|
797
|
+
comment.extract_call_seq meth_obj
|
798
|
+
|
799
|
+
look_for_directives_in meth_obj, comment
|
800
|
+
end
|
801
|
+
|
802
|
+
##
|
803
|
+
# Finds a <tt>Document-method</tt> override for +meth_obj+ on +class_name+
|
804
|
+
|
805
|
+
def find_override_comment class_name, meth_obj
|
806
|
+
name = Regexp.escape meth_obj.name
|
807
|
+
prefix = Regexp.escape meth_obj.name_prefix
|
808
|
+
|
809
|
+
comment = if @content =~ %r%Document-method:
|
810
|
+
\s+#{class_name}#{prefix}#{name}
|
811
|
+
\s*?\n((?>.*?\*/))%xm then
|
812
|
+
"/*#{$1}"
|
813
|
+
elsif @content =~ %r%Document-method:
|
814
|
+
\s#{name}\s*?\n((?>.*?\*/))%xm then
|
815
|
+
"/*#{$1}"
|
816
|
+
end
|
817
|
+
|
818
|
+
return unless comment
|
819
|
+
|
820
|
+
RDoc::Comment.new comment, @top_level
|
821
|
+
end
|
822
|
+
|
823
|
+
##
|
824
|
+
# Creates a new RDoc::Attr +attr_name+ on class +var_name+ that is either
|
825
|
+
# +read+, +write+ or both
|
826
|
+
|
827
|
+
def handle_attr(var_name, attr_name, read, write)
|
828
|
+
rw = ''
|
829
|
+
rw << 'R' if '1' == read
|
830
|
+
rw << 'W' if '1' == write
|
831
|
+
|
832
|
+
class_name = @known_classes[var_name]
|
833
|
+
|
834
|
+
return unless class_name
|
835
|
+
|
836
|
+
class_obj = find_class var_name, class_name
|
837
|
+
|
838
|
+
return unless class_obj
|
839
|
+
|
840
|
+
comment = find_attr_comment var_name, attr_name
|
841
|
+
comment.normalize
|
842
|
+
|
843
|
+
name = attr_name.gsub(/rb_intern\("([^"]+)"\)/, '\1')
|
844
|
+
|
845
|
+
attr = RDoc::Attr.new '', name, rw, comment
|
846
|
+
|
847
|
+
attr.record_location @top_level
|
848
|
+
class_obj.add_attribute attr
|
849
|
+
@stats.add_attribute attr
|
850
|
+
end
|
851
|
+
|
852
|
+
##
|
853
|
+
# Creates a new RDoc::NormalClass or RDoc::NormalModule based on +type+
|
854
|
+
# named +class_name+ in +parent+ which was assigned to the C +var_name+.
|
855
|
+
|
856
|
+
def handle_class_module(var_name, type, class_name, parent, in_module)
|
857
|
+
parent_name = @known_classes[parent] || parent
|
858
|
+
|
859
|
+
if in_module then
|
860
|
+
enclosure = @classes[in_module] || @store.find_c_enclosure(in_module)
|
861
|
+
|
862
|
+
if enclosure.nil? and enclosure = @known_classes[in_module] then
|
863
|
+
enc_type = /^rb_m/ =~ in_module ? :module : :class
|
864
|
+
handle_class_module in_module, enc_type, enclosure, nil, nil
|
865
|
+
enclosure = @classes[in_module]
|
866
|
+
end
|
867
|
+
|
868
|
+
unless enclosure then
|
869
|
+
@enclosure_dependencies[in_module] << var_name
|
870
|
+
@missing_dependencies[var_name] =
|
871
|
+
[var_name, type, class_name, parent, in_module]
|
872
|
+
|
873
|
+
return
|
874
|
+
end
|
875
|
+
else
|
876
|
+
enclosure = @top_level
|
877
|
+
end
|
878
|
+
|
879
|
+
if type == :class then
|
880
|
+
full_name = if RDoc::ClassModule === enclosure then
|
881
|
+
enclosure.full_name + "::#{class_name}"
|
882
|
+
else
|
883
|
+
class_name
|
884
|
+
end
|
885
|
+
|
886
|
+
if @content =~ %r%Document-class:\s+#{full_name}\s*<\s+([:,\w]+)% then
|
887
|
+
parent_name = $1
|
888
|
+
end
|
889
|
+
|
890
|
+
cm = enclosure.add_class RDoc::NormalClass, class_name, parent_name
|
891
|
+
else
|
892
|
+
cm = enclosure.add_module RDoc::NormalModule, class_name
|
893
|
+
end
|
894
|
+
|
895
|
+
cm.record_location enclosure.top_level
|
896
|
+
|
897
|
+
find_class_comment cm.full_name, cm
|
898
|
+
|
899
|
+
case cm
|
900
|
+
when RDoc::NormalClass
|
901
|
+
@stats.add_class cm
|
902
|
+
when RDoc::NormalModule
|
903
|
+
@stats.add_module cm
|
904
|
+
end
|
905
|
+
|
906
|
+
@classes[var_name] = cm
|
907
|
+
@known_classes[var_name] = cm.full_name
|
908
|
+
@store.add_c_enclosure var_name, cm
|
909
|
+
end
|
910
|
+
|
911
|
+
##
|
912
|
+
# Adds constants. By providing some_value: at the start of the comment you
|
913
|
+
# can override the C value of the comment to give a friendly definition.
|
914
|
+
#
|
915
|
+
# /* 300: The perfect score in bowling */
|
916
|
+
# rb_define_const(cFoo, "PERFECT", INT2FIX(300);
|
917
|
+
#
|
918
|
+
# Will override <tt>INT2FIX(300)</tt> with the value +300+ in the output
|
919
|
+
# RDoc. Values may include quotes and escaped colons (\:).
|
920
|
+
|
921
|
+
def handle_constants(type, var_name, const_name, definition)
|
922
|
+
class_name = @known_classes[var_name]
|
923
|
+
|
924
|
+
return unless class_name
|
925
|
+
|
926
|
+
class_obj = find_class var_name, class_name
|
927
|
+
|
928
|
+
unless class_obj then
|
929
|
+
@options.warn 'Enclosing class or module %p is not known' % [const_name]
|
930
|
+
return
|
931
|
+
end
|
932
|
+
|
933
|
+
comment = find_const_comment type, const_name, class_name
|
934
|
+
comment.normalize
|
935
|
+
|
936
|
+
# In the case of rb_define_const, the definition and comment are in
|
937
|
+
# "/* definition: comment */" form. The literal ':' and '\' characters
|
938
|
+
# can be escaped with a backslash.
|
939
|
+
if type.downcase == 'const' then
|
940
|
+
no_match, new_definition, new_comment = comment.text.split(/(\A.*):/)
|
941
|
+
|
942
|
+
if no_match and no_match.empty? then
|
943
|
+
if new_definition.empty? then # Default to literal C definition
|
944
|
+
new_definition = definition
|
945
|
+
else
|
946
|
+
new_definition.gsub!("\:", ":")
|
947
|
+
new_definition.gsub!("\\", '\\')
|
948
|
+
end
|
949
|
+
|
950
|
+
new_definition.sub!(/\A(\s+)/, '')
|
951
|
+
|
952
|
+
new_comment = "#{$1}#{new_comment.lstrip}"
|
953
|
+
|
954
|
+
new_comment = RDoc::Comment.new new_comment, @top_level
|
955
|
+
|
956
|
+
con = RDoc::Constant.new const_name, new_definition, new_comment
|
957
|
+
else
|
958
|
+
con = RDoc::Constant.new const_name, definition, comment
|
959
|
+
end
|
960
|
+
else
|
961
|
+
con = RDoc::Constant.new const_name, definition, comment
|
962
|
+
end
|
963
|
+
|
964
|
+
con.record_location @top_level
|
965
|
+
@stats.add_constant con
|
966
|
+
class_obj.add_constant con
|
967
|
+
end
|
968
|
+
|
969
|
+
##
|
970
|
+
# Removes #ifdefs that would otherwise confuse us
|
971
|
+
|
972
|
+
def handle_ifdefs_in(body)
|
973
|
+
body.gsub(/^#ifdef HAVE_PROTOTYPES.*?#else.*?\n(.*?)#endif.*?\n/m, '\1')
|
974
|
+
end
|
975
|
+
|
976
|
+
##
|
977
|
+
# Adds an RDoc::AnyMethod +meth_name+ defined on a class or module assigned
|
978
|
+
# to +var_name+. +type+ is the type of method definition function used.
|
979
|
+
# +singleton_method+ and +module_function+ create a singleton method.
|
980
|
+
|
981
|
+
def handle_method(type, var_name, meth_name, function, param_count,
|
982
|
+
source_file = nil)
|
983
|
+
class_name = @known_classes[var_name]
|
984
|
+
singleton = @singleton_classes.key? var_name
|
985
|
+
|
986
|
+
@methods[var_name][function] << meth_name
|
987
|
+
|
988
|
+
return unless class_name
|
989
|
+
|
990
|
+
class_obj = find_class var_name, class_name
|
991
|
+
|
992
|
+
if class_obj then
|
993
|
+
if meth_name == 'initialize' then
|
994
|
+
meth_name = 'new'
|
995
|
+
singleton = true
|
996
|
+
type = 'method' # force public
|
997
|
+
end
|
998
|
+
|
999
|
+
meth_obj = RDoc::AnyMethod.new '', meth_name
|
1000
|
+
meth_obj.c_function = function
|
1001
|
+
meth_obj.singleton =
|
1002
|
+
singleton || %w[singleton_method module_function].include?(type)
|
1003
|
+
|
1004
|
+
p_count = Integer(param_count) rescue -1
|
1005
|
+
|
1006
|
+
if source_file then
|
1007
|
+
file_name = File.join @file_dir, source_file
|
1008
|
+
|
1009
|
+
if File.exist? file_name then
|
1010
|
+
file_content = File.read file_name
|
1011
|
+
else
|
1012
|
+
@options.warn "unknown source #{source_file} for #{meth_name} in #{@file_name}"
|
1013
|
+
end
|
1014
|
+
else
|
1015
|
+
file_content = @content
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
body = find_body class_name, function, meth_obj, file_content
|
1019
|
+
|
1020
|
+
if body and meth_obj.document_self then
|
1021
|
+
meth_obj.params = if p_count < -1 then # -2 is Array
|
1022
|
+
'(*args)'
|
1023
|
+
elsif p_count == -1 then # argc, argv
|
1024
|
+
rb_scan_args body
|
1025
|
+
else
|
1026
|
+
"(#{(1..p_count).map { |i| "p#{i}" }.join ', '})"
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
|
1030
|
+
meth_obj.record_location @top_level
|
1031
|
+
class_obj.add_method meth_obj
|
1032
|
+
@stats.add_method meth_obj
|
1033
|
+
meth_obj.visibility = :private if 'private_method' == type
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
##
|
1039
|
+
# Registers a singleton class +sclass_var+ as a singleton of +class_var+
|
1040
|
+
|
1041
|
+
def handle_singleton sclass_var, class_var
|
1042
|
+
class_name = @known_classes[class_var]
|
1043
|
+
|
1044
|
+
@known_classes[sclass_var] = class_name
|
1045
|
+
@singleton_classes[sclass_var] = class_name
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
##
|
1049
|
+
# Normalizes tabs in +body+
|
1050
|
+
|
1051
|
+
def handle_tab_width(body)
|
1052
|
+
if /\t/ =~ body
|
1053
|
+
tab_width = @options.tab_width
|
1054
|
+
body.split(/\n/).map do |line|
|
1055
|
+
1 while line.gsub!(/\t+/) do
|
1056
|
+
' ' * (tab_width * $&.length - $`.length % tab_width)
|
1057
|
+
end && $~
|
1058
|
+
line
|
1059
|
+
end.join "\n"
|
1060
|
+
else
|
1061
|
+
body
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
##
|
1066
|
+
# Loads the variable map with the given +name+ from the RDoc::Store, if
|
1067
|
+
# present.
|
1068
|
+
|
1069
|
+
def load_variable_map map_name
|
1070
|
+
return {} unless files = @store.cache[map_name]
|
1071
|
+
return {} unless name_map = files[@file_name]
|
1072
|
+
|
1073
|
+
class_map = {}
|
1074
|
+
|
1075
|
+
name_map.each do |variable, name|
|
1076
|
+
next unless mod = @store.find_class_or_module(name)
|
1077
|
+
|
1078
|
+
class_map[variable] = if map_name == :c_class_variables then
|
1079
|
+
mod
|
1080
|
+
else
|
1081
|
+
name
|
1082
|
+
end
|
1083
|
+
@known_classes[variable] = name
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
class_map
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
##
|
1090
|
+
# Look for directives in a normal comment block:
|
1091
|
+
#
|
1092
|
+
# /*
|
1093
|
+
# * :title: My Awesome Project
|
1094
|
+
# */
|
1095
|
+
#
|
1096
|
+
# This method modifies the +comment+
|
1097
|
+
|
1098
|
+
def look_for_directives_in context, comment
|
1099
|
+
@preprocess.handle comment, context do |directive, param|
|
1100
|
+
case directive
|
1101
|
+
when 'main' then
|
1102
|
+
@options.main_page = param
|
1103
|
+
''
|
1104
|
+
when 'title' then
|
1105
|
+
@options.default_title = param if @options.respond_to? :default_title=
|
1106
|
+
''
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
comment
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
##
|
1114
|
+
# Extracts parameters from the +method_body+ and returns a method
|
1115
|
+
# parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT
|
1116
|
+
|
1117
|
+
def rb_scan_args method_body
|
1118
|
+
method_body =~ /rb_scan_args\((.*?)\)/m
|
1119
|
+
return '(*args)' unless $1
|
1120
|
+
|
1121
|
+
$1.split(/,/)[2] =~ /"(.*?)"/ # format argument
|
1122
|
+
format = $1.split(//)
|
1123
|
+
|
1124
|
+
lead = opt = trail = 0
|
1125
|
+
|
1126
|
+
if format.first =~ /\d/ then
|
1127
|
+
lead = $&.to_i
|
1128
|
+
format.shift
|
1129
|
+
if format.first =~ /\d/ then
|
1130
|
+
opt = $&.to_i
|
1131
|
+
format.shift
|
1132
|
+
if format.first =~ /\d/ then
|
1133
|
+
trail = $&.to_i
|
1134
|
+
format.shift
|
1135
|
+
block_arg = true
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
if format.first == '*' and not block_arg then
|
1141
|
+
var = true
|
1142
|
+
format.shift
|
1143
|
+
if format.first =~ /\d/ then
|
1144
|
+
trail = $&.to_i
|
1145
|
+
format.shift
|
1146
|
+
end
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
if format.first == ':' then
|
1150
|
+
hash = true
|
1151
|
+
format.shift
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
if format.first == '&' then
|
1155
|
+
block = true
|
1156
|
+
format.shift
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# if the format string is not empty there's a bug in the C code, ignore it
|
1160
|
+
|
1161
|
+
args = []
|
1162
|
+
position = 1
|
1163
|
+
|
1164
|
+
(1...(position + lead)).each do |index|
|
1165
|
+
args << "p#{index}"
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
position += lead
|
1169
|
+
|
1170
|
+
(position...(position + opt)).each do |index|
|
1171
|
+
args << "p#{index} = v#{index}"
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
position += opt
|
1175
|
+
|
1176
|
+
if var then
|
1177
|
+
args << '*args'
|
1178
|
+
position += 1
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
(position...(position + trail)).each do |index|
|
1182
|
+
args << "p#{index}"
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
position += trail
|
1186
|
+
|
1187
|
+
if hash then
|
1188
|
+
args << "p#{position} = {}"
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
args << '&block' if block
|
1192
|
+
|
1193
|
+
"(#{args.join ', '})"
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
##
|
1197
|
+
# Removes lines that are commented out that might otherwise get picked up
|
1198
|
+
# when scanning for classes and methods
|
1199
|
+
|
1200
|
+
def remove_commented_out_lines
|
1201
|
+
@content.gsub!(%r%//.*rb_define_%, '//')
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
##
|
1205
|
+
# Extracts the classes, modules, methods, attributes, constants and aliases
|
1206
|
+
# from a C file and returns an RDoc::TopLevel for this file
|
1207
|
+
|
1208
|
+
def scan
|
1209
|
+
remove_commented_out_lines
|
1210
|
+
|
1211
|
+
do_modules
|
1212
|
+
do_classes
|
1213
|
+
do_missing
|
1214
|
+
|
1215
|
+
do_constants
|
1216
|
+
do_methods
|
1217
|
+
do_includes
|
1218
|
+
do_aliases
|
1219
|
+
do_attrs
|
1220
|
+
|
1221
|
+
deduplicate_call_seq
|
1222
|
+
|
1223
|
+
@store.add_c_variables self
|
1224
|
+
|
1225
|
+
@top_level
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
end
|
1229
|
+
|