windows-pr 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (629) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +453 -449
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +26 -0
  5. data/MANIFEST +68 -68
  6. data/README +156 -154
  7. data/Rakefile +42 -42
  8. data/appveyor.yml +21 -0
  9. data/doc/conversion_guide.txt +37 -37
  10. data/lib/windows/clipboard.rb +61 -61
  11. data/lib/windows/com.rb +192 -192
  12. data/lib/windows/com/accessibility.rb +16 -16
  13. data/lib/windows/com/automation.rb +149 -149
  14. data/lib/windows/com/variant.rb +24 -24
  15. data/lib/windows/console.rb +114 -114
  16. data/lib/windows/debug.rb +35 -35
  17. data/lib/windows/device_io.rb +248 -248
  18. data/lib/windows/directory.rb +27 -27
  19. data/lib/windows/error.rb +504 -504
  20. data/lib/windows/eventlog.rb +80 -80
  21. data/lib/windows/file.rb +264 -264
  22. data/lib/windows/file_mapping.rb +25 -25
  23. data/lib/windows/filesystem.rb +15 -15
  24. data/lib/windows/gdi/bitmap.rb +65 -65
  25. data/lib/windows/gdi/device_context.rb +46 -46
  26. data/lib/windows/gdi/metafile.rb +40 -40
  27. data/lib/windows/gdi/painting_drawing.rb +115 -115
  28. data/lib/windows/handle.rb +23 -23
  29. data/lib/windows/library.rb +44 -44
  30. data/lib/windows/limits.rb +34 -34
  31. data/lib/windows/mailslot.rb +24 -24
  32. data/lib/windows/memory.rb +128 -128
  33. data/lib/windows/msvcrt/buffer.rb +75 -75
  34. data/lib/windows/msvcrt/directory.rb +31 -31
  35. data/lib/windows/msvcrt/file.rb +47 -47
  36. data/lib/windows/msvcrt/io.rb +73 -73
  37. data/lib/windows/msvcrt/string.rb +182 -182
  38. data/lib/windows/msvcrt/time.rb +169 -169
  39. data/lib/windows/national.rb +580 -580
  40. data/lib/windows/network/management.rb +525 -525
  41. data/lib/windows/network/snmp.rb +92 -92
  42. data/lib/windows/network/winsock.rb +128 -128
  43. data/lib/windows/nio.rb +50 -50
  44. data/lib/windows/ntfs/winternl.rb +117 -117
  45. data/lib/windows/path.rb +143 -143
  46. data/lib/windows/pipe.rb +42 -42
  47. data/lib/windows/process.rb +176 -176
  48. data/lib/windows/registry.rb +171 -171
  49. data/lib/windows/security.rb +479 -479
  50. data/lib/windows/security/authentication.rb +32 -32
  51. data/lib/windows/security/sspi.rb +153 -153
  52. data/lib/windows/service.rb +142 -142
  53. data/lib/windows/shell.rb +171 -171
  54. data/lib/windows/socket.rb +86 -86
  55. data/lib/windows/sound.rb +39 -39
  56. data/lib/windows/synchronize.rb +133 -133
  57. data/lib/windows/system_info.rb +229 -229
  58. data/lib/windows/thread.rb +64 -64
  59. data/lib/windows/time.rb +48 -48
  60. data/lib/windows/tool_helper.rb +36 -36
  61. data/lib/windows/unicode.rb +155 -155
  62. data/lib/windows/volume.rb +61 -61
  63. data/lib/windows/window.rb +81 -81
  64. data/lib/windows/window/classes.rb +59 -59
  65. data/lib/windows/window/dialog.rb +91 -91
  66. data/lib/windows/window/menu.rb +102 -102
  67. data/lib/windows/window/message.rb +297 -297
  68. data/lib/windows/window/properties.rb +20 -20
  69. data/lib/windows/window/timer.rb +19 -19
  70. data/lib/windows/wsa.rb +102 -102
  71. data/test/helper.rb +1 -0
  72. data/test/tc_clipboard.rb +41 -41
  73. data/test/tc_com.rb +32 -32
  74. data/test/tc_com_automation.rb +15 -15
  75. data/test/tc_console.rb +108 -108
  76. data/test/tc_debug.rb +48 -48
  77. data/test/tc_device_io.rb +29 -29
  78. data/test/tc_directory.rb +25 -25
  79. data/test/tc_error.rb +38 -38
  80. data/test/tc_eventlog.rb +58 -58
  81. data/test/tc_file.rb +68 -68
  82. data/test/tc_file_mapping.rb +38 -38
  83. data/test/tc_filesystem.rb +27 -27
  84. data/test/tc_gdi_bitmap.rb +25 -25
  85. data/test/tc_gdi_metafile.rb +23 -23
  86. data/test/tc_handle.rb +43 -35
  87. data/test/tc_library.rb +37 -37
  88. data/test/tc_limits.rb +33 -33
  89. data/test/tc_mailslot.rb +22 -22
  90. data/test/tc_memory.rb +44 -44
  91. data/test/tc_msvcrt_buffer.rb +63 -63
  92. data/test/tc_msvcrt_directory.rb +96 -96
  93. data/test/tc_msvcrt_file.rb +80 -80
  94. data/test/tc_msvcrt_io.rb +48 -48
  95. data/test/tc_msvcrt_string.rb +94 -94
  96. data/test/tc_msvcrt_time.rb +19 -19
  97. data/test/tc_national.rb +38 -38
  98. data/test/tc_network_management.rb +32 -32
  99. data/test/tc_network_snmp.rb +31 -31
  100. data/test/tc_network_winsock.rb +34 -34
  101. data/test/tc_nio.rb +32 -32
  102. data/test/tc_ntfs_winternl.rb +48 -48
  103. data/test/tc_path.rb +90 -90
  104. data/test/tc_pipe.rb +52 -52
  105. data/test/tc_process.rb +24 -24
  106. data/test/tc_registry.rb +29 -29
  107. data/test/tc_security.rb +104 -104
  108. data/test/tc_security_authentication.rb +34 -34
  109. data/test/tc_security_sspi.rb +23 -23
  110. data/test/tc_service.rb +57 -57
  111. data/test/tc_shell.rb +34 -34
  112. data/test/tc_socket.rb +30 -30
  113. data/test/tc_sound.rb +37 -37
  114. data/test/tc_synchronize.rb +75 -75
  115. data/test/tc_system_info.rb +33 -33
  116. data/test/tc_thread.rb +29 -29
  117. data/test/tc_time.rb +32 -32
  118. data/test/tc_tool_helper.rb +29 -29
  119. data/test/tc_unicode.rb +83 -83
  120. data/test/tc_volume.rb +47 -47
  121. data/test/tc_window.rb +45 -45
  122. data/test/tc_window_classes.rb +33 -33
  123. data/test/tc_window_dialog.rb +33 -33
  124. data/test/tc_window_menu.rb +29 -29
  125. data/test/tc_window_message.rb +33 -33
  126. data/test/tc_window_properties.rb +29 -29
  127. data/test/tc_window_timer.rb +29 -29
  128. data/test/tc_wsa.rb +19 -19
  129. data/vendor/bundle/ruby/2.2.0/bin/rake +23 -0
  130. data/vendor/bundle/ruby/2.2.0/bin/rake.bat +6 -0
  131. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/History.rdoc +1176 -0
  132. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/Manifest.txt +26 -0
  133. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/README.rdoc +656 -0
  134. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/Rakefile +72 -0
  135. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/design_rationale.rb +52 -0
  136. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/hoe/minitest.rb +26 -0
  137. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest.rb +815 -0
  138. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/assertions.rb +674 -0
  139. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/autorun.rb +13 -0
  140. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/benchmark.rb +424 -0
  141. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/expectations.rb +284 -0
  142. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/hell.rb +17 -0
  143. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/mock.rb +232 -0
  144. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/parallel.rb +69 -0
  145. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/pride.rb +4 -0
  146. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +142 -0
  147. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/spec.rb +331 -0
  148. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/test.rb +284 -0
  149. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/lib/minitest/unit.rb +45 -0
  150. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/metametameta.rb +90 -0
  151. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +137 -0
  152. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +512 -0
  153. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +281 -0
  154. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +967 -0
  155. data/vendor/bundle/ruby/2.2.0/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +1983 -0
  156. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/CONTRIBUTING.rdoc +36 -0
  157. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/Gemfile +3 -0
  158. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/History.rdoc +2228 -0
  159. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/MIT-LICENSE +21 -0
  160. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/README.rdoc +157 -0
  161. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/Rakefile +29 -0
  162. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/appveyor.yml +24 -0
  163. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/bin/console +7 -0
  164. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/bin/setup +6 -0
  165. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/command_line_usage.rdoc +158 -0
  166. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/Rakefile1 +38 -0
  167. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/Rakefile2 +35 -0
  168. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/a.c +6 -0
  169. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/b.c +6 -0
  170. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/example/main.c +11 -0
  171. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/glossary.rdoc +42 -0
  172. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/jamis.rb +591 -0
  173. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/proto_rake.rdoc +127 -0
  174. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rake.1 +141 -0
  175. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rakefile.rdoc +624 -0
  176. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/rational.rdoc +151 -0
  177. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/README.md +4 -0
  178. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  179. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  180. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  181. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  182. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  183. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  184. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  185. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  186. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  187. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  188. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  189. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  190. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  191. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  192. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  193. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
  194. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  195. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  196. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  197. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  198. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  199. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  200. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
  201. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
  202. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
  203. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  204. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
  205. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
  206. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
  207. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
  208. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/exe/rake +27 -0
  209. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake.rb +71 -0
  210. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/application.rb +784 -0
  211. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/backtrace.rb +23 -0
  212. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/clean.rb +76 -0
  213. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/cloneable.rb +16 -0
  214. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
  215. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/ftptools.rb +137 -0
  216. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/contrib/sshpublisher.rb +60 -0
  217. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/cpu_counter.rb +106 -0
  218. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/default_loader.rb +14 -0
  219. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/dsl_definition.rb +194 -0
  220. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/early_time.rb +21 -0
  221. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/core.rb +25 -0
  222. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/fixnum.rb +18 -0
  223. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/pathname.rb +25 -0
  224. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/ext/string.rb +175 -0
  225. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_creation_task.rb +24 -0
  226. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_list.rb +436 -0
  227. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_task.rb +46 -0
  228. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_utils.rb +139 -0
  229. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/file_utils_ext.rb +144 -0
  230. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/invocation_chain.rb +56 -0
  231. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
  232. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/late_time.rb +17 -0
  233. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/linked_list.rb +111 -0
  234. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/loaders/makefile.rb +53 -0
  235. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/multi_task.rb +13 -0
  236. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/name_space.rb +38 -0
  237. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/packagetask.rb +210 -0
  238. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/phony.rb +15 -0
  239. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/private_reader.rb +20 -0
  240. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/promise.rb +99 -0
  241. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/pseudo_status.rb +29 -0
  242. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rake_module.rb +38 -0
  243. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb +21 -0
  244. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/rule_recursion_overflow_error.rb +19 -0
  245. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/scope.rb +42 -0
  246. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task.rb +391 -0
  247. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_argument_error.rb +7 -0
  248. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_arguments.rb +103 -0
  249. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/task_manager.rb +316 -0
  250. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/tasklib.rb +11 -0
  251. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/testtask.rb +212 -0
  252. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/thread_history_display.rb +48 -0
  253. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/thread_pool.rb +162 -0
  254. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/trace_output.rb +22 -0
  255. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/version.rb +9 -0
  256. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/lib/rake/win32.rb +50 -0
  257. data/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/rake.gemspec +30 -0
  258. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/CHANGES +174 -0
  259. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Gemfile +4 -0
  260. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Gemfile.lock +24 -0
  261. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/MANIFEST +10 -0
  262. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/README +129 -0
  263. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/Rakefile +185 -0
  264. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/appveyor.yml +42 -0
  265. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/ext/win32/api.c +1092 -0
  266. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/api.rb +40 -0
  267. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby21_32/win32/api.so +0 -0
  268. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby21_64/win32/api.so +0 -0
  269. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby22_32/win32/api.so +0 -0
  270. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby22_64/win32/api.so +0 -0
  271. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby23_32/win32/api.so +0 -0
  272. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby23_64/win32/api.so +0 -0
  273. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby2_32/win32/api.so +0 -0
  274. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/lib/win32/ruby2_64/win32/api.so +0 -0
  275. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api.rb +145 -0
  276. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api_callback.rb +74 -0
  277. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/test/test_win32_api_function.rb +66 -0
  278. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/devkit +23 -0
  279. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/devkit.bat +6 -0
  280. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/rake +23 -0
  281. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/bin/rake.bat +6 -0
  282. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/CHANGELOG +55 -0
  283. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/LICENSE +339 -0
  284. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/README.md +73 -0
  285. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/Rakefile +8 -0
  286. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/colorize.gemspec +35 -0
  287. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize.rb +12 -0
  288. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/class_methods.rb +116 -0
  289. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/instance_methods.rb +135 -0
  290. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/test/test_colorize.rb +161 -0
  291. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Gemfile +4 -0
  292. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/LICENSE.txt +22 -0
  293. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/README.md +34 -0
  294. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rakefile +1 -0
  295. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rspec-example-matchers.txt +184 -0
  296. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/bin/devkit +87 -0
  297. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/devkit.gemspec +27 -0
  298. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit.rb +18 -0
  299. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/core.rb +53 -0
  300. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/identity.rb +78 -0
  301. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/ssh_identity.rb +53 -0
  302. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/version.rb +3 -0
  303. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/core_spec.rb +46 -0
  304. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/identity_spec.rb +1 -0
  305. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/ssh_identity_spec.rb +1 -0
  306. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit_spec.rb +5 -0
  307. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/spec_helper.rb +8 -0
  308. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/AUTHORS +3 -0
  309. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/COPYING +339 -0
  310. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Changelog.md +415 -0
  311. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Gemfile +9 -0
  312. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/INSTALL +59 -0
  313. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/LICENSE +7 -0
  314. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/README.rdoc +74 -0
  315. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Rakefile +30 -0
  316. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/TODO +6 -0
  317. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/ansi_colors.rb +38 -0
  318. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/asking_for_arrays.rb +18 -0
  319. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/basic_usage.rb +75 -0
  320. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/color_scheme.rb +32 -0
  321. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/get_character.rb +12 -0
  322. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/limit.rb +12 -0
  323. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/menus.rb +65 -0
  324. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/overwrite.rb +19 -0
  325. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/page_and_wrap.rb +322 -0
  326. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/password.rb +7 -0
  327. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/repeat_entry.rb +21 -0
  328. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/trapping_eof.rb +22 -0
  329. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/using_readline.rb +17 -0
  330. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/highline.gemspec +37 -0
  331. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline.rb +1048 -0
  332. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/color_scheme.rb +134 -0
  333. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/compatibility.rb +16 -0
  334. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/import.rb +41 -0
  335. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/menu.rb +381 -0
  336. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/question.rb +480 -0
  337. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/simulate.rb +48 -0
  338. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/style.rb +192 -0
  339. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/version.rb +4 -0
  340. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/setup.rb +1360 -0
  341. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/highline.css +65 -0
  342. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/images/logo.png +0 -0
  343. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/index.html +58 -0
  344. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/string_methods.rb +32 -0
  345. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_color_scheme.rb +96 -0
  346. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_highline.rb +1402 -0
  347. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_import.rb +52 -0
  348. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_menu.rb +439 -0
  349. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_simulator.rb +23 -0
  350. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_string_highline.rb +38 -0
  351. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_style.rb +578 -0
  352. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/BSDL +22 -0
  353. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/COPYING +57 -0
  354. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Gemfile +9 -0
  355. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/LEGAL +4 -0
  356. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/README.rdoc +19 -0
  357. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Rakefile +16 -0
  358. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/bm_yhpg.rb +59 -0
  359. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/helper.rb +8 -0
  360. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert.rb +338 -0
  361. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/enable_tracepoint_events.rb +82 -0
  362. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/version.rb +3 -0
  363. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/power_assert.gemspec +23 -0
  364. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/helper.rb +10 -0
  365. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/test_power_assert.rb +512 -0
  366. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/CONTRIBUTING.rdoc +38 -0
  367. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/History.rdoc +719 -0
  368. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/MIT-LICENSE +21 -0
  369. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Manifest.txt +154 -0
  370. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/README.rdoc +157 -0
  371. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Rakefile +82 -0
  372. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/bin/rake +33 -0
  373. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/command_line_usage.rdoc +158 -0
  374. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile1 +38 -0
  375. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile2 +35 -0
  376. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/a.c +6 -0
  377. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/b.c +6 -0
  378. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/main.c +11 -0
  379. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/glossary.rdoc +42 -0
  380. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/jamis.rb +591 -0
  381. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/proto_rake.rdoc +127 -0
  382. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rake.1 +141 -0
  383. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rakefile.rdoc +624 -0
  384. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rational.rdoc +151 -0
  385. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  386. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  387. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  388. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  389. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  390. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  391. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  392. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  393. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  394. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  395. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  396. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  397. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  398. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  399. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  400. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
  401. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  402. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  403. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  404. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  405. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  406. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  407. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
  408. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
  409. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
  410. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  411. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
  412. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
  413. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
  414. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
  415. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake.rb +73 -0
  416. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/application.rb +787 -0
  417. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/backtrace.rb +23 -0
  418. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/clean.rb +76 -0
  419. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cloneable.rb +16 -0
  420. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/compositepublisher.rb +21 -0
  421. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/ftptools.rb +137 -0
  422. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/sshpublisher.rb +60 -0
  423. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cpu_counter.rb +120 -0
  424. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/default_loader.rb +14 -0
  425. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/dsl_definition.rb +194 -0
  426. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/early_time.rb +21 -0
  427. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_creation_task.rb +24 -0
  428. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_list.rb +436 -0
  429. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_task.rb +46 -0
  430. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_utils.rb +123 -0
  431. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_chain.rb +56 -0
  432. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_exception_mixin.rb +16 -0
  433. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/late_time.rb +17 -0
  434. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/linked_list.rb +111 -0
  435. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/loaders/makefile.rb +53 -0
  436. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/multi_task.rb +13 -0
  437. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/name_space.rb +38 -0
  438. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/packagetask.rb +199 -0
  439. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/phony.rb +15 -0
  440. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/private_reader.rb +20 -0
  441. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/promise.rb +99 -0
  442. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/pseudo_status.rb +29 -0
  443. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_module.rb +38 -0
  444. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb +22 -0
  445. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  446. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/scope.rb +42 -0
  447. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task.rb +391 -0
  448. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_argument_error.rb +7 -0
  449. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_arguments.rb +102 -0
  450. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_manager.rb +316 -0
  451. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/tasklib.rb +11 -0
  452. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/testtask.rb +204 -0
  453. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_history_display.rb +48 -0
  454. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_pool.rb +163 -0
  455. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/trace_output.rb +22 -0
  456. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/version.rb +7 -0
  457. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/win32.rb +50 -0
  458. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/rakelib/test_times.rake +25 -0
  459. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/file_creation.rb +34 -0
  460. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/helper.rb +134 -0
  461. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/rakefile_definitions.rb +476 -0
  462. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/ruby_runner.rb +34 -0
  463. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_private_reader.rb +42 -0
  464. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake.rb +40 -0
  465. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application.rb +659 -0
  466. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application_options.rb +468 -0
  467. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_backtrace.rb +119 -0
  468. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_clean.rb +61 -0
  469. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_cpu_counter.rb +68 -0
  470. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_definitions.rb +84 -0
  471. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_directory_task.rb +76 -0
  472. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_dsl.rb +40 -0
  473. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_early_time.rb +31 -0
  474. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_creation_task.rb +56 -0
  475. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list.rb +687 -0
  476. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list_path_map.rb +15 -0
  477. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_task.rb +197 -0
  478. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_utils.rb +318 -0
  479. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_ftp_file.rb +74 -0
  480. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_functional.rb +484 -0
  481. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_invocation_chain.rb +64 -0
  482. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_late_time.rb +18 -0
  483. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_linked_list.rb +84 -0
  484. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_makefile_loader.rb +46 -0
  485. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_multi_task.rb +64 -0
  486. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_name_space.rb +57 -0
  487. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_package_task.rb +79 -0
  488. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map.rb +168 -0
  489. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_explode.rb +34 -0
  490. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_partial.rb +18 -0
  491. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_pseudo_status.rb +21 -0
  492. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rake_test_loader.rb +20 -0
  493. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_reduce_compat.rb +26 -0
  494. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_require.rb +40 -0
  495. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rules.rb +388 -0
  496. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_scope.rb +44 -0
  497. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task.rb +430 -0
  498. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_argument_parsing.rb +119 -0
  499. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_arguments.rb +134 -0
  500. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager.rb +178 -0
  501. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
  502. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_with_arguments.rb +172 -0
  503. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_test_task.rb +130 -0
  504. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_thread_pool.rb +145 -0
  505. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_top_level_functions.rb +71 -0
  506. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_win32.rb +72 -0
  507. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_thread_history_display.rb +101 -0
  508. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_trace_output.rb +52 -0
  509. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/COPYING +64 -0
  510. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/GPL +339 -0
  511. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/LGPL +502 -0
  512. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/PSFL +271 -0
  513. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/README.md +101 -0
  514. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/Rakefile +71 -0
  515. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test-unit.rb +34 -0
  516. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit.rb +505 -0
  517. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertion-failed-error.rb +25 -0
  518. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertions.rb +2218 -0
  519. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute-matcher.rb +26 -0
  520. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute.rb +158 -0
  521. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/auto-runner-loader.rb +17 -0
  522. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/autorunner.rb +536 -0
  523. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
  524. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector.rb +73 -0
  525. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/descendant.rb +19 -0
  526. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/dir.rb +108 -0
  527. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/load.rb +202 -0
  528. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/objectspace.rb +34 -0
  529. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/xml.rb +249 -0
  530. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color-scheme.rb +198 -0
  531. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color.rb +134 -0
  532. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/data.rb +262 -0
  533. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/diff.rb +746 -0
  534. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/error.rb +158 -0
  535. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/exception-handler.rb +82 -0
  536. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/failure.rb +169 -0
  537. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fault-location-detector.rb +100 -0
  538. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fixture.rb +295 -0
  539. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/notification.rb +136 -0
  540. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/omission.rb +195 -0
  541. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/pending.rb +154 -0
  542. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/priority.rb +192 -0
  543. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/console.rb +59 -0
  544. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/emacs.rb +8 -0
  545. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/xml.rb +15 -0
  546. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/test-suite-creator.rb +89 -0
  547. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testcase.rb +811 -0
  548. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testresult.rb +132 -0
  549. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testsuite.rb +175 -0
  550. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
  551. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/testrunner.rb +693 -0
  552. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  553. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunner.rb +53 -0
  554. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
  555. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  556. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
  557. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/backtracefilter.rb +59 -0
  558. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/method-owner-finder.rb +28 -0
  559. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/observable.rb +90 -0
  560. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/output.rb +31 -0
  561. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/procwrapper.rb +48 -0
  562. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/version.rb +5 -0
  563. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/adder.rb +13 -0
  564. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/subtracter.rb +12 -0
  565. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_adder.rb +20 -0
  566. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_subtracter.rb +20 -0
  567. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_user.rb +23 -0
  568. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-descendant.rb +178 -0
  569. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-load.rb +442 -0
  570. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_dir.rb +406 -0
  571. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_objectspace.rb +100 -0
  572. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.csv +3 -0
  573. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.tsv +3 -0
  574. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.csv +3 -0
  575. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.tsv +3 -0
  576. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.csv +2 -0
  577. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.tsv +2 -0
  578. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/plus.csv +3 -0
  579. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/run-test.rb +22 -0
  580. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-assertions.rb +2160 -0
  581. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute-matcher.rb +38 -0
  582. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute.rb +123 -0
  583. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-code-snippet.rb +37 -0
  584. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color-scheme.rb +82 -0
  585. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color.rb +47 -0
  586. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-data.rb +303 -0
  587. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-diff.rb +518 -0
  588. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-emacs-runner.rb +60 -0
  589. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-error.rb +26 -0
  590. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-failure.rb +33 -0
  591. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fault-location-detector.rb +163 -0
  592. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fixture.rb +713 -0
  593. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-notification.rb +33 -0
  594. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-omission.rb +81 -0
  595. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-pending.rb +70 -0
  596. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-priority.rb +173 -0
  597. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-case.rb +1171 -0
  598. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-result.rb +113 -0
  599. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite-creator.rb +97 -0
  600. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite.rb +150 -0
  601. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/testunit-test-util.rb +31 -0
  602. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/ui/test_testrunmediator.rb +20 -0
  603. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-method-owner-finder.rb +38 -0
  604. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-output.rb +11 -0
  605. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_backtracefilter.rb +52 -0
  606. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_observable.rb +102 -0
  607. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_procwrapper.rb +36 -0
  608. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/colorize-0.7.7.gemspec +38 -0
  609. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/devkit-0.1.0.gemspec +46 -0
  610. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/highline-1.7.8.gemspec +37 -0
  611. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/power_assert-0.3.0.gemspec +41 -0
  612. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/rake-11.1.2.gemspec +43 -0
  613. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/vendor/bundle/ruby/2.2.0/specifications/test-unit-3.1.9.gemspec +47 -0
  614. data/vendor/bundle/ruby/2.2.0/gems/win32-api-1.6.0-universal-mingw32/win32-api.gemspec +27 -0
  615. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/CHANGES +68 -0
  616. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/MANIFEST +9 -0
  617. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/README +96 -0
  618. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/Rakefile +47 -0
  619. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/lib/windows/api.rb +503 -0
  620. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/lib/windows/wide_string.rb +60 -0
  621. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/test/test_wide_string.rb +59 -0
  622. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/test/test_windows_api.rb +171 -0
  623. data/vendor/bundle/ruby/2.2.0/gems/windows-api-0.4.4/windows-api.gemspec +26 -0
  624. data/vendor/bundle/ruby/2.2.0/specifications/minitest-5.9.0.gemspec +39 -0
  625. data/vendor/bundle/ruby/2.2.0/specifications/rake-11.2.2.gemspec +43 -0
  626. data/vendor/bundle/ruby/2.2.0/specifications/win32-api-1.6.0-universal-mingw32.gemspec +39 -0
  627. data/vendor/bundle/ruby/2.2.0/specifications/windows-api-0.4.4.gemspec +37 -0
  628. data/windows-pr.gemspec +33 -31
  629. metadata +548 -17
@@ -1,27 +1,27 @@
1
- require 'windows/api'
2
-
3
- # The Windows::Directory module contains functions that are used in directory
4
- # management. Note that functions that could be applied to files or
5
- # directories, such as CreateFile(), are probably in the Windows::File
6
- # module.
7
- #
8
- module Windows
9
- module Directory
10
- API.auto_namespace = 'Windows::Directory'
11
- API.auto_constant = true
12
- API.auto_method = true
13
- API.auto_unicode = true
14
-
15
- private
16
-
17
- API.new('CreateDirectory', 'PP', 'B')
18
- API.new('CreateDirectoryEx', 'PPP', 'B')
19
- API.new('FindCloseChangeNotification', 'L', 'B')
20
- API.new('FindFirstChangeNotification', 'PIL', 'L')
21
- API.new('FindNextChangeNotification', 'PIL', 'B')
22
- API.new('GetCurrentDirectory', 'LP', 'L')
23
- API.new('ReadDirectoryChangesW', 'LPLILPPP', 'B') # No ANSI equivalent
24
- API.new('RemoveDirectory', 'P', 'B')
25
- API.new('SetCurrentDirectory', 'P', 'B')
26
- end
27
- end
1
+ require 'windows/api'
2
+
3
+ # The Windows::Directory module contains functions that are used in directory
4
+ # management. Note that functions that could be applied to files or
5
+ # directories, such as CreateFile(), are probably in the Windows::File
6
+ # module.
7
+ #
8
+ module Windows
9
+ module Directory
10
+ API.auto_namespace = 'Windows::Directory'
11
+ API.auto_constant = true
12
+ API.auto_method = true
13
+ API.auto_unicode = true
14
+
15
+ private
16
+
17
+ API.new('CreateDirectory', 'PP', 'B')
18
+ API.new('CreateDirectoryEx', 'PPP', 'B')
19
+ API.new('FindCloseChangeNotification', 'L', 'B')
20
+ API.new('FindFirstChangeNotification', 'PIL', 'L')
21
+ API.new('FindNextChangeNotification', 'PIL', 'B')
22
+ API.new('GetCurrentDirectory', 'LP', 'L')
23
+ API.new('ReadDirectoryChangesW', 'LPLILPPP', 'B') # No ANSI equivalent
24
+ API.new('RemoveDirectory', 'P', 'B')
25
+ API.new('SetCurrentDirectory', 'P', 'B')
26
+ end
27
+ end
data/lib/windows/error.rb CHANGED
@@ -1,504 +1,504 @@
1
- ############################################################################
2
- # error.rb
3
- #
4
- # Includes all of the error codes in error.h, msterr.h and some from
5
- # winerror.h.
6
- #
7
- # Adds the following convenience methods:
8
- #
9
- # get_last_error - Returns a human readable string for the error returned
10
- # by the GetLastError() function.
11
- ############################################################################
12
- require 'windows/api'
13
-
14
- module Windows
15
- module Error
16
- API.auto_namespace = 'Windows::Error'
17
- API.auto_method = true
18
- API.auto_constant = true
19
- API.auto_unicode = true
20
-
21
- private
22
-
23
- FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x00000100
24
- FORMAT_MESSAGE_IGNORE_INSERTS = 0x00000200
25
- FORMAT_MESSAGE_FROM_STRING = 0x00000400
26
- FORMAT_MESSAGE_FROM_HMODULE = 0x00000800
27
- FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000
28
- FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x00002000
29
- FORMAT_MESSAGE_MAX_WIDTH_MASK = 0x000000FF
30
-
31
- SEM_FAILCRITICALERRORS = 0x0001
32
- SEM_NOALIGNMENTFAULTEXCEPT = 0x0004
33
- SEM_NOGPFAULTERRORBOX = 0x0002
34
- SEM_NOOPENFILEERRORBOX = 0x8000
35
-
36
- S_OK = 0
37
- NO_ERROR = 0
38
- ERROR_SUCCESS = 0
39
- ERROR_INVALID_FUNCTION = 1
40
- ERROR_FILE_NOT_FOUND = 2
41
- ERROR_PATH_NOT_FOUND = 3
42
- ERROR_TOO_MANY_OPEN_FILES = 4
43
- ERROR_ACCESS_DENIED = 5
44
- ERROR_INVALID_HANDLE = 6
45
- ERROR_ARENA_TRASHED = 7
46
- ERROR_NOT_ENOUGH_MEMORY = 8
47
- ERROR_INVALID_BLOCK = 9
48
- ERROR_BAD_ENVIRONMENT = 10
49
- ERROR_BAD_FORMAT = 11
50
- ERROR_INVALID_ACCESS = 12
51
- ERROR_INVALID_DATA = 13
52
- ERROR_INVALID_DRIVE = 15
53
- ERROR_CURRENT_DIRECTORY = 16
54
- ERROR_NOT_SAME_DEVICE = 17
55
- ERROR_NO_MORE_FILES = 18
56
-
57
- ERROR_WRITE_PROTECT = 19
58
- ERROR_BAD_UNIT = 20
59
- ERROR_NOT_READY = 21
60
- ERROR_BAD_COMMAND = 22
61
- ERROR_CRC = 23
62
- ERROR_BAD_LENGTH = 24
63
- ERROR_SEEK = 25
64
- ERROR_NOT_DOS_DISK = 26
65
- ERROR_SECTOR_NOT_FOUND = 27
66
- ERROR_OUT_OF_PAPER = 28
67
- ERROR_WRITE_FAULT = 29
68
- ERROR_READ_FAULT = 30
69
- ERROR_GEN_FAILURE = 31
70
-
71
- ERROR_SHARING_VIOLATION = 32
72
- ERROR_LOCK_VIOLATION = 33
73
- ERROR_WRONG_DISK = 34
74
- ERROR_FCB_UNAVAILABLE = 35
75
- ERROR_SHARING_BUFFER_EXCEEDED = 36
76
- ERROR_HANDLE_EOF = 38
77
- ERROR_HANDLE_DISK_FULL = 39
78
-
79
- ERROR_NOT_SUPPORTED = 50
80
-
81
- ERROR_FILE_EXISTS = 80
82
- ERROR_DUP_FCB = 81
83
- ERROR_CANNOT_MAKE = 82
84
- ERROR_FAIL_I24 = 83
85
-
86
- ERROR_OUT_OF_STRUCTURES = 84
87
- ERROR_ALREADY_ASSIGNED = 85
88
- ERROR_INVALID_PASSWORD = 86
89
- ERROR_INVALID_PARAMETER = 87
90
- ERROR_NET_WRITE_FAULT = 88
91
-
92
- ERROR_NO_PROC_SLOTS = 89 # no process slots available
93
- ERROR_NOT_FROZEN = 90
94
- ERR_TSTOVFL = 91 # timer service table overflow
95
- ERR_TSTDUP = 92 # timer service table duplicate
96
- ERROR_NO_ITEMS = 93 # There were no items to operate upon
97
- ERROR_INTERRUPT = 95 # interrupted system call
98
-
99
- ERROR_TOO_MANY_SEMAPHORES = 100
100
- ERROR_EXCL_SEM_ALREADY_OWNED = 101
101
- ERROR_SEM_IS_SET = 102
102
- ERROR_TOO_MANY_SEM_REQUESTS = 103
103
- ERROR_INVALID_AT_INTERRUPT_TIME = 104
104
-
105
- ERROR_SEM_OWNER_DIED = 105 # waitsem found owner died
106
- ERROR_SEM_USER_LIMIT = 106 # too many procs have this sem
107
- ERROR_DISK_CHANGE = 107 # insert disk b into drive a
108
- ERROR_DRIVE_LOCKED = 108 # drive locked by another process
109
- ERROR_BROKEN_PIPE = 109 # write on pipe with no reader
110
-
111
- ERROR_OPEN_FAILED = 110 # open/created failed
112
- ERROR_DISK_FULL = 112 # not enough space
113
- ERROR_NO_MORE_SEARCH_HANDLES = 113 # can't allocate
114
- ERROR_INVALID_TARGET_HANDLE = 114 # handle in DOSDUPHANDLE is invalid
115
- ERROR_PROTECTION_VIOLATION = 115 # bad user virtual address
116
- ERROR_VIOKBD_REQUEST = 116
117
- ERROR_INVALID_CATEGORY = 117 # category for DEVIOCTL not defined
118
- ERROR_INVALID_VERIFY_SWITCH = 118 # invalid value
119
- ERROR_BAD_DRIVER_LEVEL = 119 # DosDevIOCTL not level four
120
- ERROR_CALL_NOT_IMPLEMENTED = 120
121
- ERROR_SEM_TIMEOUT = 121 # timeout from semaphore function
122
- ERROR_INSUFFICIENT_BUFFER = 122
123
-
124
- ERROR_INVALID_NAME = 123 # illegal char or malformed file system name
125
- ERROR_INVALID_LEVEL = 124 # unimplemented level for info retrieval
126
- ERROR_NO_VOLUME_LABEL = 125 # no volume label found
127
- ERROR_MOD_NOT_FOUND = 126 # w_getprocaddr, w_getmodhandle
128
- ERROR_PROC_NOT_FOUND = 127 # w_getprocaddr
129
-
130
- ERROR_WAIT_NO_CHILDREN = 128 # CWait finds to children
131
- ERROR_CHILD_NOT_COMPLETE = 129 # CWait children not dead yet
132
-
133
- ERROR_DIRECT_ACCESS_HANDLE = 130 # invalid for direct disk access
134
- ERROR_NEGATIVE_SEEK = 131 # tried to seek negative offset
135
- ERROR_SEEK_ON_DEVICE = 132 # tried to seek on device or pipe
136
-
137
- ERROR_IS_JOIN_TARGET = 133
138
- ERROR_IS_JOINED = 134
139
- ERROR_IS_SUBSTED = 135
140
- ERROR_NOT_JOINED = 136
141
- ERROR_NOT_SUBSTED = 137
142
- ERROR_JOIN_TO_JOIN = 138
143
- ERROR_SUBST_TO_SUBST = 139
144
- ERROR_JOIN_TO_SUBST = 140
145
- ERROR_SUBST_TO_JOIN = 141
146
- ERROR_BUSY_DRIVE = 142
147
- ERROR_SAME_DRIVE = 143
148
- ERROR_DIR_NOT_ROOT = 144
149
- ERROR_DIR_NOT_EMPTY = 145
150
- ERROR_IS_SUBST_PATH = 146
151
- ERROR_IS_JOIN_PATH = 147
152
- ERROR_PATH_BUSY = 148
153
- ERROR_IS_SUBST_TARGET = 149
154
- ERROR_SYSTEM_TRACE = 150 # system trace error
155
- ERROR_INVALID_EVENT_COUNT = 151 # DosMuxSemWait errors
156
- ERROR_TOO_MANY_MUXWAITERS = 152
157
- ERROR_INVALID_LIST_FORMAT = 153
158
- ERROR_LABEL_TOO_LONG = 154
159
- ERROR_TOO_MANY_TCBS = 155
160
- ERROR_SIGNAL_REFUSED = 156
161
- ERROR_DISCARDED = 157
162
- ERROR_NOT_LOCKED = 158
163
- ERROR_BAD_THREADID_ADDR = 159
164
- ERROR_BAD_ARGUMENTS = 160
165
- ERROR_BAD_PATHNAME = 161
166
- ERROR_SIGNAL_PENDING = 162
167
- ERROR_UNCERTAIN_MEDIA = 163
168
- ERROR_MAX_THRDS_REACHED = 164
169
- ERROR_MONITORS_NOT_SUPPORTED = 165
170
-
171
- ERROR_INVALID_SEGMENT_NUMBER = 180
172
- ERROR_INVALID_CALLGATE = 181
173
- ERROR_INVALID_ORDINAL = 182
174
- ERROR_ALREADY_EXISTS = 183
175
- ERROR_NO_CHILD_PROCESS = 184
176
- ERROR_CHILD_ALIVE_NOWAIT = 185
177
- ERROR_INVALID_FLAG_NUMBER = 186
178
- ERROR_SEM_NOT_FOUND = 187
179
-
180
- ERROR_INVALID_STARTING_CODESEG = 188
181
- ERROR_INVALID_STACKSEG = 189
182
- ERROR_INVALID_MODULETYPE = 190
183
- ERROR_INVALID_EXE_SIGNATURE = 191
184
- ERROR_EXE_MARKED_INVALID = 192
185
- ERROR_BAD_EXE_FORMAT = 193
186
- ERROR_ITERATED_DATA_EXCEEDS_64k = 194
187
- ERROR_INVALID_MINALLOCSIZE = 195
188
- ERROR_DYNLINK_FROM_INVALID_RING = 196
189
- ERROR_IOPL_NOT_ENABLED = 197
190
- ERROR_INVALID_SEGDPL = 198
191
- ERROR_AUTODATASEG_EXCEEDS_64k = 199
192
- ERROR_RING2SEG_MUST_BE_MOVABLE = 200
193
- ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201
194
- ERROR_INFLOOP_IN_RELOC_CHAIN = 202
195
-
196
- ERROR_ENVVAR_NOT_FOUND = 203
197
- ERROR_NOT_CURRENT_CTRY = 204
198
- ERROR_NO_SIGNAL_SENT = 205
199
- ERROR_FILENAME_EXCED_RANGE = 206 # if filename > 8.3
200
- ERROR_RING2_STACK_IN_USE = 207 # for FAPI
201
- ERROR_META_EXPANSION_TOO_LONG = 208 # if "*a" > 8.3
202
-
203
- ERROR_INVALID_SIGNAL_NUMBER = 209
204
- ERROR_THREAD_1_INACTIVE = 210
205
- ERROR_INFO_NOT_AVAIL = 211 #@@ PTM 5550
206
- ERROR_LOCKED = 212
207
- ERROR_BAD_DYNALINK = 213 #@@ PTM 5760
208
- ERROR_TOO_MANY_MODULES = 214
209
- ERROR_NESTING_NOT_ALLOWED = 215
210
- ERROR_BAD_PIPE = 230
211
- ERROR_PIPE_BUSY = 231
212
- ERROR_NO_DATA = 232
213
- ERROR_PIPE_NOT_CONNECTED = 233
214
- ERROR_MORE_DATA = 234
215
-
216
- ERROR_PIPE_CONNECTED = 535
217
- ERROR_PIPE_LISTENING = 536
218
-
219
- ERROR_OPERATION_ABORTED = 995
220
- ERROR_IO_INCOMPLETE = 996
221
- ERROR_IO_PENDING = 997
222
-
223
- ERROR_USER_DEFINED_BASE = 0xF000
224
-
225
- ERROR_I24_WRITE_PROTECT = 0
226
- ERROR_I24_BAD_UNIT = 1
227
- ERROR_I24_NOT_READY = 2
228
- ERROR_I24_BAD_COMMAND = 3
229
- ERROR_I24_CRC = 4
230
- ERROR_I24_BAD_LENGTH = 5
231
- ERROR_I24_SEEK = 6
232
- ERROR_I24_NOT_DOS_DISK = 7
233
- ERROR_I24_SECTOR_NOT_FOUND = 8
234
- ERROR_I24_OUT_OF_PAPER = 9
235
- ERROR_I24_WRITE_FAULT = 0x0A
236
- ERROR_I24_READ_FAULT = 0x0B
237
- ERROR_I24_GEN_FAILURE = 0x0C
238
- ERROR_I24_DISK_CHANGE = 0x0D
239
- ERROR_I24_WRONG_DISK = 0x0F
240
- ERROR_I24_UNCERTAIN_MEDIA = 0x10
241
- ERROR_I24_CHAR_CALL_INTERRUPTED = 0x11
242
- ERROR_I24_NO_MONITOR_SUPPORT = 0x12
243
- ERROR_I24_INVALID_PARAMETER = 0x13
244
-
245
- APPLICATION_ERROR_MASK = 0x20000000
246
- ERROR_SEVERITY_SUCCESS = 0x00000000
247
- ERROR_SEVERITY_INFORMATIONAL = 0x40000000
248
- ERROR_SEVERITY_WARNING = 0x80000000
249
- ERROR_SEVERITY_ERROR = 0xc0000000
250
-
251
- ALLOWED_FAIL = 0x0001
252
- ALLOWED_ABORT = 0x0002
253
- ALLOWED_RETRY = 0x0004
254
- ALLOWED_IGNORE = 0x0008
255
-
256
- I24_OPERATION = 0x1
257
- I24_AREA = 0x6
258
- I24_CLASS = 0x80
259
-
260
- ERRCLASS_OUTRES = 1 # Out of Resource
261
- ERRCLASS_TEMPSIT = 2 # Temporary Situation
262
- ERRCLASS_AUTH = 3 # Permission problem
263
- ERRCLASS_INTRN = 4 # Internal System Error
264
- ERRCLASS_HRDFAIL = 5 # Hardware Failure
265
- ERRCLASS_SYSFAIL = 6 # System Failure
266
- ERRCLASS_APPERR = 7 # Application Error
267
- ERRCLASS_NOTFND = 8 # Not Found
268
- ERRCLASS_BADFMT = 9 # Bad Format
269
- ERRCLASS_LOCKED = 10 # Locked
270
- ERRCLASS_MEDIA = 11 # Media Failure
271
- ERRCLASS_ALREADY = 12 # Collision with Existing Item
272
- ERRCLASS_UNK = 13 # Unknown/other
273
- ERRCLASS_CANT = 14
274
- ERRCLASS_TIME = 15
275
-
276
- ERRACT_RETRY = 1 # Retry
277
- ERRACT_DLYRET = 2 # Delay Retry, retry after pause
278
- ERRACT_USER = 3 # Ask user to regive info
279
- ERRACT_ABORT = 4 # abort with clean up
280
- ERRACT_PANIC = 5 # abort immediately
281
- ERRACT_IGNORE = 6 # ignore
282
- ERRACT_INTRET = 7 # Retry after User Intervention
283
-
284
- ERRLOC_UNK = 1 # No appropriate value
285
- ERRLOC_DISK = 2 # Random Access Mass Storage
286
- ERRLOC_NET = 3 # Network
287
- ERRLOC_SERDEV = 4 # Serial Device
288
- ERRLOC_MEM = 5 # Memory
289
-
290
- TC_NORMAL = 0
291
- TC_HARDERR = 1
292
- TC_GP_TRAP = 2
293
- TC_SIGNAL = 3
294
-
295
- # From WinError.h
296
-
297
- ERROR_INVALID_FLAGS = 0x1004
298
- ERROR_NO_UNICODE_TRANSLATION = 0x1113
299
-
300
- E_INVALIDARG = 0x80070057
301
- E_NOINTERFACE = 0x80004002
302
- E_NOTIMPL = 0x80004001
303
- E_OUTOFMEMORY = 0x8007000E
304
- E_UNEXPECTED = 0x8000FFFF
305
-
306
- RPC_E_TIMEOUT = 0x8001011F
307
-
308
- CO_E_NOT_SUPPORTED = 0x80004021
309
-
310
- CLASS_E_NOAGGREGATION = 0x80040110
311
-
312
- DISP_E_BADINDEX = 0x8002000B
313
- DISP_E_PARAMNOTFOUND = 0x80020004
314
- DISP_E_EXCEPTION = 0x80020009
315
- DISP_E_MEMBERNOTFOUND = 0x80020003
316
-
317
- # Registry errors
318
-
319
- REGDB_E_CLASSNOTREG = 0x80040154
320
-
321
- # msterr.h
322
-
323
- SCHED_S_TASK_READY = 0x00041300
324
- SCHED_S_TASK_RUNNING = 0x00041301
325
- SCHED_S_TASK_DISABLED = 0x00041302
326
- SCHED_S_TASK_HAS_NOT_RUN = 0x00041303
327
- SCHED_S_TASK_HAS_NO_MORE_RUNS = 0x00041304
328
- SCHED_S_TASK_NOT_SCHEDULED = 0x00041305
329
- SCHED_S_TASK_TERMINATED = 0x00041306
330
- SCHED_S_TASK_NO_VALID_TRIGGERS = 0x00041307
331
- SCHED_S_EVENT_TRIGGER = 0x00041308
332
- SCHED_E_TRIGGER_NOT_FOUND = 0x00041309
333
- SCHED_E_TASK_NOT_READY = 0x0004130A
334
- SCHED_E_TASK_NOT_RUNNING = 0x0004130B
335
- SCHED_E_SERVICE_NOT_INSTALLED = 0x0004130C
336
- SCHED_E_CANNOT_OPEN_TASK = 0x0004130D
337
- SCHED_E_INVALID_TASK = 0x0004130E
338
- SCHED_E_ACCOUNT_INFORMATION_NOT_SET = 0x0004130F
339
- SCHED_E_ACCOUNT_NAME_NOT_FOUND = 0x00041310
340
- SCHED_E_ACCOUNT_DBASE_CORRUPT = 0x00041311
341
- SCHED_E_NO_SECURITY_SERVICES = 0x00041312
342
- SCHED_E_UNKNOWN_OBJECT_VERSION = 0x00041313
343
-
344
- # Socket errors
345
-
346
- WSA_INVALID_HANDLE = 6
347
- WSA_NOT_ENOUGH_MEMORY = 8
348
- WSA_INVALID_PARAMETER = 87
349
- WSA_OPERATION_ABORTED = 995
350
- WSA_IO_INCOMPLETE = 996
351
- WSA_IO_PENDING = 997
352
- WSAEINTR = 10004
353
- WSAEBADF = 10009
354
- WSAEACCESS = 10013
355
- WSAEFAULT = 10014
356
- WSAEINVAL = 10022
357
- WSAEMFILE = 10024
358
- WSAEWOULDBLOCK = 10035
359
- WSAEINPROGRESS = 10036
360
- WSAEALREADY = 10037
361
- WSAENOTSOCK = 10038
362
- WSAEDESTADDRREQ = 10039
363
- WSAEMSGSIZE = 10040
364
- WSAEPROTOTYPE = 10041
365
- WSAENOPROTOOPT = 10042
366
- WSAEPROTONOSUPPORT = 10043
367
- WSAESOCKTNOSUPPORT = 10044
368
- WSAEOPNOTSUPP = 10045
369
- WSAEPFNOSUPPORT = 10046
370
- WSAEAFNOSUPPORT = 10047
371
- WSAEADDRINUSE = 10048
372
- WSAEADDRNOTAVAIL = 10049
373
- WSAENETDOWN = 10050
374
- WSAENETUNREACH = 10051
375
- WSAENETRESET = 10052
376
- WSAECONNABORTED = 10053
377
- WSAECONNRESET = 10054
378
- WSAENOBUFS = 10055
379
- WSAEISCONN = 10056
380
- WSAENOTCONN = 10057
381
- WSAESHUTDOWN = 10058
382
- WSAETOOMANYREFS = 10059
383
- WSATIMEDOUT = 10060
384
- WSAECONNREFUSED = 10061
385
- WSAELOOP = 10062
386
- WSAENAMETOOLONG = 10063
387
- WSAEHOSTDOWN = 10064
388
- WSAEHOSTUNREACH = 10065
389
- WSAENOEMPTY = 10066
390
- WSAEPROCLIM = 10067
391
- WSAEUSERS = 10068
392
- WSAEDQUOT = 10069
393
- WSAESTALE = 10070
394
- WSAEREMOTE = 10071
395
- WSASYSNOTREADY = 10091
396
- WSAVERNOTSUPPORTED = 10092
397
- WSANOTINITIALISED = 10093
398
- WSAEDISCON = 10101
399
- WSAENOMORE = 10102
400
- WSAECANCELLED = 10103
401
- WSAEINVALIDPROCTABLE = 10104
402
- WSAEINVALIDPROVIDER = 10105
403
- WSAEPROVIDERFAILEDINIT = 10106
404
- WSASYSCALLFAILURE = 10107
405
- WSASERVICE_NOT_FOUND = 10108
406
- WSATYPE_NOT_FOUND = 10109
407
- WSA_E_NO_MORE = 10110
408
- WSA_E_CANCELLED = 10111
409
- WSAEREFUSED = 10112
410
- WSAHOST_NOT_FOUND = 11001
411
- WSATRY_AGAIN = 11002
412
- WSANO_RECOVERY = 11003
413
- WSANO_DATA = 11004
414
- WSA_QOS_RECEIVERS = 11005
415
- WSA_QOS_SENDERS = 11006
416
-
417
- # Token related
418
-
419
- ERROR_NO_TOKEN = 1008
420
- ERROR_NO_IMPERSONATION_TOKEN = 1309
421
- ERROR_BAD_TOKEN_TYPE = 1349
422
- ERROR_TOKEN_ALREADY_IN_USE = 1375
423
- ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN = 14095
424
-
425
- API.new('GetLastError', 'V', 'L')
426
- API.new('SetLastError', 'L', 'V')
427
- API.new('SetErrorMode', 'I', 'I')
428
- API.new('FormatMessage', 'LLLLPLP', 'L')
429
-
430
- begin
431
- API.new('GetErrorMode', 'V', 'I')
432
- rescue Win32::API::LoadLibraryError
433
- # Vista or later
434
- end
435
-
436
- begin
437
- API.new('SetLastErrorEx', 'LL', 'V', 'user32')
438
- rescue Win32::API::LoadLibraryError
439
- # VC++ 7.0 or later
440
- end
441
-
442
- # Convenience method that wraps FormatMessage with some sane defaults and
443
- # returns a human readable string.
444
- #
445
- def get_last_error(err_num = GetLastError.call)
446
- buf = 0.chr * 260
447
- flags = FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ARGUMENT_ARRAY
448
-
449
- FormatMessageA.call(flags, 0, err_num, 0, buf, buf.size, 0)
450
-
451
- if RUBY_VERSION < '1.9.1'
452
- buf.strip
453
- else
454
- buf.force_encoding(Encoding.default_external).strip
455
- end
456
- end
457
-
458
- # Macros from WinError.h
459
-
460
- def IS_ERROR(status)
461
- status >> 31 == 1
462
- end
463
-
464
- def MAKE_HRESULT(sev, fac, code)
465
- sev << 31 | fac << 16 | code
466
- end
467
-
468
- def MAKE_SCODE(sev, fac, code)
469
- sev << 31 | fac << 16 | code
470
- end
471
-
472
- def HRESULT_CODE(hr)
473
- hr & 0xFFFF
474
- end
475
-
476
- def HRESULT_FACILITY(hr)
477
- (hr >> 16) & 0x1fff
478
- end
479
-
480
- def HRESULT_FROM_NT(x)
481
- x | 0x10000000 # FACILITY_NT_BIT
482
- end
483
-
484
- def HRESULT_FROM_WIN32(x)
485
- if x <= 0
486
- x
487
- else
488
- (x & 0x0000FFFF) | (7 << 16) | 0x80000000
489
- end
490
- end
491
-
492
- def HRESULT_SEVERITY(hr)
493
- (hr >> 31) & 0x1
494
- end
495
-
496
- def FAILED(status)
497
- status < 0
498
- end
499
-
500
- def SUCCEEDED(status)
501
- status >= 0
502
- end
503
- end
504
- end
1
+ ############################################################################
2
+ # error.rb
3
+ #
4
+ # Includes all of the error codes in error.h, msterr.h and some from
5
+ # winerror.h.
6
+ #
7
+ # Adds the following convenience methods:
8
+ #
9
+ # get_last_error - Returns a human readable string for the error returned
10
+ # by the GetLastError() function.
11
+ ############################################################################
12
+ require 'windows/api'
13
+
14
+ module Windows
15
+ module Error
16
+ API.auto_namespace = 'Windows::Error'
17
+ API.auto_method = true
18
+ API.auto_constant = true
19
+ API.auto_unicode = true
20
+
21
+ private
22
+
23
+ FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x00000100
24
+ FORMAT_MESSAGE_IGNORE_INSERTS = 0x00000200
25
+ FORMAT_MESSAGE_FROM_STRING = 0x00000400
26
+ FORMAT_MESSAGE_FROM_HMODULE = 0x00000800
27
+ FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000
28
+ FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x00002000
29
+ FORMAT_MESSAGE_MAX_WIDTH_MASK = 0x000000FF
30
+
31
+ SEM_FAILCRITICALERRORS = 0x0001
32
+ SEM_NOALIGNMENTFAULTEXCEPT = 0x0004
33
+ SEM_NOGPFAULTERRORBOX = 0x0002
34
+ SEM_NOOPENFILEERRORBOX = 0x8000
35
+
36
+ S_OK = 0
37
+ NO_ERROR = 0
38
+ ERROR_SUCCESS = 0
39
+ ERROR_INVALID_FUNCTION = 1
40
+ ERROR_FILE_NOT_FOUND = 2
41
+ ERROR_PATH_NOT_FOUND = 3
42
+ ERROR_TOO_MANY_OPEN_FILES = 4
43
+ ERROR_ACCESS_DENIED = 5
44
+ ERROR_INVALID_HANDLE = 6
45
+ ERROR_ARENA_TRASHED = 7
46
+ ERROR_NOT_ENOUGH_MEMORY = 8
47
+ ERROR_INVALID_BLOCK = 9
48
+ ERROR_BAD_ENVIRONMENT = 10
49
+ ERROR_BAD_FORMAT = 11
50
+ ERROR_INVALID_ACCESS = 12
51
+ ERROR_INVALID_DATA = 13
52
+ ERROR_INVALID_DRIVE = 15
53
+ ERROR_CURRENT_DIRECTORY = 16
54
+ ERROR_NOT_SAME_DEVICE = 17
55
+ ERROR_NO_MORE_FILES = 18
56
+
57
+ ERROR_WRITE_PROTECT = 19
58
+ ERROR_BAD_UNIT = 20
59
+ ERROR_NOT_READY = 21
60
+ ERROR_BAD_COMMAND = 22
61
+ ERROR_CRC = 23
62
+ ERROR_BAD_LENGTH = 24
63
+ ERROR_SEEK = 25
64
+ ERROR_NOT_DOS_DISK = 26
65
+ ERROR_SECTOR_NOT_FOUND = 27
66
+ ERROR_OUT_OF_PAPER = 28
67
+ ERROR_WRITE_FAULT = 29
68
+ ERROR_READ_FAULT = 30
69
+ ERROR_GEN_FAILURE = 31
70
+
71
+ ERROR_SHARING_VIOLATION = 32
72
+ ERROR_LOCK_VIOLATION = 33
73
+ ERROR_WRONG_DISK = 34
74
+ ERROR_FCB_UNAVAILABLE = 35
75
+ ERROR_SHARING_BUFFER_EXCEEDED = 36
76
+ ERROR_HANDLE_EOF = 38
77
+ ERROR_HANDLE_DISK_FULL = 39
78
+
79
+ ERROR_NOT_SUPPORTED = 50
80
+
81
+ ERROR_FILE_EXISTS = 80
82
+ ERROR_DUP_FCB = 81
83
+ ERROR_CANNOT_MAKE = 82
84
+ ERROR_FAIL_I24 = 83
85
+
86
+ ERROR_OUT_OF_STRUCTURES = 84
87
+ ERROR_ALREADY_ASSIGNED = 85
88
+ ERROR_INVALID_PASSWORD = 86
89
+ ERROR_INVALID_PARAMETER = 87
90
+ ERROR_NET_WRITE_FAULT = 88
91
+
92
+ ERROR_NO_PROC_SLOTS = 89 # no process slots available
93
+ ERROR_NOT_FROZEN = 90
94
+ ERR_TSTOVFL = 91 # timer service table overflow
95
+ ERR_TSTDUP = 92 # timer service table duplicate
96
+ ERROR_NO_ITEMS = 93 # There were no items to operate upon
97
+ ERROR_INTERRUPT = 95 # interrupted system call
98
+
99
+ ERROR_TOO_MANY_SEMAPHORES = 100
100
+ ERROR_EXCL_SEM_ALREADY_OWNED = 101
101
+ ERROR_SEM_IS_SET = 102
102
+ ERROR_TOO_MANY_SEM_REQUESTS = 103
103
+ ERROR_INVALID_AT_INTERRUPT_TIME = 104
104
+
105
+ ERROR_SEM_OWNER_DIED = 105 # waitsem found owner died
106
+ ERROR_SEM_USER_LIMIT = 106 # too many procs have this sem
107
+ ERROR_DISK_CHANGE = 107 # insert disk b into drive a
108
+ ERROR_DRIVE_LOCKED = 108 # drive locked by another process
109
+ ERROR_BROKEN_PIPE = 109 # write on pipe with no reader
110
+
111
+ ERROR_OPEN_FAILED = 110 # open/created failed
112
+ ERROR_DISK_FULL = 112 # not enough space
113
+ ERROR_NO_MORE_SEARCH_HANDLES = 113 # can't allocate
114
+ ERROR_INVALID_TARGET_HANDLE = 114 # handle in DOSDUPHANDLE is invalid
115
+ ERROR_PROTECTION_VIOLATION = 115 # bad user virtual address
116
+ ERROR_VIOKBD_REQUEST = 116
117
+ ERROR_INVALID_CATEGORY = 117 # category for DEVIOCTL not defined
118
+ ERROR_INVALID_VERIFY_SWITCH = 118 # invalid value
119
+ ERROR_BAD_DRIVER_LEVEL = 119 # DosDevIOCTL not level four
120
+ ERROR_CALL_NOT_IMPLEMENTED = 120
121
+ ERROR_SEM_TIMEOUT = 121 # timeout from semaphore function
122
+ ERROR_INSUFFICIENT_BUFFER = 122
123
+
124
+ ERROR_INVALID_NAME = 123 # illegal char or malformed file system name
125
+ ERROR_INVALID_LEVEL = 124 # unimplemented level for info retrieval
126
+ ERROR_NO_VOLUME_LABEL = 125 # no volume label found
127
+ ERROR_MOD_NOT_FOUND = 126 # w_getprocaddr, w_getmodhandle
128
+ ERROR_PROC_NOT_FOUND = 127 # w_getprocaddr
129
+
130
+ ERROR_WAIT_NO_CHILDREN = 128 # CWait finds to children
131
+ ERROR_CHILD_NOT_COMPLETE = 129 # CWait children not dead yet
132
+
133
+ ERROR_DIRECT_ACCESS_HANDLE = 130 # invalid for direct disk access
134
+ ERROR_NEGATIVE_SEEK = 131 # tried to seek negative offset
135
+ ERROR_SEEK_ON_DEVICE = 132 # tried to seek on device or pipe
136
+
137
+ ERROR_IS_JOIN_TARGET = 133
138
+ ERROR_IS_JOINED = 134
139
+ ERROR_IS_SUBSTED = 135
140
+ ERROR_NOT_JOINED = 136
141
+ ERROR_NOT_SUBSTED = 137
142
+ ERROR_JOIN_TO_JOIN = 138
143
+ ERROR_SUBST_TO_SUBST = 139
144
+ ERROR_JOIN_TO_SUBST = 140
145
+ ERROR_SUBST_TO_JOIN = 141
146
+ ERROR_BUSY_DRIVE = 142
147
+ ERROR_SAME_DRIVE = 143
148
+ ERROR_DIR_NOT_ROOT = 144
149
+ ERROR_DIR_NOT_EMPTY = 145
150
+ ERROR_IS_SUBST_PATH = 146
151
+ ERROR_IS_JOIN_PATH = 147
152
+ ERROR_PATH_BUSY = 148
153
+ ERROR_IS_SUBST_TARGET = 149
154
+ ERROR_SYSTEM_TRACE = 150 # system trace error
155
+ ERROR_INVALID_EVENT_COUNT = 151 # DosMuxSemWait errors
156
+ ERROR_TOO_MANY_MUXWAITERS = 152
157
+ ERROR_INVALID_LIST_FORMAT = 153
158
+ ERROR_LABEL_TOO_LONG = 154
159
+ ERROR_TOO_MANY_TCBS = 155
160
+ ERROR_SIGNAL_REFUSED = 156
161
+ ERROR_DISCARDED = 157
162
+ ERROR_NOT_LOCKED = 158
163
+ ERROR_BAD_THREADID_ADDR = 159
164
+ ERROR_BAD_ARGUMENTS = 160
165
+ ERROR_BAD_PATHNAME = 161
166
+ ERROR_SIGNAL_PENDING = 162
167
+ ERROR_UNCERTAIN_MEDIA = 163
168
+ ERROR_MAX_THRDS_REACHED = 164
169
+ ERROR_MONITORS_NOT_SUPPORTED = 165
170
+
171
+ ERROR_INVALID_SEGMENT_NUMBER = 180
172
+ ERROR_INVALID_CALLGATE = 181
173
+ ERROR_INVALID_ORDINAL = 182
174
+ ERROR_ALREADY_EXISTS = 183
175
+ ERROR_NO_CHILD_PROCESS = 184
176
+ ERROR_CHILD_ALIVE_NOWAIT = 185
177
+ ERROR_INVALID_FLAG_NUMBER = 186
178
+ ERROR_SEM_NOT_FOUND = 187
179
+
180
+ ERROR_INVALID_STARTING_CODESEG = 188
181
+ ERROR_INVALID_STACKSEG = 189
182
+ ERROR_INVALID_MODULETYPE = 190
183
+ ERROR_INVALID_EXE_SIGNATURE = 191
184
+ ERROR_EXE_MARKED_INVALID = 192
185
+ ERROR_BAD_EXE_FORMAT = 193
186
+ ERROR_ITERATED_DATA_EXCEEDS_64k = 194
187
+ ERROR_INVALID_MINALLOCSIZE = 195
188
+ ERROR_DYNLINK_FROM_INVALID_RING = 196
189
+ ERROR_IOPL_NOT_ENABLED = 197
190
+ ERROR_INVALID_SEGDPL = 198
191
+ ERROR_AUTODATASEG_EXCEEDS_64k = 199
192
+ ERROR_RING2SEG_MUST_BE_MOVABLE = 200
193
+ ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201
194
+ ERROR_INFLOOP_IN_RELOC_CHAIN = 202
195
+
196
+ ERROR_ENVVAR_NOT_FOUND = 203
197
+ ERROR_NOT_CURRENT_CTRY = 204
198
+ ERROR_NO_SIGNAL_SENT = 205
199
+ ERROR_FILENAME_EXCED_RANGE = 206 # if filename > 8.3
200
+ ERROR_RING2_STACK_IN_USE = 207 # for FAPI
201
+ ERROR_META_EXPANSION_TOO_LONG = 208 # if "*a" > 8.3
202
+
203
+ ERROR_INVALID_SIGNAL_NUMBER = 209
204
+ ERROR_THREAD_1_INACTIVE = 210
205
+ ERROR_INFO_NOT_AVAIL = 211 #@@ PTM 5550
206
+ ERROR_LOCKED = 212
207
+ ERROR_BAD_DYNALINK = 213 #@@ PTM 5760
208
+ ERROR_TOO_MANY_MODULES = 214
209
+ ERROR_NESTING_NOT_ALLOWED = 215
210
+ ERROR_BAD_PIPE = 230
211
+ ERROR_PIPE_BUSY = 231
212
+ ERROR_NO_DATA = 232
213
+ ERROR_PIPE_NOT_CONNECTED = 233
214
+ ERROR_MORE_DATA = 234
215
+
216
+ ERROR_PIPE_CONNECTED = 535
217
+ ERROR_PIPE_LISTENING = 536
218
+
219
+ ERROR_OPERATION_ABORTED = 995
220
+ ERROR_IO_INCOMPLETE = 996
221
+ ERROR_IO_PENDING = 997
222
+
223
+ ERROR_USER_DEFINED_BASE = 0xF000
224
+
225
+ ERROR_I24_WRITE_PROTECT = 0
226
+ ERROR_I24_BAD_UNIT = 1
227
+ ERROR_I24_NOT_READY = 2
228
+ ERROR_I24_BAD_COMMAND = 3
229
+ ERROR_I24_CRC = 4
230
+ ERROR_I24_BAD_LENGTH = 5
231
+ ERROR_I24_SEEK = 6
232
+ ERROR_I24_NOT_DOS_DISK = 7
233
+ ERROR_I24_SECTOR_NOT_FOUND = 8
234
+ ERROR_I24_OUT_OF_PAPER = 9
235
+ ERROR_I24_WRITE_FAULT = 0x0A
236
+ ERROR_I24_READ_FAULT = 0x0B
237
+ ERROR_I24_GEN_FAILURE = 0x0C
238
+ ERROR_I24_DISK_CHANGE = 0x0D
239
+ ERROR_I24_WRONG_DISK = 0x0F
240
+ ERROR_I24_UNCERTAIN_MEDIA = 0x10
241
+ ERROR_I24_CHAR_CALL_INTERRUPTED = 0x11
242
+ ERROR_I24_NO_MONITOR_SUPPORT = 0x12
243
+ ERROR_I24_INVALID_PARAMETER = 0x13
244
+
245
+ APPLICATION_ERROR_MASK = 0x20000000
246
+ ERROR_SEVERITY_SUCCESS = 0x00000000
247
+ ERROR_SEVERITY_INFORMATIONAL = 0x40000000
248
+ ERROR_SEVERITY_WARNING = 0x80000000
249
+ ERROR_SEVERITY_ERROR = 0xc0000000
250
+
251
+ ALLOWED_FAIL = 0x0001
252
+ ALLOWED_ABORT = 0x0002
253
+ ALLOWED_RETRY = 0x0004
254
+ ALLOWED_IGNORE = 0x0008
255
+
256
+ I24_OPERATION = 0x1
257
+ I24_AREA = 0x6
258
+ I24_CLASS = 0x80
259
+
260
+ ERRCLASS_OUTRES = 1 # Out of Resource
261
+ ERRCLASS_TEMPSIT = 2 # Temporary Situation
262
+ ERRCLASS_AUTH = 3 # Permission problem
263
+ ERRCLASS_INTRN = 4 # Internal System Error
264
+ ERRCLASS_HRDFAIL = 5 # Hardware Failure
265
+ ERRCLASS_SYSFAIL = 6 # System Failure
266
+ ERRCLASS_APPERR = 7 # Application Error
267
+ ERRCLASS_NOTFND = 8 # Not Found
268
+ ERRCLASS_BADFMT = 9 # Bad Format
269
+ ERRCLASS_LOCKED = 10 # Locked
270
+ ERRCLASS_MEDIA = 11 # Media Failure
271
+ ERRCLASS_ALREADY = 12 # Collision with Existing Item
272
+ ERRCLASS_UNK = 13 # Unknown/other
273
+ ERRCLASS_CANT = 14
274
+ ERRCLASS_TIME = 15
275
+
276
+ ERRACT_RETRY = 1 # Retry
277
+ ERRACT_DLYRET = 2 # Delay Retry, retry after pause
278
+ ERRACT_USER = 3 # Ask user to regive info
279
+ ERRACT_ABORT = 4 # abort with clean up
280
+ ERRACT_PANIC = 5 # abort immediately
281
+ ERRACT_IGNORE = 6 # ignore
282
+ ERRACT_INTRET = 7 # Retry after User Intervention
283
+
284
+ ERRLOC_UNK = 1 # No appropriate value
285
+ ERRLOC_DISK = 2 # Random Access Mass Storage
286
+ ERRLOC_NET = 3 # Network
287
+ ERRLOC_SERDEV = 4 # Serial Device
288
+ ERRLOC_MEM = 5 # Memory
289
+
290
+ TC_NORMAL = 0
291
+ TC_HARDERR = 1
292
+ TC_GP_TRAP = 2
293
+ TC_SIGNAL = 3
294
+
295
+ # From WinError.h
296
+
297
+ ERROR_INVALID_FLAGS = 0x1004
298
+ ERROR_NO_UNICODE_TRANSLATION = 0x1113
299
+
300
+ E_INVALIDARG = 0x80070057
301
+ E_NOINTERFACE = 0x80004002
302
+ E_NOTIMPL = 0x80004001
303
+ E_OUTOFMEMORY = 0x8007000E
304
+ E_UNEXPECTED = 0x8000FFFF
305
+
306
+ RPC_E_TIMEOUT = 0x8001011F
307
+
308
+ CO_E_NOT_SUPPORTED = 0x80004021
309
+
310
+ CLASS_E_NOAGGREGATION = 0x80040110
311
+
312
+ DISP_E_BADINDEX = 0x8002000B
313
+ DISP_E_PARAMNOTFOUND = 0x80020004
314
+ DISP_E_EXCEPTION = 0x80020009
315
+ DISP_E_MEMBERNOTFOUND = 0x80020003
316
+
317
+ # Registry errors
318
+
319
+ REGDB_E_CLASSNOTREG = 0x80040154
320
+
321
+ # msterr.h
322
+
323
+ SCHED_S_TASK_READY = 0x00041300
324
+ SCHED_S_TASK_RUNNING = 0x00041301
325
+ SCHED_S_TASK_DISABLED = 0x00041302
326
+ SCHED_S_TASK_HAS_NOT_RUN = 0x00041303
327
+ SCHED_S_TASK_HAS_NO_MORE_RUNS = 0x00041304
328
+ SCHED_S_TASK_NOT_SCHEDULED = 0x00041305
329
+ SCHED_S_TASK_TERMINATED = 0x00041306
330
+ SCHED_S_TASK_NO_VALID_TRIGGERS = 0x00041307
331
+ SCHED_S_EVENT_TRIGGER = 0x00041308
332
+ SCHED_E_TRIGGER_NOT_FOUND = 0x00041309
333
+ SCHED_E_TASK_NOT_READY = 0x0004130A
334
+ SCHED_E_TASK_NOT_RUNNING = 0x0004130B
335
+ SCHED_E_SERVICE_NOT_INSTALLED = 0x0004130C
336
+ SCHED_E_CANNOT_OPEN_TASK = 0x0004130D
337
+ SCHED_E_INVALID_TASK = 0x0004130E
338
+ SCHED_E_ACCOUNT_INFORMATION_NOT_SET = 0x0004130F
339
+ SCHED_E_ACCOUNT_NAME_NOT_FOUND = 0x00041310
340
+ SCHED_E_ACCOUNT_DBASE_CORRUPT = 0x00041311
341
+ SCHED_E_NO_SECURITY_SERVICES = 0x00041312
342
+ SCHED_E_UNKNOWN_OBJECT_VERSION = 0x00041313
343
+
344
+ # Socket errors
345
+
346
+ WSA_INVALID_HANDLE = 6
347
+ WSA_NOT_ENOUGH_MEMORY = 8
348
+ WSA_INVALID_PARAMETER = 87
349
+ WSA_OPERATION_ABORTED = 995
350
+ WSA_IO_INCOMPLETE = 996
351
+ WSA_IO_PENDING = 997
352
+ WSAEINTR = 10004
353
+ WSAEBADF = 10009
354
+ WSAEACCESS = 10013
355
+ WSAEFAULT = 10014
356
+ WSAEINVAL = 10022
357
+ WSAEMFILE = 10024
358
+ WSAEWOULDBLOCK = 10035
359
+ WSAEINPROGRESS = 10036
360
+ WSAEALREADY = 10037
361
+ WSAENOTSOCK = 10038
362
+ WSAEDESTADDRREQ = 10039
363
+ WSAEMSGSIZE = 10040
364
+ WSAEPROTOTYPE = 10041
365
+ WSAENOPROTOOPT = 10042
366
+ WSAEPROTONOSUPPORT = 10043
367
+ WSAESOCKTNOSUPPORT = 10044
368
+ WSAEOPNOTSUPP = 10045
369
+ WSAEPFNOSUPPORT = 10046
370
+ WSAEAFNOSUPPORT = 10047
371
+ WSAEADDRINUSE = 10048
372
+ WSAEADDRNOTAVAIL = 10049
373
+ WSAENETDOWN = 10050
374
+ WSAENETUNREACH = 10051
375
+ WSAENETRESET = 10052
376
+ WSAECONNABORTED = 10053
377
+ WSAECONNRESET = 10054
378
+ WSAENOBUFS = 10055
379
+ WSAEISCONN = 10056
380
+ WSAENOTCONN = 10057
381
+ WSAESHUTDOWN = 10058
382
+ WSAETOOMANYREFS = 10059
383
+ WSATIMEDOUT = 10060
384
+ WSAECONNREFUSED = 10061
385
+ WSAELOOP = 10062
386
+ WSAENAMETOOLONG = 10063
387
+ WSAEHOSTDOWN = 10064
388
+ WSAEHOSTUNREACH = 10065
389
+ WSAENOEMPTY = 10066
390
+ WSAEPROCLIM = 10067
391
+ WSAEUSERS = 10068
392
+ WSAEDQUOT = 10069
393
+ WSAESTALE = 10070
394
+ WSAEREMOTE = 10071
395
+ WSASYSNOTREADY = 10091
396
+ WSAVERNOTSUPPORTED = 10092
397
+ WSANOTINITIALISED = 10093
398
+ WSAEDISCON = 10101
399
+ WSAENOMORE = 10102
400
+ WSAECANCELLED = 10103
401
+ WSAEINVALIDPROCTABLE = 10104
402
+ WSAEINVALIDPROVIDER = 10105
403
+ WSAEPROVIDERFAILEDINIT = 10106
404
+ WSASYSCALLFAILURE = 10107
405
+ WSASERVICE_NOT_FOUND = 10108
406
+ WSATYPE_NOT_FOUND = 10109
407
+ WSA_E_NO_MORE = 10110
408
+ WSA_E_CANCELLED = 10111
409
+ WSAEREFUSED = 10112
410
+ WSAHOST_NOT_FOUND = 11001
411
+ WSATRY_AGAIN = 11002
412
+ WSANO_RECOVERY = 11003
413
+ WSANO_DATA = 11004
414
+ WSA_QOS_RECEIVERS = 11005
415
+ WSA_QOS_SENDERS = 11006
416
+
417
+ # Token related
418
+
419
+ ERROR_NO_TOKEN = 1008
420
+ ERROR_NO_IMPERSONATION_TOKEN = 1309
421
+ ERROR_BAD_TOKEN_TYPE = 1349
422
+ ERROR_TOKEN_ALREADY_IN_USE = 1375
423
+ ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN = 14095
424
+
425
+ API.new('GetLastError', 'V', 'L')
426
+ API.new('SetLastError', 'L', 'V')
427
+ API.new('SetErrorMode', 'I', 'I')
428
+ API.new('FormatMessage', 'LLLLPLP', 'L')
429
+
430
+ begin
431
+ API.new('GetErrorMode', 'V', 'I')
432
+ rescue Win32::API::LoadLibraryError
433
+ # Vista or later
434
+ end
435
+
436
+ begin
437
+ API.new('SetLastErrorEx', 'LL', 'V', 'user32')
438
+ rescue Win32::API::LoadLibraryError
439
+ # VC++ 7.0 or later
440
+ end
441
+
442
+ # Convenience method that wraps FormatMessage with some sane defaults and
443
+ # returns a human readable string.
444
+ #
445
+ def get_last_error(err_num = GetLastError.call)
446
+ buf = 0.chr * 260
447
+ flags = FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ARGUMENT_ARRAY
448
+
449
+ FormatMessageA.call(flags, 0, err_num, 0, buf, buf.size, 0)
450
+
451
+ if RUBY_VERSION < '1.9.1'
452
+ buf.strip
453
+ else
454
+ buf.force_encoding(Encoding.default_external).strip
455
+ end
456
+ end
457
+
458
+ # Macros from WinError.h
459
+
460
+ def IS_ERROR(status)
461
+ status >> 31 == 1
462
+ end
463
+
464
+ def MAKE_HRESULT(sev, fac, code)
465
+ sev << 31 | fac << 16 | code
466
+ end
467
+
468
+ def MAKE_SCODE(sev, fac, code)
469
+ sev << 31 | fac << 16 | code
470
+ end
471
+
472
+ def HRESULT_CODE(hr)
473
+ hr & 0xFFFF
474
+ end
475
+
476
+ def HRESULT_FACILITY(hr)
477
+ (hr >> 16) & 0x1fff
478
+ end
479
+
480
+ def HRESULT_FROM_NT(x)
481
+ x | 0x10000000 # FACILITY_NT_BIT
482
+ end
483
+
484
+ def HRESULT_FROM_WIN32(x)
485
+ if x <= 0
486
+ x
487
+ else
488
+ (x & 0x0000FFFF) | (7 << 16) | 0x80000000
489
+ end
490
+ end
491
+
492
+ def HRESULT_SEVERITY(hr)
493
+ (hr >> 31) & 0x1
494
+ end
495
+
496
+ def FAILED(status)
497
+ status < 0
498
+ end
499
+
500
+ def SUCCEEDED(status)
501
+ status >= 0
502
+ end
503
+ end
504
+ end