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,87 @@
1
+ module RSpec
2
+ module Core
3
+ # @private
4
+ module Invocations
5
+ # @private
6
+ class InitializeProject
7
+ def call(*_args)
8
+ RSpec::Support.require_rspec_core "project_initializer"
9
+ ProjectInitializer.new.run
10
+ 0
11
+ end
12
+ end
13
+
14
+ # @private
15
+ class DRbWithFallback
16
+ def call(options, err, out)
17
+ require 'rspec/core/drb'
18
+ begin
19
+ return DRbRunner.new(options).run(err, out)
20
+ rescue DRb::DRbConnError
21
+ err.puts "No DRb server is running. Running in local process instead ..."
22
+ end
23
+ RSpec::Core::Runner.new(options).run(err, out)
24
+ end
25
+ end
26
+
27
+ # @private
28
+ class Bisect
29
+ def call(options, err, out)
30
+ RSpec::Support.require_rspec_core "bisect/coordinator"
31
+ runner = Runner.new(options).tap { |r| r.configure(err, out) }
32
+ formatter = bisect_formatter_klass_for(options.options[:bisect]).new(
33
+ out, runner.configuration.bisect_runner
34
+ )
35
+
36
+ success = RSpec::Core::Bisect::Coordinator.bisect_with(
37
+ runner, options.args, formatter
38
+ )
39
+
40
+ success ? 0 : 1
41
+ end
42
+
43
+ private
44
+
45
+ def bisect_formatter_klass_for(argument)
46
+ return Formatters::BisectDebugFormatter if argument == "verbose"
47
+ Formatters::BisectProgressFormatter
48
+ end
49
+ end
50
+
51
+ # @private
52
+ class PrintVersion
53
+ def call(_options, _err, out)
54
+ overall_version = RSpec::Core::Version::STRING
55
+ unless overall_version =~ /[a-zA-Z]+/
56
+ overall_version = overall_version.split('.').first(2).join('.')
57
+ end
58
+
59
+ out.puts "RSpec #{overall_version}"
60
+
61
+ [:Core, :Expectations, :Mocks, :Rails, :Support].each do |const_name|
62
+ lib_name = const_name.to_s.downcase
63
+ begin
64
+ require "rspec/#{lib_name}/version"
65
+ rescue LoadError
66
+ # Not worth mentioning libs that are not installed
67
+ nil
68
+ else
69
+ out.puts " - rspec-#{lib_name} #{RSpec.const_get(const_name)::Version::STRING}"
70
+ end
71
+ end
72
+
73
+ 0
74
+ end
75
+ end
76
+
77
+ # @private
78
+ PrintHelp = Struct.new(:parser, :hidden_options) do
79
+ def call(_options, _err, out)
80
+ # Removing the hidden options from the output.
81
+ out.puts parser.to_s.gsub(/^\s+(#{hidden_options.join('|')})\b.*$\n/, '')
82
+ 0
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,554 @@
1
+ RSpec::Support.require_rspec_support 'reentrant_mutex'
2
+
3
+ module RSpec
4
+ module Core
5
+ # This module is included in {ExampleGroup}, making the methods
6
+ # available to be called from within example blocks.
7
+ #
8
+ # @see ClassMethods
9
+ module MemoizedHelpers
10
+ # @note `subject` was contributed by Joe Ferris to support the one-liner
11
+ # syntax embraced by shoulda matchers:
12
+ #
13
+ # RSpec.describe Widget do
14
+ # it { is_expected.to validate_presence_of(:name) }
15
+ # # or
16
+ # it { should validate_presence_of(:name) }
17
+ # end
18
+ #
19
+ # While the examples below demonstrate how to use `subject`
20
+ # explicitly in examples, we recommend that you define a method with
21
+ # an intention revealing name instead.
22
+ #
23
+ # @example
24
+ #
25
+ # # Explicit declaration of subject.
26
+ # RSpec.describe Person do
27
+ # subject { Person.new(:birthdate => 19.years.ago) }
28
+ # it "should be eligible to vote" do
29
+ # subject.should be_eligible_to_vote
30
+ # # ^ ^ explicit reference to subject not recommended
31
+ # end
32
+ # end
33
+ #
34
+ # # Implicit subject => { Person.new }.
35
+ # RSpec.describe Person do
36
+ # it "should be eligible to vote" do
37
+ # subject.should be_eligible_to_vote
38
+ # # ^ ^ explicit reference to subject not recommended
39
+ # end
40
+ # end
41
+ #
42
+ # # One-liner syntax - expectation is set on the subject.
43
+ # RSpec.describe Person do
44
+ # it { is_expected.to be_eligible_to_vote }
45
+ # # or
46
+ # it { should be_eligible_to_vote }
47
+ # end
48
+ #
49
+ # @note Because `subject` is designed to create state that is reset
50
+ # between each example, and `before(:context)` is designed to setup
51
+ # state that is shared across _all_ examples in an example group,
52
+ # `subject` is _not_ intended to be used in a `before(:context)` hook.
53
+ #
54
+ # @see #should
55
+ # @see #should_not
56
+ # @see #is_expected
57
+ def subject
58
+ __memoized.fetch_or_store(:subject) do
59
+ described = described_class || self.class.metadata.fetch(:description_args).first
60
+ Class === described ? described.new : described
61
+ end
62
+ end
63
+
64
+ # When `should` is called with no explicit receiver, the call is
65
+ # delegated to the object returned by `subject`. Combined with an
66
+ # implicit subject this supports very concise expressions.
67
+ #
68
+ # @example
69
+ #
70
+ # RSpec.describe Person do
71
+ # it { should be_eligible_to_vote }
72
+ # end
73
+ #
74
+ # @see #subject
75
+ # @see #is_expected
76
+ #
77
+ # @note This only works if you are using rspec-expectations.
78
+ # @note If you are using RSpec's newer expect-based syntax you may
79
+ # want to use `is_expected.to` instead of `should`.
80
+ def should(matcher=nil, message=nil)
81
+ RSpec::Expectations::PositiveExpectationHandler.handle_matcher(subject, matcher, message)
82
+ end
83
+
84
+ # Just like `should`, `should_not` delegates to the subject (implicit or
85
+ # explicit) of the example group.
86
+ #
87
+ # @example
88
+ #
89
+ # RSpec.describe Person do
90
+ # it { should_not be_eligible_to_vote }
91
+ # end
92
+ #
93
+ # @see #subject
94
+ # @see #is_expected
95
+ #
96
+ # @note This only works if you are using rspec-expectations.
97
+ # @note If you are using RSpec's newer expect-based syntax you may
98
+ # want to use `is_expected.to_not` instead of `should_not`.
99
+ def should_not(matcher=nil, message=nil)
100
+ RSpec::Expectations::NegativeExpectationHandler.handle_matcher(subject, matcher, message)
101
+ end
102
+
103
+ # Wraps the `subject` in `expect` to make it the target of an expectation.
104
+ # Designed to read nicely for one-liners.
105
+ #
106
+ # @example
107
+ #
108
+ # describe [1, 2, 3] do
109
+ # it { is_expected.to be_an Array }
110
+ # it { is_expected.not_to include 4 }
111
+ # end
112
+ #
113
+ # @see #subject
114
+ # @see #should
115
+ # @see #should_not
116
+ #
117
+ # @note This only works if you are using rspec-expectations.
118
+ def is_expected
119
+ expect(subject)
120
+ end
121
+
122
+ # @private
123
+ # should just be placed in private section,
124
+ # but Ruby issues warnings on private attributes.
125
+ # and expanding it to the equivalent method upsets Rubocop,
126
+ # b/c it should obviously be a reader
127
+ attr_reader :__memoized
128
+ private :__memoized
129
+
130
+ private
131
+
132
+ # @private
133
+ def initialize(*)
134
+ __init_memoized
135
+ super
136
+ end
137
+
138
+ # @private
139
+ def __init_memoized
140
+ @__memoized = if RSpec.configuration.threadsafe?
141
+ ThreadsafeMemoized.new
142
+ else
143
+ NonThreadSafeMemoized.new
144
+ end
145
+ end
146
+
147
+ # @private
148
+ class ThreadsafeMemoized
149
+ def initialize
150
+ @memoized = {}
151
+ @mutex = Support::ReentrantMutex.new
152
+ end
153
+
154
+ def fetch_or_store(key)
155
+ @memoized.fetch(key) do # only first access pays for synchronization
156
+ @mutex.synchronize do
157
+ @memoized.fetch(key) { @memoized[key] = yield }
158
+ end
159
+ end
160
+ end
161
+ end
162
+
163
+ # @private
164
+ class NonThreadSafeMemoized
165
+ def initialize
166
+ @memoized = {}
167
+ end
168
+
169
+ def fetch_or_store(key)
170
+ @memoized.fetch(key) { @memoized[key] = yield }
171
+ end
172
+ end
173
+
174
+ # Used internally to customize the behavior of the
175
+ # memoized hash when used in a `before(:context)` hook.
176
+ #
177
+ # @private
178
+ class ContextHookMemoized
179
+ def self.isolate_for_context_hook(example_group_instance)
180
+ exploding_memoized = self
181
+
182
+ example_group_instance.instance_exec do
183
+ @__memoized = exploding_memoized
184
+
185
+ begin
186
+ yield
187
+ ensure
188
+ # This is doing a reset instead of just isolating for context hook.
189
+ # Really, this should set the old @__memoized back into place.
190
+ #
191
+ # Caller is the before and after context hooks
192
+ # which are both called from self.run
193
+ # I didn't look at why it made tests fail, maybe an object was getting reused in RSpec tests,
194
+ # if so, then that probably already works, and its the tests that are wrong.
195
+ __init_memoized
196
+ end
197
+ end
198
+ end
199
+
200
+ def self.fetch_or_store(key, &_block)
201
+ description = if key == :subject
202
+ "subject"
203
+ else
204
+ "let declaration `#{key}`"
205
+ end
206
+
207
+ raise <<-EOS
208
+ #{description} accessed in #{article} #{hook_expression} hook at:
209
+ #{CallerFilter.first_non_rspec_line}
210
+
211
+ `let` and `subject` declarations are not intended to be called
212
+ in #{article} #{hook_expression} hook, as they exist to define state that
213
+ is reset between each example, while #{hook_expression} exists to
214
+ #{hook_intention}.
215
+ EOS
216
+ end
217
+
218
+ # @private
219
+ class Before < self
220
+ def self.hook_expression
221
+ "`before(:context)`"
222
+ end
223
+
224
+ def self.article
225
+ "a"
226
+ end
227
+
228
+ def self.hook_intention
229
+ "define state that is shared across examples in an example group"
230
+ end
231
+ end
232
+
233
+ # @private
234
+ class After < self
235
+ def self.hook_expression
236
+ "`after(:context)`"
237
+ end
238
+
239
+ def self.article
240
+ "an"
241
+ end
242
+
243
+ def self.hook_intention
244
+ "cleanup state that is shared across examples in an example group"
245
+ end
246
+ end
247
+ end
248
+
249
+ # This module is extended onto {ExampleGroup}, making the methods
250
+ # available to be called from within example group blocks.
251
+ # You can think of them as being analagous to class macros.
252
+ module ClassMethods
253
+ # Generates a method whose return value is memoized after the first
254
+ # call. Useful for reducing duplication between examples that assign
255
+ # values to the same local variable.
256
+ #
257
+ # @note `let` _can_ enhance readability when used sparingly (1,2, or
258
+ # maybe 3 declarations) in any given example group, but that can
259
+ # quickly degrade with overuse. YMMV.
260
+ #
261
+ # @note `let` can be configured to be threadsafe or not.
262
+ # If it is threadsafe, it will take longer to access the value.
263
+ # If it is not threadsafe, it may behave in surprising ways in examples
264
+ # that spawn separate threads. Specify this on `RSpec.configure`
265
+ #
266
+ # @note Because `let` is designed to create state that is reset between
267
+ # each example, and `before(:context)` is designed to setup state that
268
+ # is shared across _all_ examples in an example group, `let` is _not_
269
+ # intended to be used in a `before(:context)` hook.
270
+ #
271
+ # @example
272
+ #
273
+ # RSpec.describe Thing do
274
+ # let(:thing) { Thing.new }
275
+ #
276
+ # it "does something" do
277
+ # # First invocation, executes block, memoizes and returns result.
278
+ # thing.do_something
279
+ #
280
+ # # Second invocation, returns the memoized value.
281
+ # thing.should be_something
282
+ # end
283
+ # end
284
+ def let(name, &block)
285
+ # We have to pass the block directly to `define_method` to
286
+ # allow it to use method constructs like `super` and `return`.
287
+ raise "#let or #subject called without a block" if block.nil?
288
+ raise(
289
+ "#let or #subject called with a reserved name #initialize"
290
+ ) if :initialize == name
291
+ our_module = MemoizedHelpers.module_for(self)
292
+
293
+ # If we have a module clash in our helper module
294
+ # then we need to remove it to prevent a warning.
295
+ #
296
+ # Note we do not check ancestor modules (see: `instance_methods(false)`)
297
+ # as we can override them.
298
+ if our_module.instance_methods(false).include?(name)
299
+ our_module.__send__(:remove_method, name)
300
+ end
301
+ our_module.__send__(:define_method, name, &block)
302
+
303
+ # If we have a module clash in the example module
304
+ # then we need to remove it to prevent a warning.
305
+ #
306
+ # Note we do not check ancestor modules (see: `instance_methods(false)`)
307
+ # as we can override them.
308
+ if instance_methods(false).include?(name)
309
+ remove_method(name)
310
+ end
311
+
312
+ # Apply the memoization. The method has been defined in an ancestor
313
+ # module so we can use `super` here to get the value.
314
+ if block.arity == 1
315
+ define_method(name) { __memoized.fetch_or_store(name) { super(RSpec.current_example, &nil) } }
316
+ else
317
+ define_method(name) { __memoized.fetch_or_store(name) { super(&nil) } }
318
+ end
319
+ end
320
+
321
+ # Just like `let`, except the block is invoked by an implicit `before`
322
+ # hook. This serves a dual purpose of setting up state and providing a
323
+ # memoized reference to that state.
324
+ #
325
+ # @example
326
+ #
327
+ # class Thing
328
+ # def self.count
329
+ # @count ||= 0
330
+ # end
331
+ #
332
+ # def self.count=(val)
333
+ # @count += val
334
+ # end
335
+ #
336
+ # def self.reset_count
337
+ # @count = 0
338
+ # end
339
+ #
340
+ # def initialize
341
+ # self.class.count += 1
342
+ # end
343
+ # end
344
+ #
345
+ # RSpec.describe Thing do
346
+ # after(:example) { Thing.reset_count }
347
+ #
348
+ # context "using let" do
349
+ # let(:thing) { Thing.new }
350
+ #
351
+ # it "is not invoked implicitly" do
352
+ # Thing.count.should eq(0)
353
+ # end
354
+ #
355
+ # it "can be invoked explicitly" do
356
+ # thing
357
+ # Thing.count.should eq(1)
358
+ # end
359
+ # end
360
+ #
361
+ # context "using let!" do
362
+ # let!(:thing) { Thing.new }
363
+ #
364
+ # it "is invoked implicitly" do
365
+ # Thing.count.should eq(1)
366
+ # end
367
+ #
368
+ # it "returns memoized version on first invocation" do
369
+ # thing
370
+ # Thing.count.should eq(1)
371
+ # end
372
+ # end
373
+ # end
374
+ def let!(name, &block)
375
+ let(name, &block)
376
+ before { __send__(name) }
377
+ end
378
+
379
+ # Declares a `subject` for an example group which can then be wrapped
380
+ # with `expect` using `is_expected` to make it the target of an
381
+ # expectation in a concise, one-line example.
382
+ #
383
+ # Given a `name`, defines a method with that name which returns the
384
+ # `subject`. This lets you declare the subject once and access it
385
+ # implicitly in one-liners and explicitly using an intention revealing
386
+ # name.
387
+ #
388
+ # When given a `name`, calling `super` in the block is not supported.
389
+ #
390
+ # @note `subject` can be configured to be threadsafe or not.
391
+ # If it is threadsafe, it will take longer to access the value.
392
+ # If it is not threadsafe, it may behave in surprising ways in examples
393
+ # that spawn separate threads. Specify this on `RSpec.configure`
394
+ #
395
+ # @param name [String,Symbol] used to define an accessor with an
396
+ # intention revealing name
397
+ # @param block defines the value to be returned by `subject` in examples
398
+ #
399
+ # @example
400
+ #
401
+ # RSpec.describe CheckingAccount, "with $50" do
402
+ # subject { CheckingAccount.new(Money.new(50, :USD)) }
403
+ # it { is_expected.to have_a_balance_of(Money.new(50, :USD)) }
404
+ # it { is_expected.not_to be_overdrawn }
405
+ # end
406
+ #
407
+ # RSpec.describe CheckingAccount, "with a non-zero starting balance" do
408
+ # subject(:account) { CheckingAccount.new(Money.new(50, :USD)) }
409
+ # it { is_expected.not_to be_overdrawn }
410
+ # it "has a balance equal to the starting balance" do
411
+ # account.balance.should eq(Money.new(50, :USD))
412
+ # end
413
+ # end
414
+ #
415
+ # @see MemoizedHelpers#should
416
+ # @see MemoizedHelpers#should_not
417
+ # @see MemoizedHelpers#is_expected
418
+ def subject(name=nil, &block)
419
+ if name
420
+ let(name, &block)
421
+ alias_method :subject, name
422
+
423
+ self::NamedSubjectPreventSuper.__send__(:define_method, name) do
424
+ raise NotImplementedError, "`super` in named subjects is not supported"
425
+ end
426
+ else
427
+ let(:subject, &block)
428
+ end
429
+ end
430
+
431
+ # Just like `subject`, except the block is invoked by an implicit
432
+ # `before` hook. This serves a dual purpose of setting up state and
433
+ # providing a memoized reference to that state.
434
+ #
435
+ # @example
436
+ #
437
+ # class Thing
438
+ # def self.count
439
+ # @count ||= 0
440
+ # end
441
+ #
442
+ # def self.count=(val)
443
+ # @count += val
444
+ # end
445
+ #
446
+ # def self.reset_count
447
+ # @count = 0
448
+ # end
449
+ #
450
+ # def initialize
451
+ # self.class.count += 1
452
+ # end
453
+ # end
454
+ #
455
+ # RSpec.describe Thing do
456
+ # after(:example) { Thing.reset_count }
457
+ #
458
+ # context "using subject" do
459
+ # subject { Thing.new }
460
+ #
461
+ # it "is not invoked implicitly" do
462
+ # Thing.count.should eq(0)
463
+ # end
464
+ #
465
+ # it "can be invoked explicitly" do
466
+ # subject
467
+ # Thing.count.should eq(1)
468
+ # end
469
+ # end
470
+ #
471
+ # context "using subject!" do
472
+ # subject!(:thing) { Thing.new }
473
+ #
474
+ # it "is invoked implicitly" do
475
+ # Thing.count.should eq(1)
476
+ # end
477
+ #
478
+ # it "returns memoized version on first invocation" do
479
+ # subject
480
+ # Thing.count.should eq(1)
481
+ # end
482
+ # end
483
+ # end
484
+ def subject!(name=nil, &block)
485
+ subject(name, &block)
486
+ before { subject }
487
+ end
488
+ end
489
+
490
+ # @private
491
+ #
492
+ # Gets the LetDefinitions module. The module is mixed into
493
+ # the example group and is used to hold all let definitions.
494
+ # This is done so that the block passed to `let` can be
495
+ # forwarded directly on to `define_method`, so that all method
496
+ # constructs (including `super` and `return`) can be used in
497
+ # a `let` block.
498
+ #
499
+ # The memoization is provided by a method definition on the
500
+ # example group that supers to the LetDefinitions definition
501
+ # in order to get the value to memoize.
502
+ def self.module_for(example_group)
503
+ get_constant_or_yield(example_group, :LetDefinitions) do
504
+ mod = Module.new do
505
+ include(Module.new {
506
+ example_group.const_set(:NamedSubjectPreventSuper, self)
507
+ })
508
+ end
509
+
510
+ example_group.const_set(:LetDefinitions, mod)
511
+ mod
512
+ end
513
+ end
514
+
515
+ # @private
516
+ def self.define_helpers_on(example_group)
517
+ example_group.__send__(:include, module_for(example_group))
518
+ end
519
+
520
+ if Module.method(:const_defined?).arity == 1 # for 1.8
521
+ # @private
522
+ #
523
+ # Gets the named constant or yields.
524
+ # On 1.8, const_defined? / const_get do not take into
525
+ # account the inheritance hierarchy.
526
+ # :nocov:
527
+ def self.get_constant_or_yield(example_group, name)
528
+ if example_group.const_defined?(name)
529
+ example_group.const_get(name)
530
+ else
531
+ yield
532
+ end
533
+ end
534
+ # :nocov:
535
+ else
536
+ # @private
537
+ #
538
+ # Gets the named constant or yields.
539
+ # On 1.9, const_defined? / const_get take into account the
540
+ # the inheritance by default, and accept an argument to
541
+ # disable this behavior. It's important that we don't
542
+ # consider inheritance here; each example group level that
543
+ # uses a `let` should get its own `LetDefinitions` module.
544
+ def self.get_constant_or_yield(example_group, name)
545
+ if example_group.const_defined?(name, (check_ancestors = false))
546
+ example_group.const_get(name, check_ancestors)
547
+ else
548
+ yield
549
+ end
550
+ end
551
+ end
552
+ end
553
+ end
554
+ end