genkaio 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +7 -0
  2. data/.bundle/config +2 -0
  3. data/.gitignore +2 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +7 -0
  6. data/Gemfile.lock +34 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +78 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/genkaio +66 -0
  12. data/bin/setup +8 -0
  13. data/demo.gif +0 -0
  14. data/genkaio.gemspec +28 -0
  15. data/lib/.genkaio.rb.swp +0 -0
  16. data/lib/dic/dicdata_2019_1108 +212408 -0
  17. data/lib/genkaio/version.rb +3 -0
  18. data/lib/genkaio.rb +73 -0
  19. data/pkg/genkaio-0.0.1.gem +0 -0
  20. data/vendor/bundle/ruby/2.5.0/bin/genkaio +27 -0
  21. data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
  22. data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
  23. data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
  24. data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
  25. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
  26. data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.3.gem +0 -0
  27. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
  28. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.9.0.gem +0 -0
  29. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.9.0.gem +0 -0
  30. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.9.0.gem +0 -0
  31. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.9.0.gem +0 -0
  32. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/.rspec +1 -0
  33. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
  34. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +83 -0
  35. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +220 -0
  36. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +39 -0
  37. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
  38. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +84 -0
  39. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +57 -0
  40. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
  41. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
  42. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
  43. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
  44. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
  45. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
  46. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
  47. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
  48. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
  49. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
  50. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
  51. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
  53. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
  54. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
  55. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
  56. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
  57. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
  58. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
  61. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
  62. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
  63. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
  64. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
  65. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
  66. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
  67. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
  68. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
  69. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/Gemfile +3 -0
  71. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/History.rdoc +2344 -0
  72. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/README.rdoc +156 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/Rakefile +41 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/bundle +105 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/console +7 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/rake +29 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/rdoc +29 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/rubocop +29 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/bin/setup +6 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/example/a.c +6 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/example/b.c +6 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/example/main.c +11 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
  90. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
  91. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/rake.1 +156 -0
  92. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
  93. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
  94. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/exe/rake +27 -0
  95. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
  96. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
  97. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
  98. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
  99. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
  100. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
  101. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
  102. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
  103. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
  104. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
  105. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
  106. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
  107. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
  108. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
  109. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
  110. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
  111. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
  112. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
  113. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
  114. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
  115. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
  117. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
  118. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
  121. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
  129. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
  132. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
  135. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake.rb +71 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/rake.gemspec +42 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +27 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/README.md +43 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/.document +5 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/.yardopts +8 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/Changelog.md +2265 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/LICENSE.md +26 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/README.md +384 -0
  148. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/exe/rspec +4 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/autorun.rb +3 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/fork_runner.rb +134 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/server.rb +61 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  157. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/bisect/utilities.rb +58 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/configuration.rb +2336 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/configuration_options.rb +233 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/did_you_mean.rb +46 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/drb.rb +113 -0
  162. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/dsl.rb +98 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/example.rb +656 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/example_group.rb +889 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/example_status_persister.rb +235 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/filter_manager.rb +231 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/flat_map.rb +20 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/console_codes.rb +68 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/exception_presenter.rb +508 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/helpers.rb +110 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/protocol.rb +182 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/formatters.rb +272 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/hooks.rb +632 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/invocations.rb +87 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/memoized_helpers.rb +554 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/metadata.rb +498 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/metadata_filter.rb +255 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/notifications.rb +521 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/option_parser.rb +317 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/ordering.rb +158 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/output_wrapper.rb +29 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/pending.rb +165 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/profiler.rb +34 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer/.rspec +1 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/project_initializer.rb +48 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/rake_task.rb +188 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/reporter.rb +265 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/ruby_project.rb +53 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/runner.rb +204 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/sandbox.rb +37 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/set.rb +54 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/shared_context.rb +55 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/shared_example_group.rb +269 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/shell_escape.rb +49 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/version.rb +9 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/warnings.rb +40 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core/world.rb +275 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.0/lib/rspec/core.rb +186 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.document +5 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.yardopts +6 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/README.md +320 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/.document +5 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/.yardopts +6 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/Changelog.md +1125 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/LICENSE.md +25 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/README.md +463 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/chain.rb +111 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/any_instance.rb +11 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/argument_matchers.rb +322 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/configuration.rb +212 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/error_generator.rb +369 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/example_methods.rb +434 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/marshal_extension.rb +41 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive.rb +132 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_chain.rb +87 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/message_expectation.rb +751 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_double.rb +287 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/method_reference.rb +202 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/minitest_integration.rb +68 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/mutate_const.rb +339 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/object_reference.rb +149 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/order_group.rb +81 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/proxy.rb +503 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/space.rb +238 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/standalone.rb +3 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/syntax.rb +325 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/targets.rb +124 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/test_double.rb +171 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_double.rb +129 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks/version.rb +9 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.0/lib/rspec/mocks.rb +130 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/Changelog.md +275 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/LICENSE.md +23 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/README.md +40 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/caller_filter.rb +83 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/comparable_version.rb +46 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/differ.rb +215 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/directory_maker.rb +63 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/encoded_string.rb +165 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/hunk_generator.rb +47 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/matcher_definition.rb +42 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/mutex.rb +73 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/object_formatter.rb +275 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/reentrant_mutex.rb +53 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/ruby_features.rb +176 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/source/location.rb +21 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/source/node.rb +110 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/source/token.rb +87 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/source.rb +75 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/shell_out.rb +89 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/string_matcher.rb +46 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/spec.rb +81 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/version.rb +7 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support/warnings.rb +39 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.0/lib/rspec/support.rb +149 -0
  357. data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +61 -0
  358. data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.3.gemspec +49 -0
  359. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +43 -0
  360. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.0.gemspec +63 -0
  361. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.0.gemspec +51 -0
  362. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.0.gemspec +51 -0
  363. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.0.gemspec +39 -0
  364. metadata +411 -0
@@ -0,0 +1,317 @@
1
+ # http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/classes/OptionParser.html
2
+ require 'optparse'
3
+
4
+ module RSpec::Core
5
+ # @private
6
+ class Parser
7
+ def self.parse(args, source=nil)
8
+ new(args).parse(source)
9
+ end
10
+
11
+ attr_reader :original_args
12
+
13
+ def initialize(original_args)
14
+ @original_args = original_args
15
+ end
16
+
17
+ def parse(source=nil)
18
+ return { :files_or_directories_to_run => [] } if original_args.empty?
19
+ args = original_args.dup
20
+
21
+ options = args.delete('--tty') ? { :tty => true } : {}
22
+ begin
23
+ parser(options).parse!(args)
24
+ rescue OptionParser::InvalidOption => e
25
+ failure = e.message
26
+ failure << " (defined in #{source})" if source
27
+ abort "#{failure}\n\nPlease use --help for a listing of valid options"
28
+ end
29
+
30
+ options[:files_or_directories_to_run] = args
31
+ options
32
+ end
33
+
34
+ private
35
+
36
+ # rubocop:disable MethodLength
37
+ # rubocop:disable Metrics/AbcSize
38
+ # rubocop:disable CyclomaticComplexity
39
+ # rubocop:disable PerceivedComplexity
40
+ # rubocop:disable Metrics/BlockLength
41
+ def parser(options)
42
+ OptionParser.new do |parser|
43
+ parser.summary_width = 34
44
+
45
+ parser.banner = "Usage: rspec [options] [files or directories]\n\n"
46
+
47
+ parser.on('-I PATH', 'Specify PATH to add to $LOAD_PATH (may be used more than once).') do |dirs|
48
+ options[:libs] ||= []
49
+ options[:libs].concat(dirs.split(File::PATH_SEPARATOR))
50
+ end
51
+
52
+ parser.on('-r', '--require PATH', 'Require a file.') do |path|
53
+ options[:requires] ||= []
54
+ options[:requires] << path
55
+ end
56
+
57
+ parser.on('-O', '--options PATH', 'Specify the path to a custom options file.') do |path|
58
+ options[:custom_options_file] = path
59
+ end
60
+
61
+ parser.on('--order TYPE[:SEED]', 'Run examples by the specified order type.',
62
+ ' [defined] examples and groups are run in the order they are defined',
63
+ ' [rand] randomize the order of groups and examples',
64
+ ' [random] alias for rand',
65
+ ' [random:SEED] e.g. --order random:123') do |o|
66
+ options[:order] = o
67
+ end
68
+
69
+ parser.on('--seed SEED', Integer, 'Equivalent of --order rand:SEED.') do |seed|
70
+ options[:order] = "rand:#{seed}"
71
+ end
72
+
73
+ parser.on('--bisect[=verbose]', 'Repeatedly runs the suite in order to isolate the failures to the ',
74
+ ' smallest reproducible case.') do |argument|
75
+ options[:bisect] = argument || true
76
+ options[:runner] = RSpec::Core::Invocations::Bisect.new
77
+ end
78
+
79
+ parser.on('--[no-]fail-fast[=COUNT]', 'Abort the run after a certain number of failures (1 by default).') do |argument|
80
+ if argument == true
81
+ value = 1
82
+ elsif argument == false || argument == 0
83
+ value = false
84
+ else
85
+ begin
86
+ value = Integer(argument)
87
+ rescue ArgumentError
88
+ RSpec.warning "Expected an integer value for `--fail-fast`, got: #{argument.inspect}", :call_site => nil
89
+ end
90
+ end
91
+ set_fail_fast(options, value)
92
+ end
93
+
94
+ parser.on('--failure-exit-code CODE', Integer,
95
+ 'Override the exit code used when there are failing specs.') do |code|
96
+ options[:failure_exit_code] = code
97
+ end
98
+
99
+ parser.on('-X', '--[no-]drb', 'Run examples via DRb.') do |use_drb|
100
+ options[:drb] = use_drb
101
+ options[:runner] = RSpec::Core::Invocations::DRbWithFallback.new if use_drb
102
+ end
103
+
104
+ parser.on('--drb-port PORT', 'Port to connect to the DRb server.') do |o|
105
+ options[:drb_port] = o.to_i
106
+ end
107
+
108
+ parser.separator("\n **** Output ****\n\n")
109
+
110
+ parser.on('-f', '--format FORMATTER', 'Choose a formatter.',
111
+ ' [p]rogress (default - dots)',
112
+ ' [d]ocumentation (group and example names)',
113
+ ' [h]tml',
114
+ ' [j]son',
115
+ ' [f]ailures ("file:line:reason", suitable for editors integration)',
116
+ ' custom formatter class name') do |o|
117
+ options[:formatters] ||= []
118
+ options[:formatters] << [o]
119
+ end
120
+
121
+ parser.on('-o', '--out FILE',
122
+ 'Write output to a file instead of $stdout. This option applies',
123
+ ' to the previously specified --format, or the default format',
124
+ ' if no format is specified.'
125
+ ) do |o|
126
+ options[:formatters] ||= [['progress']]
127
+ options[:formatters].last << o
128
+ end
129
+
130
+ parser.on('--deprecation-out FILE', 'Write deprecation warnings to a file instead of $stderr.') do |file|
131
+ options[:deprecation_stream] = file
132
+ end
133
+
134
+ parser.on('-b', '--backtrace', 'Enable full backtrace.') do |_o|
135
+ options[:full_backtrace] = true
136
+ end
137
+
138
+ parser.on('-c', '--color', '--colour', '') do |_o|
139
+ # flag will be excluded from `--help` output because it is deprecated
140
+ options[:color] = true
141
+ options[:color_mode] = :automatic
142
+ end
143
+
144
+ parser.on('--force-color', '--force-colour', 'Force the output to be in color, even if the output is not a TTY') do |_o|
145
+ if options[:color_mode] == :off
146
+ abort "Please only use one of `--force-color` and `--no-color`"
147
+ end
148
+ options[:color_mode] = :on
149
+ end
150
+
151
+ parser.on('--no-color', '--no-colour', 'Force the output to not be in color, even if the output is a TTY') do |_o|
152
+ if options[:color_mode] == :on
153
+ abort "Please only use one of --force-color and --no-color"
154
+ end
155
+ options[:color_mode] = :off
156
+ end
157
+
158
+ parser.on('-p', '--[no-]profile [COUNT]',
159
+ 'Enable profiling of examples and list the slowest examples (default: 10).') do |argument|
160
+ options[:profile_examples] = if argument.nil?
161
+ true
162
+ elsif argument == false
163
+ false
164
+ else
165
+ begin
166
+ Integer(argument)
167
+ rescue ArgumentError
168
+ RSpec.warning "Non integer specified as profile count, separate " \
169
+ "your path from options with -- e.g. " \
170
+ "`rspec --profile -- #{argument}`",
171
+ :call_site => nil
172
+ true
173
+ end
174
+ end
175
+ end
176
+
177
+ parser.on('--dry-run', 'Print the formatter output of your suite without',
178
+ ' running any examples or hooks') do |_o|
179
+ options[:dry_run] = true
180
+ end
181
+
182
+ parser.on('-w', '--warnings', 'Enable ruby warnings') do
183
+ $VERBOSE = true
184
+ end
185
+
186
+ parser.separator <<-FILTERING
187
+
188
+ **** Filtering/tags ****
189
+
190
+ In addition to the following options for selecting specific files, groups, or
191
+ examples, you can select individual examples by appending the line number(s) to
192
+ the filename:
193
+
194
+ rspec path/to/a_spec.rb:37:87
195
+
196
+ You can also pass example ids enclosed in square brackets:
197
+
198
+ rspec path/to/a_spec.rb[1:5,1:6] # run the 5th and 6th examples/groups defined in the 1st group
199
+
200
+ FILTERING
201
+
202
+ parser.on('--only-failures', "Filter to just the examples that failed the last time they ran.") do
203
+ configure_only_failures(options)
204
+ end
205
+
206
+ parser.on("-n", "--next-failure", "Apply `--only-failures` and abort after one failure.",
207
+ " (Equivalent to `--only-failures --fail-fast --order defined`)") do
208
+ configure_only_failures(options)
209
+ set_fail_fast(options, 1)
210
+ options[:order] ||= 'defined'
211
+ end
212
+
213
+ parser.on('-P', '--pattern PATTERN', 'Load files matching pattern (default: "spec/**/*_spec.rb").') do |o|
214
+ if options[:pattern]
215
+ options[:pattern] += ',' + o
216
+ else
217
+ options[:pattern] = o
218
+ end
219
+ end
220
+
221
+ parser.on('--exclude-pattern PATTERN',
222
+ 'Load files except those matching pattern. Opposite effect of --pattern.') do |o|
223
+ options[:exclude_pattern] = o
224
+ end
225
+
226
+ parser.on('-e', '--example STRING', "Run examples whose full nested names include STRING (may be",
227
+ " used more than once)") do |o|
228
+ (options[:full_description] ||= []) << Regexp.compile(Regexp.escape(o))
229
+ end
230
+
231
+ parser.on('-E', '--example-matches REGEX', "Run examples whose full nested names match REGEX (may be",
232
+ " used more than once)") do |o|
233
+ (options[:full_description] ||= []) << Regexp.compile(o)
234
+ end
235
+
236
+ parser.on('-t', '--tag TAG[:VALUE]',
237
+ 'Run examples with the specified tag, or exclude examples',
238
+ 'by adding ~ before the tag.',
239
+ ' - e.g. ~slow',
240
+ ' - TAG is always converted to a symbol') do |tag|
241
+ filter_type = tag =~ /^~/ ? :exclusion_filter : :inclusion_filter
242
+
243
+ name, value = tag.gsub(/^(~@|~|@)/, '').split(':', 2)
244
+ name = name.to_sym
245
+
246
+ parsed_value = case value
247
+ when nil then true # The default value for tags is true
248
+ when 'true' then true
249
+ when 'false' then false
250
+ when 'nil' then nil
251
+ when /^:/ then value[1..-1].to_sym
252
+ when /^\d+$/ then Integer(value)
253
+ when /^\d+.\d+$/ then Float(value)
254
+ else
255
+ value
256
+ end
257
+
258
+ add_tag_filter(options, filter_type, name, parsed_value)
259
+ end
260
+
261
+ parser.on('--default-path PATH', 'Set the default path where RSpec looks for examples (can',
262
+ ' be a path to a file or a directory).') do |path|
263
+ options[:default_path] = path
264
+ end
265
+
266
+ parser.separator("\n **** Utility ****\n\n")
267
+
268
+ parser.on('--init', 'Initialize your project with RSpec.') do |_cmd|
269
+ options[:runner] = RSpec::Core::Invocations::InitializeProject.new
270
+ end
271
+
272
+ parser.on('-v', '--version', 'Display the version.') do
273
+ options[:runner] = RSpec::Core::Invocations::PrintVersion.new
274
+ end
275
+
276
+ # These options would otherwise be confusing to users, so we forcibly
277
+ # prevent them from executing.
278
+ #
279
+ # * --I is too similar to -I.
280
+ # * -d was a shorthand for --debugger, which is removed, but now would
281
+ # trigger --default-path.
282
+ invalid_options = %w[-d --I]
283
+
284
+ hidden_options = invalid_options + %w[-c]
285
+
286
+ parser.on_tail('-h', '--help', "You're looking at it.") do
287
+ options[:runner] = RSpec::Core::Invocations::PrintHelp.new(parser, hidden_options)
288
+ end
289
+
290
+ # This prevents usage of the invalid_options.
291
+ invalid_options.each do |option|
292
+ parser.on(option) do
293
+ raise OptionParser::InvalidOption.new
294
+ end
295
+ end
296
+ end
297
+ end
298
+ # rubocop:enable Metrics/BlockLength
299
+ # rubocop:enable Metrics/AbcSize
300
+ # rubocop:enable MethodLength
301
+ # rubocop:enable CyclomaticComplexity
302
+ # rubocop:enable PerceivedComplexity
303
+
304
+ def add_tag_filter(options, filter_type, tag_name, value=true)
305
+ (options[filter_type] ||= {})[tag_name] = value
306
+ end
307
+
308
+ def set_fail_fast(options, value)
309
+ options[:fail_fast] = value
310
+ end
311
+
312
+ def configure_only_failures(options)
313
+ options[:only_failures] = true
314
+ add_tag_filter(options, :inclusion_filter, :last_run_status, 'failed')
315
+ end
316
+ end
317
+ end
@@ -0,0 +1,158 @@
1
+ module RSpec
2
+ module Core
3
+ # @private
4
+ module Ordering
5
+ # @private
6
+ # The default global ordering (defined order).
7
+ class Identity
8
+ def order(items)
9
+ items
10
+ end
11
+ end
12
+
13
+ # @private
14
+ # Orders items randomly.
15
+ class Random
16
+ def initialize(configuration)
17
+ @configuration = configuration
18
+ @used = false
19
+ end
20
+
21
+ def used?
22
+ @used
23
+ end
24
+
25
+ def order(items)
26
+ @used = true
27
+
28
+ seed = @configuration.seed.to_s
29
+ items.sort_by { |item| jenkins_hash_digest(seed + item.id) }
30
+ end
31
+
32
+ private
33
+
34
+ # http://en.wikipedia.org/wiki/Jenkins_hash_function
35
+ # Jenkins provides a good distribution and is simpler than MD5.
36
+ # It's a bit slower than MD5 (primarily because `Digest::MD5` is
37
+ # implemented in C) but has the advantage of not requiring us
38
+ # to load another part of stdlib, which we try to minimize.
39
+ def jenkins_hash_digest(string)
40
+ hash = 0
41
+
42
+ string.each_byte do |byte|
43
+ hash += byte
44
+ hash &= MAX_32_BIT
45
+ hash += ((hash << 10) & MAX_32_BIT)
46
+ hash &= MAX_32_BIT
47
+ hash ^= hash >> 6
48
+ end
49
+
50
+ hash += ((hash << 3) & MAX_32_BIT)
51
+ hash &= MAX_32_BIT
52
+ hash ^= hash >> 11
53
+ hash += ((hash << 15) & MAX_32_BIT)
54
+ hash &= MAX_32_BIT
55
+ hash
56
+ end
57
+
58
+ MAX_32_BIT = 4_294_967_295
59
+ end
60
+
61
+ # @private
62
+ # Orders items based on a custom block.
63
+ class Custom
64
+ def initialize(callable)
65
+ @callable = callable
66
+ end
67
+
68
+ def order(list)
69
+ @callable.call(list)
70
+ end
71
+ end
72
+
73
+ # @private
74
+ # Stores the different ordering strategies.
75
+ class Registry
76
+ def initialize(configuration)
77
+ @configuration = configuration
78
+ @strategies = {}
79
+
80
+ register(:random, Random.new(configuration))
81
+
82
+ identity = Identity.new
83
+ register(:defined, identity)
84
+
85
+ # The default global ordering is --defined.
86
+ register(:global, identity)
87
+ end
88
+
89
+ def fetch(name, &fallback)
90
+ @strategies.fetch(name, &fallback)
91
+ end
92
+
93
+ def register(sym, strategy)
94
+ @strategies[sym] = strategy
95
+ end
96
+
97
+ def used_random_seed?
98
+ @strategies[:random].used?
99
+ end
100
+ end
101
+
102
+ # @private
103
+ # Manages ordering configuration.
104
+ #
105
+ # @note This is not intended to be used externally. Use
106
+ # the APIs provided by `RSpec::Core::Configuration` instead.
107
+ class ConfigurationManager
108
+ attr_reader :seed, :ordering_registry
109
+
110
+ def initialize
111
+ @ordering_registry = Registry.new(self)
112
+ @seed = rand(0xFFFF)
113
+ @seed_forced = false
114
+ @order_forced = false
115
+ end
116
+
117
+ def seed_used?
118
+ ordering_registry.used_random_seed?
119
+ end
120
+
121
+ def seed=(seed)
122
+ return if @seed_forced
123
+ register_ordering(:global, ordering_registry.fetch(:random))
124
+ @seed = seed.to_i
125
+ end
126
+
127
+ def order=(type)
128
+ order, seed = type.to_s.split(':')
129
+ @seed = seed.to_i if seed
130
+
131
+ ordering_name = if order.include?('rand')
132
+ :random
133
+ elsif order == 'defined'
134
+ :defined
135
+ end
136
+
137
+ register_ordering(:global, ordering_registry.fetch(ordering_name)) if ordering_name
138
+ end
139
+
140
+ def force(hash)
141
+ if hash.key?(:seed)
142
+ self.seed = hash[:seed]
143
+ @seed_forced = true
144
+ @order_forced = true
145
+ elsif hash.key?(:order)
146
+ self.order = hash[:order]
147
+ @order_forced = true
148
+ end
149
+ end
150
+
151
+ def register_ordering(name, strategy=Custom.new(Proc.new { |l| yield l }))
152
+ return if @order_forced && name == :global
153
+ ordering_registry.register(name, strategy)
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
@@ -0,0 +1,29 @@
1
+ module RSpec
2
+ module Core
3
+ # @private
4
+ class OutputWrapper
5
+ # @private
6
+ attr_accessor :output
7
+
8
+ # @private
9
+ def initialize(output)
10
+ @output = output
11
+ end
12
+
13
+ def respond_to?(name, priv=false)
14
+ output.respond_to?(name, priv)
15
+ end
16
+
17
+ def method_missing(name, *args, &block)
18
+ output.send(name, *args, &block)
19
+ end
20
+
21
+ # Redirect calls for IO interface methods
22
+ IO.instance_methods(false).each do |method|
23
+ define_method(method) do |*args, &block|
24
+ output.send(method, *args, &block)
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,165 @@
1
+ module RSpec
2
+ module Core
3
+ # Provides methods to mark examples as pending. These methods are available
4
+ # to be called from within any example or hook.
5
+ module Pending
6
+ # Raised in the middle of an example to indicate that it should be marked
7
+ # as skipped.
8
+ class SkipDeclaredInExample < StandardError
9
+ attr_reader :argument
10
+
11
+ def initialize(argument)
12
+ @argument = argument
13
+ end
14
+ end
15
+
16
+ # If Test::Unit is loaded, we'll use its error as baseclass, so that
17
+ # Test::Unit will report unmet RSpec expectations as failures rather than
18
+ # errors.
19
+ begin
20
+ class PendingExampleFixedError < Test::Unit::AssertionFailedError; end
21
+ rescue
22
+ class PendingExampleFixedError < StandardError; end
23
+ end
24
+
25
+ # @private
26
+ NO_REASON_GIVEN = 'No reason given'
27
+
28
+ # @private
29
+ NOT_YET_IMPLEMENTED = 'Not yet implemented'
30
+
31
+ # @overload pending()
32
+ # @overload pending(message)
33
+ #
34
+ # Marks an example as pending. The rest of the example will still be
35
+ # executed, and if it passes the example will fail to indicate that the
36
+ # pending can be removed.
37
+ #
38
+ # @param message [String] optional message to add to the summary report.
39
+ #
40
+ # @example
41
+ # describe "an example" do
42
+ # # reported as "Pending: no reason given"
43
+ # it "is pending with no message" do
44
+ # pending
45
+ # raise "broken"
46
+ # end
47
+ #
48
+ # # reported as "Pending: something else getting finished"
49
+ # it "is pending with a custom message" do
50
+ # pending("something else getting finished")
51
+ # raise "broken"
52
+ # end
53
+ # end
54
+ #
55
+ # @note `before(:example)` hooks are eval'd when you use the `pending`
56
+ # method within an example. If you want to declare an example `pending`
57
+ # and bypass the `before` hooks as well, you can pass `:pending => true`
58
+ # to the `it` method:
59
+ #
60
+ # it "does something", :pending => true do
61
+ # # ...
62
+ # end
63
+ #
64
+ # or pass `:pending => "something else getting finished"` to add a
65
+ # message to the summary report:
66
+ #
67
+ # it "does something", :pending => "something else getting finished" do
68
+ # # ...
69
+ # end
70
+ def pending(message=nil)
71
+ current_example = RSpec.current_example
72
+
73
+ if block_given?
74
+ raise ArgumentError, <<-EOS.gsub(/^\s+\|/, '')
75
+ |The semantics of `RSpec::Core::Pending#pending` have changed in
76
+ |RSpec 3. In RSpec 2.x, it caused the example to be skipped. In
77
+ |RSpec 3, the rest of the example is still run but is expected to
78
+ |fail, and will be marked as a failure (rather than as pending) if
79
+ |the example passes.
80
+ |
81
+ |Passing a block within an example is now deprecated. Marking the
82
+ |example as pending provides the same behavior in RSpec 3 which was
83
+ |provided only by the block in RSpec 2.x.
84
+ |
85
+ |Move the code in the block provided to `pending` into the rest of
86
+ |the example body.
87
+ |
88
+ |Called from #{CallerFilter.first_non_rspec_line}.
89
+ |
90
+ EOS
91
+ elsif current_example
92
+ Pending.mark_pending! current_example, message
93
+ else
94
+ raise "`pending` may not be used outside of examples, such as in " \
95
+ "before(:context). Maybe you want `skip`?"
96
+ end
97
+ end
98
+
99
+ # @overload skip()
100
+ # @overload skip(message)
101
+ #
102
+ # Marks an example as pending and skips execution.
103
+ #
104
+ # @param message [String] optional message to add to the summary report.
105
+ #
106
+ # @example
107
+ # describe "an example" do
108
+ # # reported as "Pending: no reason given"
109
+ # it "is skipped with no message" do
110
+ # skip
111
+ # end
112
+ #
113
+ # # reported as "Pending: something else getting finished"
114
+ # it "is skipped with a custom message" do
115
+ # skip "something else getting finished"
116
+ # end
117
+ # end
118
+ def skip(message=nil)
119
+ current_example = RSpec.current_example
120
+
121
+ Pending.mark_skipped!(current_example, message) if current_example
122
+
123
+ raise SkipDeclaredInExample.new(message)
124
+ end
125
+
126
+ # @private
127
+ #
128
+ # Mark example as skipped.
129
+ #
130
+ # @param example [RSpec::Core::Example] the example to mark as skipped
131
+ # @param message_or_bool [Boolean, String] the message to use, or true
132
+ def self.mark_skipped!(example, message_or_bool)
133
+ Pending.mark_pending! example, message_or_bool
134
+ example.metadata[:skip] = true
135
+ end
136
+
137
+ # @private
138
+ #
139
+ # Mark example as pending.
140
+ #
141
+ # @param example [RSpec::Core::Example] the example to mark as pending
142
+ # @param message_or_bool [Boolean, String] the message to use, or true
143
+ def self.mark_pending!(example, message_or_bool)
144
+ message = if !message_or_bool || !(String === message_or_bool)
145
+ NO_REASON_GIVEN
146
+ else
147
+ message_or_bool
148
+ end
149
+
150
+ example.metadata[:pending] = true
151
+ example.execution_result.pending_message = message
152
+ example.execution_result.pending_fixed = false
153
+ end
154
+
155
+ # @private
156
+ #
157
+ # Mark example as fixed.
158
+ #
159
+ # @param example [RSpec::Core::Example] the example to mark as fixed
160
+ def self.mark_fixed!(example)
161
+ example.execution_result.pending_fixed = true
162
+ end
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,34 @@
1
+ module RSpec
2
+ module Core
3
+ # @private
4
+ class Profiler
5
+ NOTIFICATIONS = [:example_group_started, :example_group_finished, :example_started]
6
+
7
+ def initialize
8
+ @example_groups = Hash.new { |h, k| h[k] = { :count => 0 } }
9
+ end
10
+
11
+ attr_reader :example_groups
12
+
13
+ def example_group_started(notification)
14
+ return unless notification.group.top_level?
15
+
16
+ @example_groups[notification.group][:start] = Time.now
17
+ @example_groups[notification.group][:description] = notification.group.top_level_description
18
+ end
19
+
20
+ def example_group_finished(notification)
21
+ return unless notification.group.top_level?
22
+
23
+ group = @example_groups[notification.group]
24
+ return unless group.key?(:start)
25
+ group[:total_time] = Time.now - group[:start]
26
+ end
27
+
28
+ def example_started(notification)
29
+ group = notification.example.example_group.parent_groups.last
30
+ @example_groups[group][:count] += 1
31
+ end
32
+ end
33
+ end
34
+ end