win32-api 1.5.3-universal-mingw32 → 1.6.0-universal-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +174 -169
- data/Gemfile +4 -0
- data/Gemfile.lock +24 -0
- data/README +129 -131
- data/Rakefile +185 -182
- data/appveyor.yml +42 -0
- data/ext/win32/api.c +1092 -1092
- data/lib/win32/api.rb +14 -8
- data/lib/win32/ruby21_32/win32/api.so +0 -0
- data/lib/win32/ruby21_64/win32/api.so +0 -0
- data/lib/win32/ruby22_32/win32/api.so +0 -0
- data/lib/win32/ruby22_64/win32/api.so +0 -0
- data/lib/win32/ruby23_32/win32/api.so +0 -0
- data/lib/win32/ruby23_64/win32/api.so +0 -0
- data/lib/win32/ruby2_32/win32/api.so +0 -0
- data/lib/win32/ruby2_64/win32/api.so +0 -0
- data/test/test_win32_api.rb +145 -145
- data/vendor/bundle/ruby/2.2.0/bin/devkit +23 -0
- data/vendor/bundle/ruby/2.2.0/bin/devkit.bat +6 -0
- data/vendor/bundle/ruby/2.2.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.2.0/bin/rake.bat +6 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/CHANGELOG +55 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/LICENSE +339 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/README.md +73 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/Rakefile +8 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/colorize.gemspec +35 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize.rb +12 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/class_methods.rb +116 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/lib/colorize/instance_methods.rb +135 -0
- data/vendor/bundle/ruby/2.2.0/gems/colorize-0.7.7/test/test_colorize.rb +161 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/README.md +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rakefile +1 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/Rspec-example-matchers.txt +184 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/bin/devkit +87 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/devkit.gemspec +27 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit.rb +18 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/core.rb +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/identity.rb +78 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/ssh_identity.rb +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/lib/devkit/version.rb +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/core_spec.rb +46 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/identity_spec.rb +1 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit/ssh_identity_spec.rb +1 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/devkit_spec.rb +5 -0
- data/vendor/bundle/ruby/2.2.0/gems/devkit-0.1.0/spec/spec_helper.rb +8 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/AUTHORS +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/COPYING +339 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Changelog.md +415 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Gemfile +9 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/INSTALL +59 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/LICENSE +7 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/README.rdoc +74 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/Rakefile +30 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/TODO +6 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/ansi_colors.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/asking_for_arrays.rb +18 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/basic_usage.rb +75 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/color_scheme.rb +32 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/get_character.rb +12 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/limit.rb +12 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/menus.rb +65 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/overwrite.rb +19 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/page_and_wrap.rb +322 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/password.rb +7 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/repeat_entry.rb +21 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/trapping_eof.rb +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/examples/using_readline.rb +17 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/highline.gemspec +37 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline.rb +1048 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/color_scheme.rb +134 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/import.rb +41 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/menu.rb +381 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/question.rb +480 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/simulate.rb +48 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/style.rb +192 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/lib/highline/version.rb +4 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/setup.rb +1360 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/highline.css +65 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/images/logo.png +0 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/site/index.html +58 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/string_methods.rb +32 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_color_scheme.rb +96 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_highline.rb +1402 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_import.rb +52 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_menu.rb +439 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_simulator.rb +23 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_string_highline.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/highline-1.7.8/test/tc_style.rb +578 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/BSDL +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/COPYING +57 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Gemfile +9 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/LEGAL +4 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/README.rdoc +19 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/Rakefile +16 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/bm_yhpg.rb +59 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/benchmarks/helper.rb +8 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert.rb +338 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/enable_tracepoint_events.rb +82 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/power_assert.gemspec +23 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/helper.rb +10 -0
- data/vendor/bundle/ruby/2.2.0/gems/power_assert-0.3.0/test/test_power_assert.rb +512 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/CONTRIBUTING.rdoc +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/History.rdoc +719 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Manifest.txt +154 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/README.rdoc +157 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/Rakefile +82 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/bin/rake +33 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rake.1 +141 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake.rb +73 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/application.rb +787 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/clean.rb +76 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/contrib/sshpublisher.rb +60 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/cpu_counter.rb +120 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_list.rb +436 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/file_utils.rb +123 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/packagetask.rb +199 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task.rb +391 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_arguments.rb +102 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/task_manager.rb +316 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/testtask.rb +204 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/version.rb +7 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/lib/rake/win32.rb +50 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/rakelib/test_times.rake +25 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/helper.rb +134 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/rakefile_definitions.rb +476 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/support/ruby_runner.rb +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_private_reader.rb +42 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application.rb +659 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_application_options.rb +468 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_clean.rb +61 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_cpu_counter.rb +68 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_definitions.rb +84 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_directory_task.rb +76 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list.rb +687 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_list_path_map.rb +15 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_task.rb +197 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_file_utils.rb +318 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_functional.rb +484 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_late_time.rb +18 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_multi_task.rb +64 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task.rb +430 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_argument_parsing.rb +119 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_arguments.rb +134 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_task_with_arguments.rb +172 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_test_task.rb +130 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_thread_pool.rb +145 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/ruby/2.2.0/gems/rake-11.1.2/test/test_trace_output.rb +52 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/COPYING +64 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/GPL +339 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/LGPL +502 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/PSFL +271 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/README.md +101 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/Rakefile +71 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test-unit.rb +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit.rb +505 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertion-failed-error.rb +25 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/assertions.rb +2218 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/attribute.rb +158 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/autorunner.rb +536 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector.rb +73 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/descendant.rb +19 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/dir.rb +108 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/load.rb +202 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/objectspace.rb +34 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color-scheme.rb +198 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/data.rb +262 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/diff.rb +746 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/fixture.rb +295 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/notification.rb +136 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/omission.rb +195 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/pending.rb +154 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/priority.rb +192 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/console.rb +59 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/test-suite-creator.rb +89 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testcase.rb +811 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/console/testrunner.rb +693 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/output.rb +31 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/adder.rb +13 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/subtracter.rb +12 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_adder.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/sample/test_user.rb +23 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-descendant.rb +178 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test-load.rb +442 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_dir.rb +406 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/collector/test_objectspace.rb +100 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.csv +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header-label.tsv +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.csv +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/header.tsv +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.csv +2 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/no-header.tsv +2 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/fixtures/plus.csv +3 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/run-test.rb +22 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-assertions.rb +2160 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute-matcher.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-attribute.rb +123 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-code-snippet.rb +37 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color-scheme.rb +82 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-color.rb +47 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-data.rb +303 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-diff.rb +518 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-emacs-runner.rb +60 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-error.rb +26 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-failure.rb +33 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fault-location-detector.rb +163 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-fixture.rb +713 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-notification.rb +33 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-omission.rb +81 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-pending.rb +70 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-priority.rb +173 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-case.rb +1171 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-result.rb +113 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite-creator.rb +97 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/test-test-suite.rb +150 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/testunit-test-util.rb +31 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/ui/test_testrunmediator.rb +20 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-method-owner-finder.rb +38 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test-output.rb +11 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_backtracefilter.rb +52 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_observable.rb +102 -0
- data/vendor/bundle/ruby/2.2.0/gems/test-unit-3.1.9/test/util/test_procwrapper.rb +36 -0
- data/vendor/bundle/ruby/2.2.0/specifications/colorize-0.7.7.gemspec +38 -0
- data/vendor/bundle/ruby/2.2.0/specifications/devkit-0.1.0.gemspec +46 -0
- data/vendor/bundle/ruby/2.2.0/specifications/highline-1.7.8.gemspec +37 -0
- data/vendor/bundle/ruby/2.2.0/specifications/power_assert-0.3.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.2.0/specifications/rake-11.1.2.gemspec +43 -0
- data/vendor/bundle/ruby/2.2.0/specifications/test-unit-3.1.9.gemspec +47 -0
- data/win32-api.gemspec +27 -27
- metadata +345 -5
- data/lib/win32/ruby18/win32/api.so +0 -0
- data/lib/win32/ruby19/win32/api.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dddc8231e05536fb92c98ec84398fc5f75e5ac1
|
4
|
+
data.tar.gz: b433d4cea0f55587dd0fe890d9ee0af1dc9b55b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c3b236d42c72c3eedbbed169bdcf0125d555bd4cfb6a7d61d66d3160b4f72164c8a9fdac3598527f55ddc8ed89c1fe4b4d57e3646ba0c66b7e9eb77300efd92
|
7
|
+
data.tar.gz: 7e85813a20a4c64b609d67571b098d50a7bd6802e7ce2e0bff68bad0019699a3e788bc4ebf8d97ac2bce96e40c7c3d503e19d93309164bf2697bde2ee0cbb5de
|
data/CHANGES
CHANGED
@@ -1,169 +1,174 @@
|
|
1
|
-
== 1.
|
2
|
-
* Now includes binaries for Ruby 2.
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
*
|
15
|
-
|
16
|
-
== 1.5.
|
17
|
-
*
|
18
|
-
|
19
|
-
*
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
*
|
24
|
-
*
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
*
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
*
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
instead of
|
54
|
-
*
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
*
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
== 1.4.
|
69
|
-
*
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
*
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
*
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
*
|
102
|
-
|
103
|
-
*
|
104
|
-
|
105
|
-
|
106
|
-
*
|
107
|
-
|
108
|
-
*
|
109
|
-
|
110
|
-
|
111
|
-
*
|
112
|
-
*
|
113
|
-
* Added
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
* Added
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
* Added
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
*
|
130
|
-
|
131
|
-
== 1.0
|
132
|
-
* Added the
|
133
|
-
|
134
|
-
*
|
135
|
-
|
136
|
-
|
137
|
-
* Added the
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
*
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
== 1.0.
|
147
|
-
*
|
148
|
-
|
149
|
-
*
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
* Fixed
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
*
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
1
|
+
== 1.6.0 - 09-Jun-2016
|
2
|
+
* Now includes binaries for Ruby 2.3 for both 32 and 64 bit versions.
|
3
|
+
* Now drop support Ruby 1.9 or earlier.
|
4
|
+
* Some README and gemspec updates, including new maintainer information.
|
5
|
+
|
6
|
+
== 1.5.3 - 18-Mar-2015
|
7
|
+
* Now includes binaries for Ruby 2.2 for both 32 and 64 bit versions.
|
8
|
+
* Fixed potential stack corruption caused by callbacks. Thanks go to
|
9
|
+
rickerliang for the spot and patch.
|
10
|
+
* Some minor updates and additions to the Rakefile.
|
11
|
+
|
12
|
+
== 1.5.2 - 11-Oct-2014
|
13
|
+
* Now includes binaries for Ruby 2.1 for both 32 and 64 bit versions.
|
14
|
+
* Some refactoring of the gem:binary task, mostly for me.
|
15
|
+
|
16
|
+
== 1.5.1 - 14-Feb-2014
|
17
|
+
* Fixed a potential zero-initialization issue. Thanks go to Peter Huene
|
18
|
+
for the spot and the patch.
|
19
|
+
* Added rake as a development dependency.
|
20
|
+
|
21
|
+
== 1.5.0 - 22-Aug-2013
|
22
|
+
* Fixes for Ruby x64.
|
23
|
+
* There are now separate 32 and 64 bit binaries packaged for Ruby 2.x.
|
24
|
+
* Updates to the Rakefile for the gem:binary task.
|
25
|
+
* Some README updates, including Future Plans.
|
26
|
+
|
27
|
+
== 1.4.9 - 14-Jul-2013
|
28
|
+
* Added a binary for Ruby 2.0.
|
29
|
+
* Add devkit to Rakefile for the gem:binary task.
|
30
|
+
|
31
|
+
== 1.4.8 - 16-Jan-2011
|
32
|
+
* A binary for both 1.8.x and 1.9.x is now shipped as part of the binary
|
33
|
+
build. A stub file is used to dynamically require the correct binary based
|
34
|
+
on your current version of Ruby.
|
35
|
+
* Some updates to the Rakefile to help build multiple binaries.
|
36
|
+
|
37
|
+
== 1.4.7 - 4-Dec-2010
|
38
|
+
* An internal error formatting function now resorts to the default
|
39
|
+
LANGID on error 1815 (ERROR_RESOURCE_LANG_NOT_FOUND). Thanks go to
|
40
|
+
Little Snake for the spot.
|
41
|
+
* Added a default Rake task and refactored the clean task.
|
42
|
+
|
43
|
+
== 1.4.6 - 9-Feb-2010
|
44
|
+
* Fixed a warning that showed up with MinGW/gcc caused by an unnecessary
|
45
|
+
pointer dereference.
|
46
|
+
* Some updates to the Rakefile and gemspec. Gem building is now handled via
|
47
|
+
Rake tasks.
|
48
|
+
* Minor updates to the test suite.
|
49
|
+
|
50
|
+
== 1.4.5 - 24-Aug-2009
|
51
|
+
* Reverted the change in 1.4.4. We need unsigned longs in a few cases.
|
52
|
+
Consequently, you should upgrade windows-pr to 1.0.8 or later because
|
53
|
+
some return values were set to -1 instead of 0xFFFFFFFF as they are now.
|
54
|
+
* Updated one test to validate return value from failed function.
|
55
|
+
|
56
|
+
== 1.4.4 - 18-Aug-2009
|
57
|
+
* Fixed a bug where functions that returned a long return type were unsigned
|
58
|
+
instead of signed.
|
59
|
+
* The Rakefile has been refactored somewhat, including the removal of FFI
|
60
|
+
related tasks. Those are now in a separate branch in the repository.
|
61
|
+
* The test-unit library is now a development dependency instead of a runtime
|
62
|
+
dependency.
|
63
|
+
|
64
|
+
== 1.4.3 - 23-Jun-2009
|
65
|
+
* Bug fix for mingw.
|
66
|
+
* License now set to Artistic 2.0.
|
67
|
+
|
68
|
+
== 1.4.2 - 31-May-2009
|
69
|
+
* Updated the internal StringError() function to better handle the possibility
|
70
|
+
of the English .mui file not being found. Thanks go to Michel Demazure for
|
71
|
+
the spot.
|
72
|
+
|
73
|
+
== 1.4.1 - 29-May-2009
|
74
|
+
* Callback handling improvements.
|
75
|
+
* Updated the gemspec description.
|
76
|
+
|
77
|
+
== 1.4.0 - 19-Feb-2009
|
78
|
+
* Now compatible with Ruby 1.9.x.
|
79
|
+
* In what will go down as, "It seemed like a good idea at the time", I have
|
80
|
+
removed the feature where W (wide) character functions were used first if
|
81
|
+
your $KCODE environment variable was set to "UTF8". It caused too many
|
82
|
+
headaches in practice, especially amongst Rails users. You must now always
|
83
|
+
explicitly specify 'W' in the constructor if that's what you want.
|
84
|
+
* Fixed RF bug #23944 - bad error message for MSVCRT functions that failed
|
85
|
+
to load properly.
|
86
|
+
|
87
|
+
== 1.3.0 - 1-Jan-2009
|
88
|
+
* Fixed RubyForge bug #23395, which was caused by inadvertently modifying
|
89
|
+
a variable within a loop. This caused callbacks to fail in certain
|
90
|
+
situations.
|
91
|
+
* Added the Win32::API::LoadLibraryError and Win32::API::PrototypeError classes
|
92
|
+
to provide more fine grained handling of possible error conditions in the
|
93
|
+
constructor. These are both subclasses of Win32::API::Error.
|
94
|
+
* Removed the Win32::API::CallbackError class.
|
95
|
+
* Changed the upper limit on prototypes from 16 to 20. It turns out that
|
96
|
+
there are actually Windows functions with more than 16 prototypes.
|
97
|
+
* Refactored a high iteration test so that it counts as only one test
|
98
|
+
instead of 1000.
|
99
|
+
|
100
|
+
== 1.2.2 - 27-Nov-2008
|
101
|
+
* Fixed bug in the error message for illegal prototypes and illegal return
|
102
|
+
types where the character in question would come out as empty or garbage.
|
103
|
+
* Passing a bad return type to Win32::API::Callback now raises an error.
|
104
|
+
* Updated the error message for illegal return types to say, "Illegal return
|
105
|
+
type" instead of "Illegal prototype" as it did previously.
|
106
|
+
* The error message for a bad function name passed to Win32::API.new now
|
107
|
+
matches JRuby's FFI error message.
|
108
|
+
* Improved the handling of msvcrt functions with regards to skipping 'A'
|
109
|
+
and 'W' checks. Previously it was checking against the literal string
|
110
|
+
'msvcrt'. Now it checks against any string that starts with 'msvcr'.
|
111
|
+
* Added test-unit 2.x as a prerequisite.
|
112
|
+
* Added tests for the Win32::API::Callback#address method.
|
113
|
+
* Added tests to all Win32::API classes that explicitly check error messages.
|
114
|
+
|
115
|
+
== 1.2.1 - 14-Nov-2008
|
116
|
+
* Fixed and updated callback handling.
|
117
|
+
* Fixed wide string return handling for pointers and strings.
|
118
|
+
* Added the Win32::API::Callback#address instance method.
|
119
|
+
* All errors are now in English instead of your native language, because
|
120
|
+
that's what Ruby itself does.
|
121
|
+
|
122
|
+
== 1.2.0 - 22-Jul-2008
|
123
|
+
* Added support for the 'S' (string) prototype and return type. It can be
|
124
|
+
used instead of 'P' (pointer) for const char*.
|
125
|
+
* Some internal refactoring. The attempts to load ANSI and/or Wide character
|
126
|
+
versions of functions are skipped for MSVCRT functions, since they do not
|
127
|
+
exist. This eliminates some unnecessary LoadLibrary() calls.
|
128
|
+
* Added a couple of gem building Rake tasks.
|
129
|
+
* Added a few more tests.
|
130
|
+
|
131
|
+
== 1.1.0 - 12-Jun-2008
|
132
|
+
* Added the Windows::API::Function class. This is a subclass of Win32::API
|
133
|
+
meant only for use with raw function pointers.
|
134
|
+
* Some documentation updates in the source and README files.
|
135
|
+
|
136
|
+
== 1.0.6 - 18-Apr-2008
|
137
|
+
* Added the effective_function_name method. This allows you to see what the
|
138
|
+
actual function name is that was defined, e.g. GetUserNameA vs GetUserNameW.
|
139
|
+
* Replaced an instance of _tcscmp with strcmp. The case in question was always
|
140
|
+
going to be ASCII.
|
141
|
+
* Cleaned up some -W3 warnings.
|
142
|
+
* Added the build_manifest task to the Rakefile, which is automatically run if
|
143
|
+
you're using a version of Ruby built with VC++ 8 or later. This builds a
|
144
|
+
ruby.exe.manifest file (if it doesn't already exist).
|
145
|
+
|
146
|
+
== 1.0.5 - 20-Nov-2007
|
147
|
+
* The API.new method now defaults to "W" (wide character functions) before "A"
|
148
|
+
(ANSI functions) if the $KCODE global variable is set to 'u' (UTF8).
|
149
|
+
* Minor improvements to the Rakefile.
|
150
|
+
|
151
|
+
== 1.0.4 - 26-Oct-2007
|
152
|
+
* Fixed a bug where methods that returned pointers ('P') could choke if the
|
153
|
+
resulting pointer was 0 or NULL. In this case, nil is now returned instead.
|
154
|
+
* Tweak to the extconf.rb file that helps the gem build it from source
|
155
|
+
properly.
|
156
|
+
|
157
|
+
== 1.0.3 - 28-Sep-2007
|
158
|
+
* Fixed a subtle but dangerous copy-on-write bug in the API#call method.
|
159
|
+
|
160
|
+
== 1.0.2 - 28-Sep-2007
|
161
|
+
* Fixed a bug in an internal struct member that was causing segfaults. Thanks
|
162
|
+
go to Lars Olsson for the spot.
|
163
|
+
* Fixed the 'install' task in the Rakefile. This only affected native builds,
|
164
|
+
not the prebuilt binary.
|
165
|
+
* Added a few more tests.
|
166
|
+
|
167
|
+
== 1.0.1 - 27-Sep-2007
|
168
|
+
* Functions declared with a void prototype no longer require an explicit nil
|
169
|
+
argument to fulfill the arity requirement. You can still call them with an
|
170
|
+
explicit nil if you wish, however.
|
171
|
+
* Fixed the gemspec for the native build.
|
172
|
+
|
173
|
+
== 1.0.0 - 14-Sep-2007
|
174
|
+
* Initial release
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
win32-api (1.6.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
power_assert (0.3.0)
|
10
|
+
rake (11.1.2)
|
11
|
+
test-unit (3.1.9)
|
12
|
+
power_assert
|
13
|
+
|
14
|
+
PLATFORMS
|
15
|
+
x64-mingw32
|
16
|
+
x86-mingw32
|
17
|
+
|
18
|
+
DEPENDENCIES
|
19
|
+
rake
|
20
|
+
test-unit (>= 2.5.0)
|
21
|
+
win32-api!
|
22
|
+
|
23
|
+
BUNDLED WITH
|
24
|
+
1.10.5
|
data/README
CHANGED
@@ -1,131 +1,129 @@
|
|
1
|
-
= Description
|
2
|
-
This is a drop-in replacement for the Win32API library currently part of
|
3
|
-
Ruby's standard library.
|
4
|
-
|
5
|
-
= Synopsis
|
6
|
-
require 'win32/api'
|
7
|
-
include Win32
|
8
|
-
|
9
|
-
# Typical example - Get user name
|
10
|
-
buf = 0.chr * 260
|
11
|
-
len = [buf.length].pack('L')
|
12
|
-
|
13
|
-
GetUserName = API.new('GetUserName', 'PP', 'I', 'advapi32')
|
14
|
-
GetUserName.call(buf, len)
|
15
|
-
|
16
|
-
puts buf.strip
|
17
|
-
|
18
|
-
# Callback example - Enumerate windows
|
19
|
-
EnumWindows = API.new('EnumWindows', 'KP', 'L', 'user32')
|
20
|
-
GetWindowText = API.new('GetWindowText', 'LPI', 'I', 'user32')
|
21
|
-
EnumWindowsProc = API::Callback.new('LP', 'I'){ |handle, param|
|
22
|
-
buf = "\0" * 200
|
23
|
-
GetWindowText.call(handle, buf, 200);
|
24
|
-
puts buf.strip unless buf.strip.empty?
|
25
|
-
buf.index(param).nil? ? true : false
|
26
|
-
}
|
27
|
-
|
28
|
-
EnumWindows.call(EnumWindowsProc, 'UEDIT32')
|
29
|
-
|
30
|
-
# Raw function pointer example - System beep
|
31
|
-
LoadLibrary = API.new('LoadLibrary', 'P', 'L')
|
32
|
-
GetProcAddress = API.new('GetProcAddress', 'LP', 'L')
|
33
|
-
|
34
|
-
hlib = LoadLibrary.call('user32')
|
35
|
-
addr = GetProcAddress.call(hlib, 'MessageBeep')
|
36
|
-
func = Win32::API::Function.new(addr, 'L', 'L')
|
37
|
-
func.call(0)
|
38
|
-
|
39
|
-
= Differences between win32-api and Win32API
|
40
|
-
* This library has callback support
|
41
|
-
* This library supports raw function pointers.
|
42
|
-
* This library supports a separate string type for const char* (S).
|
43
|
-
* Argument order change. The DLL name is now last, not first.
|
44
|
-
* Removed the 'N' and 'n' prototypes. Always use 'L' for longs now.
|
45
|
-
* Sensible default arguments for the prototype, return type and DLL name.
|
46
|
-
* Reader methods for the function name, effective function name, prototype,
|
47
|
-
return type and DLL.
|
48
|
-
* Removed the support for lower case prototype and return types. Always
|
49
|
-
use capital letters.
|
50
|
-
|
51
|
-
= Developer's Notes
|
52
|
-
[NOTE: Some of the information below is now out of date, but explains my
|
53
|
-
motivation at the time the project was originally created.]
|
54
|
-
|
55
|
-
The current Win32API library that ships with the standard library has been
|
56
|
-
slated for removal from Ruby 2.0 and it will not receive any updates in the
|
57
|
-
Ruby 1.8.x branch. I have far too many libraries invested in it to let it
|
58
|
-
die at this point.
|
59
|
-
|
60
|
-
In addition, the current Win32API library was written in the bad old Ruby
|
61
|
-
1.6.x days, which means it doesn't use the newer allocation framework.
|
62
|
-
There were several other refactorings that I felt it needed to more closely
|
63
|
-
match how it was actually being used in practice.
|
64
|
-
|
65
|
-
The first order of business was changing the order of the arguments. By
|
66
|
-
moving the DLL name from first to last, I was able to provide reasonable
|
67
|
-
default arguments for the prototype, return type and the DLL. Only the
|
68
|
-
function name is required now.
|
69
|
-
|
70
|
-
There was a laundry list of other refactorings that were needed: sensical
|
71
|
-
instance variable names with proper accessors, removing support for lower
|
72
|
-
case prototype and return value characters that no one used in practice,
|
73
|
-
better naming conventions, the addition of RDoc ready comments and,
|
74
|
-
especially, callback and raw function pointer support.
|
75
|
-
|
76
|
-
Most importantly, we can now add, modify and fix any features that we feel
|
77
|
-
best benefit our end users.
|
78
|
-
|
79
|
-
= Multiple Binaries
|
80
|
-
As of win32-api 1.4.8 a binary gem is shipped that contains binaries for
|
81
|
-
both Ruby 1.8, Ruby 1.9, and 2.x. For Ruby 2.x, both 32 and 64 bit binaries
|
82
|
-
are included as of release 1.5.0.
|
83
|
-
|
84
|
-
The file under lib/win32 dynamically requires the correct binary based on
|
85
|
-
your version of Ruby.
|
86
|
-
|
87
|
-
= Documentation
|
88
|
-
The source file contains inline RDoc documentation. If you installed
|
89
|
-
this file as a gem, then you have the docs. Run "gem server" and point
|
90
|
-
your browser at http://localhost:8808 to see them.
|
91
|
-
|
92
|
-
= Warranty
|
93
|
-
This package is provided "as is" and without any express or
|
94
|
-
implied warranties, including, without limitation, the implied
|
95
|
-
warranties of merchantability and fitness for a particular purpose.
|
96
|
-
|
97
|
-
= Known Issues
|
98
|
-
Possible callback issues when dealing with multi-threaded applications.
|
99
|
-
|
100
|
-
Please submit any bug reports to the project page at
|
101
|
-
https://github.com/djberg96/win32-api
|
102
|
-
|
103
|
-
== Contributions
|
104
|
-
Although this library is free, please consider having your company
|
105
|
-
setup a gittip if used by your company professionally.
|
106
|
-
|
107
|
-
http://www.gittip.com/djberg96/
|
108
|
-
|
109
|
-
= Future Plans
|
110
|
-
I really don't have future plans for this library since you should use FFI
|
111
|
-
as your preferred C interface going forward. All of my own projects have
|
112
|
-
since been converted to either use FFI or an analogous OLE interface.
|
113
|
-
|
114
|
-
I will continue to maintain this library as long as there are folks out
|
115
|
-
there who are still using it, but I strongly encourage you to convert
|
116
|
-
your projects to FFI when possible.
|
117
|
-
|
118
|
-
=
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
=
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
Daniel J. Berger
|
131
|
-
Park Heesob
|
1
|
+
= Description
|
2
|
+
This is a drop-in replacement for the Win32API library currently part of
|
3
|
+
Ruby's standard library.
|
4
|
+
|
5
|
+
= Synopsis
|
6
|
+
require 'win32/api'
|
7
|
+
include Win32
|
8
|
+
|
9
|
+
# Typical example - Get user name
|
10
|
+
buf = 0.chr * 260
|
11
|
+
len = [buf.length].pack('L')
|
12
|
+
|
13
|
+
GetUserName = API.new('GetUserName', 'PP', 'I', 'advapi32')
|
14
|
+
GetUserName.call(buf, len)
|
15
|
+
|
16
|
+
puts buf.strip
|
17
|
+
|
18
|
+
# Callback example - Enumerate windows
|
19
|
+
EnumWindows = API.new('EnumWindows', 'KP', 'L', 'user32')
|
20
|
+
GetWindowText = API.new('GetWindowText', 'LPI', 'I', 'user32')
|
21
|
+
EnumWindowsProc = API::Callback.new('LP', 'I'){ |handle, param|
|
22
|
+
buf = "\0" * 200
|
23
|
+
GetWindowText.call(handle, buf, 200);
|
24
|
+
puts buf.strip unless buf.strip.empty?
|
25
|
+
buf.index(param).nil? ? true : false
|
26
|
+
}
|
27
|
+
|
28
|
+
EnumWindows.call(EnumWindowsProc, 'UEDIT32')
|
29
|
+
|
30
|
+
# Raw function pointer example - System beep
|
31
|
+
LoadLibrary = API.new('LoadLibrary', 'P', 'L')
|
32
|
+
GetProcAddress = API.new('GetProcAddress', 'LP', 'L')
|
33
|
+
|
34
|
+
hlib = LoadLibrary.call('user32')
|
35
|
+
addr = GetProcAddress.call(hlib, 'MessageBeep')
|
36
|
+
func = Win32::API::Function.new(addr, 'L', 'L')
|
37
|
+
func.call(0)
|
38
|
+
|
39
|
+
= Differences between win32-api and Win32API
|
40
|
+
* This library has callback support
|
41
|
+
* This library supports raw function pointers.
|
42
|
+
* This library supports a separate string type for const char* (S).
|
43
|
+
* Argument order change. The DLL name is now last, not first.
|
44
|
+
* Removed the 'N' and 'n' prototypes. Always use 'L' for longs now.
|
45
|
+
* Sensible default arguments for the prototype, return type and DLL name.
|
46
|
+
* Reader methods for the function name, effective function name, prototype,
|
47
|
+
return type and DLL.
|
48
|
+
* Removed the support for lower case prototype and return types. Always
|
49
|
+
use capital letters.
|
50
|
+
|
51
|
+
= Developer's Notes
|
52
|
+
[NOTE: Some of the information below is now out of date, but explains my
|
53
|
+
motivation at the time the project was originally created.]
|
54
|
+
|
55
|
+
The current Win32API library that ships with the standard library has been
|
56
|
+
slated for removal from Ruby 2.0 and it will not receive any updates in the
|
57
|
+
Ruby 1.8.x branch. I have far too many libraries invested in it to let it
|
58
|
+
die at this point.
|
59
|
+
|
60
|
+
In addition, the current Win32API library was written in the bad old Ruby
|
61
|
+
1.6.x days, which means it doesn't use the newer allocation framework.
|
62
|
+
There were several other refactorings that I felt it needed to more closely
|
63
|
+
match how it was actually being used in practice.
|
64
|
+
|
65
|
+
The first order of business was changing the order of the arguments. By
|
66
|
+
moving the DLL name from first to last, I was able to provide reasonable
|
67
|
+
default arguments for the prototype, return type and the DLL. Only the
|
68
|
+
function name is required now.
|
69
|
+
|
70
|
+
There was a laundry list of other refactorings that were needed: sensical
|
71
|
+
instance variable names with proper accessors, removing support for lower
|
72
|
+
case prototype and return value characters that no one used in practice,
|
73
|
+
better naming conventions, the addition of RDoc ready comments and,
|
74
|
+
especially, callback and raw function pointer support.
|
75
|
+
|
76
|
+
Most importantly, we can now add, modify and fix any features that we feel
|
77
|
+
best benefit our end users.
|
78
|
+
|
79
|
+
= Multiple Binaries
|
80
|
+
As of win32-api 1.4.8 a binary gem is shipped that contains binaries for
|
81
|
+
both Ruby 1.8, Ruby 1.9, and 2.x. For Ruby 2.x, both 32 and 64 bit binaries
|
82
|
+
are included as of release 1.5.0.
|
83
|
+
|
84
|
+
The file under lib/win32 dynamically requires the correct binary based on
|
85
|
+
your version of Ruby.
|
86
|
+
|
87
|
+
= Documentation
|
88
|
+
The source file contains inline RDoc documentation. If you installed
|
89
|
+
this file as a gem, then you have the docs. Run "gem server" and point
|
90
|
+
your browser at http://localhost:8808 to see them.
|
91
|
+
|
92
|
+
= Warranty
|
93
|
+
This package is provided "as is" and without any express or
|
94
|
+
implied warranties, including, without limitation, the implied
|
95
|
+
warranties of merchantability and fitness for a particular purpose.
|
96
|
+
|
97
|
+
= Known Issues
|
98
|
+
Possible callback issues when dealing with multi-threaded applications.
|
99
|
+
|
100
|
+
Please submit any bug reports to the project page at
|
101
|
+
https://github.com/djberg96/win32-api
|
102
|
+
|
103
|
+
== Contributions
|
104
|
+
Although this library is free, please consider having your company
|
105
|
+
setup a gittip if used by your company professionally.
|
106
|
+
|
107
|
+
http://www.gittip.com/djberg96/
|
108
|
+
|
109
|
+
= Future Plans
|
110
|
+
I really don't have future plans for this library since you should use FFI
|
111
|
+
as your preferred C interface going forward. All of my own projects have
|
112
|
+
since been converted to either use FFI or an analogous OLE interface.
|
113
|
+
|
114
|
+
I will continue to maintain this library as long as there are folks out
|
115
|
+
there who are still using it, but I strongly encourage you to convert
|
116
|
+
your projects to FFI when possible.
|
117
|
+
|
118
|
+
= Copyright
|
119
|
+
(C) 2003-2015 Daniel J. Berger
|
120
|
+
(C) 2016 Hiroshi Hatake
|
121
|
+
All Rights Reserved
|
122
|
+
|
123
|
+
= License
|
124
|
+
Artistic 2.0
|
125
|
+
|
126
|
+
= Authors
|
127
|
+
Daniel J. Berger
|
128
|
+
Park Heesob
|
129
|
+
Hiroshi Hatake
|