geminfo 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +14 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +480 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/geminfo.gemspec +32 -0
- data/lib/geminfo/version.rb +3 -0
- data/lib/geminfo.rb +374 -0
- data/path/bin/_guard-core +23 -0
- data/path/bin/_guard-core.bat +6 -0
- data/path/bin/coderay +23 -0
- data/path/bin/coderay.bat +6 -0
- data/path/bin/guard +23 -0
- data/path/bin/guard.bat +6 -0
- data/path/bin/htmldiff +25 -0
- data/path/bin/htmldiff.bat +6 -0
- data/path/bin/ldiff +25 -0
- data/path/bin/ldiff.bat +6 -0
- data/path/bin/listen +23 -0
- data/path/bin/listen.bat +6 -0
- data/path/bin/pry +23 -0
- data/path/bin/pry.bat +6 -0
- data/path/bin/rspec +23 -0
- data/path/bin/rspec.bat +6 -0
- data/path/bin/thor +23 -0
- data/path/bin/thor.bat +6 -0
- data/path/cache/coderay-1.1.0.gem +0 -0
- data/path/cache/diff-lcs-1.2.5.gem +0 -0
- data/path/cache/ffi-1.9.10-x86-mingw32.gem +0 -0
- data/path/cache/formatador-0.2.5.gem +0 -0
- data/path/cache/guard-2.13.0.gem +0 -0
- data/path/cache/guard-compat-1.2.1.gem +0 -0
- data/path/cache/guard-rspec-4.6.4.gem +0 -0
- data/path/cache/listen-3.0.3.gem +0 -0
- data/path/cache/lumberjack-1.0.9.gem +0 -0
- data/path/cache/method_source-0.8.2.gem +0 -0
- data/path/cache/nenv-0.2.0.gem +0 -0
- data/path/cache/notiffany-0.0.7.gem +0 -0
- data/path/cache/pry-0.10.1-i386-mingw32.gem +0 -0
- data/path/cache/pry-0.10.1-x86-mingw32.gem +0 -0
- data/path/cache/rb-fsevent-0.9.5.gem +0 -0
- data/path/cache/rb-inotify-0.9.5.gem +0 -0
- data/path/cache/rspec-3.3.0.gem +0 -0
- data/path/cache/rspec-core-3.3.2.gem +0 -0
- data/path/cache/rspec-expectations-3.3.1.gem +0 -0
- data/path/cache/rspec-mocks-3.3.2.gem +0 -0
- data/path/cache/rspec-support-3.3.0.gem +0 -0
- data/path/cache/shellany-0.0.1.gem +0 -0
- data/path/cache/slop-3.6.0.gem +0 -0
- data/path/cache/thor-0.19.1.gem +0 -0
- data/path/cache/win32console-1.3.2-x86-mingw32.gem +0 -0
- data/path/gems/coderay-1.1.0/README_INDEX.rdoc +123 -0
- data/path/gems/coderay-1.1.0/Rakefile +37 -0
- data/path/gems/coderay-1.1.0/bin/coderay +215 -0
- data/path/gems/coderay-1.1.0/lib/coderay/duo.rb +81 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoder.rb +201 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/_map.rb +17 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/comment_filter.rb +25 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/count.rb +39 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/debug.rb +49 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/debug_lint.rb +63 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/div.rb +23 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/filter.rb +58 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/html/css.rb +65 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/html/numbering.rb +108 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/html/output.rb +166 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/html.rb +332 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/json.rb +83 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/lint.rb +59 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/null.rb +18 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/page.rb +24 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/span.rb +23 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/statistic.rb +95 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/terminal.rb +195 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/text.rb +46 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/xml.rb +72 -0
- data/path/gems/coderay-1.1.0/lib/coderay/encoders/yaml.rb +50 -0
- data/path/gems/coderay-1.1.0/lib/coderay/for_redcloth.rb +95 -0
- data/path/gems/coderay-1.1.0/lib/coderay/helpers/file_type.rb +151 -0
- data/path/gems/coderay-1.1.0/lib/coderay/helpers/plugin.rb +274 -0
- data/path/gems/coderay-1.1.0/lib/coderay/helpers/word_list.rb +72 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanner.rb +355 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/_map.rb +24 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/c.rb +189 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/clojure.rb +217 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/cpp.rb +215 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/css.rb +196 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/debug.rb +75 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/delphi.rb +144 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/diff.rb +221 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/erb.rb +81 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/go.rb +208 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/groovy.rb +268 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/haml.rb +168 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/html.rb +275 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/java.rb +174 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/java_script.rb +237 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/json.rb +98 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/lua.rb +280 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/php.rb +527 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/python.rb +287 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/raydebug.rb +75 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/ruby/string_state.rb +71 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/ruby.rb +470 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/sass.rb +232 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/sql.rb +177 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/taskpaper.rb +36 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/text.rb +26 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/xml.rb +17 -0
- data/path/gems/coderay-1.1.0/lib/coderay/scanners/yaml.rb +140 -0
- data/path/gems/coderay-1.1.0/lib/coderay/style.rb +23 -0
- data/path/gems/coderay-1.1.0/lib/coderay/styles/_map.rb +7 -0
- data/path/gems/coderay-1.1.0/lib/coderay/styles/alpha.rb +152 -0
- data/path/gems/coderay-1.1.0/lib/coderay/token_kinds.rb +85 -0
- data/path/gems/coderay-1.1.0/lib/coderay/tokens.rb +161 -0
- data/path/gems/coderay-1.1.0/lib/coderay/tokens_proxy.rb +55 -0
- data/path/gems/coderay-1.1.0/lib/coderay/version.rb +3 -0
- data/path/gems/coderay-1.1.0/lib/coderay.rb +284 -0
- data/path/gems/coderay-1.1.0/test/functional/basic.rb +318 -0
- data/path/gems/coderay-1.1.0/test/functional/examples.rb +129 -0
- data/path/gems/coderay-1.1.0/test/functional/for_redcloth.rb +78 -0
- data/path/gems/coderay-1.1.0/test/functional/suite.rb +15 -0
- data/path/gems/diff-lcs-1.2.5/.autotest +3 -0
- data/path/gems/diff-lcs-1.2.5/.gemtest +0 -0
- data/path/gems/diff-lcs-1.2.5/.hoerc +2 -0
- data/path/gems/diff-lcs-1.2.5/.rspec +2 -0
- data/path/gems/diff-lcs-1.2.5/.travis.yml +22 -0
- data/path/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
- data/path/gems/diff-lcs-1.2.5/Gemfile +20 -0
- data/path/gems/diff-lcs-1.2.5/History.rdoc +152 -0
- data/path/gems/diff-lcs-1.2.5/License.rdoc +39 -0
- data/path/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
- data/path/gems/diff-lcs-1.2.5/README.rdoc +85 -0
- data/path/gems/diff-lcs-1.2.5/Rakefile +41 -0
- data/path/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
- data/path/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
- data/path/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
- data/path/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
- data/path/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
- data/path/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
- data/path/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
- data/path/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
- data/path/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
- data/path/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
- data/path/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
- data/path/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
- data/path/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
- data/path/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
- data/path/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
- data/path/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/COPYING +49 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/LICENSE +24 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/README.md +109 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/Rakefile +210 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/AbstractMemory.c +1032 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/AbstractMemory.h +175 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/ArrayType.c +162 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/ArrayType.h +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Buffer.c +365 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Call.c +530 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Call.h +93 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/ClosurePool.c +283 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/ClosurePool.h +57 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/DataConverter.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/DynamicLibrary.c +337 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/DynamicLibrary.h +98 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Function.c +1000 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Function.h +87 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/FunctionInfo.c +271 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/LastError.c +184 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/LastError.h +47 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/LongDouble.c +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/LongDouble.h +51 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MappedType.c +168 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MappedType.h +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MemoryPointer.c +197 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MemoryPointer.h +53 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MethodHandle.c +360 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/MethodHandle.h +55 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Platform.c +121 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Platform.h +45 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Pointer.c +508 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Pointer.h +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Struct.c +829 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Struct.h +106 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/StructByReference.c +190 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/StructByReference.h +50 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/StructByValue.c +150 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/StructByValue.h +55 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/StructLayout.c +698 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Thread.c +352 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Thread.h +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Type.c +397 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Type.h +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Types.c +139 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Types.h +89 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/Variadic.c +280 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/compat.h +83 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/extconf.rb +65 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/ffi.c +98 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/ChangeLog +4600 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/LICENSE +21 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/Makefile.am +196 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/Makefile.in +1820 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/Makefile.vc +141 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/Makefile.vc64 +141 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/README +342 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/acinclude.m4 +92 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/aclocal.m4 +1873 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/build-ios.sh +67 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/compile +143 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/config.guess +1501 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/config.sub +1705 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/configure +17191 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/configure.ac +496 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/configure.host +11 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/depcomp +630 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/doc/libffi.info +593 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/doc/libffi.texi +600 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/doc/stamp-vti +4 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/fficonfig.h.in +199 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/fficonfig.hw +57 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/Makefile.in +487 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/ffi.h.in +427 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/include/ffi_common.h +126 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/install-sh +520 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/libffi.pc.in +10 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/libtool-version +29 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/ltmain.sh +9636 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/libtool.m4 +7831 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ltoptions.m4 +369 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ltsugar.m4 +123 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/ltversion.m4 +23 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/m4/lt~obsolete.m4 +98 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/man/Makefile.in +466 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/man/ffi.3 +31 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/man/ffi_prep_cif.3 +66 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/mdate-sh +201 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/missing +376 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/msvcc.sh +197 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/alpha/ffi.c +284 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/alpha/ffitarget.h +48 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/alpha/osf.S +387 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/arm/ffi.c +728 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/arm/ffitarget.h +65 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/arm/sysv.S +497 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/avr32/ffitarget.h +50 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/closures.c +615 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/cris/ffi.c +383 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/cris/ffitarget.h +51 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/debug.c +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/dlmalloc.c +5161 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/frv/ffitarget.h +57 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/ia64/ffi.c +582 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/ia64/ffitarget.h +50 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/ia64/unix.S +560 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/java_raw_api.c +356 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m32r/ffitarget.h +48 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m68k/ffi.c +288 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m68k/ffitarget.h +49 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/m68k/sysv.S +270 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/mips/ffi.c +1036 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/mips/ffitarget.h +242 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/mips/n32.S +591 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/mips/o32.S +381 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/pa/ffitarget.h +78 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/aix.S +328 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/aix_closure.S +445 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/darwin.S +383 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +575 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/ffi.c +1448 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1359 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/ffitarget.h +139 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/linux64.S +187 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +236 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +327 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/powerpc/sysv.S +219 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/prep_cif.c +177 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/raw_api.c +254 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/s390/ffi.c +780 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/s390/ffitarget.h +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/s390/sysv.S +434 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh/ffi.c +716 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh/ffitarget.h +49 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh64/ffi.c +468 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh64/ffitarget.h +53 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sparc/ffi.c +669 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sparc/ffitarget.h +68 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sparc/v8.S +313 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/sparc/v9.S +307 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/types.c +77 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/darwin.S +444 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/darwin64.S +416 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/ffi.c +644 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/ffi64.c +635 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/ffitarget.h +121 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/freebsd.S +458 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/sysv.S +468 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/unix64.S +426 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/win32.S +1065 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/src/x86/win64.S +468 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/Makefile.am +80 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/Makefile.in +500 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +300 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +263 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +32 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +64 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +134 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +117 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +60 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +60 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +140 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +153 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +58 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +58 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +72 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +342 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/many.c +69 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +53 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +133 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +35 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +44 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +65 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +65 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +80 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +67 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +96 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +35 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +124 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +53 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi/texinfo.tex +7210 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.bsd.mk +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.darwin.mk +95 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.gnu.mk +31 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.mk +13 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.vc.mk +26 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/libffi.vc64.mk +26 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/rbffi.h +57 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/rbffi_endian.h +59 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/win32/stdbool.h +8 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ext/ffi_c/win32/stdint.h +201 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/ffi.gemspec +23 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/gen/Rakefile +30 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/1.8/ffi_c.so +0 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/1.9/ffi_c.so +0 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/2.0/ffi_c.so +0 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/2.1/ffi_c.so +0 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/2.2/ffi_c.so +0 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/autopointer.rb +194 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/buffer.rb +4 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/callback.rb +4 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/enum.rb +174 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/errno.rb +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/ffi.rb +44 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/io.rb +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/library.rb +524 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/managedstruct.rb +84 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/memorypointer.rb +1 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-darwin/types.conf +126 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-openbsd/types.conf +128 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform/x86_64-windows/types.conf +27 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/platform.rb +159 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/pointer.rb +134 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/struct.rb +373 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/struct_layout_builder.rb +227 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/tools/const_generator.rb +229 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/tools/generator.rb +60 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/tools/generator_task.rb +36 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/tools/struct_generator.rb +194 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/tools/types_generator.rb +135 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/types.rb +190 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/union.rb +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/variadic.rb +78 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi/version.rb +4 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/lib/ffi.rb +20 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/Benchmark.c +52 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/BoolTest.c +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/BufferTest.c +31 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/ClosureTest.c +205 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/EnumTest.c +51 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/FunctionTest.c +70 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/GNUmakefile +149 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/GlobalVariable.c +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/LastErrorTest.c +21 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/NumberTest.c +132 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/PointerTest.c +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/ReferenceTest.c +23 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/StringTest.c +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/StructTest.c +243 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/UnionTest.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/libtest/VariadicTest.c +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/LICENSE.SPECS +22 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/async_callback_spec.rb +35 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/bool_spec.rb +32 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/buffer_spec.rb +279 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/callback_spec.rb +773 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/custom_param_type.rb +37 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/custom_type_spec.rb +74 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/dup_spec.rb +52 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/enum_spec.rb +423 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/errno_spec.rb +20 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/ffi_spec.rb +28 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/Benchmark.c +52 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/BoolTest.c +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/BufferTest.c +31 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/ClosureTest.c +190 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/EnumTest.c +51 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/FunctionTest.c +58 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/GNUmakefile +149 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/GlobalVariable.c +62 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/LastErrorTest.c +21 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/NumberTest.c +132 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/PointerTest.c +63 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/ReferenceTest.c +23 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/StringTest.c +34 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/StructTest.c +243 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/UnionTest.c +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/VariadicTest.c +99 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/fixtures/classes.rb +438 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/function_spec.rb +92 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/io_spec.rb +16 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/library_spec.rb +276 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/long_double.rb +30 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/managed_struct_spec.rb +68 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/memorypointer_spec.rb +78 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/number_spec.rb +247 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/platform_spec.rb +114 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/pointer_spec.rb +278 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/rbx/attach_function_spec.rb +33 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/rbx/memory_pointer_spec.rb +130 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/rbx/spec_helper.rb +6 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/rbx/struct_spec.rb +18 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/spec_helper.rb +93 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/string_spec.rb +118 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/strptr_spec.rb +50 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/struct_by_ref_spec.rb +43 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/struct_callback_spec.rb +69 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/struct_initialize_spec.rb +35 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/struct_packed_spec.rb +50 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/struct_spec.rb +886 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/typedef_spec.rb +91 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/union_spec.rb +67 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/ffi/variadic_spec.rb +113 -0
- data/path/gems/ffi-1.9.10-x86-mingw32/spec/spec.opts +4 -0
- data/path/gems/formatador-0.2.5/CONTRIBUTING.md +18 -0
- data/path/gems/formatador-0.2.5/CONTRIBUTORS.md +16 -0
- data/path/gems/formatador-0.2.5/Gemfile +3 -0
- data/path/gems/formatador-0.2.5/LICENSE.md +20 -0
- data/path/gems/formatador-0.2.5/README.rdoc +117 -0
- data/path/gems/formatador-0.2.5/Rakefile +143 -0
- data/path/gems/formatador-0.2.5/changelog.txt +27 -0
- data/path/gems/formatador-0.2.5/formatador.gemspec +83 -0
- data/path/gems/formatador-0.2.5/lib/formatador/progressbar.rb +91 -0
- data/path/gems/formatador-0.2.5/lib/formatador/table.rb +98 -0
- data/path/gems/formatador-0.2.5/lib/formatador.rb +131 -0
- data/path/gems/formatador-0.2.5/tests/basic_tests.rb +29 -0
- data/path/gems/formatador-0.2.5/tests/table_tests.rb +96 -0
- data/path/gems/formatador-0.2.5/tests/tests_helper.rb +15 -0
- data/path/gems/guard-2.13.0/CHANGELOG.md +1 -0
- data/path/gems/guard-2.13.0/LICENSE +22 -0
- data/path/gems/guard-2.13.0/README.md +182 -0
- data/path/gems/guard-2.13.0/bin/_guard-core +11 -0
- data/path/gems/guard-2.13.0/bin/guard +115 -0
- data/path/gems/guard-2.13.0/images/failed.png +0 -0
- data/path/gems/guard-2.13.0/images/pending.png +0 -0
- data/path/gems/guard-2.13.0/images/success.png +0 -0
- data/path/gems/guard-2.13.0/lib/guard/aruba_adapter.rb +59 -0
- data/path/gems/guard-2.13.0/lib/guard/cli/environments/bundler.rb +22 -0
- data/path/gems/guard-2.13.0/lib/guard/cli/environments/evaluate_only.rb +35 -0
- data/path/gems/guard-2.13.0/lib/guard/cli/environments/valid.rb +63 -0
- data/path/gems/guard-2.13.0/lib/guard/cli.rb +200 -0
- data/path/gems/guard-2.13.0/lib/guard/commander.rb +103 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/all.rb +37 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/change.rb +31 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/notification.rb +26 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/pause.rb +29 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/reload.rb +36 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/scope.rb +38 -0
- data/path/gems/guard-2.13.0/lib/guard/commands/show.rb +24 -0
- data/path/gems/guard-2.13.0/lib/guard/config.rb +18 -0
- data/path/gems/guard-2.13.0/lib/guard/deprecated/dsl.rb +45 -0
- data/path/gems/guard-2.13.0/lib/guard/deprecated/evaluator.rb +39 -0
- data/path/gems/guard-2.13.0/lib/guard/deprecated/guard.rb +334 -0
- data/path/gems/guard-2.13.0/lib/guard/deprecated/guardfile.rb +84 -0
- data/path/gems/guard-2.13.0/lib/guard/deprecated/watcher.rb +27 -0
- data/path/gems/guard-2.13.0/lib/guard/dsl.rb +437 -0
- data/path/gems/guard-2.13.0/lib/guard/dsl_describer.rb +160 -0
- data/path/gems/guard-2.13.0/lib/guard/dsl_reader.rb +51 -0
- data/path/gems/guard-2.13.0/lib/guard/group.rb +64 -0
- data/path/gems/guard-2.13.0/lib/guard/guardfile/evaluator.rb +226 -0
- data/path/gems/guard-2.13.0/lib/guard/guardfile/generator.rb +115 -0
- data/path/gems/guard-2.13.0/lib/guard/guardfile.rb +37 -0
- data/path/gems/guard-2.13.0/lib/guard/interactor.rb +62 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/debugging.rb +67 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/groups.rb +40 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/helpers.rb +13 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/plugins.rb +53 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/queue.rb +50 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/scope.rb +121 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/session.rb +182 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/state.rb +25 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/tracing.rb +33 -0
- data/path/gems/guard-2.13.0/lib/guard/internals/traps.rb +10 -0
- data/path/gems/guard-2.13.0/lib/guard/jobs/base.rb +21 -0
- data/path/gems/guard-2.13.0/lib/guard/jobs/pry_wrapper.rb +293 -0
- data/path/gems/guard-2.13.0/lib/guard/jobs/sleep.rb +26 -0
- data/path/gems/guard-2.13.0/lib/guard/notifier.rb +71 -0
- data/path/gems/guard-2.13.0/lib/guard/options.rb +17 -0
- data/path/gems/guard-2.13.0/lib/guard/plugin.rb +303 -0
- data/path/gems/guard-2.13.0/lib/guard/plugin_util.rb +188 -0
- data/path/gems/guard-2.13.0/lib/guard/rake_task.rb +42 -0
- data/path/gems/guard-2.13.0/lib/guard/runner.rb +126 -0
- data/path/gems/guard-2.13.0/lib/guard/templates/Guardfile +16 -0
- data/path/gems/guard-2.13.0/lib/guard/terminal.rb +13 -0
- data/path/gems/guard-2.13.0/lib/guard/ui/colors.rb +56 -0
- data/path/gems/guard-2.13.0/lib/guard/ui.rb +268 -0
- data/path/gems/guard-2.13.0/lib/guard/version.rb +3 -0
- data/path/gems/guard-2.13.0/lib/guard/watcher.rb +113 -0
- data/path/gems/guard-2.13.0/lib/guard.rb +172 -0
- data/path/gems/guard-2.13.0/man/guard.1 +108 -0
- data/path/gems/guard-2.13.0/man/guard.1.html +196 -0
- data/path/gems/guard-compat-1.2.1/.gitignore +14 -0
- data/path/gems/guard-compat-1.2.1/.rspec +3 -0
- data/path/gems/guard-compat-1.2.1/.rubocop.yml +6 -0
- data/path/gems/guard-compat-1.2.1/.rubocop_todo.yml +10 -0
- data/path/gems/guard-compat-1.2.1/Gemfile +9 -0
- data/path/gems/guard-compat-1.2.1/LICENSE.txt +22 -0
- data/path/gems/guard-compat-1.2.1/README.md +80 -0
- data/path/gems/guard-compat-1.2.1/Rakefile +10 -0
- data/path/gems/guard-compat-1.2.1/guard-compat.gemspec +23 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat/example.rb +34 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat/plugin.rb +124 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat/test/helper.rb +36 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat/test/template.rb +68 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat/version.rb +5 -0
- data/path/gems/guard-compat-1.2.1/lib/guard/compat.rb +7 -0
- data/path/gems/guard-compat-1.2.1/spec/guard/compat/example_spec.rb +53 -0
- data/path/gems/guard-compat-1.2.1/spec/guard/compat/example_template_spec.rb +30 -0
- data/path/gems/guard-compat-1.2.1/spec/guard/compat/no_guard_spec.rb +63 -0
- data/path/gems/guard-compat-1.2.1/spec/spec_helper.rb +73 -0
- data/path/gems/guard-rspec-4.6.4/.gitignore +10 -0
- data/path/gems/guard-rspec-4.6.4/.hound.yml +262 -0
- data/path/gems/guard-rspec-4.6.4/.rspec +2 -0
- data/path/gems/guard-rspec-4.6.4/.rubocop.yml +2 -0
- data/path/gems/guard-rspec-4.6.4/.rubocop_todo.yml +6 -0
- data/path/gems/guard-rspec-4.6.4/.travis.yml +13 -0
- data/path/gems/guard-rspec-4.6.4/CONTRIBUTING.md +38 -0
- data/path/gems/guard-rspec-4.6.4/Gemfile +23 -0
- data/path/gems/guard-rspec-4.6.4/Guardfile +28 -0
- data/path/gems/guard-rspec-4.6.4/LICENSE.txt +22 -0
- data/path/gems/guard-rspec-4.6.4/README.md +158 -0
- data/path/gems/guard-rspec-4.6.4/Rakefile +38 -0
- data/path/gems/guard-rspec-4.6.4/gemfiles/Gemfile.rspec-2.14 +14 -0
- data/path/gems/guard-rspec-4.6.4/gemfiles/Gemfile.rspec-2.99 +14 -0
- data/path/gems/guard-rspec-4.6.4/gemfiles/Gemfile.rspec-3.3 +14 -0
- data/path/gems/guard-rspec-4.6.4/guard-rspec.gemspec +29 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/command.rb +70 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/deprecator.rb +84 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/dsl.rb +70 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/inspectors/base_inspector.rb +73 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/inspectors/factory.rb +23 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/inspectors/focused_inspector.rb +39 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/inspectors/keeping_inspector.rb +97 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/inspectors/simple_inspector.rb +21 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/notifier.rb +56 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/options.rb +36 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/results.rb +23 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/rspec_process.rb +66 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/runner.rb +97 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/templates/Guardfile +53 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec/version.rb +5 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec.rb +51 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec_defaults.rb +5 -0
- data/path/gems/guard-rspec-4.6.4/lib/guard/rspec_formatter.rb +145 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/command_spec.rb +95 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/deprecator_spec.rb +94 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/base_inspector_spec.rb +144 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/factory_spec.rb +45 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/focused_inspector_spec.rb +140 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/keeping_inspector_spec.rb +192 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/shared_examples.rb +121 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/inspectors/simple_inspector_spec.rb +59 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/notifier_spec.rb +90 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/results_spec.rb +64 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/rspec_process_spec.rb +78 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/runner_spec.rb +332 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec/template_spec.rb +78 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec_formatter_spec.rb +258 -0
- data/path/gems/guard-rspec-4.6.4/spec/lib/guard/rspec_spec.rb +91 -0
- data/path/gems/guard-rspec-4.6.4/spec/spec_helper.rb +144 -0
- data/path/gems/listen-3.0.3/CHANGELOG.md +1 -0
- data/path/gems/listen-3.0.3/CONTRIBUTING.md +38 -0
- data/path/gems/listen-3.0.3/LICENSE.txt +22 -0
- data/path/gems/listen-3.0.3/README.md +305 -0
- data/path/gems/listen-3.0.3/bin/listen +12 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/base.rb +130 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/bsd.rb +106 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/config.rb +23 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/darwin.rb +55 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/linux.rb +102 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/polling.rb +37 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter/windows.rb +99 -0
- data/path/gems/listen-3.0.3/lib/listen/adapter.rb +43 -0
- data/path/gems/listen-3.0.3/lib/listen/backend.rb +41 -0
- data/path/gems/listen-3.0.3/lib/listen/change.rb +78 -0
- data/path/gems/listen-3.0.3/lib/listen/cli.rb +65 -0
- data/path/gems/listen-3.0.3/lib/listen/directory.rb +80 -0
- data/path/gems/listen-3.0.3/lib/listen/event/config.rb +59 -0
- data/path/gems/listen-3.0.3/lib/listen/event/loop.rb +117 -0
- data/path/gems/listen-3.0.3/lib/listen/event/processor.rb +122 -0
- data/path/gems/listen-3.0.3/lib/listen/event/queue.rb +56 -0
- data/path/gems/listen-3.0.3/lib/listen/file.rb +80 -0
- data/path/gems/listen-3.0.3/lib/listen/fsm.rb +131 -0
- data/path/gems/listen-3.0.3/lib/listen/internals/thread_pool.rb +21 -0
- data/path/gems/listen-3.0.3/lib/listen/listener/config.rb +45 -0
- data/path/gems/listen-3.0.3/lib/listen/listener.rb +132 -0
- data/path/gems/listen-3.0.3/lib/listen/logger.rb +32 -0
- data/path/gems/listen-3.0.3/lib/listen/options.rb +23 -0
- data/path/gems/listen-3.0.3/lib/listen/queue_optimizer.rb +132 -0
- data/path/gems/listen-3.0.3/lib/listen/record/entry.rb +51 -0
- data/path/gems/listen-3.0.3/lib/listen/record/symlink_detector.rb +39 -0
- data/path/gems/listen-3.0.3/lib/listen/record.rb +120 -0
- data/path/gems/listen-3.0.3/lib/listen/silencer/controller.rb +48 -0
- data/path/gems/listen-3.0.3/lib/listen/silencer.rb +97 -0
- data/path/gems/listen-3.0.3/lib/listen/version.rb +3 -0
- data/path/gems/listen-3.0.3/lib/listen.rb +55 -0
- data/path/gems/lumberjack-1.0.9/MIT_LICENSE +20 -0
- data/path/gems/lumberjack-1.0.9/README.rdoc +132 -0
- data/path/gems/lumberjack-1.0.9/Rakefile +40 -0
- data/path/gems/lumberjack-1.0.9/VERSION +1 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/date_rolling_log_file.rb +58 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/log_file.rb +18 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/null.rb +15 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/rolling_log_file.rb +110 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/size_rolling_log_file.rb +60 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device/writer.rb +129 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/device.rb +26 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/formatter/exception_formatter.rb +12 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/formatter/inspect_formatter.rb +10 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/formatter/pretty_print_formatter.rb +23 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/formatter/string_formatter.rb +10 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/formatter.rb +81 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/log_entry.rb +36 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/logger.rb +315 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb +15 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/rack.rb +5 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/severity.rb +23 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack/template.rb +71 -0
- data/path/gems/lumberjack-1.0.9/lib/lumberjack.rb +43 -0
- data/path/gems/lumberjack-1.0.9/spec/device/date_rolling_log_file_spec.rb +66 -0
- data/path/gems/lumberjack-1.0.9/spec/device/log_file_spec.rb +26 -0
- data/path/gems/lumberjack-1.0.9/spec/device/null_spec.rb +12 -0
- data/path/gems/lumberjack-1.0.9/spec/device/rolling_log_file_spec.rb +128 -0
- data/path/gems/lumberjack-1.0.9/spec/device/size_rolling_log_file_spec.rb +54 -0
- data/path/gems/lumberjack-1.0.9/spec/device/writer_spec.rb +118 -0
- data/path/gems/lumberjack-1.0.9/spec/formatter/exception_formatter_spec.rb +20 -0
- data/path/gems/lumberjack-1.0.9/spec/formatter/inspect_formatter_spec.rb +13 -0
- data/path/gems/lumberjack-1.0.9/spec/formatter/pretty_print_formatter_spec.rb +14 -0
- data/path/gems/lumberjack-1.0.9/spec/formatter/string_formatter_spec.rb +12 -0
- data/path/gems/lumberjack-1.0.9/spec/formatter_spec.rb +45 -0
- data/path/gems/lumberjack-1.0.9/spec/log_entry_spec.rb +69 -0
- data/path/gems/lumberjack-1.0.9/spec/logger_spec.rb +411 -0
- data/path/gems/lumberjack-1.0.9/spec/lumberjack_spec.rb +29 -0
- data/path/gems/lumberjack-1.0.9/spec/rack/unit_of_work_spec.rb +26 -0
- data/path/gems/lumberjack-1.0.9/spec/severity_spec.rb +23 -0
- data/path/gems/lumberjack-1.0.9/spec/spec_helper.rb +16 -0
- data/path/gems/lumberjack-1.0.9/spec/template_spec.rb +34 -0
- data/path/gems/method_source-0.8.2/.gemtest +0 -0
- data/path/gems/method_source-0.8.2/.travis.yml +13 -0
- data/path/gems/method_source-0.8.2/.yardopts +1 -0
- data/path/gems/method_source-0.8.2/Gemfile +2 -0
- data/path/gems/method_source-0.8.2/LICENSE +25 -0
- data/path/gems/method_source-0.8.2/README.markdown +91 -0
- data/path/gems/method_source-0.8.2/Rakefile +79 -0
- data/path/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +154 -0
- data/path/gems/method_source-0.8.2/lib/method_source/source_location.rb +138 -0
- data/path/gems/method_source-0.8.2/lib/method_source/version.rb +3 -0
- data/path/gems/method_source-0.8.2/lib/method_source.rb +141 -0
- data/path/gems/method_source-0.8.2/method_source.gemspec +33 -0
- data/path/gems/method_source-0.8.2/test/test.rb +138 -0
- data/path/gems/method_source-0.8.2/test/test_code_helpers.rb +41 -0
- data/path/gems/method_source-0.8.2/test/test_helper.rb +98 -0
- data/path/gems/nenv-0.2.0/.gitignore +14 -0
- data/path/gems/nenv-0.2.0/LICENSE.txt +22 -0
- data/path/gems/nenv-0.2.0/README.md +320 -0
- data/path/gems/nenv-0.2.0/lib/nenv/autoenvironment.rb +9 -0
- data/path/gems/nenv-0.2.0/lib/nenv/builder.rb +9 -0
- data/path/gems/nenv-0.2.0/lib/nenv/environment/dumper.rb +10 -0
- data/path/gems/nenv-0.2.0/lib/nenv/environment/loader.rb +29 -0
- data/path/gems/nenv-0.2.0/lib/nenv/environment.rb +58 -0
- data/path/gems/nenv-0.2.0/lib/nenv/version.rb +3 -0
- data/path/gems/nenv-0.2.0/lib/nenv.rb +30 -0
- data/path/gems/nenv-0.2.0/nenv.gemspec +27 -0
- data/path/gems/notiffany-0.0.7/LICENSE.txt +22 -0
- data/path/gems/notiffany-0.0.7/README.md +69 -0
- data/path/gems/notiffany-0.0.7/images/failed.png +0 -0
- data/path/gems/notiffany-0.0.7/images/pending.png +0 -0
- data/path/gems/notiffany-0.0.7/images/success.png +0 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/base.rb +127 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/detected.rb +116 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/emacs.rb +107 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/file.rb +44 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/gntp.rb +91 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/growl.rb +82 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/libnotify.rb +54 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/notifysend.rb +89 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/rb_notifu.rb +89 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/terminal_notifier.rb +59 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/terminal_title.rb +39 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier/tmux.rb +355 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/notifier.rb +205 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany/version.rb +3 -0
- data/path/gems/notiffany-0.0.7/lib/notiffany.rb +6 -0
- data/path/gems/pry-0.10.1-x86-mingw32/CHANGELOG.md +709 -0
- data/path/gems/pry-0.10.1-x86-mingw32/LICENSE +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/README.md +406 -0
- data/path/gems/pry-0.10.1-x86-mingw32/bin/pry +16 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/cli.rb +220 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/code/code_file.rb +103 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/code/code_range.rb +71 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/code/loc.rb +92 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/code.rb +346 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/code_object.rb +172 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/color_printer.rb +55 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/command.rb +692 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/command_set.rb +443 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/amend_line.rb +99 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/bang.rb +20 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/bang_pry.rb +17 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cat.rb +62 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/cd.rb +41 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/change_inspector.rb +27 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/change_prompt.rb +26 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/code_collector.rb +165 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/disable_pry.rb +27 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/disabled_commands.rb +2 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/easter_eggs.rb +112 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/edit.rb +195 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/exit.rb +42 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/exit_all.rb +29 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/exit_program.rb +23 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/find_method.rb +193 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/fix_indent.rb +19 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/gem_cd.rb +26 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/gem_install.rb +32 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/gem_list.rb +33 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/gem_open.rb +29 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/gist.rb +101 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/help.rb +164 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/hist.rb +180 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/import_set.rb +22 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/install_command.rb +53 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/jump_to.rb +29 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/list_inspectors.rb +35 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/list_prompts.rb +35 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/constants.rb +47 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/formatter.rb +49 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/globals.rb +48 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/grep.rb +21 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/local_names.rb +35 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/local_vars.rb +39 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/methods.rb +57 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls/self_methods.rb +32 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ls.rb +114 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/nesting.rb +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/play.rb +103 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/pry_backtrace.rb +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/pry_version.rb +17 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/raise_up.rb +32 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/reload_code.rb +62 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/reset.rb +18 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/ri.rb +60 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/save_file.rb +61 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/shell_command.rb +48 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/shell_mode.rb +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/show_doc.rb +83 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/show_info.rb +195 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/show_input.rb +17 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/show_source.rb +50 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/simple_prompt.rb +22 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/stat.rb +40 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/switch_to.rb +23 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/toggle_color.rb +24 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/watch_expression.rb +105 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/whereami.rb +190 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands/wtf.rb +57 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/commands.rb +6 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/config/behavior.rb +139 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/config/convenience.rb +25 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/config/default.rb +161 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/config.rb +24 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/core_extensions.rb +131 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/editor.rb +135 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/exceptions.rb +77 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/base_helpers.rb +113 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/command_helpers.rb +156 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/options_helpers.rb +27 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/table.rb +109 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers/text.rb +107 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/helpers.rb +5 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/history.rb +127 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/history_array.rb +121 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/hooks.rb +230 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/indent.rb +406 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/input_completer.rb +242 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/input_lock.rb +132 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/inspector.rb +27 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/last_exception.rb +61 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/method/disowned.rb +53 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/method/patcher.rb +125 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/method/weird_method_locator.rb +186 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/method.rb +546 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/module_candidate.rb +136 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/object_path.rb +82 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/output.rb +50 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/pager.rb +236 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/plugins.rb +103 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/prompt.rb +26 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/pry_class.rb +375 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/pry_instance.rb +664 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/rbx_path.rb +22 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/repl.rb +202 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/repl_file_loader.rb +74 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/rubygem.rb +82 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/terminal.rb +79 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/test/helper.rb +170 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/version.rb +3 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry/wrapped_module.rb +377 -0
- data/path/gems/pry-0.10.1-x86-mingw32/lib/pry.rb +161 -0
- data/path/gems/rb-fsevent-0.9.5/.gitignore +13 -0
- data/path/gems/rb-fsevent-0.9.5/Gemfile +6 -0
- data/path/gems/rb-fsevent-0.9.5/Guardfile +8 -0
- data/path/gems/rb-fsevent-0.9.5/LICENSE.txt +22 -0
- data/path/gems/rb-fsevent-0.9.5/README.md +242 -0
- data/path/gems/rb-fsevent-0.9.5/Rakefile +32 -0
- data/path/gems/rb-fsevent-0.9.5/bin/fsevent_watch +0 -0
- data/path/gems/rb-fsevent-0.9.5/ext/LICENSE +21 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/FSEventsFix.c +626 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/FSEventsFix.h +105 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/TSICTString.c +394 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/TSICTString.h +74 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/cli.c +202 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/cli.h +45 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/common.h +22 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/compat.c +25 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/compat.h +47 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/defines.h +40 -0
- data/path/gems/rb-fsevent-0.9.5/ext/fsevent_watch/main.c +507 -0
- data/path/gems/rb-fsevent-0.9.5/ext/rakefile.rb +224 -0
- data/path/gems/rb-fsevent-0.9.5/lib/rb-fsevent/fsevent.rb +114 -0
- data/path/gems/rb-fsevent-0.9.5/lib/rb-fsevent/version.rb +5 -0
- data/path/gems/rb-fsevent-0.9.5/lib/rb-fsevent.rb +3 -0
- data/path/gems/rb-fsevent-0.9.5/rb-fsevent.gemspec +24 -0
- data/path/gems/rb-fsevent-0.9.5/spec/fixtures/custom 'path/.gitignore +0 -0
- data/path/gems/rb-fsevent-0.9.5/spec/fixtures/folder1/file1.txt +0 -0
- data/path/gems/rb-fsevent-0.9.5/spec/fixtures/folder1/folder2/file2.txt +0 -0
- data/path/gems/rb-fsevent-0.9.5/spec/rb-fsevent/fsevent_spec.rb +88 -0
- data/path/gems/rb-fsevent-0.9.5/spec/spec_helper.rb +23 -0
- data/path/gems/rb-inotify-0.9.5/.yardopts +4 -0
- data/path/gems/rb-inotify-0.9.5/MIT-LICENSE +20 -0
- data/path/gems/rb-inotify-0.9.5/README.md +66 -0
- data/path/gems/rb-inotify-0.9.5/Rakefile +54 -0
- data/path/gems/rb-inotify-0.9.5/VERSION +1 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify/event.rb +146 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify/native/flags.rb +89 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify/native.rb +31 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb +318 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify/watcher.rb +88 -0
- data/path/gems/rb-inotify-0.9.5/lib/rb-inotify.rb +17 -0
- data/path/gems/rb-inotify-0.9.5/rb-inotify.gemspec +52 -0
- data/path/gems/rspec-3.3.0/License.txt +24 -0
- data/path/gems/rspec-3.3.0/README.md +34 -0
- data/path/gems/rspec-3.3.0/lib/rspec/version.rb +5 -0
- data/path/gems/rspec-3.3.0/lib/rspec.rb +3 -0
- data/path/gems/rspec-core-3.3.2/.document +5 -0
- data/path/gems/rspec-core-3.3.2/.yardopts +8 -0
- data/path/gems/rspec-core-3.3.2/Changelog.md +1856 -0
- data/path/gems/rspec-core-3.3.2/License.txt +25 -0
- data/path/gems/rspec-core-3.3.2/README.md +369 -0
- data/path/gems/rspec-core-3.3.2/exe/rspec +4 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/autorun.rb +3 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/backtrace_formatter.rb +64 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/bisect/example_minimizer.rb +130 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/bisect/runner.rb +139 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/bisect/server.rb +61 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/bisect/subset_enumerator.rb +39 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb +1807 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/configuration_options.rb +191 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/drb.rb +111 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/dsl.rb +96 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/example.rb +573 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb +796 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/example_status_persister.rb +235 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/filter_manager.rb +231 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/flat_map.rb +20 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/bisect_formatter.rb +68 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +115 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/exception_presenter.rb +393 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/helpers.rb +109 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/html_printer.rb +415 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/protocol.rb +172 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/snippet_extractor.rb +116 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/formatters.rb +254 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb +638 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/memoized_helpers.rb +532 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/metadata.rb +490 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/metadata_filter.rb +235 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/mutex.rb +63 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/notifications.rb +498 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/option_parser.rb +301 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/ordering.rb +158 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/pending.rb +165 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/profiler.rb +32 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/project_initializer/.rspec +2 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +96 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/project_initializer.rb +48 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/rake_task.rb +158 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/reentrant_mutex.rb +52 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/reporter.rb +220 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/ruby_project.rb +53 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb +179 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/sandbox.rb +37 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/set.rb +49 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/shared_context.rb +55 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/shared_example_group.rb +210 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/shell_escape.rb +49 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/version.rb +9 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/warnings.rb +40 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core/world.rb +178 -0
- data/path/gems/rspec-core-3.3.2/lib/rspec/core.rb +181 -0
- data/path/gems/rspec-expectations-3.3.1/.document +5 -0
- data/path/gems/rspec-expectations-3.3.1/.yardopts +6 -0
- data/path/gems/rspec-expectations-3.3.1/Changelog.md +953 -0
- data/path/gems/rspec-expectations-3.3.1/License.txt +24 -0
- data/path/gems/rspec-expectations-3.3.1/README.md +289 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/configuration.rb +164 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/expectation_target.rb +113 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/fail_with.rb +31 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/handler.rb +170 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/minitest_integration.rb +31 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/syntax.rb +132 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations/version.rb +8 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/expectations.rb +81 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/all.rb +85 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/be.rb +285 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/change.rb +337 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/compound.rb +293 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/contain_exactly.rb +253 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/has.rb +103 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/include.rb +130 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/match.rb +37 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/output.rb +200 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/raise_error.rb +216 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/respond_to.rb +90 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in/yield.rb +418 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/built_in.rb +52 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/composable.rb +184 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/dsl.rb +453 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/english_phrasing.rb +42 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/path/gems/rspec-expectations-3.3.1/lib/rspec/matchers.rb +1009 -0
- data/path/gems/rspec-mocks-3.3.2/.document +5 -0
- data/path/gems/rspec-mocks-3.3.2/.yardopts +6 -0
- data/path/gems/rspec-mocks-3.3.2/Changelog.md +965 -0
- data/path/gems/rspec-mocks-3.3.2/License.txt +24 -0
- data/path/gems/rspec-mocks-3.3.2/README.md +430 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/recorder.rb +264 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/stub_chain.rb +46 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance/stub_chain_chain.rb +27 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/any_instance.rb +11 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/configuration.rb +188 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/error_generator.rb +362 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/example_methods.rb +421 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/matchers/have_received.rb +116 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/matchers/receive.rb +130 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/matchers/receive_message_chain.rb +80 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/matchers/receive_messages.rb +75 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/message_chain.rb +87 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/message_expectation.rb +717 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/method_double.rb +287 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/method_reference.rb +192 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/mutate_const.rb +335 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/mutex.rb +73 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/object_reference.rb +149 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/order_group.rb +81 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/proxy.rb +439 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/reentrant_mutex.rb +53 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/space.rb +238 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/standalone.rb +3 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/syntax.rb +325 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/targets.rb +97 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/test_double.rb +170 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/verifying_double.rb +129 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/verifying_message_expecation.rb +54 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks/version.rb +9 -0
- data/path/gems/rspec-mocks-3.3.2/lib/rspec/mocks.rb +126 -0
- data/path/gems/rspec-support-3.3.0/Changelog.md +125 -0
- data/path/gems/rspec-support-3.3.0/LICENSE.txt +22 -0
- data/path/gems/rspec-support-3.3.0/README.md +26 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/caller_filter.rb +83 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/differ.rb +215 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/directory_maker.rb +63 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/encoded_string.rb +155 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/method_signature_verifier.rb +273 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/object_formatter.rb +93 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/ruby_features.rb +118 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/library_wide_checks.rb +145 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/shell_out.rb +71 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/with_isolated_directory.rb +9 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/spec.rb +81 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/version.rb +7 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/version_checker.rb +53 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support/warnings.rb +39 -0
- data/path/gems/rspec-support-3.3.0/lib/rspec/support.rb +111 -0
- data/path/gems/shellany-0.0.1/.gitignore +14 -0
- data/path/gems/shellany-0.0.1/.rspec +2 -0
- data/path/gems/shellany-0.0.1/.travis.yml +13 -0
- data/path/gems/shellany-0.0.1/Gemfile +11 -0
- data/path/gems/shellany-0.0.1/LICENSE.txt +22 -0
- data/path/gems/shellany-0.0.1/README.md +72 -0
- data/path/gems/shellany-0.0.1/Rakefile +13 -0
- data/path/gems/shellany-0.0.1/lib/shellany/sheller.rb +144 -0
- data/path/gems/shellany-0.0.1/lib/shellany/version.rb +3 -0
- data/path/gems/shellany-0.0.1/lib/shellany.rb +5 -0
- data/path/gems/shellany-0.0.1/shellany.gemspec +22 -0
- data/path/gems/shellany-0.0.1/spec/lib/shellany/sheller_spec.rb +141 -0
- data/path/gems/shellany-0.0.1/spec/shellany_spec.rb +5 -0
- data/path/gems/shellany-0.0.1/spec/spec_helper.rb +24 -0
- data/path/gems/slop-3.6.0/.gitignore +7 -0
- data/path/gems/slop-3.6.0/.travis.yml +9 -0
- data/path/gems/slop-3.6.0/CHANGES.md +309 -0
- data/path/gems/slop-3.6.0/Gemfile +3 -0
- data/path/gems/slop-3.6.0/LICENSE +20 -0
- data/path/gems/slop-3.6.0/README.md +202 -0
- data/path/gems/slop-3.6.0/Rakefile +29 -0
- data/path/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/path/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/path/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/path/gems/slop-3.6.0/slop.gemspec +17 -0
- data/path/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/path/gems/slop-3.6.0/test/helper.rb +12 -0
- data/path/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/path/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/path/gems/thor-0.19.1/.document +5 -0
- data/path/gems/thor-0.19.1/CHANGELOG.md +139 -0
- data/path/gems/thor-0.19.1/LICENSE.md +20 -0
- data/path/gems/thor-0.19.1/README.md +41 -0
- data/path/gems/thor-0.19.1/Thorfile +29 -0
- data/path/gems/thor-0.19.1/bin/thor +6 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/create_file.rb +103 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/create_link.rb +59 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/directory.rb +118 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb +135 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb +316 -0
- data/path/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb +107 -0
- data/path/gems/thor-0.19.1/lib/thor/actions.rb +319 -0
- data/path/gems/thor-0.19.1/lib/thor/base.rb +656 -0
- data/path/gems/thor-0.19.1/lib/thor/command.rb +133 -0
- data/path/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/path/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/path/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +98 -0
- data/path/gems/thor-0.19.1/lib/thor/error.rb +32 -0
- data/path/gems/thor-0.19.1/lib/thor/group.rb +281 -0
- data/path/gems/thor-0.19.1/lib/thor/invocation.rb +178 -0
- data/path/gems/thor-0.19.1/lib/thor/line_editor/basic.rb +35 -0
- data/path/gems/thor-0.19.1/lib/thor/line_editor/readline.rb +88 -0
- data/path/gems/thor-0.19.1/lib/thor/line_editor.rb +17 -0
- data/path/gems/thor-0.19.1/lib/thor/parser/argument.rb +73 -0
- data/path/gems/thor-0.19.1/lib/thor/parser/arguments.rb +175 -0
- data/path/gems/thor-0.19.1/lib/thor/parser/option.rb +125 -0
- data/path/gems/thor-0.19.1/lib/thor/parser/options.rb +218 -0
- data/path/gems/thor-0.19.1/lib/thor/parser.rb +4 -0
- data/path/gems/thor-0.19.1/lib/thor/rake_compat.rb +71 -0
- data/path/gems/thor-0.19.1/lib/thor/runner.rb +322 -0
- data/path/gems/thor-0.19.1/lib/thor/shell/basic.rb +421 -0
- data/path/gems/thor-0.19.1/lib/thor/shell/color.rb +149 -0
- data/path/gems/thor-0.19.1/lib/thor/shell/html.rb +126 -0
- data/path/gems/thor-0.19.1/lib/thor/shell.rb +81 -0
- data/path/gems/thor-0.19.1/lib/thor/util.rb +267 -0
- data/path/gems/thor-0.19.1/lib/thor/version.rb +3 -0
- data/path/gems/thor-0.19.1/lib/thor.rb +484 -0
- data/path/gems/thor-0.19.1/spec/actions/create_file_spec.rb +168 -0
- data/path/gems/thor-0.19.1/spec/actions/create_link_spec.rb +96 -0
- data/path/gems/thor-0.19.1/spec/actions/directory_spec.rb +169 -0
- data/path/gems/thor-0.19.1/spec/actions/empty_directory_spec.rb +129 -0
- data/path/gems/thor-0.19.1/spec/actions/file_manipulation_spec.rb +392 -0
- data/path/gems/thor-0.19.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/path/gems/thor-0.19.1/spec/actions_spec.rb +331 -0
- data/path/gems/thor-0.19.1/spec/base_spec.rb +298 -0
- data/path/gems/thor-0.19.1/spec/command_spec.rb +79 -0
- data/path/gems/thor-0.19.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/path/gems/thor-0.19.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/path/gems/thor-0.19.1/spec/exit_condition_spec.rb +19 -0
- data/path/gems/thor-0.19.1/spec/fixtures/application.rb +2 -0
- data/path/gems/thor-0.19.1/spec/fixtures/app{1}/README +3 -0
- data/path/gems/thor-0.19.1/spec/fixtures/bundle/execute.rb +6 -0
- data/path/gems/thor-0.19.1/spec/fixtures/bundle/main.thor +1 -0
- data/path/gems/thor-0.19.1/spec/fixtures/command.thor +10 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/COMMENTER +11 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/README +3 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/block_helper.rb +3 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/config.rb +1 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/config.yaml.tt +1 -0
- data/path/gems/thor-0.19.1/spec/fixtures/doc/excluding/%file_name%.rb.tt +1 -0
- data/path/gems/thor-0.19.1/spec/fixtures/enum.thor +10 -0
- data/path/gems/thor-0.19.1/spec/fixtures/group.thor +128 -0
- data/path/gems/thor-0.19.1/spec/fixtures/invoke.thor +131 -0
- data/path/gems/thor-0.19.1/spec/fixtures/path with spaces +0 -0
- data/path/gems/thor-0.19.1/spec/fixtures/preserve/script.sh +3 -0
- data/path/gems/thor-0.19.1/spec/fixtures/script.thor +220 -0
- data/path/gems/thor-0.19.1/spec/fixtures/subcommand.thor +17 -0
- data/path/gems/thor-0.19.1/spec/group_spec.rb +222 -0
- data/path/gems/thor-0.19.1/spec/helper.rb +80 -0
- data/path/gems/thor-0.19.1/spec/invocation_spec.rb +120 -0
- data/path/gems/thor-0.19.1/spec/line_editor/basic_spec.rb +28 -0
- data/path/gems/thor-0.19.1/spec/line_editor/readline_spec.rb +69 -0
- data/path/gems/thor-0.19.1/spec/line_editor_spec.rb +43 -0
- data/path/gems/thor-0.19.1/spec/parser/argument_spec.rb +53 -0
- data/path/gems/thor-0.19.1/spec/parser/arguments_spec.rb +66 -0
- data/path/gems/thor-0.19.1/spec/parser/option_spec.rb +210 -0
- data/path/gems/thor-0.19.1/spec/parser/options_spec.rb +414 -0
- data/path/gems/thor-0.19.1/spec/quality_spec.rb +75 -0
- data/path/gems/thor-0.19.1/spec/rake_compat_spec.rb +72 -0
- data/path/gems/thor-0.19.1/spec/register_spec.rb +227 -0
- data/path/gems/thor-0.19.1/spec/runner_spec.rb +246 -0
- data/path/gems/thor-0.19.1/spec/sandbox/application.rb +2 -0
- data/path/gems/thor-0.19.1/spec/sandbox/app{1}/README +3 -0
- data/path/gems/thor-0.19.1/spec/sandbox/bundle/execute.rb +6 -0
- data/path/gems/thor-0.19.1/spec/sandbox/bundle/main.thor +1 -0
- data/path/gems/thor-0.19.1/spec/sandbox/command.thor +10 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/%file_name%.rb.tt +1 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/COMMENTER +11 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/README +3 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/block_helper.rb +3 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/config.rb +1 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/config.yaml.tt +1 -0
- data/path/gems/thor-0.19.1/spec/sandbox/doc/excluding/%file_name%.rb.tt +1 -0
- data/path/gems/thor-0.19.1/spec/sandbox/enum.thor +10 -0
- data/path/gems/thor-0.19.1/spec/sandbox/group.thor +128 -0
- data/path/gems/thor-0.19.1/spec/sandbox/invoke.thor +131 -0
- data/path/gems/thor-0.19.1/spec/sandbox/path with spaces +0 -0
- data/path/gems/thor-0.19.1/spec/sandbox/preserve/script.sh +3 -0
- data/path/gems/thor-0.19.1/spec/sandbox/script.thor +220 -0
- data/path/gems/thor-0.19.1/spec/sandbox/subcommand.thor +17 -0
- data/path/gems/thor-0.19.1/spec/shell/basic_spec.rb +337 -0
- data/path/gems/thor-0.19.1/spec/shell/color_spec.rb +119 -0
- data/path/gems/thor-0.19.1/spec/shell/html_spec.rb +31 -0
- data/path/gems/thor-0.19.1/spec/shell_spec.rb +47 -0
- data/path/gems/thor-0.19.1/spec/subcommand_spec.rb +48 -0
- data/path/gems/thor-0.19.1/spec/thor_spec.rb +505 -0
- data/path/gems/thor-0.19.1/spec/util_spec.rb +196 -0
- data/path/gems/thor-0.19.1/thor.gemspec +24 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/.gemtest +0 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/History.txt +134 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/Manifest.txt +22 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/README.txt +86 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/Rakefile +8 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/ext/Console_ext/Console.c +1216 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/ext/Console_ext/extconf.rb +18 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/extra/Console.rdoc +690 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/extra/Console_ANSI.rdoc +302 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/1.8/Console_ext.so +0 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/1.9/Console_ext.so +0 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/ANSI.rb +357 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/api.rb +342 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/constants.rb +66 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console.rb +404 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/lib/win32console.rb +1 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/tasks/gem.rake +36 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/tasks/native.rake +16 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_cursor.rb +9 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_mouse.rb +6 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_readinput.rb +78 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_readoutput.rb +52 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_sendevent.rb +17 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_std.rb +4 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_title.rb +14 -0
- data/path/gems/win32console-1.3.2-x86-mingw32/test/test_write.rb +37 -0
- data/path/specifications/coderay-1.1.0.gemspec +26 -0
- data/path/specifications/diff-lcs-1.2.5.gemspec +68 -0
- data/path/specifications/ffi-1.9.10-x86-mingw32.gemspec +47 -0
- data/path/specifications/formatador-0.2.5.gemspec +38 -0
- data/path/specifications/guard-2.13.0.gemspec +56 -0
- data/path/specifications/guard-compat-1.2.1.gemspec +35 -0
- data/path/specifications/guard-rspec-4.6.4.gemspec +47 -0
- data/path/specifications/listen-3.0.3.gemspec +41 -0
- data/path/specifications/lumberjack-1.0.9.gemspec +23 -0
- data/path/specifications/method_source-0.8.2.gemspec +34 -0
- data/path/specifications/nenv-0.2.0.gemspec +38 -0
- data/path/specifications/notiffany-0.0.7.gemspec +38 -0
- data/path/specifications/pry-0.10.1-x86-mingw32.gemspec +47 -0
- data/path/specifications/rb-fsevent-0.9.5.gemspec +38 -0
- data/path/specifications/rb-inotify-0.9.5.gemspec +36 -0
- data/path/specifications/rspec-3.3.0.gemspec +42 -0
- data/path/specifications/rspec-core-3.3.2.gemspec +68 -0
- data/path/specifications/rspec-expectations-3.3.1.gemspec +50 -0
- data/path/specifications/rspec-mocks-3.3.2.gemspec +53 -0
- data/path/specifications/rspec-support-3.3.0.gemspec +38 -0
- data/path/specifications/shellany-0.0.1.gemspec +32 -0
- data/path/specifications/slop-3.6.0.gemspec +36 -0
- data/path/specifications/thor-0.19.1.gemspec +34 -0
- data/path/specifications/win32console-1.3.2-x86-mingw32.gemspec +52 -0
- metadata +1538 -0
|
@@ -0,0 +1,1216 @@
|
|
|
1
|
+
#include <windows.h>
|
|
2
|
+
#include "ruby.h"
|
|
3
|
+
|
|
4
|
+
/* Workaround deprecated RString accessors */
|
|
5
|
+
#ifndef RSTRING_PTR
|
|
6
|
+
#define RSTRING_PTR(s) (RSTRING(s)->ptr)
|
|
7
|
+
#endif
|
|
8
|
+
#ifndef RSTRING_LEN
|
|
9
|
+
#define RSTRING_LEN(s) (RSTRING(s)->len)
|
|
10
|
+
#endif
|
|
11
|
+
|
|
12
|
+
VALUE rb_mWin32;
|
|
13
|
+
VALUE rb_mConsole;
|
|
14
|
+
VALUE rb_mAPI;
|
|
15
|
+
VALUE rb_mConstants;
|
|
16
|
+
|
|
17
|
+
/* old RUBY_METHOD_FUNC() definition doesn't match to prototypes in those days. */
|
|
18
|
+
#ifndef ANYARGS
|
|
19
|
+
#undef RUBY_METHOD_FUNC
|
|
20
|
+
#define RUBY_METHOD_FUNC(func) ((VALUE (*)())func)
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#define RB_DEF_S_METHOD(klass,method,func,argtype) \
|
|
25
|
+
rb_define_singleton_method(klass,method,RUBY_METHOD_FUNC(func), argtype)
|
|
26
|
+
|
|
27
|
+
#define RB_DEF_API_METHOD(name,argtype) \
|
|
28
|
+
RB_DEF_S_METHOD(rb_mAPI,#name,RUBY_METHOD_FUNC(rb_##name), argtype)
|
|
29
|
+
|
|
30
|
+
#define RB_DEF_METHOD(klass,method,func,argtype) \
|
|
31
|
+
rb_define_method(klass,method,RUBY_METHOD_FUNC(func), argtype)
|
|
32
|
+
|
|
33
|
+
VALUE
|
|
34
|
+
rb_getWin32Error()
|
|
35
|
+
{
|
|
36
|
+
LPVOID lpMsgBuf;
|
|
37
|
+
if (!FormatMessage(
|
|
38
|
+
FORMAT_MESSAGE_ALLOCATE_BUFFER |
|
|
39
|
+
FORMAT_MESSAGE_FROM_SYSTEM |
|
|
40
|
+
FORMAT_MESSAGE_IGNORE_INSERTS,
|
|
41
|
+
NULL,
|
|
42
|
+
GetLastError(),
|
|
43
|
+
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
|
|
44
|
+
(LPTSTR) &lpMsgBuf,
|
|
45
|
+
0,
|
|
46
|
+
NULL ))
|
|
47
|
+
{
|
|
48
|
+
// Handle the error.
|
|
49
|
+
return Qnil;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
VALUE t = rb_str_new2( (LPCTSTR) lpMsgBuf );
|
|
53
|
+
|
|
54
|
+
// Free the buffer.
|
|
55
|
+
LocalFree( lpMsgBuf );
|
|
56
|
+
|
|
57
|
+
// Raise exception
|
|
58
|
+
rb_raise(rb_eRuntimeError, RSTRING_PTR(t));
|
|
59
|
+
return Qnil;
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
static VALUE rb_GetStdHandle(VALUE self, VALUE handle)
|
|
65
|
+
{
|
|
66
|
+
unsigned long x;
|
|
67
|
+
if ( FIXNUM_P( handle ) )
|
|
68
|
+
{
|
|
69
|
+
x = NUM2ULONG( handle );
|
|
70
|
+
}
|
|
71
|
+
else
|
|
72
|
+
{
|
|
73
|
+
Check_Type( handle, T_BIGNUM );
|
|
74
|
+
x = rb_big2ulong(handle);
|
|
75
|
+
}
|
|
76
|
+
unsigned long h = PtrToUlong( GetStdHandle( x ) );
|
|
77
|
+
return ULONG2NUM(h);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
static VALUE rb_AllocConsole(VALUE self)
|
|
82
|
+
{
|
|
83
|
+
if (AllocConsole()) return INT2FIX(1);
|
|
84
|
+
return rb_getWin32Error();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
static VALUE rb_FreeConsole(VALUE self)
|
|
89
|
+
{
|
|
90
|
+
if (FreeConsole()) return INT2FIX(1);
|
|
91
|
+
return rb_getWin32Error();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static VALUE rb_GenerateConsoleCtrlEvent(VALUE self, VALUE event, VALUE pgid)
|
|
95
|
+
{
|
|
96
|
+
unsigned int e = NUM2UINT(event);
|
|
97
|
+
if ( e != CTRL_C_EVENT && e != CTRL_BREAK_EVENT )
|
|
98
|
+
rb_raise(rb_eArgError, "Wrong event: only CTRL_C_EVENT or "
|
|
99
|
+
"CTRL_BREAK_EVENT accepted.");
|
|
100
|
+
if ( GenerateConsoleCtrlEvent(e, NUM2UINT(pgid)) )
|
|
101
|
+
return INT2FIX(1);
|
|
102
|
+
return rb_getWin32Error();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
static VALUE rb_GetConsoleMode(VALUE self, VALUE hConsoleOutput)
|
|
106
|
+
{
|
|
107
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
108
|
+
DWORD mode;
|
|
109
|
+
if (GetConsoleMode(handle,&mode))
|
|
110
|
+
return UINT2NUM(mode);
|
|
111
|
+
return rb_getWin32Error();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
static VALUE rb_GetConsoleTitle(VALUE self)
|
|
115
|
+
{
|
|
116
|
+
char title[1024];
|
|
117
|
+
if (GetConsoleTitle((char*)&title,1024))
|
|
118
|
+
return rb_str_new2( title );
|
|
119
|
+
return rb_getWin32Error();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
static VALUE rb_GetNumberOfConsoleMouseButtons( VALUE self )
|
|
126
|
+
{
|
|
127
|
+
DWORD mb;
|
|
128
|
+
if (GetNumberOfConsoleMouseButtons( &mb ))
|
|
129
|
+
return INT2FIX(mb);
|
|
130
|
+
return rb_getWin32Error();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
static VALUE rb_GetNumberOfConsoleInputEvents( VALUE self, VALUE hConsoleOutput )
|
|
136
|
+
{
|
|
137
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
138
|
+
DWORD events;
|
|
139
|
+
if (GetNumberOfConsoleInputEvents(handle, &events))
|
|
140
|
+
return INT2FIX(events);
|
|
141
|
+
return rb_getWin32Error();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
static VALUE
|
|
146
|
+
rb_CreateConsoleScreenBuffer( VALUE self, VALUE dwDesiredAccess,
|
|
147
|
+
VALUE dwShareMode, VALUE dwFlags )
|
|
148
|
+
{
|
|
149
|
+
if (CreateConsoleScreenBuffer( NUM2UINT(dwDesiredAccess),
|
|
150
|
+
NUM2UINT( dwShareMode),
|
|
151
|
+
NULL,
|
|
152
|
+
NUM2UINT( dwFlags),
|
|
153
|
+
NULL
|
|
154
|
+
))
|
|
155
|
+
return INT2FIX(1);
|
|
156
|
+
return rb_getWin32Error();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
static VALUE rb_GetConsoleCP( VALUE self )
|
|
161
|
+
{
|
|
162
|
+
unsigned int h = GetConsoleCP();
|
|
163
|
+
return UINT2NUM(h);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
static VALUE rb_GetConsoleOutputCP( VALUE self )
|
|
167
|
+
{
|
|
168
|
+
unsigned int h = GetConsoleOutputCP();
|
|
169
|
+
return UINT2NUM(h);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
static VALUE rb_SetConsoleMode( VALUE self, VALUE hConsoleOutput,
|
|
173
|
+
VALUE Mode )
|
|
174
|
+
{
|
|
175
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
176
|
+
if ( SetConsoleMode( handle, NUM2UINT( Mode ) ) )
|
|
177
|
+
return INT2FIX(1);
|
|
178
|
+
return rb_getWin32Error();
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
static VALUE rb_SetConsoleCP( VALUE self, VALUE wCodePageID )
|
|
182
|
+
{
|
|
183
|
+
if ( SetConsoleCP( NUM2UINT( wCodePageID ) ) )
|
|
184
|
+
return INT2FIX(1);
|
|
185
|
+
return rb_getWin32Error();
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
static VALUE rb_SetConsoleOutputCP( VALUE self, VALUE wCodePageID )
|
|
189
|
+
{
|
|
190
|
+
if ( SetConsoleOutputCP( NUM2UINT( wCodePageID ) ) )
|
|
191
|
+
return INT2FIX(1);
|
|
192
|
+
return rb_getWin32Error();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
static VALUE rb_GetConsoleWindow( VALUE self )
|
|
196
|
+
{
|
|
197
|
+
unsigned long h = PtrToUlong( GetConsoleOutputCP() );
|
|
198
|
+
return ULONG2NUM(h);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
static VALUE rb_WriteConsole( VALUE self, VALUE hConsoleOutput,
|
|
202
|
+
VALUE lpBuffer )
|
|
203
|
+
{
|
|
204
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
205
|
+
DWORD nNumberOfCharsToWrite = RSTRING_LEN(lpBuffer);
|
|
206
|
+
|
|
207
|
+
DWORD lpNumberOfCharsWritten;
|
|
208
|
+
|
|
209
|
+
WriteConsole( handle, RSTRING_PTR(lpBuffer),
|
|
210
|
+
nNumberOfCharsToWrite,
|
|
211
|
+
&lpNumberOfCharsWritten, NULL );
|
|
212
|
+
return UINT2NUM( lpNumberOfCharsWritten );
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
static VALUE rb_WriteFile( VALUE self, VALUE hConsoleOutput,
|
|
216
|
+
VALUE lpBuffer )
|
|
217
|
+
{
|
|
218
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
219
|
+
DWORD nNumberOfBytesToWrite = RSTRING_LEN(lpBuffer);
|
|
220
|
+
|
|
221
|
+
DWORD lpNumberOfBytesWritten;
|
|
222
|
+
|
|
223
|
+
WriteFile( handle, RSTRING_PTR(lpBuffer),
|
|
224
|
+
nNumberOfBytesToWrite,
|
|
225
|
+
&lpNumberOfBytesWritten, NULL );
|
|
226
|
+
return UINT2NUM( lpNumberOfBytesWritten );
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
static VALUE rb_GetLargestConsoleWindowSize( VALUE self, VALUE hConsoleOutput )
|
|
231
|
+
{
|
|
232
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
233
|
+
COORD size = GetLargestConsoleWindowSize( handle);
|
|
234
|
+
|
|
235
|
+
VALUE ret = rb_ary_new();
|
|
236
|
+
rb_ary_push( ret, UINT2NUM( size.X ) );
|
|
237
|
+
rb_ary_push( ret, UINT2NUM( size.Y ) );
|
|
238
|
+
return ret;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
static VALUE rb_GetConsoleCursorInfo( VALUE self, VALUE hConsoleOutput )
|
|
242
|
+
{
|
|
243
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
244
|
+
|
|
245
|
+
CONSOLE_CURSOR_INFO out;
|
|
246
|
+
if ( !GetConsoleCursorInfo( handle, &out ) )
|
|
247
|
+
return rb_getWin32Error();
|
|
248
|
+
|
|
249
|
+
VALUE ret = rb_ary_new();
|
|
250
|
+
rb_ary_push( ret, UINT2NUM( out.dwSize ) );
|
|
251
|
+
rb_ary_push( ret, UINT2NUM( out.bVisible ) );
|
|
252
|
+
return ret;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
void rb_ParseEvent(VALUE ret, INPUT_RECORD *event )
|
|
256
|
+
{
|
|
257
|
+
switch(event->EventType) {
|
|
258
|
+
case KEY_EVENT:
|
|
259
|
+
{
|
|
260
|
+
KEY_EVENT_RECORD* kevent=(KEY_EVENT_RECORD *)&(event->Event);
|
|
261
|
+
rb_ary_push(ret, UINT2NUM(KEY_EVENT));
|
|
262
|
+
rb_ary_push(ret, UINT2NUM(kevent->bKeyDown));
|
|
263
|
+
rb_ary_push(ret, UINT2NUM(kevent->wRepeatCount));
|
|
264
|
+
rb_ary_push(ret, UINT2NUM(kevent->wVirtualKeyCode));
|
|
265
|
+
rb_ary_push(ret, UINT2NUM(kevent->wVirtualScanCode));
|
|
266
|
+
#ifdef UNICODE
|
|
267
|
+
rb_ary_push(ret, UINT2NUM(kevent->uChar.UnicodeChar));
|
|
268
|
+
#else
|
|
269
|
+
rb_ary_push(ret, UINT2NUM(kevent->uChar.AsciiChar));
|
|
270
|
+
#endif
|
|
271
|
+
rb_ary_push(ret, UINT2NUM(kevent->dwControlKeyState));
|
|
272
|
+
break;
|
|
273
|
+
}
|
|
274
|
+
case MOUSE_EVENT:
|
|
275
|
+
{
|
|
276
|
+
MOUSE_EVENT_RECORD * mevent=(MOUSE_EVENT_RECORD *)&(event->Event);
|
|
277
|
+
rb_ary_push(ret, UINT2NUM(MOUSE_EVENT) );
|
|
278
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwMousePosition.X) );
|
|
279
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwMousePosition.Y) );
|
|
280
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwButtonState) );
|
|
281
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwControlKeyState) );
|
|
282
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwEventFlags) );
|
|
283
|
+
break;
|
|
284
|
+
}
|
|
285
|
+
case WINDOW_BUFFER_SIZE_EVENT:
|
|
286
|
+
{
|
|
287
|
+
WINDOW_BUFFER_SIZE_RECORD* wevent=
|
|
288
|
+
(WINDOW_BUFFER_SIZE_RECORD *)&(event->Event);
|
|
289
|
+
rb_ary_push(ret, UINT2NUM(WINDOW_BUFFER_SIZE_EVENT) );
|
|
290
|
+
rb_ary_push(ret, UINT2NUM(wevent->dwSize.X) );
|
|
291
|
+
rb_ary_push(ret, UINT2NUM(wevent->dwSize.Y) );
|
|
292
|
+
}
|
|
293
|
+
break;
|
|
294
|
+
case MENU_EVENT:
|
|
295
|
+
{
|
|
296
|
+
MENU_EVENT_RECORD* mevent= (MENU_EVENT_RECORD *)&(event->Event);
|
|
297
|
+
rb_ary_push(ret, UINT2NUM(MENU_EVENT) );
|
|
298
|
+
rb_ary_push(ret, UINT2NUM(mevent->dwCommandId) );
|
|
299
|
+
}
|
|
300
|
+
break;
|
|
301
|
+
case FOCUS_EVENT:
|
|
302
|
+
{
|
|
303
|
+
FOCUS_EVENT_RECORD* mevent= (FOCUS_EVENT_RECORD *)&(event->Event);
|
|
304
|
+
rb_ary_push(ret, UINT2NUM(FOCUS_EVENT) );
|
|
305
|
+
rb_ary_push(ret, UINT2NUM(mevent->bSetFocus) );
|
|
306
|
+
}
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
static VALUE rb_PeekConsoleInput( VALUE self, VALUE hConsoleOutput )
|
|
312
|
+
{
|
|
313
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
314
|
+
|
|
315
|
+
DWORD nofread;
|
|
316
|
+
INPUT_RECORD event;
|
|
317
|
+
if (!PeekConsoleInput(handle,&event,1,&nofread))
|
|
318
|
+
return rb_getWin32Error();
|
|
319
|
+
|
|
320
|
+
VALUE ret = rb_ary_new();
|
|
321
|
+
rb_ParseEvent( ret, &event );
|
|
322
|
+
return ret;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
static VALUE rb_ReadConsole( VALUE self, VALUE hConsoleOutput,
|
|
326
|
+
VALUE buffer, VALUE numread )
|
|
327
|
+
{
|
|
328
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
329
|
+
DWORD nofread;
|
|
330
|
+
Check_Type( buffer, T_STRING );
|
|
331
|
+
int to_read = NUM2INT(numread);
|
|
332
|
+
if ( RSTRING_LEN(buffer) > to_read )
|
|
333
|
+
rb_raise(rb_eArgError, "String is too small to read that many characters.");
|
|
334
|
+
if (ReadConsole(handle,(void *)RSTRING_PTR(buffer), to_read,
|
|
335
|
+
&nofread,NULL))
|
|
336
|
+
return UINT2NUM(nofread);
|
|
337
|
+
return rb_getWin32Error();
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
static VALUE rb_ReadConsoleInput( VALUE self, VALUE hConsoleOutput )
|
|
341
|
+
{
|
|
342
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
343
|
+
DWORD nofread;
|
|
344
|
+
INPUT_RECORD event;
|
|
345
|
+
if (!ReadConsoleInput(handle,&event,1,&nofread))
|
|
346
|
+
return rb_getWin32Error();
|
|
347
|
+
|
|
348
|
+
VALUE ret = rb_ary_new();
|
|
349
|
+
rb_ParseEvent( ret, &event );
|
|
350
|
+
return ret;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
static VALUE rb_ReadConsoleOutputCharacter( VALUE self, VALUE hConsoleOutput,
|
|
356
|
+
VALUE charbuf, VALUE len,
|
|
357
|
+
VALUE x, VALUE y )
|
|
358
|
+
{
|
|
359
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
360
|
+
COORD coords;
|
|
361
|
+
DWORD nofread;
|
|
362
|
+
coords.X= NUM2UINT( x );
|
|
363
|
+
coords.Y= NUM2UINT( y );
|
|
364
|
+
int l = NUM2INT(len);
|
|
365
|
+
if ( (unsigned long)RSTRING_LEN(charbuf) < l*sizeof(TCHAR) )
|
|
366
|
+
rb_raise(rb_eArgError, "String is too small to read that many characters.");
|
|
367
|
+
if (ReadConsoleOutputCharacter(handle,RSTRING_PTR(charbuf),l,
|
|
368
|
+
coords,&nofread))
|
|
369
|
+
return UINT2NUM( nofread );
|
|
370
|
+
return rb_getWin32Error();
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
static VALUE rb_ReadConsoleOutputAttribute( VALUE self, VALUE hConsoleOutput,
|
|
375
|
+
VALUE len, VALUE x, VALUE y )
|
|
376
|
+
{
|
|
377
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
378
|
+
COORD coords;
|
|
379
|
+
DWORD nofread;
|
|
380
|
+
unsigned short abuffer[80*999*sizeof(unsigned short)];
|
|
381
|
+
char cbuffer[80*999];
|
|
382
|
+
unsigned i = 0;
|
|
383
|
+
|
|
384
|
+
coords.X= NUM2UINT( x );
|
|
385
|
+
coords.Y= NUM2UINT( y );
|
|
386
|
+
if (ReadConsoleOutputAttribute(handle, abuffer, NUM2UINT(len),
|
|
387
|
+
coords,&nofread))
|
|
388
|
+
{
|
|
389
|
+
for(i=0;i<nofread;++i) {
|
|
390
|
+
cbuffer[i]=(char)abuffer[i];
|
|
391
|
+
}
|
|
392
|
+
return rb_str_new( cbuffer, nofread );
|
|
393
|
+
}
|
|
394
|
+
return rb_getWin32Error();
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
static VALUE rb_ReadConsoleOutput( VALUE self, VALUE hConsoleOutput,
|
|
399
|
+
VALUE buffer, VALUE srcwid, VALUE srcht,
|
|
400
|
+
VALUE startx, VALUE starty,
|
|
401
|
+
VALUE l, VALUE t, VALUE r, VALUE b )
|
|
402
|
+
{
|
|
403
|
+
COORD coords;
|
|
404
|
+
COORD size;
|
|
405
|
+
SMALL_RECT from;
|
|
406
|
+
size.X= NUM2UINT( srcwid );
|
|
407
|
+
size.Y= NUM2UINT( srcht );
|
|
408
|
+
coords.X= NUM2INT( startx );
|
|
409
|
+
coords.Y= NUM2INT( starty );
|
|
410
|
+
from.Left = NUM2INT( l );
|
|
411
|
+
from.Top = NUM2INT( t );
|
|
412
|
+
from.Right = NUM2INT( r );
|
|
413
|
+
from.Bottom = NUM2INT( b );
|
|
414
|
+
Check_Type( buffer, T_STRING );
|
|
415
|
+
if ( (unsigned long)RSTRING_LEN(buffer) < (sizeof(CHAR_INFO)*size.X*size.Y) )
|
|
416
|
+
rb_raise(rb_eArgError, "string buffer is too small for reading that many characters.");
|
|
417
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
418
|
+
if (!ReadConsoleOutput(handle,(CHAR_INFO *)RSTRING_PTR(buffer),size,coords,&from))
|
|
419
|
+
return rb_getWin32Error();
|
|
420
|
+
|
|
421
|
+
VALUE ret = rb_ary_new();
|
|
422
|
+
rb_ary_push( ret, INT2FIX(from.Left) );
|
|
423
|
+
rb_ary_push( ret, INT2FIX(from.Top) );
|
|
424
|
+
rb_ary_push( ret, INT2FIX(from.Right) );
|
|
425
|
+
rb_ary_push( ret, INT2FIX(from.Bottom) );
|
|
426
|
+
return ret;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
static VALUE rb_GetConsoleScreenBufferInfo( VALUE self, VALUE hConsoleOutput )
|
|
432
|
+
{
|
|
433
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
434
|
+
|
|
435
|
+
CONSOLE_SCREEN_BUFFER_INFO out;
|
|
436
|
+
|
|
437
|
+
if ( !GetConsoleScreenBufferInfo( handle, &out ) )
|
|
438
|
+
return rb_getWin32Error();
|
|
439
|
+
|
|
440
|
+
VALUE ret = rb_ary_new();
|
|
441
|
+
rb_ary_push( ret, UINT2NUM( out.dwSize.X ) );
|
|
442
|
+
rb_ary_push( ret, UINT2NUM( out.dwSize.Y ) );
|
|
443
|
+
rb_ary_push( ret, UINT2NUM( out.dwCursorPosition.X ) );
|
|
444
|
+
rb_ary_push( ret, UINT2NUM( out.dwCursorPosition.Y ) );
|
|
445
|
+
|
|
446
|
+
rb_ary_push( ret, UINT2NUM( out.wAttributes ) );
|
|
447
|
+
|
|
448
|
+
rb_ary_push( ret, INT2FIX( out.srWindow.Left ) );
|
|
449
|
+
rb_ary_push( ret, INT2FIX( out.srWindow.Top ) );
|
|
450
|
+
rb_ary_push( ret, INT2FIX( out.srWindow.Right ) );
|
|
451
|
+
rb_ary_push( ret, INT2FIX( out.srWindow.Bottom ) );
|
|
452
|
+
|
|
453
|
+
rb_ary_push( ret, UINT2NUM( out.dwMaximumWindowSize.X ) );
|
|
454
|
+
rb_ary_push( ret, UINT2NUM( out.dwMaximumWindowSize.Y ) );
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
return ret;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
#define strEQ(x,y) strcmp(x,y) == 0
|
|
462
|
+
|
|
463
|
+
DWORD c_constant(char *name)
|
|
464
|
+
{
|
|
465
|
+
switch (*name) {
|
|
466
|
+
case 'A':
|
|
467
|
+
break;
|
|
468
|
+
case 'B':
|
|
469
|
+
if (strEQ(name, "BACKGROUND_BLUE"))
|
|
470
|
+
#ifdef BACKGROUND_BLUE
|
|
471
|
+
return BACKGROUND_BLUE;
|
|
472
|
+
#else
|
|
473
|
+
goto not_there;
|
|
474
|
+
#endif
|
|
475
|
+
if (strEQ(name, "BACKGROUND_GREEN"))
|
|
476
|
+
#ifdef BACKGROUND_GREEN
|
|
477
|
+
return BACKGROUND_GREEN;
|
|
478
|
+
#else
|
|
479
|
+
goto not_there;
|
|
480
|
+
#endif
|
|
481
|
+
if (strEQ(name, "BACKGROUND_INTENSITY"))
|
|
482
|
+
#ifdef BACKGROUND_INTENSITY
|
|
483
|
+
return BACKGROUND_INTENSITY;
|
|
484
|
+
#else
|
|
485
|
+
goto not_there;
|
|
486
|
+
#endif
|
|
487
|
+
if (strEQ(name, "BACKGROUND_RED"))
|
|
488
|
+
#ifdef BACKGROUND_RED
|
|
489
|
+
return BACKGROUND_RED;
|
|
490
|
+
#else
|
|
491
|
+
goto not_there;
|
|
492
|
+
#endif
|
|
493
|
+
break;
|
|
494
|
+
case 'C':
|
|
495
|
+
if (strEQ(name, "CAPSLOCK_ON"))
|
|
496
|
+
#ifdef CAPSLOCK_ON
|
|
497
|
+
return CAPSLOCK_ON;
|
|
498
|
+
#else
|
|
499
|
+
goto not_there;
|
|
500
|
+
#endif
|
|
501
|
+
if (strEQ(name, "CONSOLE_TEXTMODE_BUFFER"))
|
|
502
|
+
#ifdef CONSOLE_TEXTMODE_BUFFER
|
|
503
|
+
return CONSOLE_TEXTMODE_BUFFER;
|
|
504
|
+
#else
|
|
505
|
+
goto not_there;
|
|
506
|
+
#endif
|
|
507
|
+
if (strEQ(name, "CTRL_BREAK_EVENT"))
|
|
508
|
+
#ifdef CTRL_BREAK_EVENT
|
|
509
|
+
return CTRL_BREAK_EVENT;
|
|
510
|
+
#else
|
|
511
|
+
goto not_there;
|
|
512
|
+
#endif
|
|
513
|
+
if (strEQ(name, "CTRL_C_EVENT"))
|
|
514
|
+
#ifdef CTRL_C_EVENT
|
|
515
|
+
return CTRL_C_EVENT;
|
|
516
|
+
#else
|
|
517
|
+
goto not_there;
|
|
518
|
+
#endif
|
|
519
|
+
break;
|
|
520
|
+
|
|
521
|
+
case 'D':
|
|
522
|
+
break;
|
|
523
|
+
case 'E':
|
|
524
|
+
if (strEQ(name, "ENABLE_ECHO_INPUT"))
|
|
525
|
+
#ifdef ENABLE_ECHO_INPUT
|
|
526
|
+
return ENABLE_ECHO_INPUT;
|
|
527
|
+
#else
|
|
528
|
+
goto not_there;
|
|
529
|
+
#endif
|
|
530
|
+
if (strEQ(name, "ENABLE_LINE_INPUT"))
|
|
531
|
+
#ifdef ENABLE_LINE_INPUT
|
|
532
|
+
return ENABLE_LINE_INPUT;
|
|
533
|
+
#else
|
|
534
|
+
goto not_there;
|
|
535
|
+
#endif
|
|
536
|
+
if (strEQ(name, "ENABLE_MOUSE_INPUT"))
|
|
537
|
+
#ifdef ENABLE_MOUSE_INPUT
|
|
538
|
+
return ENABLE_MOUSE_INPUT;
|
|
539
|
+
#else
|
|
540
|
+
goto not_there;
|
|
541
|
+
#endif
|
|
542
|
+
if (strEQ(name, "ENABLE_PROCESSED_INPUT"))
|
|
543
|
+
#ifdef ENABLE_PROCESSED_INPUT
|
|
544
|
+
return ENABLE_PROCESSED_INPUT;
|
|
545
|
+
#else
|
|
546
|
+
goto not_there;
|
|
547
|
+
#endif
|
|
548
|
+
if (strEQ(name, "ENABLE_PROCESSED_OUTPUT"))
|
|
549
|
+
#ifdef ENABLE_PROCESSED_OUTPUT
|
|
550
|
+
return ENABLE_PROCESSED_OUTPUT;
|
|
551
|
+
#else
|
|
552
|
+
goto not_there;
|
|
553
|
+
#endif
|
|
554
|
+
if (strEQ(name, "ENABLE_WINDOW_INPUT"))
|
|
555
|
+
#ifdef ENABLE_WINDOW_INPUT
|
|
556
|
+
return ENABLE_WINDOW_INPUT;
|
|
557
|
+
#else
|
|
558
|
+
goto not_there;
|
|
559
|
+
#endif
|
|
560
|
+
if (strEQ(name, "ENABLE_WRAP_AT_EOL_OUTPUT"))
|
|
561
|
+
#ifdef ENABLE_WRAP_AT_EOL_OUTPUT
|
|
562
|
+
return ENABLE_WRAP_AT_EOL_OUTPUT;
|
|
563
|
+
#else
|
|
564
|
+
goto not_there;
|
|
565
|
+
#endif
|
|
566
|
+
if (strEQ(name, "ENHANCED_KEY"))
|
|
567
|
+
#ifdef ENHANCED_KEY
|
|
568
|
+
return ENHANCED_KEY;
|
|
569
|
+
#else
|
|
570
|
+
goto not_there;
|
|
571
|
+
#endif
|
|
572
|
+
break;
|
|
573
|
+
case 'F':
|
|
574
|
+
if (strEQ(name, "FILE_SHARE_READ"))
|
|
575
|
+
#ifdef FILE_SHARE_READ
|
|
576
|
+
return FILE_SHARE_READ;
|
|
577
|
+
#else
|
|
578
|
+
goto not_there;
|
|
579
|
+
#endif
|
|
580
|
+
if (strEQ(name, "FILE_SHARE_WRITE"))
|
|
581
|
+
#ifdef FILE_SHARE_WRITE
|
|
582
|
+
return FILE_SHARE_WRITE;
|
|
583
|
+
#else
|
|
584
|
+
goto not_there;
|
|
585
|
+
#endif
|
|
586
|
+
if (strEQ(name, "FOREGROUND_BLUE"))
|
|
587
|
+
#ifdef FOREGROUND_BLUE
|
|
588
|
+
return FOREGROUND_BLUE;
|
|
589
|
+
#else
|
|
590
|
+
goto not_there;
|
|
591
|
+
#endif
|
|
592
|
+
if (strEQ(name, "FOREGROUND_GREEN"))
|
|
593
|
+
#ifdef FOREGROUND_GREEN
|
|
594
|
+
return FOREGROUND_GREEN;
|
|
595
|
+
#else
|
|
596
|
+
goto not_there;
|
|
597
|
+
#endif
|
|
598
|
+
if (strEQ(name, "FOREGROUND_INTENSITY"))
|
|
599
|
+
#ifdef FOREGROUND_INTENSITY
|
|
600
|
+
return FOREGROUND_INTENSITY;
|
|
601
|
+
#else
|
|
602
|
+
goto not_there;
|
|
603
|
+
#endif
|
|
604
|
+
if (strEQ(name, "FOREGROUND_RED"))
|
|
605
|
+
#ifdef FOREGROUND_RED
|
|
606
|
+
return FOREGROUND_RED;
|
|
607
|
+
#else
|
|
608
|
+
goto not_there;
|
|
609
|
+
#endif
|
|
610
|
+
break;
|
|
611
|
+
case 'G':
|
|
612
|
+
if (strEQ(name, "GENERIC_READ"))
|
|
613
|
+
#ifdef GENERIC_READ
|
|
614
|
+
return GENERIC_READ;
|
|
615
|
+
#else
|
|
616
|
+
goto not_there;
|
|
617
|
+
#endif
|
|
618
|
+
if (strEQ(name, "GENERIC_WRITE"))
|
|
619
|
+
#ifdef GENERIC_WRITE
|
|
620
|
+
return GENERIC_WRITE;
|
|
621
|
+
#else
|
|
622
|
+
goto not_there;
|
|
623
|
+
#endif
|
|
624
|
+
break;
|
|
625
|
+
case 'H':
|
|
626
|
+
break;
|
|
627
|
+
case 'I':
|
|
628
|
+
break;
|
|
629
|
+
case 'J':
|
|
630
|
+
break;
|
|
631
|
+
case 'K':
|
|
632
|
+
if (strEQ(name, "KEY_EVENT"))
|
|
633
|
+
#ifdef KEY_EVENT
|
|
634
|
+
return KEY_EVENT;
|
|
635
|
+
#else
|
|
636
|
+
goto not_there;
|
|
637
|
+
#endif
|
|
638
|
+
break;
|
|
639
|
+
case 'L':
|
|
640
|
+
if (strEQ(name, "LEFT_ALT_PRESSED"))
|
|
641
|
+
#ifdef LEFT_ALT_PRESSED
|
|
642
|
+
return LEFT_ALT_PRESSED;
|
|
643
|
+
#else
|
|
644
|
+
goto not_there;
|
|
645
|
+
#endif
|
|
646
|
+
if (strEQ(name, "LEFT_CTRL_PRESSED"))
|
|
647
|
+
#ifdef LEFT_CTRL_PRESSED
|
|
648
|
+
return LEFT_CTRL_PRESSED;
|
|
649
|
+
#else
|
|
650
|
+
goto not_there;
|
|
651
|
+
#endif
|
|
652
|
+
break;
|
|
653
|
+
case 'M':
|
|
654
|
+
break;
|
|
655
|
+
case 'N':
|
|
656
|
+
if (strEQ(name, "NUMLOCK_ON"))
|
|
657
|
+
#ifdef NUMLOCK_ON
|
|
658
|
+
return NUMLOCK_ON;
|
|
659
|
+
#else
|
|
660
|
+
goto not_there;
|
|
661
|
+
#endif
|
|
662
|
+
break;
|
|
663
|
+
case 'O':
|
|
664
|
+
break;
|
|
665
|
+
case 'P':
|
|
666
|
+
break;
|
|
667
|
+
case 'Q':
|
|
668
|
+
break;
|
|
669
|
+
case 'R':
|
|
670
|
+
if (strEQ(name, "RIGHT_ALT_PRESSED"))
|
|
671
|
+
#ifdef RIGHT_ALT_PRESSED
|
|
672
|
+
return RIGHT_ALT_PRESSED;
|
|
673
|
+
#else
|
|
674
|
+
goto not_there;
|
|
675
|
+
#endif
|
|
676
|
+
if (strEQ(name, "RIGHT_CTRL_PRESSED"))
|
|
677
|
+
#ifdef RIGHT_CTRL_PRESSED
|
|
678
|
+
return RIGHT_CTRL_PRESSED;
|
|
679
|
+
#else
|
|
680
|
+
goto not_there;
|
|
681
|
+
#endif
|
|
682
|
+
break;
|
|
683
|
+
case 'S':
|
|
684
|
+
if (strEQ(name, "SCROLLLOCK_ON"))
|
|
685
|
+
#ifdef SCROLLLOCK_ON
|
|
686
|
+
return SCROLLLOCK_ON;
|
|
687
|
+
#else
|
|
688
|
+
goto not_there;
|
|
689
|
+
#endif
|
|
690
|
+
if (strEQ(name, "SHIFT_PRESSED"))
|
|
691
|
+
#ifdef SHIFT_PRESSED
|
|
692
|
+
return SHIFT_PRESSED;
|
|
693
|
+
#else
|
|
694
|
+
goto not_there;
|
|
695
|
+
#endif
|
|
696
|
+
if (strEQ(name, "STD_ERROR_HANDLE"))
|
|
697
|
+
#ifdef STD_ERROR_HANDLE
|
|
698
|
+
return STD_ERROR_HANDLE;
|
|
699
|
+
#else
|
|
700
|
+
goto not_there;
|
|
701
|
+
#endif
|
|
702
|
+
if (strEQ(name, "STD_INPUT_HANDLE"))
|
|
703
|
+
#ifdef STD_INPUT_HANDLE
|
|
704
|
+
return STD_INPUT_HANDLE;
|
|
705
|
+
#else
|
|
706
|
+
goto not_there;
|
|
707
|
+
#endif
|
|
708
|
+
if (strEQ(name, "STD_OUTPUT_HANDLE"))
|
|
709
|
+
#ifdef STD_OUTPUT_HANDLE
|
|
710
|
+
return STD_OUTPUT_HANDLE;
|
|
711
|
+
#else
|
|
712
|
+
goto not_there;
|
|
713
|
+
#endif
|
|
714
|
+
break;
|
|
715
|
+
case 'T':
|
|
716
|
+
break;
|
|
717
|
+
case 'U':
|
|
718
|
+
break;
|
|
719
|
+
case 'V':
|
|
720
|
+
break;
|
|
721
|
+
case 'W':
|
|
722
|
+
break;
|
|
723
|
+
case 'X':
|
|
724
|
+
break;
|
|
725
|
+
case 'Y':
|
|
726
|
+
break;
|
|
727
|
+
case 'Z':
|
|
728
|
+
break;
|
|
729
|
+
}
|
|
730
|
+
rb_raise(rb_eArgError, "Not such constant.");
|
|
731
|
+
return 0;
|
|
732
|
+
|
|
733
|
+
not_there:
|
|
734
|
+
rb_raise(rb_eArgError, "Not defined.");
|
|
735
|
+
return 0;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
VALUE rb_constant( VALUE self, VALUE name )
|
|
739
|
+
{
|
|
740
|
+
Check_Type( name, T_STRING );
|
|
741
|
+
return ULONG2NUM( c_constant( RSTRING_PTR(name) ) );
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
void define_constants()
|
|
746
|
+
{
|
|
747
|
+
#define DEF_SELF_CONST(NAME) \
|
|
748
|
+
rb_define_const(rb_mConstants, #NAME, ULONG2NUM( (ULONG)NAME ) );
|
|
749
|
+
|
|
750
|
+
DEF_SELF_CONST( STD_INPUT_HANDLE );
|
|
751
|
+
DEF_SELF_CONST( STD_OUTPUT_HANDLE );
|
|
752
|
+
DEF_SELF_CONST( STD_ERROR_HANDLE );
|
|
753
|
+
DEF_SELF_CONST( INVALID_HANDLE_VALUE );
|
|
754
|
+
DEF_SELF_CONST( GENERIC_READ );
|
|
755
|
+
DEF_SELF_CONST( GENERIC_WRITE );
|
|
756
|
+
DEF_SELF_CONST( FILE_SHARE_READ );
|
|
757
|
+
DEF_SELF_CONST( FILE_SHARE_WRITE );
|
|
758
|
+
DEF_SELF_CONST( CONSOLE_TEXTMODE_BUFFER );
|
|
759
|
+
|
|
760
|
+
DEF_SELF_CONST( FOREGROUND_BLUE );
|
|
761
|
+
DEF_SELF_CONST( FOREGROUND_GREEN );
|
|
762
|
+
DEF_SELF_CONST( FOREGROUND_RED );
|
|
763
|
+
DEF_SELF_CONST( FOREGROUND_INTENSITY );
|
|
764
|
+
DEF_SELF_CONST( BACKGROUND_BLUE );
|
|
765
|
+
DEF_SELF_CONST( BACKGROUND_GREEN );
|
|
766
|
+
DEF_SELF_CONST( BACKGROUND_RED );
|
|
767
|
+
DEF_SELF_CONST( BACKGROUND_INTENSITY );
|
|
768
|
+
|
|
769
|
+
DEF_SELF_CONST( ENABLE_PROCESSED_INPUT );
|
|
770
|
+
DEF_SELF_CONST( ENABLE_LINE_INPUT );
|
|
771
|
+
DEF_SELF_CONST( ENABLE_ECHO_INPUT );
|
|
772
|
+
DEF_SELF_CONST( ENABLE_WINDOW_INPUT );
|
|
773
|
+
DEF_SELF_CONST( ENABLE_MOUSE_INPUT );
|
|
774
|
+
DEF_SELF_CONST( ENABLE_PROCESSED_OUTPUT );
|
|
775
|
+
DEF_SELF_CONST( ENABLE_WRAP_AT_EOL_OUTPUT );
|
|
776
|
+
|
|
777
|
+
DEF_SELF_CONST( KEY_EVENT );
|
|
778
|
+
DEF_SELF_CONST( MOUSE_EVENT );
|
|
779
|
+
DEF_SELF_CONST( WINDOW_BUFFER_SIZE_EVENT );
|
|
780
|
+
DEF_SELF_CONST( MENU_EVENT );
|
|
781
|
+
DEF_SELF_CONST( FOCUS_EVENT );
|
|
782
|
+
|
|
783
|
+
DEF_SELF_CONST( CAPSLOCK_ON );
|
|
784
|
+
DEF_SELF_CONST( ENHANCED_KEY );
|
|
785
|
+
DEF_SELF_CONST( NUMLOCK_ON );
|
|
786
|
+
DEF_SELF_CONST( SHIFT_PRESSED );
|
|
787
|
+
DEF_SELF_CONST( LEFT_CTRL_PRESSED );
|
|
788
|
+
DEF_SELF_CONST( RIGHT_CTRL_PRESSED );
|
|
789
|
+
DEF_SELF_CONST( LEFT_ALT_PRESSED );
|
|
790
|
+
DEF_SELF_CONST( RIGHT_ALT_PRESSED );
|
|
791
|
+
DEF_SELF_CONST( SCROLLLOCK_ON );
|
|
792
|
+
|
|
793
|
+
DEF_SELF_CONST( MOUSE_WHEELED );
|
|
794
|
+
DEF_SELF_CONST( DOUBLE_CLICK );
|
|
795
|
+
DEF_SELF_CONST( MOUSE_MOVED );
|
|
796
|
+
|
|
797
|
+
DEF_SELF_CONST( FROM_LEFT_1ST_BUTTON_PRESSED );
|
|
798
|
+
DEF_SELF_CONST( FROM_LEFT_2ND_BUTTON_PRESSED );
|
|
799
|
+
DEF_SELF_CONST( FROM_LEFT_3RD_BUTTON_PRESSED );
|
|
800
|
+
DEF_SELF_CONST( FROM_LEFT_4TH_BUTTON_PRESSED );
|
|
801
|
+
DEF_SELF_CONST( RIGHTMOST_BUTTON_PRESSED );
|
|
802
|
+
|
|
803
|
+
DEF_SELF_CONST( CTRL_C_EVENT );
|
|
804
|
+
DEF_SELF_CONST( CTRL_BREAK_EVENT );
|
|
805
|
+
DEF_SELF_CONST( CTRL_CLOSE_EVENT );
|
|
806
|
+
DEF_SELF_CONST( CTRL_LOGOFF_EVENT );
|
|
807
|
+
DEF_SELF_CONST( CTRL_SHUTDOWN_EVENT );
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
VALUE
|
|
812
|
+
rb_FillConsoleOutputAttribute( VALUE self, VALUE hConsoleOutput,
|
|
813
|
+
VALUE wAttribute, VALUE nLength,
|
|
814
|
+
VALUE col, VALUE row )
|
|
815
|
+
{
|
|
816
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
817
|
+
|
|
818
|
+
COORD dwWriteCoord;
|
|
819
|
+
dwWriteCoord.X = NUM2UINT(col);
|
|
820
|
+
dwWriteCoord.Y = NUM2UINT(row);
|
|
821
|
+
DWORD numChars;
|
|
822
|
+
if (FillConsoleOutputAttribute( handle, NUM2UINT(wAttribute),
|
|
823
|
+
NUM2ULONG(nLength), dwWriteCoord,
|
|
824
|
+
&numChars ))
|
|
825
|
+
return ULONG2NUM(numChars);
|
|
826
|
+
return rb_getWin32Error();
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
VALUE
|
|
830
|
+
rb_SetConsoleScreenBufferSize( VALUE self, VALUE hConsoleOutput,
|
|
831
|
+
VALUE x, VALUE y )
|
|
832
|
+
{
|
|
833
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
834
|
+
COORD size;
|
|
835
|
+
size.X=NUM2UINT(x);
|
|
836
|
+
size.Y=NUM2UINT(y);
|
|
837
|
+
if (SetConsoleScreenBufferSize(handle, size))
|
|
838
|
+
return NUM2UINT(1);
|
|
839
|
+
return rb_getWin32Error();
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
VALUE
|
|
843
|
+
rb_SetConsoleTitle( VALUE self, VALUE title )
|
|
844
|
+
{
|
|
845
|
+
Check_Type( title, T_STRING );
|
|
846
|
+
if (SetConsoleTitle(RSTRING_PTR( title )))
|
|
847
|
+
return NUM2UINT(1);
|
|
848
|
+
return rb_getWin32Error();
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
VALUE
|
|
852
|
+
rb_SetStdHandle( VALUE self, VALUE fd, VALUE hConsoleOutput )
|
|
853
|
+
{
|
|
854
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
855
|
+
if (SetStdHandle(NUM2UINT(fd), handle))
|
|
856
|
+
return NUM2UINT(1);
|
|
857
|
+
return rb_getWin32Error();
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
VALUE
|
|
861
|
+
rb_SetConsoleWindowInfo( VALUE self, VALUE hConsoleOutput, VALUE bAbsolute,
|
|
862
|
+
VALUE left, VALUE top, VALUE right, VALUE bottom )
|
|
863
|
+
{
|
|
864
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
865
|
+
|
|
866
|
+
SMALL_RECT rect;
|
|
867
|
+
rect.Left = NUM2INT( left );
|
|
868
|
+
rect.Top = NUM2INT( top );
|
|
869
|
+
rect.Right = NUM2INT( right );
|
|
870
|
+
rect.Bottom = NUM2INT( bottom );
|
|
871
|
+
if (SetConsoleWindowInfo( handle, NUM2INT( bAbsolute ), &rect ))
|
|
872
|
+
return UINT2NUM(1);
|
|
873
|
+
return rb_getWin32Error();
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
VALUE
|
|
879
|
+
rb_SetConsoleCursorPosition( VALUE self, VALUE hConsoleOutput,
|
|
880
|
+
VALUE col, VALUE row )
|
|
881
|
+
{
|
|
882
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
883
|
+
|
|
884
|
+
COORD dwWriteCoord;
|
|
885
|
+
dwWriteCoord.X = NUM2UINT(col);
|
|
886
|
+
dwWriteCoord.Y = NUM2UINT(row);
|
|
887
|
+
// Cannot call rb_getWin32Error as this function fails when
|
|
888
|
+
// setting cursor to last column/row.
|
|
889
|
+
if ( !SetConsoleCursorPosition( handle, dwWriteCoord ) )
|
|
890
|
+
return Qnil;
|
|
891
|
+
return INT2FIX(1);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
VALUE
|
|
895
|
+
rb_SetConsoleCursorInfo( VALUE self, VALUE hConsoleOutput,
|
|
896
|
+
VALUE size, VALUE visib )
|
|
897
|
+
{
|
|
898
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
899
|
+
CONSOLE_CURSOR_INFO c;
|
|
900
|
+
c.dwSize = NUM2UINT(size);
|
|
901
|
+
c.bVisible = NUM2UINT(visib);
|
|
902
|
+
if ( !SetConsoleCursorInfo( handle, &c ) )
|
|
903
|
+
return rb_getWin32Error();
|
|
904
|
+
return INT2FIX(1);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
VALUE
|
|
910
|
+
rb_SetConsoleActiveScreenBuffer( VALUE self, VALUE hConsoleOutput )
|
|
911
|
+
{
|
|
912
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
913
|
+
|
|
914
|
+
if ( !SetConsoleActiveScreenBuffer( handle ) )
|
|
915
|
+
return rb_getWin32Error();
|
|
916
|
+
return INT2FIX(1);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
VALUE
|
|
920
|
+
rb_SetConsoleTextAttribute( VALUE self, VALUE hConsoleOutput,
|
|
921
|
+
VALUE wAttributes )
|
|
922
|
+
{
|
|
923
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
924
|
+
|
|
925
|
+
if ( !SetConsoleTextAttribute( handle, NUM2UINT(wAttributes) ) )
|
|
926
|
+
return Qnil; // no getWin32Error to allow piping/redirecting
|
|
927
|
+
return INT2FIX(1);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
VALUE
|
|
933
|
+
rb_ScrollConsoleScreenBuffer( VALUE self, VALUE hConsoleOutput, VALUE left1,
|
|
934
|
+
VALUE top1, VALUE right1, VALUE bottom1,
|
|
935
|
+
VALUE col, VALUE row, VALUE cChar, VALUE attr,
|
|
936
|
+
VALUE left2, VALUE top2, VALUE right2,
|
|
937
|
+
VALUE bottom2)
|
|
938
|
+
{
|
|
939
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
940
|
+
|
|
941
|
+
SMALL_RECT scroll, clip;
|
|
942
|
+
scroll.Left = NUM2INT( left1 );
|
|
943
|
+
scroll.Right = NUM2INT( right1 );
|
|
944
|
+
scroll.Top = NUM2INT( top1 );
|
|
945
|
+
scroll.Bottom = NUM2INT( bottom1 );
|
|
946
|
+
clip.Left = NUM2INT( left2 );
|
|
947
|
+
clip.Right = NUM2INT( right2 );
|
|
948
|
+
clip.Top = NUM2INT( top2 );
|
|
949
|
+
clip.Bottom = NUM2INT( bottom2 );
|
|
950
|
+
CHAR_INFO fill;
|
|
951
|
+
#ifdef UNICODE
|
|
952
|
+
fill.Char.UnicodeChar = NUM2CHR( cChar );
|
|
953
|
+
#else
|
|
954
|
+
fill.Char.AsciiChar = NUM2CHR( cChar );
|
|
955
|
+
#endif
|
|
956
|
+
fill.Attributes = NUM2INT(attr);
|
|
957
|
+
COORD origin;
|
|
958
|
+
origin.X = NUM2UINT( col );
|
|
959
|
+
origin.Y = NUM2UINT( row );
|
|
960
|
+
|
|
961
|
+
if ( ScrollConsoleScreenBuffer( handle, &scroll, &clip, origin,
|
|
962
|
+
&fill ) )
|
|
963
|
+
return INT2FIX(1);
|
|
964
|
+
return rb_getWin32Error();
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
VALUE
|
|
969
|
+
rb_FillConsoleOutputCharacter( VALUE self, VALUE hConsoleOutput,
|
|
970
|
+
VALUE cCharacter, VALUE nLength,
|
|
971
|
+
VALUE col, VALUE row )
|
|
972
|
+
{
|
|
973
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( hConsoleOutput ) );
|
|
974
|
+
|
|
975
|
+
COORD dwWriteCoord;
|
|
976
|
+
dwWriteCoord.X = NUM2UINT(col);
|
|
977
|
+
dwWriteCoord.Y = NUM2UINT(row);
|
|
978
|
+
DWORD numChars;
|
|
979
|
+
if (FillConsoleOutputCharacter( handle, NUM2CHR(cCharacter),
|
|
980
|
+
NUM2ULONG(nLength), dwWriteCoord,
|
|
981
|
+
&numChars ))
|
|
982
|
+
return ULONG2NUM(numChars);
|
|
983
|
+
return rb_getWin32Error();
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
VALUE
|
|
988
|
+
rb_WriteConsoleInput(int argc, VALUE *argv, VALUE self)
|
|
989
|
+
{
|
|
990
|
+
if (argc < 3)
|
|
991
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
992
|
+
|
|
993
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( argv[0] ) );
|
|
994
|
+
WORD type = NUM2INT( argv[1] );
|
|
995
|
+
DWORD written;
|
|
996
|
+
INPUT_RECORD event;
|
|
997
|
+
event.EventType = type;
|
|
998
|
+
switch(event.EventType) {
|
|
999
|
+
case KEY_EVENT:
|
|
1000
|
+
{
|
|
1001
|
+
KEY_EVENT_RECORD* kevent=(KEY_EVENT_RECORD *)&(event.Event);
|
|
1002
|
+
kevent->bKeyDown=(BOOL)NUM2UINT( argv[2] );
|
|
1003
|
+
kevent->wRepeatCount=NUM2UINT( argv[3] );
|
|
1004
|
+
kevent->wVirtualKeyCode=NUM2UINT( argv[4] );
|
|
1005
|
+
kevent->wVirtualScanCode=NUM2UINT( argv[5] );
|
|
1006
|
+
#ifdef UNICODE
|
|
1007
|
+
if (argc < 7)
|
|
1008
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1009
|
+
kevent->uChar.UnicodeChar=NUM2UINT( argv[6] );
|
|
1010
|
+
#else
|
|
1011
|
+
if (argc < 8)
|
|
1012
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1013
|
+
kevent->uChar.AsciiChar=NUM2UINT( argv[7] );
|
|
1014
|
+
#endif
|
|
1015
|
+
break;
|
|
1016
|
+
}
|
|
1017
|
+
case MOUSE_EVENT:
|
|
1018
|
+
{
|
|
1019
|
+
if (argc < 7)
|
|
1020
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1021
|
+
|
|
1022
|
+
MOUSE_EVENT_RECORD* mevent=(MOUSE_EVENT_RECORD *)&(event.Event);
|
|
1023
|
+
mevent->dwMousePosition.X=NUM2UINT( argv[2] );
|
|
1024
|
+
mevent->dwMousePosition.Y=NUM2UINT( argv[3] );
|
|
1025
|
+
mevent->dwButtonState=NUM2UINT( argv[4] );
|
|
1026
|
+
mevent->dwControlKeyState=NUM2UINT( argv[5] );
|
|
1027
|
+
mevent->dwEventFlags=NUM2UINT( argv[6] );
|
|
1028
|
+
break;
|
|
1029
|
+
}
|
|
1030
|
+
case WINDOW_BUFFER_SIZE_EVENT:
|
|
1031
|
+
{
|
|
1032
|
+
if (argc < 4)
|
|
1033
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1034
|
+
WINDOW_BUFFER_SIZE_RECORD* mevent=
|
|
1035
|
+
(WINDOW_BUFFER_SIZE_RECORD *)&(event.Event);
|
|
1036
|
+
mevent->dwSize.X = NUM2UINT( argv[2] );
|
|
1037
|
+
mevent->dwSize.Y = NUM2UINT( argv[3] );
|
|
1038
|
+
}
|
|
1039
|
+
break;
|
|
1040
|
+
case MENU_EVENT:
|
|
1041
|
+
{
|
|
1042
|
+
if (argc < 3)
|
|
1043
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1044
|
+
MENU_EVENT_RECORD* mevent= (MENU_EVENT_RECORD *)&(event.Event);
|
|
1045
|
+
mevent->dwCommandId = argv[2];
|
|
1046
|
+
}
|
|
1047
|
+
break;
|
|
1048
|
+
case FOCUS_EVENT:
|
|
1049
|
+
{
|
|
1050
|
+
if (argc < 3)
|
|
1051
|
+
rb_raise(rb_eArgError, "Wrong number of arguments.");
|
|
1052
|
+
FOCUS_EVENT_RECORD* mevent= (FOCUS_EVENT_RECORD *)&(event.Event);
|
|
1053
|
+
mevent->bSetFocus = NUM2UINT( argv[2] );
|
|
1054
|
+
}
|
|
1055
|
+
default:
|
|
1056
|
+
rb_raise( rb_eArgError, "Unknown type of event.");
|
|
1057
|
+
break;
|
|
1058
|
+
}
|
|
1059
|
+
if (WriteConsoleInput(handle,&event,1,&written))
|
|
1060
|
+
return INT2FIX(1);
|
|
1061
|
+
return rb_getWin32Error();
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
VALUE
|
|
1065
|
+
rb_WriteConsoleOutput(VALUE self, VALUE h, VALUE buffer,
|
|
1066
|
+
VALUE srcwid, VALUE srcht, VALUE startx,
|
|
1067
|
+
VALUE starty, VALUE l, VALUE t, VALUE r, VALUE b)
|
|
1068
|
+
{
|
|
1069
|
+
COORD coords;
|
|
1070
|
+
COORD size;
|
|
1071
|
+
SMALL_RECT to;
|
|
1072
|
+
|
|
1073
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( h ) );
|
|
1074
|
+
Check_Type( buffer, T_STRING );
|
|
1075
|
+
size.X=NUM2UINT( srcwid );
|
|
1076
|
+
size.Y=NUM2UINT( srcht );
|
|
1077
|
+
coords.X=NUM2INT( startx );
|
|
1078
|
+
coords.Y=NUM2INT( starty );
|
|
1079
|
+
to.Left = NUM2INT( l );
|
|
1080
|
+
to.Top = NUM2INT( t );
|
|
1081
|
+
to.Right = NUM2INT( r );
|
|
1082
|
+
to.Bottom = NUM2INT( b );
|
|
1083
|
+
if (WriteConsoleOutput(handle,(CHAR_INFO *)RSTRING_PTR(buffer),
|
|
1084
|
+
size,coords,&to)) {
|
|
1085
|
+
VALUE ret = rb_ary_new();
|
|
1086
|
+
rb_ary_push( ret, INT2FIX( to.Left ) );
|
|
1087
|
+
rb_ary_push( ret, INT2FIX( to.Top ) );
|
|
1088
|
+
rb_ary_push( ret, INT2FIX( to.Right ) );
|
|
1089
|
+
rb_ary_push( ret, INT2FIX( to.Bottom ) );
|
|
1090
|
+
return ret;
|
|
1091
|
+
}
|
|
1092
|
+
return rb_getWin32Error();
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
VALUE
|
|
1097
|
+
rb_WriteConsoleOutputAttribute(VALUE self, VALUE h, VALUE s,
|
|
1098
|
+
VALUE x, VALUE y)
|
|
1099
|
+
{
|
|
1100
|
+
|
|
1101
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( h ) );
|
|
1102
|
+
Check_Type( s, T_STRING );
|
|
1103
|
+
|
|
1104
|
+
unsigned short buffer[80*999*sizeof(unsigned short)];
|
|
1105
|
+
DWORD written;
|
|
1106
|
+
DWORD towrite = RSTRING_LEN(s);
|
|
1107
|
+
unsigned i = 0;
|
|
1108
|
+
|
|
1109
|
+
for(i=0; i<towrite; i++) {
|
|
1110
|
+
buffer[i] = (unsigned short)(RSTRING_PTR(s)[i]);
|
|
1111
|
+
}
|
|
1112
|
+
COORD coords;
|
|
1113
|
+
coords.X=NUM2INT( x );
|
|
1114
|
+
coords.Y=NUM2INT( y );
|
|
1115
|
+
if (WriteConsoleOutputAttribute(handle,(const unsigned short *)&buffer,
|
|
1116
|
+
towrite,coords,&written)) {
|
|
1117
|
+
return UINT2NUM( written );
|
|
1118
|
+
}
|
|
1119
|
+
return rb_getWin32Error();
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
VALUE
|
|
1124
|
+
rb_WriteConsoleOutputCharacter(VALUE self, VALUE h, VALUE s,
|
|
1125
|
+
VALUE x, VALUE y)
|
|
1126
|
+
{
|
|
1127
|
+
|
|
1128
|
+
HANDLE handle = ULongToPtr( NUM2ULONG( h ) );
|
|
1129
|
+
Check_Type( s, T_STRING );
|
|
1130
|
+
|
|
1131
|
+
DWORD written;
|
|
1132
|
+
COORD coords;
|
|
1133
|
+
coords.X=NUM2INT( x );
|
|
1134
|
+
coords.Y=NUM2INT( y );
|
|
1135
|
+
if (WriteConsoleOutputCharacter(handle,(LPCTSTR)RSTRING_PTR(s),
|
|
1136
|
+
RSTRING_LEN(s),coords,&written)) {
|
|
1137
|
+
return UINT2NUM( written );
|
|
1138
|
+
}
|
|
1139
|
+
return rb_getWin32Error();
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
void Init_Console_ext(void)
|
|
1144
|
+
{
|
|
1145
|
+
rb_mWin32 = rb_define_module("Win32");
|
|
1146
|
+
rb_define_const(rb_mKernel, "Win32", rb_mWin32);
|
|
1147
|
+
|
|
1148
|
+
rb_mConsole = rb_define_class_under(rb_mWin32, "Console", rb_cObject);
|
|
1149
|
+
|
|
1150
|
+
// Handle Constants
|
|
1151
|
+
rb_mConstants = rb_define_module_under(rb_mConsole,"Constants");
|
|
1152
|
+
define_constants();
|
|
1153
|
+
|
|
1154
|
+
// Handle API
|
|
1155
|
+
rb_mAPI = rb_define_class_under(rb_mConsole, "API", rb_cObject);
|
|
1156
|
+
|
|
1157
|
+
RB_DEF_API_METHOD(constant, 1); //OK
|
|
1158
|
+
|
|
1159
|
+
RB_DEF_API_METHOD(AllocConsole, 0);
|
|
1160
|
+
|
|
1161
|
+
RB_DEF_API_METHOD(CreateConsoleScreenBuffer, 3); //OK
|
|
1162
|
+
|
|
1163
|
+
RB_DEF_API_METHOD(FillConsoleOutputAttribute, 5); //OK
|
|
1164
|
+
RB_DEF_API_METHOD(FillConsoleOutputCharacter, 5); //OK
|
|
1165
|
+
// RB_DEF_API_METHOD(FillConsoleInputBuffer, 1); // Does not exist anymore
|
|
1166
|
+
|
|
1167
|
+
RB_DEF_API_METHOD(FreeConsole, 0);
|
|
1168
|
+
|
|
1169
|
+
RB_DEF_API_METHOD(GenerateConsoleCtrlEvent, 2);
|
|
1170
|
+
|
|
1171
|
+
RB_DEF_API_METHOD(GetConsoleCP, 0); //OK
|
|
1172
|
+
RB_DEF_API_METHOD(GetConsoleCursorInfo, 1); //OK
|
|
1173
|
+
RB_DEF_API_METHOD(GetConsoleMode, 1);
|
|
1174
|
+
RB_DEF_API_METHOD(GetConsoleOutputCP, 0);
|
|
1175
|
+
RB_DEF_API_METHOD(GetConsoleScreenBufferInfo, 1); //OK
|
|
1176
|
+
RB_DEF_API_METHOD(GetConsoleTitle, 0);
|
|
1177
|
+
RB_DEF_API_METHOD(GetConsoleWindow, 0);
|
|
1178
|
+
RB_DEF_API_METHOD(GetLargestConsoleWindowSize, 1);
|
|
1179
|
+
RB_DEF_API_METHOD(GetNumberOfConsoleInputEvents, 1);
|
|
1180
|
+
RB_DEF_API_METHOD(GetNumberOfConsoleMouseButtons, 0);
|
|
1181
|
+
|
|
1182
|
+
RB_DEF_API_METHOD(GetStdHandle, 1); //OK
|
|
1183
|
+
|
|
1184
|
+
RB_DEF_API_METHOD(PeekConsoleInput, 1); //OK
|
|
1185
|
+
RB_DEF_API_METHOD(ReadConsole, 3); //OK
|
|
1186
|
+
RB_DEF_API_METHOD(ReadConsoleInput, 1); //OK
|
|
1187
|
+
|
|
1188
|
+
RB_DEF_API_METHOD(ReadConsoleOutput, 10); // OK
|
|
1189
|
+
RB_DEF_API_METHOD(ReadConsoleOutputAttribute, 4); // OK
|
|
1190
|
+
RB_DEF_API_METHOD(ReadConsoleOutputCharacter, 5); // OK
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
RB_DEF_API_METHOD(ScrollConsoleScreenBuffer, 13); //OK
|
|
1194
|
+
|
|
1195
|
+
RB_DEF_API_METHOD(SetConsoleActiveScreenBuffer, 1);
|
|
1196
|
+
RB_DEF_API_METHOD(SetConsoleCP, 1);
|
|
1197
|
+
RB_DEF_API_METHOD(SetConsoleCursorPosition, 3);
|
|
1198
|
+
RB_DEF_API_METHOD(SetConsoleCursorInfo, 3);
|
|
1199
|
+
RB_DEF_API_METHOD(SetConsoleMode, 2); //OK
|
|
1200
|
+
RB_DEF_API_METHOD(SetConsoleOutputCP, 1);
|
|
1201
|
+
RB_DEF_API_METHOD(SetConsoleScreenBufferSize, 3);
|
|
1202
|
+
RB_DEF_API_METHOD(SetConsoleTextAttribute, 2);
|
|
1203
|
+
RB_DEF_API_METHOD(SetConsoleTitle, 1); //OK
|
|
1204
|
+
RB_DEF_API_METHOD(SetConsoleWindowInfo, 6);
|
|
1205
|
+
|
|
1206
|
+
RB_DEF_API_METHOD(SetStdHandle, 2);
|
|
1207
|
+
|
|
1208
|
+
RB_DEF_API_METHOD(WriteConsole, 2);
|
|
1209
|
+
RB_DEF_API_METHOD(WriteFile, 2);
|
|
1210
|
+
|
|
1211
|
+
RB_DEF_API_METHOD(WriteConsoleInput, -1);
|
|
1212
|
+
RB_DEF_API_METHOD(WriteConsoleOutput, 10);
|
|
1213
|
+
RB_DEF_API_METHOD(WriteConsoleOutputAttribute, 4);
|
|
1214
|
+
RB_DEF_API_METHOD(WriteConsoleOutputCharacter, 4);
|
|
1215
|
+
|
|
1216
|
+
}
|