geminfo 0.1.0

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