qiita_org 0.1.20 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.yardopts +4 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +40 -1
- data/gems/ruby/2.7.0/bin/_guard-core +27 -0
- data/gems/ruby/2.7.0/bin/coderay +27 -0
- data/gems/ruby/2.7.0/bin/guard +27 -0
- data/gems/ruby/2.7.0/bin/listen +27 -0
- data/gems/ruby/2.7.0/bin/pry +27 -0
- data/gems/ruby/2.7.0/bin/redcarpet +27 -0
- data/gems/ruby/2.7.0/bin/yard +27 -0
- data/gems/ruby/2.7.0/bin/yardoc +27 -0
- data/gems/ruby/2.7.0/bin/yri +27 -0
- data/gems/ruby/2.7.0/cache/coderay-1.1.3.gem +0 -0
- data/gems/ruby/2.7.0/cache/ffi-1.13.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/formatador-0.2.5.gem +0 -0
- data/gems/ruby/2.7.0/cache/guard-2.16.2.gem +0 -0
- data/gems/ruby/2.7.0/cache/guard-yard-2.2.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/listen-3.3.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/lumberjack-1.2.8.gem +0 -0
- data/gems/ruby/2.7.0/cache/method_source-1.0.0.gem +0 -0
- data/gems/ruby/2.7.0/cache/nenv-0.3.0.gem +0 -0
- data/gems/ruby/2.7.0/cache/notiffany-0.1.3.gem +0 -0
- data/gems/ruby/2.7.0/cache/pry-0.13.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/rb-fsevent-0.10.4.gem +0 -0
- data/gems/ruby/2.7.0/cache/rb-inotify-0.10.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/redcarpet-3.5.0.gem +0 -0
- data/gems/ruby/2.7.0/cache/shellany-0.0.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/yard-0.9.25.gem +0 -0
- data/gems/ruby/2.7.0/cache/yard-activesupport-concern-0.0.1.gem +0 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/ffi-1.13.1/ffi_c.bundle +0 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/ffi-1.13.1/gem.build_complete +0 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/ffi-1.13.1/gem_make.out +125 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/ffi-1.13.1/mkmf.log +208 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/redcarpet-3.5.0/gem.build_complete +0 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/redcarpet-3.5.0/gem_make.out +45 -0
- data/gems/ruby/2.7.0/extensions/x86_64-darwin-17/2.7.0/redcarpet-3.5.0/redcarpet.bundle +0 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/gems/ruby/2.7.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.appveyor.yml +30 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.github/workflows/ci.yml +64 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.gitignore +25 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.gitmodules +4 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.travis.yml +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/.yardopts +5 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/CHANGELOG.md +222 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/COPYING +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/Gemfile +17 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/LICENSE +24 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/LICENSE.SPECS +22 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/README.md +124 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/Rakefile +177 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/.sitearchdir.time +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/AbstractMemory.c +1105 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/AbstractMemory.h +175 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ArrayType.c +162 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ArrayType.h +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Buffer.c +365 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Call.c +493 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Call.h +107 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ClosurePool.c +280 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ClosurePool.h +57 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/DynamicLibrary.c +339 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/DynamicLibrary.h +98 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Function.c +902 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Function.h +87 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/FunctionInfo.c +270 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/LastError.c +229 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/LastError.h +47 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/LongDouble.c +65 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/LongDouble.h +47 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +269 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MappedType.c +168 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MappedType.h +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MemoryPointer.c +197 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MemoryPointer.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MethodHandle.c +352 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/MethodHandle.h +56 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Platform.c +83 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Platform.h +45 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Pointer.c +508 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Pointer.h +63 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Struct.c +825 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Struct.h +112 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/StructByValue.c +150 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/StructByValue.h +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/StructLayout.c +704 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Thread.c +134 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Thread.h +81 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Type.c +379 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Type.h +61 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Types.c +139 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Types.h +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/Variadic.c +298 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/compat.h +82 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/extconf.h +5 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/extconf.rb +82 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ffi.c +93 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/ffi_c.bundle +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/.libs/libffi.8.dylib +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/.libs/libffi.dylib +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/.libs/libffi.la +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/.libs/libffi.lai +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/.libs/libffi_convenience.la +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/Makefile +1796 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/config.log +1428 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/config.status +2400 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/fficonfig.h +218 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/include/Makefile +605 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/include/ffi.h +523 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/include/ffitarget.h +160 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/libffi.la +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/libffi.pc +11 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/libffi_convenience.la +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/libtool +11813 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/local.exp +2 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/man/Makefile +559 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/.deps/.dirstamp +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/.dirstamp +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/closures.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/java_raw_api.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/prep_cif.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/raw_api.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/types.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/.deps/.dirstamp +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/.dirstamp +0 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/ffi64.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/ffiw64.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/unix64.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/src/x86/win64.lo +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/stamp-h1 +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi-x86_64-darwin17/testsuite/Makefile +645 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.bsd.mk +40 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.darwin.mk +105 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.gnu.mk +32 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.mk +18 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.vc.mk +26 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi.vc64.mk +26 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.appveyor.yml +66 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.gitattributes +4 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.gitignore +38 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis.yml +83 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/ar-lib +270 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/build.sh +142 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/compile +351 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/install.sh +71 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/site.exp +27 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/ChangeLog.old +7407 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/LICENSE +21 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/Makefile.am +160 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/README.md +482 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/autogen.sh +2 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/config.guess +1466 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/config.sub +1836 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/configure.ac +410 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/configure.host +306 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +201 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/include/ffi.h.in +523 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/include/ffi_common.h +153 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/libffi.map.in +76 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/libtool-version +29 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +88 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/msvcc.sh +353 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/aarch64/ffi.c +1015 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/aarch64/ffitarget.h +92 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/aarch64/sysv.S +451 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arm/ffi.c +854 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/closures.c +1004 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/debug.c +64 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/mips/ffi.c +1130 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/mips/o32.S +504 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/pa/ffi.c +674 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/pa/ffitarget.h +80 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/pa/hpux32.S +370 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/pa/linux.S +380 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1440 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/linux64.S +283 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +552 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/prep_cif.c +263 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/types.c +108 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/ffi.c +764 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/ffi64.c +888 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/ffitarget.h +160 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/ffiw64.c +313 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/sysv.S +1138 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/unix64.S +622 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/win64.S +240 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/Makefile.am +122 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/lib/libffi.exp +640 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +81 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +81 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +82 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +92 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +95 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +94 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +95 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +96 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +89 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +93 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +113 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +95 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +95 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +98 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +109 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +98 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +124 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +113 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +99 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +117 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +97 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +88 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +93 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +92 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +132 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +115 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +95 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +92 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +93 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +66 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +61 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +105 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +61 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +86 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +86 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +74 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +142 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +44 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +114 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +44 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +45 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +45 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +47 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +44 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +341 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +152 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +134 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +121 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +110 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +111 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +111 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +112 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +131 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +111 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +131 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +131 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +70 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +117 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +54 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/rbffi.h +55 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/rbffi_endian.h +59 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/win32/stdbool.h +8 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ext/ffi_c/win32/stdint.h +201 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/ffi.gemspec +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi.rb +28 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/autopointer.rb +203 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/buffer.rb +4 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/callback.rb +4 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/data_converter.rb +67 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/enum.rb +296 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/errno.rb +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/ffi.rb +46 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/io.rb +62 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb +592 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/managedstruct.rb +84 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/memorypointer.rb +1 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform.rb +179 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/aarch64-freebsd12/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/pointer.rb +167 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/struct.rb +316 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/struct_by_reference.rb +72 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/struct_layout.rb +96 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/struct_layout_builder.rb +227 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/tools/const_generator.rb +230 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/tools/generator.rb +105 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/tools/generator_task.rb +32 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/tools/struct_generator.rb +194 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/tools/types_generator.rb +137 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/types.rb +194 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/union.rb +43 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/variadic.rb +78 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/getlogin.rb +8 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/getpid.rb +8 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/gettimeofday.rb +18 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/hello.rb +8 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/inotify.rb +60 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/pty.rb +75 -0
- data/gems/ruby/2.7.0/gems/ffi-1.13.1/samples/qsort.rb +20 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/CONTRIBUTING.md +18 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/CONTRIBUTORS.md +16 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/Gemfile +3 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/LICENSE.md +20 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/README.rdoc +117 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/Rakefile +143 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/changelog.txt +27 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/formatador.gemspec +83 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/lib/formatador.rb +131 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/lib/formatador/progressbar.rb +91 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/lib/formatador/table.rb +98 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/tests/basic_tests.rb +29 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/tests/table_tests.rb +96 -0
- data/gems/ruby/2.7.0/gems/formatador-0.2.5/tests/tests_helper.rb +15 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/CHANGELOG.md +1 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/LICENSE +22 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/README.md +183 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/bin/_guard-core +11 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/bin/guard +111 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/images/failed.png +0 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/images/pending.png +0 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/images/success.png +0 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard.rb +169 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/aruba_adapter.rb +59 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/cli.rb +200 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/cli/environments/bundler.rb +22 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/cli/environments/evaluate_only.rb +35 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/cli/environments/valid.rb +69 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commander.rb +104 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/all.rb +37 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/change.rb +31 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/notification.rb +26 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/pause.rb +29 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/reload.rb +36 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/scope.rb +38 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/commands/show.rb +24 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/config.rb +18 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/deprecated/dsl.rb +45 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/deprecated/evaluator.rb +39 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/deprecated/guard.rb +328 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/deprecated/guardfile.rb +84 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/deprecated/watcher.rb +27 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/dsl.rb +438 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/dsl_describer.rb +160 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/dsl_reader.rb +51 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/group.rb +64 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb +37 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile/evaluator.rb +232 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile/generator.rb +128 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/interactor.rb +53 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/debugging.rb +68 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/groups.rb +40 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/helpers.rb +13 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/plugins.rb +53 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/queue.rb +51 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/scope.rb +121 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/session.rb +180 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/state.rb +25 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/tracing.rb +33 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/internals/traps.rb +10 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/jobs/base.rb +21 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/jobs/pry_wrapper.rb +326 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/jobs/sleep.rb +26 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/notifier.rb +71 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/options.rb +22 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/plugin.rb +303 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/plugin_util.rb +191 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/rake_task.rb +42 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/runner.rb +128 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/templates/Guardfile +16 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/terminal.rb +13 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/ui.rb +262 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/ui/colors.rb +56 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/ui/config.rb +70 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/ui/logger.rb +30 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher.rb +88 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern.rb +24 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern/deprecated_regexp.rb +45 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern/match_result.rb +18 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern/matcher.rb +33 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern/pathname_path.rb +15 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/watcher/pattern/simple_path.rb +23 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/lib/tasks/releaser.rb +116 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/man/guard.1 +108 -0
- data/gems/ruby/2.7.0/gems/guard-2.16.2/man/guard.1.html +196 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/LICENSE +19 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/README.markdown +59 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/lib/guard/yard.rb +74 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/lib/guard/yard/no_server.rb +10 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/lib/guard/yard/server.rb +79 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/lib/guard/yard/templates/Guardfile +5 -0
- data/gems/ruby/2.7.0/gems/guard-yard-2.2.1/lib/guard/yard/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/CHANGELOG.md +1 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/CONTRIBUTING.md +45 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/LICENSE.txt +22 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/README.md +359 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/bin/listen +12 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen.rb +47 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter.rb +43 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/base.rb +129 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/bsd.rb +108 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/config.rb +28 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/darwin.rb +77 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/linux.rb +109 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/polling.rb +39 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/adapter/windows.rb +100 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/backend.rb +40 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/change.rb +78 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/cli.rb +66 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/directory.rb +95 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/event/config.rb +45 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/event/loop.rb +93 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/event/processor.rb +128 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/event/queue.rb +54 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/file.rb +87 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/fsm.rb +130 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/listener.rb +134 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/listener/config.rb +43 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/logger.rb +35 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/options.rb +25 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/queue_optimizer.rb +134 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/record.rb +132 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/record/entry.rb +66 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/record/symlink_detector.rb +41 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/silencer.rb +102 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/silencer/controller.rb +50 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/thread.rb +52 -0
- data/gems/ruby/2.7.0/gems/listen-3.3.1/lib/listen/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/CHANGELOG.md +129 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/MIT_LICENSE.txt +20 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/README.md +278 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/VERSION +1 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack.rb +93 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/context.rb +35 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device.rb +42 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/date_rolling_log_file.rb +65 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/log_file.rb +33 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/multi.rb +46 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/null.rb +15 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/rolling_log_file.rb +145 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/size_rolling_log_file.rb +63 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/device/writer.rb +182 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter.rb +152 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/date_time_formatter.rb +25 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/exception_formatter.rb +37 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/id_formatter.rb +23 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/inspect_formatter.rb +12 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/object_formatter.rb +12 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/pretty_print_formatter.rb +25 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb +12 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/strip_formatter.rb +12 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/structured_formatter.rb +63 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/log_entry.rb +66 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/logger.rb +522 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack.rb +9 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/context.rb +18 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/request_id.rb +27 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb +17 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/severity.rb +26 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/tag_formatter.rb +96 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/tagged_logger_support.rb +66 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/tagged_logging.rb +29 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/tags.rb +42 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/template.rb +121 -0
- data/gems/ruby/2.7.0/gems/lumberjack-1.2.8/lumberjack.gemspec +31 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/.circleci/config.yml +139 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/.gemtest +0 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/.yardopts +1 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/CHANGELOG.md +10 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/Gemfile +2 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/LICENSE +22 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/README.markdown +93 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/Rakefile +81 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/lib/method_source.rb +141 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/lib/method_source/code_helpers.rb +154 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/lib/method_source/source_location.rb +138 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/lib/method_source/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/method_source.gemspec +33 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/spec/method_source_spec.rb +143 -0
- data/gems/ruby/2.7.0/gems/method_source-1.0.0/spec/spec_helper.rb +101 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/.gitignore +14 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/LICENSE.txt +22 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/README.md +320 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv.rb +30 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/autoenvironment.rb +9 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/builder.rb +9 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment.rb +81 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment/dumper.rb +15 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment/dumper/default.rb +9 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment/loader.rb +20 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment/loader/default.rb +9 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/environment/loader/predicate.rb +18 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/lib/nenv/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/nenv-0.3.0/nenv.gemspec +27 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/LICENSE.txt +22 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/README.md +89 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/images/failed.png +0 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/images/pending.png +0 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/images/success.png +0 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany.rb +6 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier.rb +210 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/base.rb +127 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/config.rb +34 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/detected.rb +122 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/emacs.rb +97 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/emacs/client.rb +52 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/file.rb +44 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/gntp.rb +92 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/growl.rb +82 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/libnotify.rb +54 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/notifysend.rb +91 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/rb_notifu.rb +89 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/terminal_notifier.rb +59 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/terminal_title.rb +39 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/tmux.rb +132 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/tmux/client.rb +107 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/tmux/notification.rb +62 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/notifier/tmux/session.rb +40 -0
- data/gems/ruby/2.7.0/gems/notiffany-0.1.3/lib/notiffany/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/CHANGELOG.md +1076 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/LICENSE +25 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/README.md +452 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/bin/pry +13 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry.rb +146 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/basic_object.rb +10 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/block_command.rb +22 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/class_command.rb +194 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/cli.rb +227 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/code.rb +365 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/code/code_file.rb +114 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/code/code_range.rb +73 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/code/loc.rb +105 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/code_object.rb +197 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/color_printer.rb +66 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/command.rb +520 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/command_set.rb +418 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/command_state.rb +31 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/amend_line.rb +103 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/bang.rb +24 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb +21 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cat.rb +70 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/cd.rb +46 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb +34 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb +51 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb +20 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/code_collector.rb +182 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb +31 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb +101 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/edit.rb +223 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/exit.rb +47 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/exit_all.rb +33 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/exit_program.rb +27 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/find_method.rb +199 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb +23 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/help.rb +171 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/hist.rb +182 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/import_set.rb +27 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/jump_to.rb +33 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb +42 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls.rb +135 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb +75 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb +55 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb +50 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb +23 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb +37 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb +47 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb +55 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb +34 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/nesting.rb +29 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/play.rb +113 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb +30 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/pry_version.rb +21 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/raise_up.rb +38 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/reload_code.rb +74 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/reset.rb +22 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/ri.rb +75 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/save_file.rb +63 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/shell_command.rb +75 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb +29 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/show_doc.rb +94 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/show_info.rb +234 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/show_input.rb +22 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/show_source.rb +117 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/stat.rb +44 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/switch_to.rb +29 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb +28 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb +110 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/whereami.rb +205 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/commands/wtf.rb +95 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/config.rb +321 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/config/attributable.rb +22 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/config/lazy_value.rb +29 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/config/memoized_value.rb +34 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/config/value.rb +24 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/control_d_handler.rb +28 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/core_extensions.rb +144 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/editor.rb +155 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/env.rb +18 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/exception_handler.rb +43 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/exceptions.rb +73 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/forwardable.rb +27 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers.rb +8 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb +71 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb +146 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb +83 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb +34 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/platform.rb +60 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/table.rb +121 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/helpers/text.rb +118 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/history.rb +153 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/hooks.rb +180 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/indent.rb +412 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/input_completer.rb +283 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/input_lock.rb +129 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/inspector.rb +39 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/last_exception.rb +61 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method.rb +599 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/disowned.rb +67 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/patcher.rb +131 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb +222 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/object_path.rb +91 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/output.rb +136 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/pager.rb +249 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/plugins.rb +139 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/prompt.rb +214 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/pry_class.rb +388 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/pry_instance.rb +701 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/repl.rb +257 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/repl_file_loader.rb +79 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/ring.rb +89 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/slop.rb +672 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/slop/LICENSE +20 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/slop/commands.rb +190 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/slop/option.rb +210 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb +26 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/system_command_handler.rb +17 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable.rb +68 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable/evalable.rb +24 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable/mockable.rb +22 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb +88 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable/utility.rb +34 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/testable/variables.rb +52 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/warning.rb +27 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/wrapped_module.rb +387 -0
- data/gems/ruby/2.7.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb +138 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/.gitignore +13 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/Gemfile +3 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/Guardfile +8 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/LICENSE.txt +22 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/README.md +260 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/Rakefile +33 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/bin/fsevent_watch +0 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/LICENSE +21 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/FSEventsFix.c +626 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/FSEventsFix.h +105 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/TSICTString.c +373 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/TSICTString.h +74 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/cli.c +201 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/cli.h +45 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/common.h +22 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/compat.c +41 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/compat.h +100 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/defines.h +40 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/main.c +548 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/signal_handlers.c +66 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/fsevent_watch/signal_handlers.h +16 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/ext/rakefile.rb +226 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/lib/otnetstring.rb +85 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent.rb +3 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb +157 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/rb-fsevent-0.10.4/rb-fsevent.gemspec +26 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/.gitignore +21 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/.travis.yml +19 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/.yardopts +4 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/Gemfile +16 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/LICENSE.md +10 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/README.md +113 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/Rakefile +14 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify.rb +15 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/errors.rb +3 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/event.rb +146 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/native.rb +33 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/native/flags.rb +94 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/notifier.rb +326 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/version.rb +24 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/lib/rb-inotify/watcher.rb +88 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/rb-inotify.gemspec +28 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/spec/inotify_spec.rb +9 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/spec/notifier_spec.rb +180 -0
- data/gems/ruby/2.7.0/gems/rb-inotify-0.10.1/spec/spec_helper.rb +29 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/COPYING +20 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/Gemfile +9 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/README.markdown +405 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/Rakefile +60 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/bin/redcarpet +7 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/.sitearchdir.time +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/Makefile +267 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/autolink.c +308 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/autolink.h +55 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/autolink.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/buffer.c +203 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/buffer.h +88 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/buffer.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/extconf.rb +6 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/houdini.h +51 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.c +124 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/houdini_href_e.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.c +104 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/houdini_html_e.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html.c +845 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html.h +83 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html_blocks.h +227 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.c +472 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/html_smartypants.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/markdown.c +2915 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/markdown.h +143 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/markdown.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.c +183 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/rc_markdown.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.c +568 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/rc_render.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.bundle +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/redcarpet.h +52 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/stack.c +84 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/stack.h +48 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/ext/redcarpet/stack.o +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet.bundle +0 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet.rb +92 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet/cli.rb +86 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet/compat.rb +71 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet/render_man.rb +65 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/lib/redcarpet/render_strip.rb +60 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/redcarpet.gemspec +71 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/benchmark.rb +24 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/custom_render_test.rb +67 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/fixtures/benchmark.md +232 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/html5_test.rb +82 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/html_render_test.rb +274 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/html_toc_render_test.rb +112 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/markdown_test.rb +406 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/pathological_inputs_test.rb +34 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/redcarpet_bin_test.rb +80 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/redcarpet_compat_test.rb +38 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/safe_render_test.rb +35 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/smarty_html_test.rb +51 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/smarty_pants_test.rb +58 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/stripdown_render_test.rb +69 -0
- data/gems/ruby/2.7.0/gems/redcarpet-3.5.0/test/test_helper.rb +47 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/.gitignore +14 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/.rspec +2 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/.travis.yml +13 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/Gemfile +11 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/LICENSE.txt +22 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/README.md +72 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/Rakefile +13 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/lib/shellany.rb +5 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/lib/shellany/sheller.rb +144 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/lib/shellany/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/shellany.gemspec +22 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/spec/lib/shellany/sheller_spec.rb +141 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/spec/shellany_spec.rb +5 -0
- data/gems/ruby/2.7.0/gems/shellany-0.0.1/spec/spec_helper.rb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.dockerignore +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.github/ISSUE_TEMPLATE.md +33 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.github/PULL_REQUEST_TEMPLATE.md +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.github/workflows/ci.yml +30 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.gitignore +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.rspec +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.rubocop.yml +112 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.travis.yml +52 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.yardopts +26 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.yardopts_guide +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/.yardopts_i18n +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/CHANGELOG.md +804 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/CODE_OF_CONDUCT.md +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/CONTRIBUTING.md +140 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/Dockerfile.samus +28 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/Gemfile +32 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/LEGAL +66 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/LICENSE +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/README.md +325 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile +39 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/SECURITY.md +26 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/builtins_vs_eval.rb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/concat_vs_join.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/erb_vs_erubis.rb +54 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/format_args.rb +47 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/generation.rb +38 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/marshal_vs_dbm.rb +64 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/parsing.rb +46 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/pathname_vs_string.rb +51 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/registry_store_types.rb +49 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/ri_vs_yri.rb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/ripper_parser.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/splat_vs_flatten.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/template_erb.rb +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/template_format.rb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/template_profile.rb +18 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/yri_cache.rb +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/bin/yard +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/bin/yardoc +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/bin/yri +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/CodeObjects.md +115 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/GettingStarted.md +679 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/Handlers.md +152 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/Overview.md +61 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/Parser.md +191 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/Tags.md +283 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/TagsArch.md +123 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/Templates.md +496 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/WhatsNew.md +1245 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/images/code-objects-class-diagram.png +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/images/handlers-class-diagram.png +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/images/overview-class-diagram.png +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/images/parser-class-diagram.png +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/images/tags-class-diagram.png +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/layout/html/setup.rb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/default/yard_tags/html/setup.rb +26 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/docs/templates/plugin.rb +70 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/rubygems_plugin.rb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard.rb +69 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/autoload.rb +308 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/command.rb +85 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/command_parser.rb +93 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/config.rb +198 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/diff.rb +273 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/display.rb +69 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/gems.rb +84 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/graph.rb +125 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/help.rb +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/i18n.rb +70 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/list.rb +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/markup_types.rb +32 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/server.rb +266 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/stats.rb +231 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/yardoc.rb +789 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/yardopts_command.rb +110 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/cli/yri.rb +215 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/base.rb +622 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/class_object.rb +146 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/class_variable_object.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/constant_object.rb +16 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/extended_method_object.rb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/extra_file_object.rb +134 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/macro_object.rb +172 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/method_object.rb +196 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/module_object.rb +21 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/namespace_mapper.rb +141 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/namespace_object.rb +200 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/proxy.rb +245 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/code_objects/root_object.rb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/config.rb +270 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/array.rb +16 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/file.rb +69 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/hash.rb +16 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/insertion.rb +63 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/module.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/string.rb +68 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/core_ext/symbol_hash.rb +75 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/docstring.rb +386 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/docstring_parser.rb +345 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/gem_index.rb +29 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/globals.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/base.rb +595 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/alias_handler.rb +16 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/base.rb +164 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/class_handler.rb +27 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/constant_handler.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/handler_methods.rb +212 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/init_handler.rb +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/method_handler.rb +45 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/mixin_handler.rb +21 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/module_handler.rb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/override_comment_handler.rb +31 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/path_handler.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/struct_handler.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/c/symbol_handler.rb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/common/method_handler.rb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/processor.rb +200 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/alias_handler.rb +45 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/attribute_handler.rb +87 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/base.rb +165 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/class_condition_handler.rb +92 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/class_handler.rb +119 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/class_variable_handler.rb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/comment_handler.rb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/constant_handler.rb +55 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/decorator_handler_methods.rb +123 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/dsl_handler.rb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/dsl_handler_methods.rb +96 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/exception_handler.rb +27 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/extend_handler.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/alias_handler.rb +37 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/attribute_handler.rb +65 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/base.rb +245 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/class_handler.rb +113 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/comment_handler.rb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/constant_handler.rb +29 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/dsl_handler.rb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/exception_handler.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/extend_handler.rb +21 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/method_handler.rb +90 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/module_function_handler.rb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/module_handler.rb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/visibility_handler.rb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/legacy/yield_handler.rb +29 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/method_condition_handler.rb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/method_handler.rb +104 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/mixin_handler.rb +49 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/module_function_handler.rb +27 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/module_handler.rb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/private_class_method_handler.rb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/private_constant_handler.rb +43 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/public_class_method_handler.rb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/struct_handler_methods.rb +143 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/visibility_handler.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/handlers/ruby/yield_handler.rb +31 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/locale.rb +67 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/message.rb +57 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/messages.rb +56 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/po_parser.rb +61 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/pot_generator.rb +290 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/i18n/text.rb +173 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/logging.rb +205 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/options.rb +217 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/base.rb +57 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/c/c_parser.rb +235 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/c/comment_parser.rb +134 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/c/statement.rb +66 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/ast_node.rb +551 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/irb/slex.rb +276 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/ruby_lex.rb +1345 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/ruby_parser.rb +32 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/statement.rb +68 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/statement_list.rb +394 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/legacy/token_list.rb +74 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/ruby_parser.rb +701 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/ruby/token_resolver.rb +158 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/parser/source_parser.rb +526 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rake/yardoc_task.rb +81 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/registry.rb +439 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/registry_resolver.rb +217 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/registry_store.rb +342 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/backports.rb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/backports/gem.rb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/backports/source_index.rb +365 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/doc_manager.rb +90 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/hook.rb +197 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/rubygems/specification.rb +50 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/serializers/base.rb +83 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/serializers/file_system_serializer.rb +123 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/serializers/process_serializer.rb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/serializers/stdout_serializer.rb +34 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/serializers/yardoc_serializer.rb +152 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/adapter.rb +100 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/base.rb +209 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/display_file_command.rb +29 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/display_object_command.rb +65 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/frames_command.rb +16 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/library_command.rb +187 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/library_index_command.rb +28 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/list_command.rb +25 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/root_request_command.rb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/search_command.rb +79 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/static_file_command.rb +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/commands/static_file_helpers.rb +61 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/doc_server_helper.rb +91 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/doc_server_serializer.rb +39 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/library_version.rb +277 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/rack_adapter.rb +89 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/router.rb +187 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/static_caching.rb +46 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/layout/html/breadcrumb.erb +37 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/layout/html/setup.rb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/default/method_details/html/setup.rb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/library_list/html/headers.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/library_list/html/listing.erb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/library_list/html/setup.rb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/processing/html/setup.rb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/templates/doc_server/search/html/setup.rb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/server/webrick_adapter.rb +45 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/default_factory.rb +191 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/default_tag.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/directives.rb +616 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/library.rb +633 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/option_tag.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/overload_tag.rb +71 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/ref_tag.rb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/ref_tag_list.rb +28 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/tag.rb +71 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/tag_format_error.rb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/tags/types_explainer.rb +162 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/engine.rb +186 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/erb_cache.rb +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/base_helper.rb +215 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/filter_helper.rb +27 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/html_helper.rb +670 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +78 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/markup/rdoc_markdown.rb +23 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/markup/rdoc_markup.rb +110 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/markup_helper.rb +172 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/method_helper.rb +75 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/module_helper.rb +21 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/text_helper.rb +112 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/helpers/uml_helper.rb +47 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/section.rb +105 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/template.rb +418 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/templates/template_options.rb +92 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/verifier.rb +151 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/lib/yard/version.rb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/po/ja.po +31108 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/samus.json +80 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/tasks/update_error_map.rake +53 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/dot/setup.rb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/dot/superklass.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/html/constructor_details.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/html/setup.rb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/html/subclasses.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/setup.rb +36 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/text/setup.rb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/class/text/subclasses.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/constant/text/header.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/constant/text/setup.rb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/abstract.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/deprecated.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/index.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/note.erb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/private.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/returns_void.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/text.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/html/todo.erb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/setup.rb +52 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/abstract.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/deprecated.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/index.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/note.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/private.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/returns_void.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/text.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/docstring/text/todo.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/css/common.css +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/css/style.css +496 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/frames.erb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/full_list.erb +37 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/js/app.js +314 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/js/full_list.js +216 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/fulldoc/html/setup.rb +241 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/header.erb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/breadcrumb.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/files.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/footer.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/headers.erb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/index.erb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/layout.erb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/listing.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/objects.erb +32 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/script_setup.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/search.erb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/html/setup.rb +89 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method/html/header.erb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method/setup.rb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method/text/header.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/html/header.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/html/method_signature.erb +25 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/html/source.erb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/setup.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/text/header.erb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/text/method_signature.erb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/method_details/text/setup.rb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/dot/child.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/dot/dependencies.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/dot/header.erb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/dot/info.erb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/dot/setup.rb +15 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/attribute_details.erb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/attribute_summary.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/box_info.erb +43 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/children.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/constant_summary.erb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/defines.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/header.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/inherited_constants.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/inherited_methods.erb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/item_summary.erb +40 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/method_details_list.erb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/method_summary.erb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/methodmissing.erb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/html/pre_docstring.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/setup.rb +167 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/children.erb +10 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/class_meths_list.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/extends.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/header.erb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/includes.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/instance_meths_list.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/module/text/setup.rb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/onefile/html/files.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/onefile/html/headers.erb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/onefile/html/layout.erb +17 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/onefile/html/readme.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/onefile/html/setup.rb +62 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/root/dot/child.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/root/dot/setup.rb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/root/html/setup.rb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/example.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/index.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/option.erb +24 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/overload.erb +14 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/see.erb +8 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/html/tag.erb +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/setup.rb +57 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/example.erb +12 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/index.erb +1 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/option.erb +20 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/overload.erb +19 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/see.erb +11 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/tags/text/tag.erb +13 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/class/html/setup.rb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/docstring/html/setup.rb +2 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/fulldoc/html/css/style.css +108 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/fulldoc/html/js/app.js +33 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/fulldoc/html/setup.rb +74 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/layout/html/layout.erb +81 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/layout/html/setup.rb +25 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/method/html/header.erb +18 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/method/html/setup.rb +22 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/module/html/header.erb +7 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/module/html/method_list.erb +5 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/module/html/setup.rb +27 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/onefile/html/files.erb +4 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/onefile/html/setup.rb +6 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/onefile/html/toc.erb +3 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/templates/guide/tags/html/setup.rb +9 -0
- data/gems/ruby/2.7.0/gems/yard-0.9.25/yard.gemspec +24 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/.gitignore +14 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/Gemfile +4 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/LICENSE +22 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/README.md +61 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/Rakefile +2 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/lib/yard-activesupport-concern.rb +40 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/lib/yard-activesupport-concern/version.rb +7 -0
- data/gems/ruby/2.7.0/gems/yard-activesupport-concern-0.0.1/yard-activesupport-concern.gemspec +26 -0
- data/gems/ruby/2.7.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/gems/ruby/2.7.0/specifications/ffi-1.13.1.gemspec +44 -0
- data/gems/ruby/2.7.0/specifications/formatador-0.2.5.gemspec +34 -0
- data/gems/ruby/2.7.0/specifications/guard-2.16.2.gemspec +47 -0
- data/gems/ruby/2.7.0/specifications/guard-yard-2.2.1.gemspec +36 -0
- data/gems/ruby/2.7.0/specifications/listen-3.3.1.gemspec +36 -0
- data/gems/ruby/2.7.0/specifications/lumberjack-1.2.8.gemspec +30 -0
- data/gems/ruby/2.7.0/specifications/method_source-1.0.0.gemspec +32 -0
- data/gems/ruby/2.7.0/specifications/nenv-0.3.0.gemspec +34 -0
- data/gems/ruby/2.7.0/specifications/notiffany-0.1.3.gemspec +34 -0
- data/gems/ruby/2.7.0/specifications/pry-0.13.1.gemspec +36 -0
- data/gems/ruby/2.7.0/specifications/rb-fsevent-0.10.4.gemspec +35 -0
- data/gems/ruby/2.7.0/specifications/rb-inotify-0.10.1.gemspec +38 -0
- data/gems/ruby/2.7.0/specifications/redcarpet-3.5.0.gemspec +40 -0
- data/gems/ruby/2.7.0/specifications/shellany-0.0.1.gemspec +30 -0
- data/gems/ruby/2.7.0/specifications/yard-0.9.25.gemspec +23 -0
- data/gems/ruby/2.7.0/specifications/yard-activesupport-concern-0.0.1.gemspec +34 -0
- data/lib/qiita_org.rb +34 -23
- data/lib/qiita_org/.qiita.conf +6 -6
- data/lib/qiita_org/access_qiita.rb +31 -0
- data/lib/qiita_org/all.rb +27 -0
- data/lib/qiita_org/decide_option.rb +26 -0
- data/lib/qiita_org/error_message.rb +94 -0
- data/lib/qiita_org/file_open.rb +15 -0
- data/lib/qiita_org/get.rb +33 -30
- data/lib/qiita_org/get_file_url.rb +12 -14
- data/lib/qiita_org/get_multiple_files.rb +38 -0
- data/lib/qiita_org/get_template.rb +8 -3
- data/lib/qiita_org/list.rb +18 -16
- data/lib/qiita_org/md_converter_for_image.rb +7 -7
- data/lib/qiita_org/post.rb +67 -40
- data/lib/qiita_org/search_conf_path.rb +1 -1
- data/lib/qiita_org/select_path.rb +16 -0
- data/lib/qiita_org/set_config.rb +29 -0
- data/lib/qiita_org/show_file_and_url.rb +44 -36
- data/lib/qiita_org/template.org +1 -0
- data/lib/qiita_org/upload.rb +28 -0
- data/lib/qiita_org/version.rb +1 -1
- data/tests/test.org +9 -3
- data/tests/test2.org +3 -1
- data/tests/test3.org +16 -0
- data/tests/test4.org +16 -0
- data/tests/twitter_test.org +13 -0
- metadata +1613 -4
- data/tests/test.md +0 -10
- data/tests/test2.md +0 -6
@@ -0,0 +1,49 @@
|
|
1
|
+
Copyright (c) 2008-2013, Ruby FFI project contributors
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
6
|
+
* Redistributions of source code must retain the above copyright
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
8
|
+
* Redistributions in binary form must reproduce the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
10
|
+
documentation and/or other materials provided with the distribution.
|
11
|
+
* Neither the name of the Ruby FFI project nor the
|
12
|
+
names of its contributors may be used to endorse or promote products
|
13
|
+
derived from this software without specific prior written permission.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
16
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
19
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
21
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
22
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
23
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
24
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
25
|
+
|
26
|
+
libffi, used by this project, is licensed under the MIT license:
|
27
|
+
|
28
|
+
libffi - Copyright (c) 1996-2011 Anthony Green, Red Hat, Inc and others.
|
29
|
+
See source files for details.
|
30
|
+
|
31
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
32
|
+
a copy of this software and associated documentation files (the
|
33
|
+
``Software''), to deal in the Software without restriction, including
|
34
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
35
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
36
|
+
permit persons to whom the Software is furnished to do so, subject to
|
37
|
+
the following conditions:
|
38
|
+
|
39
|
+
The above copyright notice and this permission notice shall be
|
40
|
+
included in all copies or substantial portions of the Software.
|
41
|
+
|
42
|
+
THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
|
43
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
44
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
45
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
46
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
47
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
48
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
49
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
group :development do
|
4
|
+
gem 'rake', '~> 13.0'
|
5
|
+
gem 'rake-compiler', '~> 1.0.3'
|
6
|
+
gem 'rake-compiler-dock', '~> 1.0'
|
7
|
+
gem 'rspec', '~> 3.0'
|
8
|
+
# irb is a dependency of rubygems-tasks 0.2.5.
|
9
|
+
# irb versions > 1.1.1 depend on reline,
|
10
|
+
# which sometimes causes 'bundle install' to fail on Ruby <= 2.4: https://github.com/rubygems/rubygems/issues/3463
|
11
|
+
gem 'rubygems-tasks', '>= 0.2', '< 0.2.5', :require => 'rubygems/tasks'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :doc do
|
15
|
+
gem 'kramdown'
|
16
|
+
gem 'yard', '~> 0.9'
|
17
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Copyright (c) 2008-2016, Ruby FFI project contributors
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
6
|
+
* Redistributions of source code must retain the above copyright
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
8
|
+
* Redistributions in binary form must reproduce the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
10
|
+
documentation and/or other materials provided with the distribution.
|
11
|
+
* Neither the name of the Ruby FFI project nor the
|
12
|
+
names of its contributors may be used to endorse or promote products
|
13
|
+
derived from this software without specific prior written permission.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
16
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
19
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
21
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
22
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
23
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
24
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2008-2012 Ruby-FFI contributors
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
4
|
+
obtaining a copy of this software and associated documentation
|
5
|
+
files (the "Software"), to deal in the Software without
|
6
|
+
restriction, including without limitation the rights to use,
|
7
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the
|
9
|
+
Software is furnished to do so, subject to the following
|
10
|
+
conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be
|
13
|
+
included in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
17
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
19
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,124 @@
|
|
1
|
+
# Ruby-FFI https://github.com/ffi/ffi/wiki [![Build Status](https://travis-ci.org/ffi/ffi.svg?branch=master)](https://travis-ci.org/ffi/ffi) [![Build status Windows](https://ci.appveyor.com/api/projects/status/r8wxn1sd4s794gg1/branch/master?svg=true)](https://ci.appveyor.com/project/larskanis/ffi-aofqa/branch/master)
|
2
|
+
|
3
|
+
## Description
|
4
|
+
|
5
|
+
Ruby-FFI is a gem for programmatically loading dynamically-linked native
|
6
|
+
libraries, binding functions within them, and calling those functions
|
7
|
+
from Ruby code. Moreover, a Ruby-FFI extension works without changes
|
8
|
+
on CRuby (MRI), JRuby, Rubinius and TruffleRuby. [Discover why you should write your next extension
|
9
|
+
using Ruby-FFI](https://github.com/ffi/ffi/wiki/why-use-ffi).
|
10
|
+
|
11
|
+
## Features
|
12
|
+
|
13
|
+
* Intuitive DSL
|
14
|
+
* Supports all C native types
|
15
|
+
* C structs (also nested), enums and global variables
|
16
|
+
* Callbacks from C to Ruby
|
17
|
+
* Automatic garbage collection of native memory
|
18
|
+
|
19
|
+
## Synopsis
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'ffi'
|
23
|
+
|
24
|
+
module MyLib
|
25
|
+
extend FFI::Library
|
26
|
+
ffi_lib 'c'
|
27
|
+
attach_function :puts, [ :string ], :int
|
28
|
+
end
|
29
|
+
|
30
|
+
MyLib.puts 'Hello, World using libc!'
|
31
|
+
```
|
32
|
+
|
33
|
+
For less minimalistic and more examples you may look at:
|
34
|
+
|
35
|
+
* the `samples/` folder
|
36
|
+
* the examples on the [wiki](https://github.com/ffi/ffi/wiki)
|
37
|
+
* the projects using FFI listed on the wiki: https://github.com/ffi/ffi/wiki/projects-using-ffi
|
38
|
+
|
39
|
+
## Requirements
|
40
|
+
|
41
|
+
When installing the gem on CRuby (MRI), you will need:
|
42
|
+
* A C compiler (e.g., Xcode on macOS, `gcc` or `clang` on everything else)
|
43
|
+
Optionally (speeds up installation):
|
44
|
+
* The `libffi` library and development headers - this is commonly in the `libffi-dev` or `libffi-devel` packages
|
45
|
+
|
46
|
+
The ffi gem comes with a builtin libffi version, which is used, when the system libffi library is not available or too old.
|
47
|
+
Use of the system libffi can be enforced by:
|
48
|
+
```
|
49
|
+
gem install ffi -- --enable-system-libffi # to install the gem manually
|
50
|
+
bundle config build.ffi --enable-system-libffi # for bundle install
|
51
|
+
```
|
52
|
+
or prevented by `--disable-system-libffi`.
|
53
|
+
|
54
|
+
On Linux systems running with [PaX](https://en.wikipedia.org/wiki/PaX) (Gentoo, Alpine, etc.), FFI may trigger `mprotect` errors. You may need to disable [mprotect](https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options#Restrict_mprotect.28.29) for ruby (`paxctl -m [/path/to/ruby]`) for the time being until a solution is found.
|
55
|
+
|
56
|
+
On FreeBSD systems pkgconf must be installed for the gem to be able to compile using clang. Install either via packages `pkg install pkgconf` or from ports via `devel/pkgconf`.
|
57
|
+
|
58
|
+
On JRuby and TruffleRuby, there are no requirements to install the FFI gem, and `require 'ffi'` works even without installing the gem (i.e., the gem is preinstalled on these implementations).
|
59
|
+
|
60
|
+
## Installation
|
61
|
+
|
62
|
+
From rubygems:
|
63
|
+
|
64
|
+
[sudo] gem install ffi
|
65
|
+
|
66
|
+
or from the git repository on github:
|
67
|
+
|
68
|
+
git clone git://github.com/ffi/ffi.git
|
69
|
+
git submodule update --init --recursive
|
70
|
+
cd ffi
|
71
|
+
rake install
|
72
|
+
|
73
|
+
## License
|
74
|
+
|
75
|
+
The ffi library is covered by the BSD license, also see the LICENSE file.
|
76
|
+
The specs are covered by the same license as [ruby/spec](https://github.com/ruby/spec), the MIT license.
|
77
|
+
|
78
|
+
## Credits
|
79
|
+
|
80
|
+
The following people have submitted code, bug reports, or otherwise contributed to the success of this project:
|
81
|
+
|
82
|
+
* Alban Peignier <alban.peignier@free.fr>
|
83
|
+
* Aman Gupta <aman@tmm1.net>
|
84
|
+
* Andrea Fazzi <andrea.fazzi@alcacoop.it>
|
85
|
+
* Andreas Niederl <rico32@gmx.net>
|
86
|
+
* Andrew Cholakian <andrew@andrewvc.com>
|
87
|
+
* Antonio Terceiro <terceiro@softwarelivre.org>
|
88
|
+
* Benoit Daloze <eregontp@gmail.com>
|
89
|
+
* Brian Candler <B.Candler@pobox.com>
|
90
|
+
* Brian D. Burns <burns180@gmail.com>
|
91
|
+
* Bryan Kearney <bkearney@redhat.com>
|
92
|
+
* Charlie Savage <cfis@zerista.com>
|
93
|
+
* Chikanaga Tomoyuki <nagachika00@gmail.com>
|
94
|
+
* Hongli Lai <hongli@phusion.nl>
|
95
|
+
* Ian MacLeod <ian@nevir.net>
|
96
|
+
* Jake Douglas <jake@shiftedlabs.com>
|
97
|
+
* Jean-Dominique Morani <jdmorani@mac.com>
|
98
|
+
* Jeremy Hinegardner <jeremy@hinegardner.org>
|
99
|
+
* Jesús García Sáez <blaxter@gmail.com>
|
100
|
+
* Joe Khoobyar <joe@ankhcraft.com>
|
101
|
+
* Jurij Smakov <jurij@wooyd.org>
|
102
|
+
* KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>
|
103
|
+
* Kim Burgestrand <kim@burgestrand.se>
|
104
|
+
* Lars Kanis <kanis@comcard.de>
|
105
|
+
* Luc Heinrich <luc@honk-honk.com>
|
106
|
+
* Luis Lavena <luislavena@gmail.com>
|
107
|
+
* Matijs van Zuijlen <matijs@matijs.net>
|
108
|
+
* Matthew King <automatthew@gmail.com>
|
109
|
+
* Mike Dalessio <mike.dalessio@gmail.com>
|
110
|
+
* NARUSE, Yui <naruse@airemix.jp>
|
111
|
+
* Park Heesob <phasis@gmail.com>
|
112
|
+
* Shin Yee <shinyee@speedgocomputing.com>
|
113
|
+
* Stephen Bannasch <stephen.bannasch@gmail.com>
|
114
|
+
* Suraj N. Kurapati <sunaku@gmail.com>
|
115
|
+
* Sylvain Daubert <sylvain.daubert@laposte.net>
|
116
|
+
* Victor Costan
|
117
|
+
* beoran@gmail.com
|
118
|
+
* ctide <christide@christide.com>
|
119
|
+
* emboss <Martin.Bosslet@googlemail.com>
|
120
|
+
* hobophobe <unusualtears@gmail.com>
|
121
|
+
* meh <meh@paranoici.org>
|
122
|
+
* postmodern <postmodern.mod3@gmail.com>
|
123
|
+
* wycats@gmail.com <wycats@gmail.com>
|
124
|
+
* Wayne Meissner <wmeissner@gmail.com>
|
@@ -0,0 +1,177 @@
|
|
1
|
+
require 'rubygems/tasks'
|
2
|
+
require 'rbconfig'
|
3
|
+
require 'rake/clean'
|
4
|
+
require_relative "lib/ffi/version"
|
5
|
+
|
6
|
+
require 'date'
|
7
|
+
require 'fileutils'
|
8
|
+
require 'rbconfig'
|
9
|
+
require 'rspec/core/rake_task'
|
10
|
+
require 'rubygems/package_task'
|
11
|
+
|
12
|
+
BUILD_DIR = "build"
|
13
|
+
BUILD_EXT_DIR = File.join(BUILD_DIR, "#{RbConfig::CONFIG['arch']}", 'ffi_c', RUBY_VERSION)
|
14
|
+
|
15
|
+
def gem_spec
|
16
|
+
@gem_spec ||= Gem::Specification.load('ffi.gemspec')
|
17
|
+
end
|
18
|
+
|
19
|
+
RSpec::Core::RakeTask.new(:spec => :compile) do |config|
|
20
|
+
config.rspec_opts = YAML.load_file 'spec/spec.opts'
|
21
|
+
end
|
22
|
+
|
23
|
+
desc "Build all packages"
|
24
|
+
task :package => %w[ gem:java gem:windows ]
|
25
|
+
|
26
|
+
CLOBBER.include 'lib/ffi/types.conf'
|
27
|
+
CLOBBER.include 'pkg'
|
28
|
+
CLOBBER.include 'log'
|
29
|
+
|
30
|
+
CLEAN.include 'build'
|
31
|
+
CLEAN.include 'conftest.dSYM'
|
32
|
+
CLEAN.include 'spec/ffi/fixtures/libtest.{dylib,so,dll}'
|
33
|
+
CLEAN.include 'spec/ffi/fixtures/*.o'
|
34
|
+
CLEAN.include 'spec/ffi/embed-test/ext/*.{o,def}'
|
35
|
+
CLEAN.include 'spec/ffi/embed-test/ext/Makefile'
|
36
|
+
CLEAN.include "pkg/ffi-*-{mingw32,java}"
|
37
|
+
CLEAN.include 'lib/1.*'
|
38
|
+
CLEAN.include 'lib/2.*'
|
39
|
+
|
40
|
+
task :distclean => :clobber
|
41
|
+
|
42
|
+
desc "Test the extension"
|
43
|
+
task :test => [ :spec ]
|
44
|
+
|
45
|
+
|
46
|
+
namespace :bench do
|
47
|
+
ITER = ENV['ITER'] ? ENV['ITER'].to_i : 100000
|
48
|
+
bench_files = Dir["bench/bench_*.rb"].sort.reject { |f| f == "bench/bench_helper.rb" }
|
49
|
+
bench_files.each do |bench|
|
50
|
+
task File.basename(bench, ".rb")[6..-1] => :compile do
|
51
|
+
sh %{#{Gem.ruby} #{bench} #{ITER}}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
task :all => :compile do
|
55
|
+
bench_files.each do |bench|
|
56
|
+
sh %{#{Gem.ruby} #{bench}}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
task 'spec:run' => :compile
|
62
|
+
task 'spec:specdoc' => :compile
|
63
|
+
|
64
|
+
task :default => :spec
|
65
|
+
|
66
|
+
namespace 'java' do
|
67
|
+
|
68
|
+
java_gem_spec = gem_spec.dup.tap do |s|
|
69
|
+
s.files.reject! { |f| File.fnmatch?("ext/*", f) }
|
70
|
+
s.extensions = []
|
71
|
+
s.platform = 'java'
|
72
|
+
end
|
73
|
+
|
74
|
+
Gem::PackageTask.new(java_gem_spec) do |pkg|
|
75
|
+
pkg.need_zip = true
|
76
|
+
pkg.need_tar = true
|
77
|
+
pkg.package_dir = 'pkg'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
task 'gem:java' => 'java:gem'
|
82
|
+
|
83
|
+
if RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'rbx'
|
84
|
+
require 'rake/extensiontask'
|
85
|
+
Rake::ExtensionTask.new('ffi_c', gem_spec) do |ext|
|
86
|
+
ext.name = 'ffi_c' # indicate the name of the extension.
|
87
|
+
# ext.lib_dir = BUILD_DIR # put binaries into this folder.
|
88
|
+
ext.tmp_dir = BUILD_DIR # temporary folder used during compilation.
|
89
|
+
ext.cross_compile = true # enable cross compilation (requires cross compile toolchain)
|
90
|
+
ext.cross_platform = %w[i386-mingw32 x64-mingw32] # forces the Windows platform instead of the default one
|
91
|
+
ext.cross_compiling do |spec|
|
92
|
+
spec.files.reject! { |path| File.fnmatch?('ext/*', path) }
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# To reduce the gem file size strip mingw32 dlls before packaging
|
97
|
+
ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
|
98
|
+
task "build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" do |t|
|
99
|
+
sh "i686-w64-mingw32-strip -S build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
|
100
|
+
end
|
101
|
+
|
102
|
+
task "build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" do |t|
|
103
|
+
sh "x86_64-w64-mingw32-strip -S build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
|
104
|
+
end
|
105
|
+
end
|
106
|
+
else
|
107
|
+
task :compile do
|
108
|
+
STDERR.puts "Nothing to compile on #{RUBY_ENGINE}"
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
desc "build a windows gem without all the ceremony"
|
113
|
+
task "gem:windows" do
|
114
|
+
require "rake_compiler_dock"
|
115
|
+
sh "bundle package"
|
116
|
+
RakeCompilerDock.sh "sudo apt-get update && sudo apt-get install -y libltdl-dev && bundle --local && rake cross native gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.2.2/}"
|
117
|
+
end
|
118
|
+
|
119
|
+
directory "ext/ffi_c/libffi"
|
120
|
+
file "ext/ffi_c/libffi/autogen.sh" => "ext/ffi_c/libffi" do
|
121
|
+
warn "Downloading libffi ..."
|
122
|
+
sh "git submodule update --init --recursive"
|
123
|
+
end
|
124
|
+
task :libffi => "ext/ffi_c/libffi/autogen.sh"
|
125
|
+
|
126
|
+
LIBFFI_GIT_FILES = `git --git-dir ext/ffi_c/libffi/.git ls-files -z`.split("\x0")
|
127
|
+
|
128
|
+
# Generate files in gemspec but not in libffi's git repo by running autogen.sh
|
129
|
+
gem_spec.files.select do |f|
|
130
|
+
f =~ /ext\/ffi_c\/libffi\/(.*)/ && !LIBFFI_GIT_FILES.include?($1)
|
131
|
+
end.each do |f|
|
132
|
+
file f => "ext/ffi_c/libffi/autogen.sh" do
|
133
|
+
chdir "ext/ffi_c/libffi" do
|
134
|
+
sh "sh ./autogen.sh"
|
135
|
+
end
|
136
|
+
touch f
|
137
|
+
if gem_spec.files != Gem::Specification.load('./ffi.gemspec').files
|
138
|
+
warn "gemspec files have changed -> Please restart rake!"
|
139
|
+
exit 1
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
require_relative "lib/ffi/platform"
|
145
|
+
types_conf = File.expand_path(File.join(FFI::Platform::CONF_DIR, 'types.conf'))
|
146
|
+
logfile = File.join(File.dirname(__FILE__), 'types_log')
|
147
|
+
|
148
|
+
task types_conf do |task|
|
149
|
+
require 'fileutils'
|
150
|
+
require_relative "lib/ffi/tools/types_generator"
|
151
|
+
options = {}
|
152
|
+
FileUtils.mkdir_p(File.dirname(task.name), mode: 0755 )
|
153
|
+
File.open(task.name, File::CREAT|File::TRUNC|File::RDWR, 0644) do |f|
|
154
|
+
f.puts FFI::TypesGenerator.generate(options)
|
155
|
+
end
|
156
|
+
File.open(logfile, 'w') do |log|
|
157
|
+
log.puts(types_conf)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
desc "Create or update type information for platform #{FFI::Platform::NAME}"
|
162
|
+
task :types_conf => types_conf
|
163
|
+
|
164
|
+
Gem::Tasks.new do |t|
|
165
|
+
t.scm.tag.format = '%s'
|
166
|
+
end
|
167
|
+
|
168
|
+
begin
|
169
|
+
require 'yard'
|
170
|
+
|
171
|
+
namespace :doc do
|
172
|
+
YARD::Rake::YardocTask.new do |yard|
|
173
|
+
end
|
174
|
+
end
|
175
|
+
rescue LoadError
|
176
|
+
warn "[warn] YARD unavailable"
|
177
|
+
end
|
File without changes
|
@@ -0,0 +1,1105 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2008, 2009, Wayne Meissner
|
3
|
+
* Copyright (C) 2009 Jake Douglas <jake@shiftedlabs.com>
|
4
|
+
* Copyright (C) 2008 Luc Heinrich <luc@honk-honk.com>
|
5
|
+
*
|
6
|
+
* Copyright (c) 2008-2013, Ruby FFI project contributors
|
7
|
+
* All rights reserved.
|
8
|
+
*
|
9
|
+
* Redistribution and use in source and binary forms, with or without
|
10
|
+
* modification, are permitted provided that the following conditions are met:
|
11
|
+
* * Redistributions of source code must retain the above copyright
|
12
|
+
* notice, this list of conditions and the following disclaimer.
|
13
|
+
* * Redistributions in binary form must reproduce the above copyright
|
14
|
+
* notice, this list of conditions and the following disclaimer in the
|
15
|
+
* documentation and/or other materials provided with the distribution.
|
16
|
+
* * Neither the name of the Ruby FFI project nor the
|
17
|
+
* names of its contributors may be used to endorse or promote products
|
18
|
+
* derived from this software without specific prior written permission.
|
19
|
+
*
|
20
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23
|
+
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
24
|
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26
|
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
27
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
|
+
*/
|
31
|
+
|
32
|
+
#include <sys/types.h>
|
33
|
+
#ifndef _MSC_VER
|
34
|
+
# include <sys/param.h>
|
35
|
+
# include <stdint.h>
|
36
|
+
# include <stdbool.h>
|
37
|
+
#else
|
38
|
+
# include "win32/stdbool.h"
|
39
|
+
# include "win32/stdint.h"
|
40
|
+
#endif
|
41
|
+
|
42
|
+
#include <limits.h>
|
43
|
+
#include <ruby.h>
|
44
|
+
|
45
|
+
#include "rbffi.h"
|
46
|
+
#include "compat.h"
|
47
|
+
#include "AbstractMemory.h"
|
48
|
+
#include "Pointer.h"
|
49
|
+
#include "Function.h"
|
50
|
+
#include "LongDouble.h"
|
51
|
+
|
52
|
+
#ifdef PRIsVALUE
|
53
|
+
# define RB_OBJ_CLASSNAME(obj) rb_obj_class(obj)
|
54
|
+
# define RB_OBJ_STRING(obj) (obj)
|
55
|
+
#else
|
56
|
+
# define PRIsVALUE "s"
|
57
|
+
# define RB_OBJ_CLASSNAME(obj) rb_obj_classname(obj)
|
58
|
+
# define RB_OBJ_STRING(obj) StringValueCStr(obj)
|
59
|
+
#endif
|
60
|
+
|
61
|
+
static inline char* memory_address(VALUE self);
|
62
|
+
VALUE rbffi_AbstractMemoryClass = Qnil;
|
63
|
+
static VALUE NullPointerErrorClass = Qnil;
|
64
|
+
static ID id_to_ptr = 0, id_plus = 0, id_call = 0;
|
65
|
+
|
66
|
+
static VALUE
|
67
|
+
memory_allocate(VALUE klass)
|
68
|
+
{
|
69
|
+
AbstractMemory* memory;
|
70
|
+
VALUE obj;
|
71
|
+
obj = Data_Make_Struct(klass, AbstractMemory, NULL, -1, memory);
|
72
|
+
memory->flags = MEM_RD | MEM_WR;
|
73
|
+
|
74
|
+
return obj;
|
75
|
+
}
|
76
|
+
#define VAL(x, swap) (unlikely(((memory->flags & MEM_SWAP) != 0)) ? swap((x)) : (x))
|
77
|
+
|
78
|
+
#define NUM_OP(name, type, toNative, fromNative, swap) \
|
79
|
+
static void memory_op_put_##name(AbstractMemory* memory, long off, VALUE value); \
|
80
|
+
static void \
|
81
|
+
memory_op_put_##name(AbstractMemory* memory, long off, VALUE value) \
|
82
|
+
{ \
|
83
|
+
type tmp = (type) VAL(toNative(value), swap); \
|
84
|
+
checkWrite(memory); \
|
85
|
+
checkBounds(memory, off, sizeof(type)); \
|
86
|
+
memcpy(memory->address + off, &tmp, sizeof(tmp)); \
|
87
|
+
} \
|
88
|
+
static VALUE memory_put_##name(VALUE self, VALUE offset, VALUE value); \
|
89
|
+
static VALUE \
|
90
|
+
memory_put_##name(VALUE self, VALUE offset, VALUE value) \
|
91
|
+
{ \
|
92
|
+
AbstractMemory* memory; \
|
93
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
94
|
+
memory_op_put_##name(memory, NUM2LONG(offset), value); \
|
95
|
+
return self; \
|
96
|
+
} \
|
97
|
+
static VALUE memory_write_##name(VALUE self, VALUE value); \
|
98
|
+
static VALUE \
|
99
|
+
memory_write_##name(VALUE self, VALUE value) \
|
100
|
+
{ \
|
101
|
+
AbstractMemory* memory; \
|
102
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
103
|
+
memory_op_put_##name(memory, 0, value); \
|
104
|
+
return self; \
|
105
|
+
} \
|
106
|
+
static VALUE memory_op_get_##name(AbstractMemory* memory, long off); \
|
107
|
+
static VALUE \
|
108
|
+
memory_op_get_##name(AbstractMemory* memory, long off) \
|
109
|
+
{ \
|
110
|
+
type tmp; \
|
111
|
+
checkRead(memory); \
|
112
|
+
checkBounds(memory, off, sizeof(type)); \
|
113
|
+
memcpy(&tmp, memory->address + off, sizeof(tmp)); \
|
114
|
+
return fromNative(VAL(tmp, swap)); \
|
115
|
+
} \
|
116
|
+
static VALUE memory_get_##name(VALUE self, VALUE offset); \
|
117
|
+
static VALUE \
|
118
|
+
memory_get_##name(VALUE self, VALUE offset) \
|
119
|
+
{ \
|
120
|
+
AbstractMemory* memory; \
|
121
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
122
|
+
return memory_op_get_##name(memory, NUM2LONG(offset)); \
|
123
|
+
} \
|
124
|
+
static VALUE memory_read_##name(VALUE self); \
|
125
|
+
static VALUE \
|
126
|
+
memory_read_##name(VALUE self) \
|
127
|
+
{ \
|
128
|
+
AbstractMemory* memory; \
|
129
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
130
|
+
return memory_op_get_##name(memory, 0); \
|
131
|
+
} \
|
132
|
+
static MemoryOp memory_op_##name = { memory_op_get_##name, memory_op_put_##name }; \
|
133
|
+
\
|
134
|
+
static VALUE memory_put_array_of_##name(VALUE self, VALUE offset, VALUE ary); \
|
135
|
+
static VALUE \
|
136
|
+
memory_put_array_of_##name(VALUE self, VALUE offset, VALUE ary) \
|
137
|
+
{ \
|
138
|
+
long count = RARRAY_LEN(ary); \
|
139
|
+
long off = NUM2LONG(offset); \
|
140
|
+
AbstractMemory* memory = MEMORY(self); \
|
141
|
+
long i; \
|
142
|
+
checkWrite(memory); \
|
143
|
+
checkBounds(memory, off, count * sizeof(type)); \
|
144
|
+
for (i = 0; i < count; i++) { \
|
145
|
+
type tmp = (type) VAL(toNative(RARRAY_PTR(ary)[i]), swap); \
|
146
|
+
memcpy(memory->address + off + (i * sizeof(type)), &tmp, sizeof(tmp)); \
|
147
|
+
} \
|
148
|
+
return self; \
|
149
|
+
} \
|
150
|
+
static VALUE memory_write_array_of_##name(VALUE self, VALUE ary); \
|
151
|
+
static VALUE \
|
152
|
+
memory_write_array_of_##name(VALUE self, VALUE ary) \
|
153
|
+
{ \
|
154
|
+
return memory_put_array_of_##name(self, INT2FIX(0), ary); \
|
155
|
+
} \
|
156
|
+
static VALUE memory_get_array_of_##name(VALUE self, VALUE offset, VALUE length); \
|
157
|
+
static VALUE \
|
158
|
+
memory_get_array_of_##name(VALUE self, VALUE offset, VALUE length) \
|
159
|
+
{ \
|
160
|
+
long count = NUM2LONG(length); \
|
161
|
+
long off = NUM2LONG(offset); \
|
162
|
+
AbstractMemory* memory = MEMORY(self); \
|
163
|
+
VALUE retVal = rb_ary_new2(count); \
|
164
|
+
long i; \
|
165
|
+
checkRead(memory); \
|
166
|
+
checkBounds(memory, off, count * sizeof(type)); \
|
167
|
+
for (i = 0; i < count; ++i) { \
|
168
|
+
type tmp; \
|
169
|
+
memcpy(&tmp, memory->address + off + (i * sizeof(type)), sizeof(tmp)); \
|
170
|
+
rb_ary_push(retVal, fromNative(VAL(tmp, swap))); \
|
171
|
+
} \
|
172
|
+
return retVal; \
|
173
|
+
} \
|
174
|
+
static VALUE memory_read_array_of_##name(VALUE self, VALUE length); \
|
175
|
+
static VALUE \
|
176
|
+
memory_read_array_of_##name(VALUE self, VALUE length) \
|
177
|
+
{ \
|
178
|
+
return memory_get_array_of_##name(self, INT2FIX(0), length); \
|
179
|
+
}
|
180
|
+
|
181
|
+
#define NOSWAP(x) (x)
|
182
|
+
#define bswap16(x) (((x) >> 8) & 0xff) | (((x) << 8) & 0xff00);
|
183
|
+
static inline int16_t
|
184
|
+
SWAPS16(int16_t x)
|
185
|
+
{
|
186
|
+
return bswap16(x);
|
187
|
+
}
|
188
|
+
|
189
|
+
static inline uint16_t
|
190
|
+
SWAPU16(uint16_t x)
|
191
|
+
{
|
192
|
+
return bswap16(x);
|
193
|
+
}
|
194
|
+
|
195
|
+
#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 3)
|
196
|
+
#define bswap32(x) \
|
197
|
+
(((x << 24) & 0xff000000) | \
|
198
|
+
((x << 8) & 0x00ff0000) | \
|
199
|
+
((x >> 8) & 0x0000ff00) | \
|
200
|
+
((x >> 24) & 0x000000ff))
|
201
|
+
|
202
|
+
#define bswap64(x) \
|
203
|
+
(((x << 56) & 0xff00000000000000ULL) | \
|
204
|
+
((x << 40) & 0x00ff000000000000ULL) | \
|
205
|
+
((x << 24) & 0x0000ff0000000000ULL) | \
|
206
|
+
((x << 8) & 0x000000ff00000000ULL) | \
|
207
|
+
((x >> 8) & 0x00000000ff000000ULL) | \
|
208
|
+
((x >> 24) & 0x0000000000ff0000ULL) | \
|
209
|
+
((x >> 40) & 0x000000000000ff00ULL) | \
|
210
|
+
((x >> 56) & 0x00000000000000ffULL))
|
211
|
+
|
212
|
+
static inline int32_t
|
213
|
+
SWAPS32(int32_t x)
|
214
|
+
{
|
215
|
+
return bswap32(x);
|
216
|
+
}
|
217
|
+
|
218
|
+
static inline uint32_t
|
219
|
+
SWAPU32(uint32_t x)
|
220
|
+
{
|
221
|
+
return bswap32(x);
|
222
|
+
}
|
223
|
+
|
224
|
+
static inline int64_t
|
225
|
+
SWAPS64(int64_t x)
|
226
|
+
{
|
227
|
+
return bswap64(x);
|
228
|
+
}
|
229
|
+
|
230
|
+
static inline uint64_t
|
231
|
+
SWAPU64(uint64_t x)
|
232
|
+
{
|
233
|
+
return bswap64(x);
|
234
|
+
}
|
235
|
+
|
236
|
+
#else
|
237
|
+
# define SWAPS32(x) ((int32_t) __builtin_bswap32(x))
|
238
|
+
# define SWAPU32(x) ((uint32_t) __builtin_bswap32(x))
|
239
|
+
# define SWAPS64(x) ((int64_t) __builtin_bswap64(x))
|
240
|
+
# define SWAPU64(x) ((uint64_t) __builtin_bswap64(x))
|
241
|
+
#endif
|
242
|
+
|
243
|
+
#if LONG_MAX > INT_MAX
|
244
|
+
# define SWAPSLONG SWAPS64
|
245
|
+
# define SWAPULONG SWAPU64
|
246
|
+
#else
|
247
|
+
# define SWAPSLONG SWAPS32
|
248
|
+
# define SWAPULONG SWAPU32
|
249
|
+
#endif
|
250
|
+
|
251
|
+
NUM_OP(int8, int8_t, NUM2INT, INT2NUM, NOSWAP);
|
252
|
+
NUM_OP(uint8, uint8_t, NUM2UINT, UINT2NUM, NOSWAP);
|
253
|
+
NUM_OP(int16, int16_t, NUM2INT, INT2NUM, SWAPS16);
|
254
|
+
NUM_OP(uint16, uint16_t, NUM2UINT, UINT2NUM, SWAPU16);
|
255
|
+
NUM_OP(int32, int32_t, NUM2INT, INT2NUM, SWAPS32);
|
256
|
+
NUM_OP(uint32, uint32_t, NUM2UINT, UINT2NUM, SWAPU32);
|
257
|
+
NUM_OP(int64, int64_t, NUM2LL, LL2NUM, SWAPS64);
|
258
|
+
NUM_OP(uint64, uint64_t, NUM2ULL, ULL2NUM, SWAPU64);
|
259
|
+
NUM_OP(long, long, NUM2LONG, LONG2NUM, SWAPSLONG);
|
260
|
+
NUM_OP(ulong, unsigned long, NUM2ULONG, ULONG2NUM, SWAPULONG);
|
261
|
+
NUM_OP(float32, float, NUM2DBL, rb_float_new, NOSWAP);
|
262
|
+
NUM_OP(float64, double, NUM2DBL, rb_float_new, NOSWAP);
|
263
|
+
NUM_OP(longdouble, long double, rbffi_num2longdouble, rbffi_longdouble_new, NOSWAP);
|
264
|
+
|
265
|
+
static inline void*
|
266
|
+
get_pointer_value(VALUE value)
|
267
|
+
{
|
268
|
+
const int type = TYPE(value);
|
269
|
+
if (type == T_DATA && rb_obj_is_kind_of(value, rbffi_PointerClass)) {
|
270
|
+
return memory_address(value);
|
271
|
+
} else if (type == T_NIL) {
|
272
|
+
return NULL;
|
273
|
+
} else if (type == T_FIXNUM) {
|
274
|
+
return (void *) (uintptr_t) FIX2ULONG(value);
|
275
|
+
} else if (type == T_BIGNUM) {
|
276
|
+
return (void *) (uintptr_t) NUM2ULL(value);
|
277
|
+
} else if (rb_respond_to(value, id_to_ptr)) {
|
278
|
+
return MEMORY_PTR(rb_funcall2(value, id_to_ptr, 0, NULL));
|
279
|
+
} else {
|
280
|
+
rb_raise(rb_eArgError, "value is not a pointer");
|
281
|
+
return NULL;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
NUM_OP(pointer, void *, get_pointer_value, rbffi_Pointer_NewInstance, NOSWAP);
|
286
|
+
|
287
|
+
static inline uint8_t
|
288
|
+
rbffi_bool_value(VALUE value)
|
289
|
+
{
|
290
|
+
return RTEST(value);
|
291
|
+
}
|
292
|
+
|
293
|
+
static inline VALUE
|
294
|
+
rbffi_bool_new(uint8_t value)
|
295
|
+
{
|
296
|
+
return (value & 1) != 0 ? Qtrue : Qfalse;
|
297
|
+
}
|
298
|
+
|
299
|
+
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
|
300
|
+
|
301
|
+
|
302
|
+
/*
|
303
|
+
* call-seq: memory.clear
|
304
|
+
* Set the memory to all-zero.
|
305
|
+
* @return [self]
|
306
|
+
*/
|
307
|
+
static VALUE
|
308
|
+
memory_clear(VALUE self)
|
309
|
+
{
|
310
|
+
AbstractMemory* ptr = MEMORY(self);
|
311
|
+
memset(ptr->address, 0, ptr->size);
|
312
|
+
return self;
|
313
|
+
}
|
314
|
+
|
315
|
+
/*
|
316
|
+
* call-seq: memory.size
|
317
|
+
* Return memory size in bytes (alias: #total)
|
318
|
+
* @return [Numeric]
|
319
|
+
*/
|
320
|
+
static VALUE
|
321
|
+
memory_size(VALUE self)
|
322
|
+
{
|
323
|
+
AbstractMemory* ptr;
|
324
|
+
|
325
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
326
|
+
|
327
|
+
return LONG2NUM(ptr->size);
|
328
|
+
}
|
329
|
+
|
330
|
+
/*
|
331
|
+
* call-seq: memory.get(type, offset)
|
332
|
+
* Return data of given type contained in memory.
|
333
|
+
* @param [Symbol, Type] type_name type of data to get
|
334
|
+
* @param [Numeric] offset point in buffer to start from
|
335
|
+
* @return [Object]
|
336
|
+
* @raise {ArgumentError} if type is not supported
|
337
|
+
*/
|
338
|
+
static VALUE
|
339
|
+
memory_get(VALUE self, VALUE type_name, VALUE offset)
|
340
|
+
{
|
341
|
+
AbstractMemory* ptr;
|
342
|
+
VALUE nType;
|
343
|
+
Type *type;
|
344
|
+
|
345
|
+
nType = rbffi_Type_Lookup(type_name);
|
346
|
+
if(NIL_P(nType)) goto undefined_type;
|
347
|
+
|
348
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
349
|
+
Data_Get_Struct(nType, Type, type);
|
350
|
+
|
351
|
+
MemoryOp *op = get_memory_op(type);
|
352
|
+
if(op == NULL) goto undefined_type;
|
353
|
+
|
354
|
+
return op->get(ptr, NUM2LONG(offset));
|
355
|
+
|
356
|
+
undefined_type: {
|
357
|
+
VALUE msg = rb_sprintf("undefined type '%" PRIsVALUE "'", type_name);
|
358
|
+
rb_exc_raise(rb_exc_new3(rb_eArgError, msg));
|
359
|
+
return Qnil;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
/*
|
364
|
+
* call-seq: memory.put(type, offset, value)
|
365
|
+
* @param [Symbol, Type] type_name type of data to put
|
366
|
+
* @param [Numeric] offset point in buffer to start from
|
367
|
+
* @return [nil]
|
368
|
+
* @raise {ArgumentError} if type is not supported
|
369
|
+
*/
|
370
|
+
static VALUE
|
371
|
+
memory_put(VALUE self, VALUE type_name, VALUE offset, VALUE value)
|
372
|
+
{
|
373
|
+
AbstractMemory* ptr;
|
374
|
+
VALUE nType;
|
375
|
+
Type *type;
|
376
|
+
|
377
|
+
nType = rbffi_Type_Lookup(type_name);
|
378
|
+
if(NIL_P(nType)) goto undefined_type;
|
379
|
+
|
380
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
381
|
+
Data_Get_Struct(nType, Type, type);
|
382
|
+
|
383
|
+
MemoryOp *op = get_memory_op(type);
|
384
|
+
if(op == NULL) goto undefined_type;
|
385
|
+
|
386
|
+
op->put(ptr, NUM2LONG(offset), value);
|
387
|
+
return Qnil;
|
388
|
+
|
389
|
+
undefined_type: {
|
390
|
+
VALUE msg = rb_sprintf("unsupported type '%" PRIsVALUE "'", type_name);
|
391
|
+
rb_exc_raise(rb_exc_new3(rb_eArgError, msg));
|
392
|
+
return Qnil;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
/*
|
397
|
+
* call-seq: memory.get_string(offset, length=nil)
|
398
|
+
* Return string contained in memory.
|
399
|
+
* @param [Numeric] offset point in buffer to start from
|
400
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
401
|
+
* @return [String]
|
402
|
+
* @raise {IndexError} if +length+ is too great
|
403
|
+
* @raise {NullPointerError} if memory not initialized
|
404
|
+
*/
|
405
|
+
static VALUE
|
406
|
+
memory_get_string(int argc, VALUE* argv, VALUE self)
|
407
|
+
{
|
408
|
+
VALUE length = Qnil, offset = Qnil;
|
409
|
+
AbstractMemory* ptr = MEMORY(self);
|
410
|
+
long off, len;
|
411
|
+
char* end;
|
412
|
+
int nargs = rb_scan_args(argc, argv, "11", &offset, &length);
|
413
|
+
|
414
|
+
off = NUM2LONG(offset);
|
415
|
+
len = nargs > 1 && length != Qnil ? NUM2LONG(length) : (ptr->size - off);
|
416
|
+
checkRead(ptr);
|
417
|
+
checkBounds(ptr, off, len);
|
418
|
+
|
419
|
+
end = memchr(ptr->address + off, 0, len);
|
420
|
+
return rb_str_new((char *) ptr->address + off,
|
421
|
+
(end != NULL ? end - ptr->address - off : len));
|
422
|
+
}
|
423
|
+
|
424
|
+
/*
|
425
|
+
* call-seq: memory.get_array_of_string(offset, count=nil)
|
426
|
+
* Return an array of strings contained in memory.
|
427
|
+
* @param [Numeric] offset point in memory to start from
|
428
|
+
* @param [Numeric] count number of strings to get. If nil, return all strings
|
429
|
+
* @return [Array<String>]
|
430
|
+
* @raise {IndexError} if +offset+ is too great
|
431
|
+
* @raise {NullPointerError} if memory not initialized
|
432
|
+
*/
|
433
|
+
static VALUE
|
434
|
+
memory_get_array_of_string(int argc, VALUE* argv, VALUE self)
|
435
|
+
{
|
436
|
+
VALUE offset = Qnil, countnum = Qnil, retVal = Qnil;
|
437
|
+
AbstractMemory* ptr;
|
438
|
+
long off;
|
439
|
+
int count;
|
440
|
+
|
441
|
+
rb_scan_args(argc, argv, "11", &offset, &countnum);
|
442
|
+
off = NUM2LONG(offset);
|
443
|
+
count = (countnum == Qnil ? 0 : NUM2INT(countnum));
|
444
|
+
retVal = rb_ary_new2(count);
|
445
|
+
|
446
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
447
|
+
checkRead(ptr);
|
448
|
+
|
449
|
+
if (countnum != Qnil) {
|
450
|
+
int i;
|
451
|
+
|
452
|
+
checkBounds(ptr, off, count * sizeof (char*));
|
453
|
+
|
454
|
+
for (i = 0; i < count; ++i) {
|
455
|
+
const char* strptr = *((const char**) (ptr->address + off) + i);
|
456
|
+
rb_ary_push(retVal, (strptr == NULL ? Qnil : rb_str_new2(strptr)));
|
457
|
+
}
|
458
|
+
|
459
|
+
} else {
|
460
|
+
checkBounds(ptr, off, sizeof (char*));
|
461
|
+
for ( ; off < ptr->size - (long) sizeof (void *); off += (long) sizeof (void *)) {
|
462
|
+
const char* strptr = *(const char**) (ptr->address + off);
|
463
|
+
if (strptr == NULL) {
|
464
|
+
break;
|
465
|
+
}
|
466
|
+
rb_ary_push(retVal, rb_str_new2(strptr));
|
467
|
+
}
|
468
|
+
}
|
469
|
+
|
470
|
+
return retVal;
|
471
|
+
}
|
472
|
+
|
473
|
+
/*
|
474
|
+
* call-seq: memory.read_array_of_string(count=nil)
|
475
|
+
* Return an array of strings contained in memory. Same as:
|
476
|
+
* memory.get_array_of_string(0, count)
|
477
|
+
* @param [Numeric] count number of strings to get. If nil, return all strings
|
478
|
+
* @return [Array<String>]
|
479
|
+
*/
|
480
|
+
static VALUE
|
481
|
+
memory_read_array_of_string(int argc, VALUE* argv, VALUE self)
|
482
|
+
{
|
483
|
+
VALUE* rargv = ALLOCA_N(VALUE, argc + 1);
|
484
|
+
int i;
|
485
|
+
|
486
|
+
rargv[0] = INT2FIX(0);
|
487
|
+
for (i = 0; i < argc; i++) {
|
488
|
+
rargv[i + 1] = argv[i];
|
489
|
+
}
|
490
|
+
|
491
|
+
return memory_get_array_of_string(argc + 1, rargv, self);
|
492
|
+
}
|
493
|
+
|
494
|
+
|
495
|
+
/*
|
496
|
+
* call-seq: memory.put_string(offset, str)
|
497
|
+
* @param [Numeric] offset
|
498
|
+
* @param [String] str
|
499
|
+
* @return [self]
|
500
|
+
* @raise {SecurityError} when writing unsafe string to memory
|
501
|
+
* @raise {IndexError} if +offset+ is too great
|
502
|
+
* @raise {NullPointerError} if memory not initialized
|
503
|
+
* Put a string in memory.
|
504
|
+
*/
|
505
|
+
static VALUE
|
506
|
+
memory_put_string(VALUE self, VALUE offset, VALUE str)
|
507
|
+
{
|
508
|
+
AbstractMemory* ptr = MEMORY(self);
|
509
|
+
long off, len;
|
510
|
+
|
511
|
+
Check_Type(str, T_STRING);
|
512
|
+
off = NUM2LONG(offset);
|
513
|
+
len = RSTRING_LEN(str);
|
514
|
+
|
515
|
+
checkWrite(ptr);
|
516
|
+
checkBounds(ptr, off, len + 1);
|
517
|
+
|
518
|
+
memcpy(ptr->address + off, RSTRING_PTR(str), len);
|
519
|
+
*((char *) ptr->address + off + len) = '\0';
|
520
|
+
|
521
|
+
return self;
|
522
|
+
}
|
523
|
+
|
524
|
+
/*
|
525
|
+
* call-seq: memory.get_bytes(offset, length)
|
526
|
+
* Return string contained in memory.
|
527
|
+
* @param [Numeric] offset point in buffer to start from
|
528
|
+
* @param [Numeric] length string's length in bytes.
|
529
|
+
* @return [String]
|
530
|
+
* @raise {IndexError} if +length+ is too great
|
531
|
+
* @raise {NullPointerError} if memory not initialized
|
532
|
+
*/
|
533
|
+
static VALUE
|
534
|
+
memory_get_bytes(VALUE self, VALUE offset, VALUE length)
|
535
|
+
{
|
536
|
+
AbstractMemory* ptr = MEMORY(self);
|
537
|
+
long off, len;
|
538
|
+
|
539
|
+
off = NUM2LONG(offset);
|
540
|
+
len = NUM2LONG(length);
|
541
|
+
|
542
|
+
checkRead(ptr);
|
543
|
+
checkBounds(ptr, off, len);
|
544
|
+
|
545
|
+
return rb_str_new((char *) ptr->address + off, len);
|
546
|
+
}
|
547
|
+
|
548
|
+
/*
|
549
|
+
* call-seq: memory.put_bytes(offset, str, index=0, length=nil)
|
550
|
+
* Put a string in memory.
|
551
|
+
* @param [Numeric] offset point in buffer to start from
|
552
|
+
* @param [String] str string to put to memory
|
553
|
+
* @param [Numeric] index
|
554
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
555
|
+
* @return [self]
|
556
|
+
* @raise {IndexError} if +length+ is too great
|
557
|
+
* @raise {NullPointerError} if memory not initialized
|
558
|
+
* @raise {RangeError} if +index+ is negative, or if index+length is greater than size of string
|
559
|
+
* @raise {SecurityError} when writing unsafe string to memory
|
560
|
+
*/
|
561
|
+
static VALUE
|
562
|
+
memory_put_bytes(int argc, VALUE* argv, VALUE self)
|
563
|
+
{
|
564
|
+
AbstractMemory* ptr = MEMORY(self);
|
565
|
+
VALUE offset = Qnil, str = Qnil, rbIndex = Qnil, rbLength = Qnil;
|
566
|
+
long off, len, idx;
|
567
|
+
int nargs = rb_scan_args(argc, argv, "22", &offset, &str, &rbIndex, &rbLength);
|
568
|
+
|
569
|
+
Check_Type(str, T_STRING);
|
570
|
+
|
571
|
+
off = NUM2LONG(offset);
|
572
|
+
idx = nargs > 2 ? NUM2LONG(rbIndex) : 0;
|
573
|
+
if (idx < 0) {
|
574
|
+
rb_raise(rb_eRangeError, "index cannot be less than zero");
|
575
|
+
return Qnil;
|
576
|
+
}
|
577
|
+
len = nargs > 3 ? NUM2LONG(rbLength) : (RSTRING_LEN(str) - idx);
|
578
|
+
if ((idx + len) > RSTRING_LEN(str)) {
|
579
|
+
rb_raise(rb_eRangeError, "index+length is greater than size of string");
|
580
|
+
return Qnil;
|
581
|
+
}
|
582
|
+
|
583
|
+
checkWrite(ptr);
|
584
|
+
checkBounds(ptr, off, len);
|
585
|
+
|
586
|
+
memcpy(ptr->address + off, RSTRING_PTR(str) + idx, len);
|
587
|
+
|
588
|
+
return self;
|
589
|
+
}
|
590
|
+
|
591
|
+
/*
|
592
|
+
* call-seq: memory.read_bytes(length)
|
593
|
+
* @param [Numeric] length of string to return
|
594
|
+
* @return [String]
|
595
|
+
* equivalent to :
|
596
|
+
* memory.get_bytes(0, length)
|
597
|
+
*/
|
598
|
+
static VALUE
|
599
|
+
memory_read_bytes(VALUE self, VALUE length)
|
600
|
+
{
|
601
|
+
return memory_get_bytes(self, INT2FIX(0), length);
|
602
|
+
}
|
603
|
+
|
604
|
+
/*
|
605
|
+
* call-seq: memory.write_bytes(str, index=0, length=nil)
|
606
|
+
* @param [String] str string to put to memory
|
607
|
+
* @param [Numeric] index
|
608
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
609
|
+
* @return [self]
|
610
|
+
* equivalent to :
|
611
|
+
* memory.put_bytes(0, str, index, length)
|
612
|
+
*/
|
613
|
+
static VALUE
|
614
|
+
memory_write_bytes(int argc, VALUE* argv, VALUE self)
|
615
|
+
{
|
616
|
+
VALUE* wargv = ALLOCA_N(VALUE, argc + 1);
|
617
|
+
int i;
|
618
|
+
|
619
|
+
wargv[0] = INT2FIX(0);
|
620
|
+
for (i = 0; i < argc; i++) {
|
621
|
+
wargv[i + 1] = argv[i];
|
622
|
+
}
|
623
|
+
|
624
|
+
return memory_put_bytes(argc + 1, wargv, self);
|
625
|
+
}
|
626
|
+
|
627
|
+
/*
|
628
|
+
* call-seq: memory.type_size
|
629
|
+
* @return [Numeric] type size in bytes
|
630
|
+
* Get the memory's type size.
|
631
|
+
*/
|
632
|
+
static VALUE
|
633
|
+
memory_type_size(VALUE self)
|
634
|
+
{
|
635
|
+
AbstractMemory* ptr;
|
636
|
+
|
637
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
638
|
+
|
639
|
+
return INT2NUM(ptr->typeSize);
|
640
|
+
}
|
641
|
+
|
642
|
+
/*
|
643
|
+
* Document-method: []
|
644
|
+
* call-seq: memory[idx]
|
645
|
+
* @param [Numeric] idx index to access in memory
|
646
|
+
* @return
|
647
|
+
* Memory read accessor.
|
648
|
+
*/
|
649
|
+
static VALUE
|
650
|
+
memory_aref(VALUE self, VALUE idx)
|
651
|
+
{
|
652
|
+
AbstractMemory* ptr;
|
653
|
+
VALUE rbOffset = Qnil;
|
654
|
+
|
655
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
656
|
+
|
657
|
+
rbOffset = ULONG2NUM(NUM2ULONG(idx) * ptr->typeSize);
|
658
|
+
|
659
|
+
return rb_funcall2(self, id_plus, 1, &rbOffset);
|
660
|
+
}
|
661
|
+
|
662
|
+
static inline char*
|
663
|
+
memory_address(VALUE obj)
|
664
|
+
{
|
665
|
+
return ((AbstractMemory *) DATA_PTR(obj))->address;
|
666
|
+
}
|
667
|
+
|
668
|
+
static VALUE
|
669
|
+
memory_copy_from(VALUE self, VALUE rbsrc, VALUE rblen)
|
670
|
+
{
|
671
|
+
AbstractMemory* dst;
|
672
|
+
|
673
|
+
Data_Get_Struct(self, AbstractMemory, dst);
|
674
|
+
|
675
|
+
memcpy(dst->address, rbffi_AbstractMemory_Cast(rbsrc, rbffi_AbstractMemoryClass)->address, NUM2INT(rblen));
|
676
|
+
|
677
|
+
return self;
|
678
|
+
}
|
679
|
+
|
680
|
+
AbstractMemory*
|
681
|
+
rbffi_AbstractMemory_Cast(VALUE obj, VALUE klass)
|
682
|
+
{
|
683
|
+
if (rb_obj_is_kind_of(obj, klass)) {
|
684
|
+
AbstractMemory* memory;
|
685
|
+
Data_Get_Struct(obj, AbstractMemory, memory);
|
686
|
+
return memory;
|
687
|
+
}
|
688
|
+
|
689
|
+
rb_raise(rb_eArgError, "Invalid Memory object");
|
690
|
+
return NULL;
|
691
|
+
}
|
692
|
+
|
693
|
+
void
|
694
|
+
rbffi_AbstractMemory_Error(AbstractMemory *mem, int op)
|
695
|
+
{
|
696
|
+
VALUE rbErrorClass = mem->address == NULL ? NullPointerErrorClass : rb_eRuntimeError;
|
697
|
+
if (op == MEM_RD) {
|
698
|
+
rb_raise(rbErrorClass, "invalid memory read at address=%p", mem->address);
|
699
|
+
} else if (op == MEM_WR) {
|
700
|
+
rb_raise(rbErrorClass, "invalid memory write at address=%p", mem->address);
|
701
|
+
} else {
|
702
|
+
rb_raise(rbErrorClass, "invalid memory access at address=%p", mem->address);
|
703
|
+
}
|
704
|
+
}
|
705
|
+
|
706
|
+
static VALUE
|
707
|
+
memory_op_get_strptr(AbstractMemory* ptr, long offset)
|
708
|
+
{
|
709
|
+
void* tmp = NULL;
|
710
|
+
|
711
|
+
if (ptr != NULL && ptr->address != NULL) {
|
712
|
+
checkRead(ptr);
|
713
|
+
checkBounds(ptr, offset, sizeof(tmp));
|
714
|
+
memcpy(&tmp, ptr->address + offset, sizeof(tmp));
|
715
|
+
}
|
716
|
+
|
717
|
+
return tmp != NULL ? rb_str_new2(tmp) : Qnil;
|
718
|
+
}
|
719
|
+
|
720
|
+
static void
|
721
|
+
memory_op_put_strptr(AbstractMemory* ptr, long offset, VALUE value)
|
722
|
+
{
|
723
|
+
rb_raise(rb_eArgError, "Cannot set :string fields");
|
724
|
+
}
|
725
|
+
|
726
|
+
static MemoryOp memory_op_strptr = { memory_op_get_strptr, memory_op_put_strptr };
|
727
|
+
|
728
|
+
|
729
|
+
MemoryOps rbffi_AbstractMemoryOps = {
|
730
|
+
&memory_op_int8, /*.int8 */
|
731
|
+
&memory_op_uint8, /* .uint8 */
|
732
|
+
&memory_op_int16, /* .int16 */
|
733
|
+
&memory_op_uint16, /* .uint16 */
|
734
|
+
&memory_op_int32, /* .int32 */
|
735
|
+
&memory_op_uint32, /* .uint32 */
|
736
|
+
&memory_op_int64, /* .int64 */
|
737
|
+
&memory_op_uint64, /* .uint64 */
|
738
|
+
&memory_op_long, /* .slong */
|
739
|
+
&memory_op_ulong, /* .uslong */
|
740
|
+
&memory_op_float32, /* .float32 */
|
741
|
+
&memory_op_float64, /* .float64 */
|
742
|
+
&memory_op_longdouble, /* .longdouble */
|
743
|
+
&memory_op_pointer, /* .pointer */
|
744
|
+
&memory_op_strptr, /* .strptr */
|
745
|
+
&memory_op_bool /* .boolOp */
|
746
|
+
};
|
747
|
+
|
748
|
+
void
|
749
|
+
rbffi_AbstractMemory_Init(VALUE moduleFFI)
|
750
|
+
{
|
751
|
+
/*
|
752
|
+
* Document-class: FFI::AbstractMemory
|
753
|
+
*
|
754
|
+
* {AbstractMemory} is the base class for many memory management classes such as {Buffer}.
|
755
|
+
*
|
756
|
+
* This class has a lot of methods to work with integers :
|
757
|
+
* * put_int<i>size</i>(offset, value)
|
758
|
+
* * get_int<i>size</i>(offset)
|
759
|
+
* * put_uint<i>size</i>(offset, value)
|
760
|
+
* * get_uint<i>size</i>(offset)
|
761
|
+
* * writeuint<i>size</i>(value)
|
762
|
+
* * read_int<i>size</i>
|
763
|
+
* * write_uint<i>size</i>(value)
|
764
|
+
* * read_uint<i>size</i>
|
765
|
+
* * put_array_of_int<i>size</i>(offset, ary)
|
766
|
+
* * get_array_of_int<i>size</i>(offset, length)
|
767
|
+
* * put_array_of_uint<i>size</i>(offset, ary)
|
768
|
+
* * get_array_of_uint<i>size</i>(offset, length)
|
769
|
+
* * write_array_of_int<i>size</i>(ary)
|
770
|
+
* * read_array_of_int<i>size</i>(length)
|
771
|
+
* * write_array_of_uint<i>size</i>(ary)
|
772
|
+
* * read_array_of_uint<i>size</i>(length)
|
773
|
+
* where _size_ is 8, 16, 32 or 64. Same methods exist for long type.
|
774
|
+
*
|
775
|
+
* Aliases exist : _char_ for _int8_, _short_ for _int16_, _int_ for _int32_ and <i>long_long</i> for _int64_.
|
776
|
+
*
|
777
|
+
* Others methods are listed below.
|
778
|
+
*/
|
779
|
+
VALUE classMemory = rb_define_class_under(moduleFFI, "AbstractMemory", rb_cObject);
|
780
|
+
rbffi_AbstractMemoryClass = classMemory;
|
781
|
+
/*
|
782
|
+
* Document-variable: FFI::AbstractMemory
|
783
|
+
*/
|
784
|
+
rb_global_variable(&rbffi_AbstractMemoryClass);
|
785
|
+
rb_define_alloc_func(classMemory, memory_allocate);
|
786
|
+
|
787
|
+
NullPointerErrorClass = rb_define_class_under(moduleFFI, "NullPointerError", rb_eRuntimeError);
|
788
|
+
/* Document-variable: NullPointerError */
|
789
|
+
rb_global_variable(&NullPointerErrorClass);
|
790
|
+
|
791
|
+
|
792
|
+
#undef INT
|
793
|
+
#define INT(type) \
|
794
|
+
rb_define_method(classMemory, "put_" #type, memory_put_##type, 2); \
|
795
|
+
rb_define_method(classMemory, "get_" #type, memory_get_##type, 1); \
|
796
|
+
rb_define_method(classMemory, "put_u" #type, memory_put_u##type, 2); \
|
797
|
+
rb_define_method(classMemory, "get_u" #type, memory_get_u##type, 1); \
|
798
|
+
rb_define_method(classMemory, "write_" #type, memory_write_##type, 1); \
|
799
|
+
rb_define_method(classMemory, "read_" #type, memory_read_##type, 0); \
|
800
|
+
rb_define_method(classMemory, "write_u" #type, memory_write_u##type, 1); \
|
801
|
+
rb_define_method(classMemory, "read_u" #type, memory_read_u##type, 0); \
|
802
|
+
rb_define_method(classMemory, "put_array_of_" #type, memory_put_array_of_##type, 2); \
|
803
|
+
rb_define_method(classMemory, "get_array_of_" #type, memory_get_array_of_##type, 2); \
|
804
|
+
rb_define_method(classMemory, "put_array_of_u" #type, memory_put_array_of_u##type, 2); \
|
805
|
+
rb_define_method(classMemory, "get_array_of_u" #type, memory_get_array_of_u##type, 2); \
|
806
|
+
rb_define_method(classMemory, "write_array_of_" #type, memory_write_array_of_##type, 1); \
|
807
|
+
rb_define_method(classMemory, "read_array_of_" #type, memory_read_array_of_##type, 1); \
|
808
|
+
rb_define_method(classMemory, "write_array_of_u" #type, memory_write_array_of_u##type, 1); \
|
809
|
+
rb_define_method(classMemory, "read_array_of_u" #type, memory_read_array_of_u##type, 1);
|
810
|
+
|
811
|
+
INT(int8);
|
812
|
+
INT(int16);
|
813
|
+
INT(int32);
|
814
|
+
INT(int64);
|
815
|
+
INT(long);
|
816
|
+
|
817
|
+
#define ALIAS(name, old) \
|
818
|
+
rb_define_alias(classMemory, "put_" #name, "put_" #old); \
|
819
|
+
rb_define_alias(classMemory, "get_" #name, "get_" #old); \
|
820
|
+
rb_define_alias(classMemory, "put_u" #name, "put_u" #old); \
|
821
|
+
rb_define_alias(classMemory, "get_u" #name, "get_u" #old); \
|
822
|
+
rb_define_alias(classMemory, "write_" #name, "write_" #old); \
|
823
|
+
rb_define_alias(classMemory, "read_" #name, "read_" #old); \
|
824
|
+
rb_define_alias(classMemory, "write_u" #name, "write_u" #old); \
|
825
|
+
rb_define_alias(classMemory, "read_u" #name, "read_u" #old); \
|
826
|
+
rb_define_alias(classMemory, "put_array_of_" #name, "put_array_of_" #old); \
|
827
|
+
rb_define_alias(classMemory, "get_array_of_" #name, "get_array_of_" #old); \
|
828
|
+
rb_define_alias(classMemory, "put_array_of_u" #name, "put_array_of_u" #old); \
|
829
|
+
rb_define_alias(classMemory, "get_array_of_u" #name, "get_array_of_u" #old); \
|
830
|
+
rb_define_alias(classMemory, "write_array_of_" #name, "write_array_of_" #old); \
|
831
|
+
rb_define_alias(classMemory, "read_array_of_" #name, "read_array_of_" #old); \
|
832
|
+
rb_define_alias(classMemory, "write_array_of_u" #name, "write_array_of_u" #old); \
|
833
|
+
rb_define_alias(classMemory, "read_array_of_u" #name, "read_array_of_u" #old);
|
834
|
+
|
835
|
+
ALIAS(char, int8);
|
836
|
+
ALIAS(short, int16);
|
837
|
+
ALIAS(int, int32);
|
838
|
+
ALIAS(long_long, int64);
|
839
|
+
|
840
|
+
/*
|
841
|
+
* Document-method: put_float32
|
842
|
+
* call-seq: memory.put_float32offset, value)
|
843
|
+
* @param [Numeric] offset
|
844
|
+
* @param [Numeric] value
|
845
|
+
* @return [self]
|
846
|
+
* Put +value+ as a 32-bit float in memory at offset +offset+ (alias: #put_float).
|
847
|
+
*/
|
848
|
+
rb_define_method(classMemory, "put_float32", memory_put_float32, 2);
|
849
|
+
/*
|
850
|
+
* Document-method: get_float32
|
851
|
+
* call-seq: memory.get_float32(offset)
|
852
|
+
* @param [Numeric] offset
|
853
|
+
* @return [Float]
|
854
|
+
* Get a 32-bit float from memory at offset +offset+ (alias: #get_float).
|
855
|
+
*/
|
856
|
+
rb_define_method(classMemory, "get_float32", memory_get_float32, 1);
|
857
|
+
rb_define_alias(classMemory, "put_float", "put_float32");
|
858
|
+
rb_define_alias(classMemory, "get_float", "get_float32");
|
859
|
+
/*
|
860
|
+
* Document-method: write_float
|
861
|
+
* call-seq: memory.write_float(value)
|
862
|
+
* @param [Numeric] value
|
863
|
+
* @return [self]
|
864
|
+
* Write +value+ as a 32-bit float in memory.
|
865
|
+
*
|
866
|
+
* Same as:
|
867
|
+
* memory.put_float(0, value)
|
868
|
+
*/
|
869
|
+
rb_define_method(classMemory, "write_float", memory_write_float32, 1);
|
870
|
+
/*
|
871
|
+
* Document-method: read_float
|
872
|
+
* call-seq: memory.read_float
|
873
|
+
* @return [Float]
|
874
|
+
* Read a 32-bit float from memory.
|
875
|
+
*
|
876
|
+
* Same as:
|
877
|
+
* memory.get_float(0)
|
878
|
+
*/
|
879
|
+
rb_define_method(classMemory, "read_float", memory_read_float32, 0);
|
880
|
+
/*
|
881
|
+
* Document-method: put_array_of_float32
|
882
|
+
* call-seq: memory.put_array_of_float32(offset, ary)
|
883
|
+
* @param [Numeric] offset
|
884
|
+
* @param [Array<Numeric>] ary
|
885
|
+
* @return [self]
|
886
|
+
* Put values from +ary+ as 32-bit floats in memory from offset +offset+ (alias: #put_array_of_float).
|
887
|
+
*/
|
888
|
+
rb_define_method(classMemory, "put_array_of_float32", memory_put_array_of_float32, 2);
|
889
|
+
/*
|
890
|
+
* Document-method: get_array_of_float32
|
891
|
+
* call-seq: memory.get_array_of_float32(offset, length)
|
892
|
+
* @param [Numeric] offset
|
893
|
+
* @param [Numeric] length number of Float to get
|
894
|
+
* @return [Array<Float>]
|
895
|
+
* Get 32-bit floats in memory from offset +offset+ (alias: #get_array_of_float).
|
896
|
+
*/
|
897
|
+
rb_define_method(classMemory, "get_array_of_float32", memory_get_array_of_float32, 2);
|
898
|
+
/*
|
899
|
+
* Document-method: write_array_of_float
|
900
|
+
* call-seq: memory.write_array_of_float(ary)
|
901
|
+
* @param [Array<Numeric>] ary
|
902
|
+
* @return [self]
|
903
|
+
* Write values from +ary+ as 32-bit floats in memory.
|
904
|
+
*
|
905
|
+
* Same as:
|
906
|
+
* memory.put_array_of_float(0, ary)
|
907
|
+
*/
|
908
|
+
rb_define_method(classMemory, "write_array_of_float", memory_write_array_of_float32, 1);
|
909
|
+
/*
|
910
|
+
* Document-method: read_array_of_float
|
911
|
+
* call-seq: memory.read_array_of_float(length)
|
912
|
+
* @param [Numeric] length number of Float to read
|
913
|
+
* @return [Array<Float>]
|
914
|
+
* Read 32-bit floats from memory.
|
915
|
+
*
|
916
|
+
* Same as:
|
917
|
+
* memory.get_array_of_float(0, ary)
|
918
|
+
*/
|
919
|
+
rb_define_method(classMemory, "read_array_of_float", memory_read_array_of_float32, 1);
|
920
|
+
rb_define_alias(classMemory, "put_array_of_float", "put_array_of_float32");
|
921
|
+
rb_define_alias(classMemory, "get_array_of_float", "get_array_of_float32");
|
922
|
+
/*
|
923
|
+
* Document-method: put_float64
|
924
|
+
* call-seq: memory.put_float64(offset, value)
|
925
|
+
* @param [Numeric] offset
|
926
|
+
* @param [Numeric] value
|
927
|
+
* @return [self]
|
928
|
+
* Put +value+ as a 64-bit float (double) in memory at offset +offset+ (alias: #put_double).
|
929
|
+
*/
|
930
|
+
rb_define_method(classMemory, "put_float64", memory_put_float64, 2);
|
931
|
+
/*
|
932
|
+
* Document-method: get_float64
|
933
|
+
* call-seq: memory.get_float64(offset)
|
934
|
+
* @param [Numeric] offset
|
935
|
+
* @return [Float]
|
936
|
+
* Get a 64-bit float (double) from memory at offset +offset+ (alias: #get_double).
|
937
|
+
*/
|
938
|
+
rb_define_method(classMemory, "get_float64", memory_get_float64, 1);
|
939
|
+
rb_define_alias(classMemory, "put_double", "put_float64");
|
940
|
+
rb_define_alias(classMemory, "get_double", "get_float64");
|
941
|
+
/*
|
942
|
+
* Document-method: write_double
|
943
|
+
* call-seq: memory.write_double(value)
|
944
|
+
* @param [Numeric] value
|
945
|
+
* @return [self]
|
946
|
+
* Write +value+ as a 64-bit float (double) in memory.
|
947
|
+
*
|
948
|
+
* Same as:
|
949
|
+
* memory.put_double(0, value)
|
950
|
+
*/
|
951
|
+
rb_define_method(classMemory, "write_double", memory_write_float64, 1);
|
952
|
+
/*
|
953
|
+
* Document-method: read_double
|
954
|
+
* call-seq: memory.read_double
|
955
|
+
* @return [Float]
|
956
|
+
* Read a 64-bit float (double) from memory.
|
957
|
+
*
|
958
|
+
* Same as:
|
959
|
+
* memory.get_double(0)
|
960
|
+
*/
|
961
|
+
rb_define_method(classMemory, "read_double", memory_read_float64, 0);
|
962
|
+
/*
|
963
|
+
* Document-method: put_array_of_float64
|
964
|
+
* call-seq: memory.put_array_of_float64(offset, ary)
|
965
|
+
* @param [Numeric] offset
|
966
|
+
* @param [Array<Numeric>] ary
|
967
|
+
* @return [self]
|
968
|
+
* Put values from +ary+ as 64-bit floats (doubles) in memory from offset +offset+ (alias: #put_array_of_double).
|
969
|
+
*/
|
970
|
+
rb_define_method(classMemory, "put_array_of_float64", memory_put_array_of_float64, 2);
|
971
|
+
/*
|
972
|
+
* Document-method: get_array_of_float64
|
973
|
+
* call-seq: memory.get_array_of_float64(offset, length)
|
974
|
+
* @param [Numeric] offset
|
975
|
+
* @param [Numeric] length number of Float to get
|
976
|
+
* @return [Array<Float>]
|
977
|
+
* Get 64-bit floats (doubles) in memory from offset +offset+ (alias: #get_array_of_double).
|
978
|
+
*/
|
979
|
+
rb_define_method(classMemory, "get_array_of_float64", memory_get_array_of_float64, 2);
|
980
|
+
/*
|
981
|
+
* Document-method: write_array_of_double
|
982
|
+
* call-seq: memory.write_array_of_double(ary)
|
983
|
+
* @param [Array<Numeric>] ary
|
984
|
+
* @return [self]
|
985
|
+
* Write values from +ary+ as 64-bit floats (doubles) in memory.
|
986
|
+
*
|
987
|
+
* Same as:
|
988
|
+
* memory.put_array_of_double(0, ary)
|
989
|
+
*/
|
990
|
+
rb_define_method(classMemory, "write_array_of_double", memory_write_array_of_float64, 1);
|
991
|
+
/*
|
992
|
+
* Document-method: read_array_of_double
|
993
|
+
* call-seq: memory.read_array_of_double(length)
|
994
|
+
* @param [Numeric] length number of Float to read
|
995
|
+
* @return [Array<Float>]
|
996
|
+
* Read 64-bit floats (doubles) from memory.
|
997
|
+
*
|
998
|
+
* Same as:
|
999
|
+
* memory.get_array_of_double(0, ary)
|
1000
|
+
*/
|
1001
|
+
rb_define_method(classMemory, "read_array_of_double", memory_read_array_of_float64, 1);
|
1002
|
+
rb_define_alias(classMemory, "put_array_of_double", "put_array_of_float64");
|
1003
|
+
rb_define_alias(classMemory, "get_array_of_double", "get_array_of_float64");
|
1004
|
+
/*
|
1005
|
+
* Document-method: put_pointer
|
1006
|
+
* call-seq: memory.put_pointer(offset, value)
|
1007
|
+
* @param [Numeric] offset
|
1008
|
+
* @param [nil,Pointer, Integer, #to_ptr] value
|
1009
|
+
* @return [self]
|
1010
|
+
* Put +value+ in memory from +offset+..
|
1011
|
+
*/
|
1012
|
+
rb_define_method(classMemory, "put_pointer", memory_put_pointer, 2);
|
1013
|
+
/*
|
1014
|
+
* Document-method: get_pointer
|
1015
|
+
* call-seq: memory.get_pointer(offset)
|
1016
|
+
* @param [Numeric] offset
|
1017
|
+
* @return [Pointer]
|
1018
|
+
* Get a {Pointer} to the memory from +offset+.
|
1019
|
+
*/
|
1020
|
+
rb_define_method(classMemory, "get_pointer", memory_get_pointer, 1);
|
1021
|
+
/*
|
1022
|
+
* Document-method: write_pointer
|
1023
|
+
* call-seq: memory.write_pointer(value)
|
1024
|
+
* @param [nil,Pointer, Integer, #to_ptr] value
|
1025
|
+
* @return [self]
|
1026
|
+
* Write +value+ in memory.
|
1027
|
+
*
|
1028
|
+
* Equivalent to:
|
1029
|
+
* memory.put_pointer(0, value)
|
1030
|
+
*/
|
1031
|
+
rb_define_method(classMemory, "write_pointer", memory_write_pointer, 1);
|
1032
|
+
/*
|
1033
|
+
* Document-method: read_pointer
|
1034
|
+
* call-seq: memory.read_pointer
|
1035
|
+
* @return [Pointer]
|
1036
|
+
* Get a {Pointer} to the memory from base address.
|
1037
|
+
*
|
1038
|
+
* Equivalent to:
|
1039
|
+
* memory.get_pointer(0)
|
1040
|
+
*/
|
1041
|
+
rb_define_method(classMemory, "read_pointer", memory_read_pointer, 0);
|
1042
|
+
/*
|
1043
|
+
* Document-method: put_array_of_pointer
|
1044
|
+
* call-seq: memory.put_array_of_pointer(offset, ary)
|
1045
|
+
* @param [Numeric] offset
|
1046
|
+
* @param [Array<#to_ptr>] ary
|
1047
|
+
* @return [self]
|
1048
|
+
* Put an array of {Pointer} into memory from +offset+.
|
1049
|
+
*/
|
1050
|
+
rb_define_method(classMemory, "put_array_of_pointer", memory_put_array_of_pointer, 2);
|
1051
|
+
/*
|
1052
|
+
* Document-method: get_array_of_pointer
|
1053
|
+
* call-seq: memory.get_array_of_pointer(offset, length)
|
1054
|
+
* @param [Numeric] offset
|
1055
|
+
* @param [Numeric] length
|
1056
|
+
* @return [Array<Pointer>]
|
1057
|
+
* Get an array of {Pointer} of length +length+ from +offset+.
|
1058
|
+
*/
|
1059
|
+
rb_define_method(classMemory, "get_array_of_pointer", memory_get_array_of_pointer, 2);
|
1060
|
+
/*
|
1061
|
+
* Document-method: write_array_of_pointer
|
1062
|
+
* call-seq: memory.write_array_of_pointer(ary)
|
1063
|
+
* @param [Array<#to_ptr>] ary
|
1064
|
+
* @return [self]
|
1065
|
+
* Write an array of {Pointer} into memory from +offset+.
|
1066
|
+
*
|
1067
|
+
* Same as :
|
1068
|
+
* memory.put_array_of_pointer(0, ary)
|
1069
|
+
*/
|
1070
|
+
rb_define_method(classMemory, "write_array_of_pointer", memory_write_array_of_pointer, 1);
|
1071
|
+
/*
|
1072
|
+
* Document-method: read_array_of_pointer
|
1073
|
+
* call-seq: memory.read_array_of_pointer(length)
|
1074
|
+
* @param [Numeric] length
|
1075
|
+
* @return [Array<Pointer>]
|
1076
|
+
* Read an array of {Pointer} of length +length+.
|
1077
|
+
*
|
1078
|
+
* Same as:
|
1079
|
+
* memory.get_array_of_pointer(0, length)
|
1080
|
+
*/
|
1081
|
+
rb_define_method(classMemory, "read_array_of_pointer", memory_read_array_of_pointer, 1);
|
1082
|
+
|
1083
|
+
rb_define_method(classMemory, "get_string", memory_get_string, -1);
|
1084
|
+
rb_define_method(classMemory, "put_string", memory_put_string, 2);
|
1085
|
+
rb_define_method(classMemory, "get_bytes", memory_get_bytes, 2);
|
1086
|
+
rb_define_method(classMemory, "put_bytes", memory_put_bytes, -1);
|
1087
|
+
rb_define_method(classMemory, "read_bytes", memory_read_bytes, 1);
|
1088
|
+
rb_define_method(classMemory, "write_bytes", memory_write_bytes, -1);
|
1089
|
+
rb_define_method(classMemory, "get_array_of_string", memory_get_array_of_string, -1);
|
1090
|
+
|
1091
|
+
rb_define_method(classMemory, "get", memory_get, 2);
|
1092
|
+
rb_define_method(classMemory, "put", memory_put, 3);
|
1093
|
+
|
1094
|
+
rb_define_method(classMemory, "clear", memory_clear, 0);
|
1095
|
+
rb_define_method(classMemory, "total", memory_size, 0);
|
1096
|
+
rb_define_alias(classMemory, "size", "total");
|
1097
|
+
rb_define_method(classMemory, "type_size", memory_type_size, 0);
|
1098
|
+
rb_define_method(classMemory, "[]", memory_aref, 1);
|
1099
|
+
rb_define_method(classMemory, "__copy_from__", memory_copy_from, 2);
|
1100
|
+
|
1101
|
+
id_to_ptr = rb_intern("to_ptr");
|
1102
|
+
id_call = rb_intern("call");
|
1103
|
+
id_plus = rb_intern("+");
|
1104
|
+
}
|
1105
|
+
|