dirwatch 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1248) hide show
  1. checksums.yaml +5 -5
  2. data/bin/dirwatch +1 -1
  3. data/lib/dirwatch/templates/linux/latex.yml +2 -2
  4. data/lib/dirwatch/templates/mac/latex.yml +2 -2
  5. data/lib/dirwatch/templates/windows/latex.yml +1 -1
  6. data/lib/dirwatch/version.rb +1 -1
  7. data/vendor/bundle/ruby/2.5.0/bin/cc-tddium-post-worker +27 -0
  8. data/vendor/bundle/ruby/2.5.0/bin/codeclimate-test-reporter +27 -0
  9. data/vendor/bundle/ruby/2.5.0/bin/dirwatch +27 -0
  10. data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
  11. data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
  12. data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
  13. data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
  14. data/vendor/bundle/ruby/2.5.0/bin/rubocop +27 -0
  15. data/vendor/bundle/ruby/2.5.0/bin/ruby-parse +27 -0
  16. data/vendor/bundle/ruby/2.5.0/bin/ruby-rewrite +27 -0
  17. data/vendor/bundle/ruby/2.5.0/cache/ast-2.3.0.gem +0 -0
  18. data/vendor/bundle/ruby/2.5.0/cache/codeclimate-test-reporter-1.0.8.gem +0 -0
  19. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
  20. data/vendor/bundle/ruby/2.5.0/cache/docile-1.1.5.gem +0 -0
  21. data/vendor/bundle/ruby/2.5.0/cache/parser-2.4.0.2.gem +0 -0
  22. data/vendor/bundle/ruby/2.5.0/cache/powerpack-0.1.1.gem +0 -0
  23. data/vendor/bundle/ruby/2.5.0/cache/rainbow-2.2.2.gem +0 -0
  24. data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.0.gem +0 -0
  25. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.7.0.gem +0 -0
  26. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.7.0.gem +0 -0
  27. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.7.0.gem +0 -0
  28. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.7.0.gem +0 -0
  29. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.7.0.gem +0 -0
  30. data/vendor/bundle/ruby/2.5.0/cache/rubocop-0.46.0.gem +0 -0
  31. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.9.0.gem +0 -0
  32. data/vendor/bundle/ruby/2.5.0/cache/simplecov-0.13.0.gem +0 -0
  33. data/vendor/bundle/ruby/2.5.0/cache/simplecov-html-0.10.2.gem +0 -0
  34. data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.3.0.gem +0 -0
  35. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/rainbow-2.2.2/gem.build_complete +0 -0
  36. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/rainbow-2.2.2/gem_make.out +5 -0
  37. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/CHANGELOG.md +9 -0
  38. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/Gemfile +4 -0
  39. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/LICENSE.MIT +20 -0
  40. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/README.YARD.md +12 -0
  41. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/README.md +23 -0
  42. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/Rakefile +19 -0
  43. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/ast.gemspec +29 -0
  44. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast.rb +17 -0
  45. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/node.rb +253 -0
  46. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/processor.rb +12 -0
  47. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/processor/mixin.rb +288 -0
  48. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/sexp.rb +30 -0
  49. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/test/helper.rb +17 -0
  50. data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/test/test_ast.rb +264 -0
  51. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/LICENSE.txt +40 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/README.md +68 -0
  53. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/cc-tddium-post-worker +23 -0
  54. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/ci +15 -0
  55. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/codeclimate-test-reporter +21 -0
  56. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/config/cacert.pem +3895 -0
  57. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter.rb +71 -0
  58. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/calculate_blob.rb +35 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/ci.rb +106 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/client.rb +103 -0
  61. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/configuration.rb +56 -0
  62. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/exception_message.rb +72 -0
  63. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb +104 -0
  64. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/git.rb +85 -0
  65. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/payload_validator.rb +59 -0
  66. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/post_results.rb +30 -0
  67. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/shorten_filename.rb +24 -0
  68. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/version.rb +5 -0
  69. data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/codeclimate-test-reporter.rb +10 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
  71. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +83 -0
  72. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +220 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +39 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +84 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +57 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
  90. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
  91. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
  92. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
  93. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
  94. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
  95. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
  96. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
  97. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
  98. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
  99. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
  100. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
  101. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
  102. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
  103. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
  104. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
  105. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
  106. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/Gemfile +4 -0
  107. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/HISTORY.md +61 -0
  108. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/LICENSE +21 -0
  109. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/README.md +241 -0
  110. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/Rakefile +28 -0
  111. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/docile.gemspec +43 -0
  112. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile.rb +84 -0
  113. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +20 -0
  114. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/execution.rb +35 -0
  115. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +63 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/version.rb +4 -0
  117. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/on_what.rb +14 -0
  118. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/spec/docile_spec.rb +339 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/spec/spec_helper.rb +30 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/CHANGELOG.md +823 -0
  121. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/CONTRIBUTING.md +17 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/Gemfile +8 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/LICENSE.txt +25 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/README.md +300 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/Rakefile +163 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/bin/ruby-parse +6 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/bin/ruby-rewrite +6 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/AST_FORMAT.md +1678 -0
  129. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/CUSTOMIZATION.md +37 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/INTERNALS.md +21 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/css/common.css +68 -0
  132. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/gauntlet_parser.rb +121 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser.rb +81 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/all.rb +8 -0
  135. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ast/node.rb +38 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ast/processor.rb +234 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/base.rb +268 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/builders/default.rb +1621 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/clobbering_error.rb +11 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_8.rb +20 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_9.rb +32 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/current.rb +90 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/diagnostic.rb +163 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/diagnostic/engine.rb +103 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer.rb +21892 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer.rl +2265 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/dedenter.rb +49 -0
  148. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/explanation.rb +53 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/literal.rb +262 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/stack_state.rb +42 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/macruby.rb +6103 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/macruby.y +2183 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/messages.rb +70 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/meta.rb +27 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rewriter.rb +119 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby18.rb +5647 -0
  157. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby18.y +1927 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby19.rb +6050 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby19.y +2160 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby20.rb +6487 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby20.y +2338 -0
  162. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby21.rb +6552 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby21.y +2342 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby22.rb +6585 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby22.y +2349 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby23.rb +6595 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby23.y +2355 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby24.rb +6631 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby24.y +2366 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby25.rb +6617 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby25.y +2362 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rubymotion.rb +6056 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rubymotion.y +2167 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner.rb +246 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_parse.rb +146 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_rewrite.rb +99 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/buffer.rb +333 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/comment.rb +119 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/comment/associator.rb +208 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map.rb +184 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/collection.rb +16 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/condition.rb +19 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/constant.rb +30 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/definition.rb +21 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/for.rb +17 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/heredoc.rb +17 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/keyword.rb +18 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/objc_kwarg.rb +17 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/operator.rb +15 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/rescue_body.rb +19 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb +34 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/ternary.rb +16 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb +29 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/range.rb +242 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/rewriter.rb +475 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/rewriter/action.rb +42 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/static_environment.rb +44 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/syntax_error.rb +19 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/version.rb +3 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/parser.gemspec +47 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/fixtures/input.rb +3 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/fixtures/output.rb +3 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/rewriter.rb +18 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/test_runner_rewrite.rb +35 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/helper.rb +41 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/parse_helper.rb +264 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/racc_coverage_helper.rb +131 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_base.rb +29 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_current.rb +27 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_diagnostic.rb +94 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_diagnostic_engine.rb +60 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_encoding.rb +78 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_lexer.rb +3414 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_lexer_stack_state.rb +76 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_parse_helper.rb +80 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_parser.rb +6024 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_buffer.rb +144 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_comment.rb +34 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_comment_associator.rb +365 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_map.rb +13 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_range.rb +125 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_rewriter.rb +539 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_rewriter_action.rb +44 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_static_environment.rb +43 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/CHANGELOG.md +39 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/Gemfile +4 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/LICENSE.txt +22 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/README.md +99 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/Rakefile +12 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack.rb +11 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array.rb +2 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array/butfirst.rb +15 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array/butlast.rb +15 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable.rb +9 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/average.rb +20 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last.rb +20 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last_while.rb +21 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/exactly.rb +43 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/frequencies.rb +17 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/several.rb +37 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/sum.rb +21 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last.rb +20 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last_while.rb +17 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/hash.rb +1 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/hash/symbolize_keys.rb +14 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric.rb +3 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/neg.rb +19 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/pos.rb +19 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/scale.rb +44 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string.rb +9 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/ascii_only.rb +42 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/blank.rb +20 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/format.rb +20 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove.rb +17 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_prefix.rb +23 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_suffix.rb +23 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/squish.rb +27 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_indent.rb +22 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_margin.rb +21 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/version.rb +3 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/powerpack.gemspec +24 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/array/butfirst_spec.rb +11 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/array/butlast_spec.rb +11 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/average_spec.rb +19 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/exactly_spec.rb +39 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/several_spec.rb +27 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/sum_spec.rb +15 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_spec.rb +15 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/neg_spec.rb +24 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/pos_spec.rb +24 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/scale_spec.rb +139 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/ascii_only_spec.rb +45 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/blank_spec.rb +15 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/format_spec.rb +12 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_prefix_spec.rb +13 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_spec.rb +13 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_suffix_spec.rb +13 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/squish_spec.rb +21 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_indent_spec.rb +13 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_margin_spec.rb +26 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/spec_helper.rb +15 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Changelog.md +87 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Gemfile +23 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Guardfile +9 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/LICENSE +20 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/README.markdown +217 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Rakefile +6 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/CONTRIBUTING.rdoc +36 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/Gemfile +3 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/History.rdoc +2299 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/MIT-LICENSE +21 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/README.rdoc +156 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/Rakefile +38 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/bin/console +7 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/bin/setup +6 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/command_line_usage.rdoc +158 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/Rakefile1 +38 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/Rakefile2 +35 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/a.c +6 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/b.c +6 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/main.c +11 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/glossary.rdoc +42 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/jamis.rb +592 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/proto_rake.rdoc +127 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rake.1 +156 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rakefile.rdoc +622 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rational.rdoc +151 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/exe/rake +27 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake.rb +71 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/application.rb +824 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/backtrace.rb +24 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/clean.rb +78 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/cloneable.rb +17 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/cpu_counter.rb +107 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/default_loader.rb +15 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/dsl_definition.rb +195 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/early_time.rb +22 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/ext/core.rb +26 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/ext/string.rb +176 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_creation_task.rb +25 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_list.rb +435 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_task.rb +54 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_utils.rb +137 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_utils_ext.rb +145 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/invocation_chain.rb +57 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/invocation_exception_mixin.rb +17 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/late_time.rb +18 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/linked_list.rb +112 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/loaders/makefile.rb +54 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/multi_task.rb +50 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/name_space.rb +38 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/packagetask.rb +211 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/phony.rb +16 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/private_reader.rb +21 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/promise.rb +100 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/pseudo_status.rb +30 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rake_module.rb +67 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rake_test_loader.rb +26 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/scope.rb +43 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task.rb +391 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_argument_error.rb +8 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_arguments.rb +109 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_manager.rb +319 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/tasklib.rb +12 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/testtask.rb +224 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/thread_history_display.rb +49 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/thread_pool.rb +163 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/trace_output.rb +23 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/version.rb +10 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/win32.rb +51 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/rake.gemspec +43 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/LICENSE.md +27 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/README.md +39 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/lib/rspec.rb +3 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/lib/rspec/version.rb +5 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/Changelog.md +2187 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/LICENSE.md +26 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/README.md +384 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/exe/rspec +4 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/autorun.rb +3 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core.rb +185 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/coordinator.rb +66 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/example_minimizer.rb +169 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/runner.rb +169 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/server.rb +70 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb +2179 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration_options.rb +196 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/drb.rb +113 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/dsl.rb +98 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb +653 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb +884 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example_status_persister.rb +235 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/filter_manager.rb +231 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/flat_map.rb +20 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters.rb +265 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/console_codes.rb +68 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/deprecation_formatter.rb +221 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/exception_presenter.rb +496 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/helpers.rb +110 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_printer.rb +416 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/protocol.rb +182 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb +626 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/invocations.rb +85 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb +535 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata.rb +499 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata_filter.rb +255 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/notifications.rb +521 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/option_parser.rb +309 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/ordering.rb +158 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/output_wrapper.rb +29 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/pending.rb +165 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/profiler.rb +32 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer.rb +48 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/rake_task.rb +168 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb +260 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/ruby_project.rb +53 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb +193 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/sandbox.rb +37 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/set.rb +54 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_context.rb +55 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_example_group.rb +271 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shell_escape.rb +49 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/version.rb +9 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/warnings.rb +40 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/world.rb +264 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/Changelog.md +1083 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/LICENSE.md +25 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/README.md +305 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +82 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +201 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +127 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +39 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +170 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +132 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +8 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +1031 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +52 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +85 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +288 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +387 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +272 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +103 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +143 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +106 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +200 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +432 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +169 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +527 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/Changelog.md +1089 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/LICENSE.md +25 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/README.md +460 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +130 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +11 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +320 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +212 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +369 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +434 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +41 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +132 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +87 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +740 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +287 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +202 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +68 -0
  541. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +339 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +149 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +81 -0
  544. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +484 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +238 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +3 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +325 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +124 -0
  549. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +171 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +129 -0
  551. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +9 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/Changelog.md +229 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/LICENSE.md +23 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/README.md +40 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support.rb +149 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/caller_filter.rb +83 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/comparable_version.rb +46 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/differ.rb +215 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/directory_maker.rb +63 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/encoded_string.rb +165 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/hunk_generator.rb +47 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/matcher_definition.rb +42 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/method_signature_verifier.rb +392 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/mutex.rb +73 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/object_formatter.rb +267 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/reentrant_mutex.rb +53 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/ruby_features.rb +162 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source.rb +75 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/location.rb +21 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/node.rb +107 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/token.rb +87 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec.rb +81 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/shell_out.rb +84 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/string_matcher.rb +46 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/version.rb +7 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/warnings.rb +39 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/LICENSE.txt +20 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/README.md +128 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/assets/logo.png +0 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/assets/output.html.erb +261 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/bin/rubocop +17 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/default.yml +1338 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/disabled.yml +115 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/enabled.yml +1588 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop.rb +452 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node.rb +624 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/builder.rb +30 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/sexp.rb +13 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/traversal.rb +171 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cached_data.rb +63 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb +185 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/comment_config.rb +157 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config.rb +346 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb +205 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb +43 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb +48 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/autocorrect_logic.rb +26 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/duplicated_gem.rb +69 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/ordered_gems.rb +54 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/commissioner.rb +103 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/cop.rb +304 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/corrector.rb +135 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/force.rb +41 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/ignored_node.rb +38 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_operator.rb +50 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +36 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/assignment_in_condition.rb +66 -0
  619. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/block_alignment.rb +198 -0
  620. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/circular_argument_reference.rb +69 -0
  621. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/condition_position.rb +54 -0
  622. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/debugger.rb +52 -0
  623. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/def_end_alignment.rb +57 -0
  624. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +80 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +49 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_methods.rb +137 -0
  627. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicated_key.rb +30 -0
  628. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/each_with_object_argument.rb +28 -0
  629. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/else_layout.rb +68 -0
  630. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_ensure.rb +18 -0
  631. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_expression.rb +32 -0
  632. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_interpolation.rb +28 -0
  633. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_when.rb +40 -0
  634. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_alignment.rb +137 -0
  635. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_in_method.rb +17 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ensure_return.rb +22 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/eval.rb +18 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/float_out_of_range.rb +30 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +155 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/handle_exceptions.rb +18 -0
  641. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +90 -0
  642. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +134 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/inherit_exception.rb +83 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/invalid_character_literal.rb +38 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_condition.rb +129 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +68 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/loop.rb +27 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/nested_method_definition.rb +60 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/next_without_accumulator.rb +45 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +77 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +53 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_string_array.rb +70 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_symbol_array.rb +56 -0
  654. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rand_one.rb +35 -0
  655. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rescue_exception.rb +25 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowed_exception.rb +131 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +29 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +51 -0
  660. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/syntax.rb +55 -0
  661. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +38 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unified_integer.rb +37 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_disable.rb +207 -0
  664. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +136 -0
  665. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unreachable_code.rb +32 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_block_argument.rb +143 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_method_argument.rb +51 -0
  668. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_access_modifier.rb +202 -0
  669. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_assignment.rb +113 -0
  670. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_comparison.rb +25 -0
  671. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +31 -0
  672. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_setter_call.rb +150 -0
  673. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/void.rb +56 -0
  674. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/abc_size.rb +39 -0
  675. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_length.rb +26 -0
  676. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_nesting.rb +52 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/class_length.rb +24 -0
  678. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +31 -0
  679. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/line_length.rb +168 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/method_length.rb +27 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/module_length.rb +24 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/parameter_lists.rb +44 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/access_modifier_node.rb +41 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/annotation_comment.rb +36 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +82 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_syntax.rb +24 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +149 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/check_assignment.rb +40 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/classish_length.rb +36 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/code_length.rb +32 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +91 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_max.rb +19 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_naming.rb +44 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_numbering.rb +58 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/def_node.rb +27 -0
  697. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/documentation_comment.rb +40 -0
  698. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +161 -0
  699. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +85 -0
  700. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/first_element_line_break.rb +41 -0
  701. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +34 -0
  702. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/hash_node.rb +14 -0
  703. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/if_node.rb +42 -0
  704. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/integer_node.rb +12 -0
  705. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/match_range.rb +22 -0
  706. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_complexity.rb +30 -0
  707. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_preference.rb +28 -0
  708. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/min_body_length.rb +19 -0
  709. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +191 -0
  710. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +152 -0
  711. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/negative_conditional.rb +29 -0
  712. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_method_def.rb +30 -0
  713. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +37 -0
  714. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parentheses.rb +22 -0
  715. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +34 -0
  716. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
  717. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +89 -0
  718. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_assignment.rb +20 -0
  719. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
  720. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
  721. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +48 -0
  722. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_inside.rb +76 -0
  723. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/statement_modifier.rb +73 -0
  724. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_help.rb +33 -0
  725. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_literals_help.rb +33 -0
  726. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/surrounding_space.rb +40 -0
  727. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
  728. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/trailing_comma.rb +162 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/unused_argument.rb +42 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/offense.rb +188 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/case_when_splat.rb +179 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/casecmp.rb +107 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/compare_with_block.rb +61 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/count.rb +98 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/detect.rb +106 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/double_start_end_with.rb +68 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/end_with.rb +54 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/fixed_size.rb +56 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/flat_map.rb +73 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/hash_each_methods.rb +84 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +41 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/range_include.rb +39 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_match.rb +54 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_merge.rb +152 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_sort_by.rb +45 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/reverse_each.rb +39 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/sample.rb +140 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/size.rb +76 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/start_with.rb +57 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/string_replacement.rb +175 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/times_map.rb +61 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/action_filter.rb +96 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/date.rb +130 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate.rb +106 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +62 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/dynamic_find_by.rb +77 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/enum_uniqueness.rb +71 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/exit.rb +61 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_by.rb +53 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_each.rb +59 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +17 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/http_positional_arguments.rb +92 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/not_null_column.rb +44 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output.rb +25 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output_safety.rb +58 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/pluralization_grammar.rb +105 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/request_referer.rb +38 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/safe_navigation.rb +88 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/save_bang.rb +155 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/time_zone.rb +195 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +90 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/validation.rb +67 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/security/json_load.rb +44 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/severity.rb +76 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/access_modifier_indentation.rb +80 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/accessor_method_name.rb +45 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/alias.rb +119 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_array.rb +20 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_hash.rb +266 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_parameters.rb +69 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/and_or.rb +140 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/array_join.rb +30 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_comments.rb +38 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_identifiers.rb +36 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/attr.rb +44 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +45 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/bare_percent_literals.rb +57 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/begin_block.rb +16 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_comments.rb +46 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_delimiters.rb +230 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_end_newline.rb +56 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +113 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_equality.rb +18 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_indentation.rb +89 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/character_literal.rb +43 -0
  799. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +29 -0
  800. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_children.rb +69 -0
  801. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_check.rb +42 -0
  802. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_methods.rb +67 -0
  803. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_vars.rb +23 -0
  804. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/closing_parenthesis_indentation.rb +87 -0
  805. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/collection_methods.rb +51 -0
  806. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/colon_method_call.rb +40 -0
  807. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/command_literal.rb +119 -0
  808. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_annotation.rb +62 -0
  809. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_indentation.rb +71 -0
  810. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/conditional_assignment.rb +681 -0
  811. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/constant_name.rb +29 -0
  812. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/copyright.rb +89 -0
  813. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/def_with_parentheses.rb +31 -0
  814. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation.rb +79 -0
  815. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation_method.rb +79 -0
  816. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/dot_position.rb +88 -0
  817. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/double_negation.rb +34 -0
  818. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_for_simple_loop.rb +57 -0
  819. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_with_object.rb +88 -0
  820. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/else_alignment.rb +111 -0
  821. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_case_condition.rb +93 -0
  822. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_else.rb +140 -0
  823. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_line_between_defs.rb +73 -0
  824. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines.rb +60 -0
  825. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +95 -0
  826. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_block_body.rb +41 -0
  827. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_class_body.rb +39 -0
  828. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_method_body.rb +41 -0
  829. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_module_body.rb +44 -0
  830. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_literal.rb +100 -0
  831. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_method.rb +96 -0
  832. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/encoding.rb +92 -0
  833. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_block.rb +17 -0
  834. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_of_line.rb +30 -0
  835. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/even_odd.rb +56 -0
  836. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/extra_spacing.rb +237 -0
  837. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/file_name.rb +163 -0
  838. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_array_element_line_break.rb +41 -0
  839. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_hash_element_line_break.rb +33 -0
  840. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_argument_line_break.rb +49 -0
  841. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_parameter_line_break.rb +42 -0
  842. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_parameter_indentation.rb +111 -0
  843. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/flip_flop.rb +20 -0
  844. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/for.rb +52 -0
  845. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/format_string.rb +76 -0
  846. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +67 -0
  847. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/global_vars.rb +70 -0
  848. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/guard_clause.rb +96 -0
  849. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/hash_syntax.rb +232 -0
  850. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/identical_conditional_branches.rb +92 -0
  851. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_inside_else.rb +48 -0
  852. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier.rb +89 -0
  853. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +44 -0
  854. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_with_semicolon.rb +20 -0
  855. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/implicit_runtime_error.rb +31 -0
  856. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_array.rb +114 -0
  857. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_assignment.rb +42 -0
  858. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_hash.rb +133 -0
  859. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_consistency.rb +51 -0
  860. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_width.rb +302 -0
  861. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/infinite_loop.rb +92 -0
  862. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/initial_indentation.rb +42 -0
  863. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/inline_comment.rb +32 -0
  864. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda.rb +209 -0
  865. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda_call.rb +62 -0
  866. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/leading_comment_space.rb +43 -0
  867. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/line_end_concatenation.rb +115 -0
  868. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_call_parentheses.rb +78 -0
  869. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +41 -0
  870. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_def_parentheses.rb +83 -0
  871. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_missing.rb +81 -0
  872. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_name.rb +28 -0
  873. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/missing_else.rb +73 -0
  874. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/module_function.rb +64 -0
  875. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_array_brace_layout.rb +81 -0
  876. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_assignment_layout.rb +88 -0
  877. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_chain.rb +42 -0
  878. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_layout.rb +134 -0
  879. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_hash_brace_layout.rb +81 -0
  880. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_modifier.rb +73 -0
  881. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_then.rb +41 -0
  882. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_memoization.rb +44 -0
  883. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_brace_layout.rb +98 -0
  884. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_indentation.rb +196 -0
  885. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb +82 -0
  886. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_operation_indentation.rb +88 -0
  887. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +23 -0
  888. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/mutable_constant.rb +63 -0
  889. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_if.rb +47 -0
  890. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_while.rb +47 -0
  891. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_modifier.rb +114 -0
  892. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +59 -0
  893. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_ternary_operator.rb +23 -0
  894. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/next.rb +223 -0
  895. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nil_comparison.rb +35 -0
  896. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/non_nil_check.rb +125 -0
  897. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/not.rb +72 -0
  898. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +97 -0
  899. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literals.rb +79 -0
  900. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_predicate.rb +140 -0
  901. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/one_line_conditional.rb +85 -0
  902. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/op_method.rb +41 -0
  903. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/option_hash.rb +69 -0
  904. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/optional_arguments.rb +62 -0
  905. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parallel_assignment.rb +295 -0
  906. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parentheses_around_condition.rb +60 -0
  907. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +85 -0
  908. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_q_literals.rb +49 -0
  909. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/perl_backrefs.rb +31 -0
  910. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/predicate_name.rb +67 -0
  911. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/preferred_hash_methods.rb +78 -0
  912. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/proc.rb +26 -0
  913. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/raise_args.rb +136 -0
  914. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_begin.rb +47 -0
  915. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_exception.rb +55 -0
  916. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_freeze.rb +46 -0
  917. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_parentheses.rb +177 -0
  918. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_return.rb +125 -0
  919. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_self.rb +163 -0
  920. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/regexp_literal.rb +114 -0
  921. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_ensure_alignment.rb +86 -0
  922. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
  923. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/safe_navigation.rb +138 -0
  924. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/self_assignment.rb +93 -0
  925. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/semicolon.rb +70 -0
  926. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/send.rb +22 -0
  927. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/signal_exception.rb +109 -0
  928. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_block_params.rb +68 -0
  929. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_methods.rb +77 -0
  930. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_colon.rb +42 -0
  931. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_comma.rb +21 -0
  932. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_method_name.rb +37 -0
  933. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_not.rb +39 -0
  934. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_semicolon.rb +21 -0
  935. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_block_parameters.rb +109 -0
  936. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +68 -0
  937. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_keyword.rb +225 -0
  938. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_operators.rb +136 -0
  939. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_block_braces.rb +54 -0
  940. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comma.rb +16 -0
  941. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comment.rb +27 -0
  942. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_first_arg.rb +59 -0
  943. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_semicolon.rb +16 -0
  944. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_in_lambda_literal.rb +87 -0
  945. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_array_percent_literal.rb +53 -0
  946. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_block_braces.rb +158 -0
  947. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_brackets.rb +20 -0
  948. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +150 -0
  949. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_parens.rb +16 -0
  950. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb +64 -0
  951. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_range_literal.rb +63 -0
  952. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_string_interpolation.rb +65 -0
  953. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/special_global_vars.rb +156 -0
  954. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +112 -0
  955. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals.rb +102 -0
  956. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +30 -0
  957. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_methods.rb +31 -0
  958. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/struct_inheritance.rb +43 -0
  959. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_array.rb +106 -0
  960. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
  961. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_proc.rb +143 -0
  962. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/tab.rb +57 -0
  963. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ternary_parentheses.rb +172 -0
  964. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_blank_lines.rb +78 -0
  965. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +70 -0
  966. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_literal.rb +56 -0
  967. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +110 -0
  968. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_whitespace.rb +28 -0
  969. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trivial_accessors.rb +176 -0
  970. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unless_else.rb +43 -0
  971. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_capital_w.rb +42 -0
  972. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
  973. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_percent_q.rb +96 -0
  974. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_interpolation.rb +44 -0
  975. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_name.rb +39 -0
  976. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_number.rb +78 -0
  977. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/when_then.rb +22 -0
  978. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_do.rb +40 -0
  979. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_modifier.rb +40 -0
  980. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/word_array.rb +160 -0
  981. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/zero_length_predicate.rb +83 -0
  982. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/team.rb +189 -0
  983. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/util.rb +276 -0
  984. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force.rb +458 -0
  985. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/assignment.rb +97 -0
  986. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/locatable.rb +200 -0
  987. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/reference.rb +51 -0
  988. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/scope.rb +91 -0
  989. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable.rb +102 -0
  990. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable_table.rb +128 -0
  991. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/error.rb +11 -0
  992. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/base_formatter.rb +123 -0
  993. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
  994. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/colorizable.rb +41 -0
  995. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_config_formatter.rb +180 -0
  996. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
  997. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
  998. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb +19 -0
  999. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/formatter_set.rb +102 -0
  1000. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
  1001. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/html_formatter.rb +133 -0
  1002. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/json_formatter.rb +74 -0
  1003. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/offense_count_formatter.rb +55 -0
  1004. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
  1005. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/simple_text_formatter.rb +134 -0
  1006. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/text_util.rb +20 -0
  1007. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/worst_offenders_formatter.rb +60 -0
  1008. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/name_similarity.rb +21 -0
  1009. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/node_pattern.rb +542 -0
  1010. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/options.rb +320 -0
  1011. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/path_util.rb +31 -0
  1012. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/processed_source.rb +151 -0
  1013. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rake_task.rb +86 -0
  1014. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/remote_config.rb +66 -0
  1015. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/result_cache.rb +176 -0
  1016. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/cop_helper.rb +87 -0
  1017. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +32 -0
  1018. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_contexts.rb +78 -0
  1019. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_examples.rb +100 -0
  1020. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/support.rb +8 -0
  1021. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/runner.rb +323 -0
  1022. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/string_interpreter.rb +57 -0
  1023. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/string_util.rb +156 -0
  1024. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/target_finder.rb +139 -0
  1025. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/token.rb +25 -0
  1026. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/version.rb +21 -0
  1027. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/warning.rb +11 -0
  1028. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/LICENSE.txt +19 -0
  1029. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/README.md +38 -0
  1030. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/Rakefile +2 -0
  1031. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +18 -0
  1032. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +183 -0
  1033. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +99 -0
  1034. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  1035. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +5 -0
  1036. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +96 -0
  1037. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +29 -0
  1038. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +43 -0
  1039. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +107 -0
  1040. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +13 -0
  1041. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  1042. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +3 -0
  1043. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +27 -0
  1044. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +59 -0
  1045. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +36 -0
  1046. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +68 -0
  1047. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  1048. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +33 -0
  1049. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
  1050. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +118 -0
  1051. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +1 -0
  1052. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +25 -0
  1053. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +25 -0
  1054. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +30 -0
  1055. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +72 -0
  1056. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +3 -0
  1057. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/CHANGELOG.md +411 -0
  1058. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/CONTRIBUTING.md +48 -0
  1059. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/Gemfile +38 -0
  1060. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/MIT-LICENSE +20 -0
  1061. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/README.md +633 -0
  1062. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/Rakefile +41 -0
  1063. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/cucumber.yml +13 -0
  1064. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/alternate-formatters.md +36 -0
  1065. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/commercial-services.md +20 -0
  1066. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/editor-integration.md +13 -0
  1067. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_autoload.feature +46 -0
  1068. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_command_name.feature +45 -0
  1069. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature +33 -0
  1070. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_deactivate_merging.feature +42 -0
  1071. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_formatters.feature +77 -0
  1072. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_merge_timeout.feature +39 -0
  1073. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_nocov_token.feature +79 -0
  1074. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_profiles.feature +44 -0
  1075. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_project_name.feature +27 -0
  1076. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_styles.feature +121 -0
  1077. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_tracked_files.feature +29 -0
  1078. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/cucumber_basic.feature +29 -0
  1079. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/maximum_coverage_drop.feature +36 -0
  1080. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/merging_test_unit_and_rspec.feature +44 -0
  1081. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/minimum_coverage.feature +59 -0
  1082. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/refuse_coverage_drop.feature +35 -0
  1083. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_basic.feature +32 -0
  1084. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_fails_on_initialization.feature +14 -0
  1085. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_basic.feature +29 -0
  1086. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_complex.feature +37 -0
  1087. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_using_filter_class.feature +41 -0
  1088. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_without_simplecov.feature +20 -0
  1089. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/skipping_code_blocks_manually.feature +70 -0
  1090. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/html_steps.rb +44 -0
  1091. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/simplecov_steps.rb +68 -0
  1092. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb +13 -0
  1093. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/web_steps.rb +64 -0
  1094. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/support/env.rb +50 -0
  1095. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_basic.feature +34 -0
  1096. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_basic.feature +29 -0
  1097. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_complex.feature +35 -0
  1098. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_using_filter_class.feature +40 -0
  1099. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_without_simplecov.feature +20 -0
  1100. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/unicode_compatiblity.feature +67 -0
  1101. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov.rb +184 -0
  1102. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/command_guesser.rb +59 -0
  1103. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/configuration.rb +296 -0
  1104. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/defaults.rb +122 -0
  1105. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/exit_codes.rb +8 -0
  1106. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/file_list.rb +59 -0
  1107. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/filter.rb +54 -0
  1108. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter.rb +8 -0
  1109. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
  1110. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter/simple_formatter.rb +23 -0
  1111. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/jruby_fix.rb +42 -0
  1112. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/last_run.rb +22 -0
  1113. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/merge_helpers.rb +37 -0
  1114. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/no_defaults.rb +2 -0
  1115. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/profiles.rb +31 -0
  1116. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/railtie.rb +7 -0
  1117. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/railties/tasks.rake +11 -0
  1118. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/result.rb +87 -0
  1119. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/result_merger.rb +88 -0
  1120. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/source_file.rb +194 -0
  1121. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/version.rb +25 -0
  1122. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/simplecov.gemspec +27 -0
  1123. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/1_8_fallbacks_spec.rb +31 -0
  1124. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/command_guesser_spec.rb +48 -0
  1125. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb +12 -0
  1126. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/Gemfile +6 -0
  1127. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/Rakefile +8 -0
  1128. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/cucumber.yml +13 -0
  1129. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
  1130. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/support/env.rb +12 -0
  1131. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/test_stuff.feature +6 -0
  1132. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project.rb +11 -0
  1133. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
  1134. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
  1135. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/some_class.rb +28 -0
  1136. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
  1137. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/faked_spec.rb +11 -0
  1138. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/forking_spec.rb +8 -0
  1139. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/meta_magic_spec.rb +15 -0
  1140. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/some_class_spec.rb +13 -0
  1141. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/spec_helper.rb +11 -0
  1142. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/faked_test.rb +11 -0
  1143. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/meta_magic_test.rb +13 -0
  1144. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/some_class_test.rb +15 -0
  1145. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/test_helper.rb +12 -0
  1146. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/file_list_spec.rb +50 -0
  1147. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/filters_spec.rb +98 -0
  1148. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/app/controllers/sample_controller.rb +10 -0
  1149. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/app/models/user.rb +10 -0
  1150. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/deleted_source_sample.rb +15 -0
  1151. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_bad.rb +9 -0
  1152. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_good.rb +9 -0
  1153. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_bad.rb +9 -0
  1154. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_good.rb +9 -0
  1155. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/iso-8859.rb +3 -0
  1156. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/resultset1.rb +4 -0
  1157. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/resultset2.rb +4 -0
  1158. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/sample.rb +16 -0
  1159. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/utf-8.rb +3 -0
  1160. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/helper.rb +24 -0
  1161. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/merge_helpers_spec.rb +126 -0
  1162. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/multi_formatter_spec.rb +20 -0
  1163. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/result_spec.rb +209 -0
  1164. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/return_codes_spec.rb +34 -0
  1165. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/source_file_line_spec.rb +155 -0
  1166. data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/source_file_spec.rb +77 -0
  1167. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
  1168. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Gemfile +34 -0
  1169. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Guardfile +12 -0
  1170. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/LICENSE +20 -0
  1171. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/README.md +30 -0
  1172. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Rakefile +41 -0
  1173. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
  1174. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
  1175. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
  1176. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
  1177. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
  1178. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
  1179. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
  1180. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
  1181. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
  1182. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
  1183. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
  1184. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
  1185. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
  1186. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
  1187. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
  1188. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/application.css +799 -0
  1189. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/application.js +1707 -0
  1190. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
  1191. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
  1192. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
  1193. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
  1194. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
  1195. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
  1196. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
  1197. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
  1198. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
  1199. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1200. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1201. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1202. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1203. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1204. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1205. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1206. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1207. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
  1208. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  1209. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
  1210. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
  1211. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  1212. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
  1213. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
  1214. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
  1215. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
  1216. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
  1217. data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
  1218. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/CHANGELOG.md +96 -0
  1219. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/MIT-LICENSE.txt +22 -0
  1220. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/README.md +120 -0
  1221. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/Rakefile +64 -0
  1222. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/data/display_width.marshal.gz +0 -0
  1223. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width.rb +51 -0
  1224. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/constants.rb +8 -0
  1225. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/index.rb +7 -0
  1226. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/no_string_ext.rb +7 -0
  1227. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/string_ext.rb +17 -0
  1228. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/spec/display_width_spec.rb +156 -0
  1229. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/unicode-display_width.gemspec +18 -0
  1230. data/vendor/bundle/ruby/2.5.0/specifications/ast-2.3.0.gemspec +59 -0
  1231. data/vendor/bundle/ruby/2.5.0/specifications/codeclimate-test-reporter-1.0.8.gemspec +50 -0
  1232. data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +61 -0
  1233. data/vendor/bundle/ruby/2.5.0/specifications/docile-1.1.5.gemspec +48 -0
  1234. data/vendor/bundle/ruby/2.5.0/specifications/parser-2.4.0.2.gemspec +61 -0
  1235. data/vendor/bundle/ruby/2.5.0/specifications/powerpack-0.1.1.gemspec +41 -0
  1236. data/vendor/bundle/ruby/2.5.0/specifications/rainbow-2.2.2.gemspec +39 -0
  1237. data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.0.gemspec +49 -0
  1238. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.7.0.gemspec +42 -0
  1239. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.7.0.gemspec +62 -0
  1240. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.7.0.gemspec +50 -0
  1241. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.7.0.gemspec +50 -0
  1242. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.7.0.gemspec +41 -0
  1243. data/vendor/bundle/ruby/2.5.0/specifications/rubocop-0.46.0.gemspec +51 -0
  1244. data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.9.0.gemspec +46 -0
  1245. data/vendor/bundle/ruby/2.5.0/specifications/simplecov-0.13.0.gemspec +42 -0
  1246. data/vendor/bundle/ruby/2.5.0/specifications/simplecov-html-0.10.2.gemspec +33 -0
  1247. data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.3.0.gemspec +38 -0
  1248. metadata +1244 -3
@@ -0,0 +1,70 @@
1
+ require 'drb/drb'
2
+ require 'drb/acl'
3
+
4
+ module RSpec
5
+ module Core
6
+ # @private
7
+ module Bisect
8
+ # @private
9
+ BisectFailedError = Class.new(StandardError)
10
+
11
+ # @private
12
+ # A DRb server that receives run results from a separate RSpec process
13
+ # started by the bisect process.
14
+ class Server
15
+ def self.run
16
+ server = new
17
+ server.start
18
+ yield server
19
+ ensure
20
+ server.stop
21
+ end
22
+
23
+ def capture_run_results(files_or_directories_to_run=[], expected_failures=[])
24
+ self.expected_failures = expected_failures
25
+ self.files_or_directories_to_run = files_or_directories_to_run
26
+ self.latest_run_results = nil
27
+ run_output = yield
28
+
29
+ if latest_run_results.nil? || latest_run_results.all_example_ids.empty?
30
+ raise_bisect_failed(run_output)
31
+ end
32
+
33
+ latest_run_results
34
+ end
35
+
36
+ def start
37
+ # Only allow remote DRb requests from this machine.
38
+ DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 ])
39
+
40
+ # We pass `nil` as the first arg to allow it to pick a DRb port.
41
+ @drb = DRb.start_service(nil, self)
42
+ end
43
+
44
+ def stop
45
+ @drb.stop_service
46
+ end
47
+
48
+ def drb_port
49
+ @drb_port ||= Integer(@drb.uri[/\d+$/])
50
+ end
51
+
52
+ # Fetched via DRb by the BisectFormatter to determine when to abort.
53
+ attr_accessor :expected_failures
54
+
55
+ # Set via DRb by the BisectFormatter with the results of the run.
56
+ attr_accessor :latest_run_results
57
+
58
+ # Fetched via DRb to tell clients which files to run
59
+ attr_accessor :files_or_directories_to_run
60
+
61
+ private
62
+
63
+ def raise_bisect_failed(run_output)
64
+ raise BisectFailedError, "Failed to get results from the spec " \
65
+ "run. Spec run output:\n\n#{run_output}"
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,2179 @@
1
+ RSpec::Support.require_rspec_core "backtrace_formatter"
2
+ RSpec::Support.require_rspec_core "ruby_project"
3
+ RSpec::Support.require_rspec_core "formatters/deprecation_formatter"
4
+ RSpec::Support.require_rspec_core "output_wrapper"
5
+
6
+ module RSpec
7
+ module Core
8
+ # rubocop:disable Metrics/ClassLength
9
+
10
+ # Stores runtime configuration information.
11
+ #
12
+ # Configuration options are loaded from `~/.rspec`, `.rspec`,
13
+ # `.rspec-local`, command line switches, and the `SPEC_OPTS` environment
14
+ # variable (listed in lowest to highest precedence; for example, an option
15
+ # in `~/.rspec` can be overridden by an option in `.rspec-local`).
16
+ #
17
+ # @example Standard settings
18
+ # RSpec.configure do |c|
19
+ # c.drb = true
20
+ # c.drb_port = 1234
21
+ # c.default_path = 'behavior'
22
+ # end
23
+ #
24
+ # @example Hooks
25
+ # RSpec.configure do |c|
26
+ # c.before(:suite) { establish_connection }
27
+ # c.before(:example) { log_in_as :authorized }
28
+ # c.around(:example) { |ex| Database.transaction(&ex) }
29
+ # end
30
+ #
31
+ # @see RSpec.configure
32
+ # @see Hooks
33
+ class Configuration
34
+ include RSpec::Core::Hooks
35
+
36
+ # Module that holds `attr_reader` declarations. It's in a separate
37
+ # module to allow us to override those methods and use `super`.
38
+ # @private
39
+ Readers = Module.new
40
+ include Readers
41
+
42
+ # @private
43
+ class MustBeConfiguredBeforeExampleGroupsError < StandardError; end
44
+
45
+ # @private
46
+ def self.define_reader(name)
47
+ Readers.class_eval do
48
+ remove_method name if method_defined?(name)
49
+ attr_reader name
50
+ end
51
+
52
+ define_method(name) { value_for(name) { super() } }
53
+ end
54
+
55
+ # @private
56
+ def self.define_aliases(name, alias_name)
57
+ alias_method alias_name, name
58
+ alias_method "#{alias_name}=", "#{name}="
59
+ define_predicate_for alias_name
60
+ end
61
+
62
+ # @private
63
+ def self.define_predicate_for(*names)
64
+ names.each { |name| alias_method "#{name}?", name }
65
+ end
66
+
67
+ # @private
68
+ #
69
+ # Invoked by the `add_setting` instance method. Use that method on a
70
+ # `Configuration` instance rather than this class method.
71
+ def self.add_setting(name, opts={})
72
+ raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
73
+ attr_writer name
74
+ add_read_only_setting name
75
+
76
+ Array(opts[:alias_with]).each do |alias_name|
77
+ define_aliases(name, alias_name)
78
+ end
79
+ end
80
+
81
+ # @private
82
+ #
83
+ # As `add_setting` but only add the reader.
84
+ def self.add_read_only_setting(name, opts={})
85
+ raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
86
+ define_reader name
87
+ define_predicate_for name
88
+ end
89
+
90
+ # @macro [attach] add_setting
91
+ # @!attribute [rw] $1
92
+ # @!method $1=(value)
93
+ #
94
+ # @macro [attach] define_reader
95
+ # @!attribute [r] $1
96
+
97
+ # @macro add_setting
98
+ # Path to use if no path is provided to the `rspec` command (default:
99
+ # `"spec"`). Allows you to just type `rspec` instead of `rspec spec` to
100
+ # run all the examples in the `spec` directory.
101
+ #
102
+ # @note Other scripts invoking `rspec` indirectly will ignore this
103
+ # setting.
104
+ add_read_only_setting :default_path
105
+ def default_path=(path)
106
+ project_source_dirs << path
107
+ @default_path = path
108
+ end
109
+
110
+ # @macro add_setting
111
+ # Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
112
+ # server, but you can use tools like spork.
113
+ add_setting :drb
114
+
115
+ # @macro add_setting
116
+ # The drb_port (default: nil).
117
+ add_setting :drb_port
118
+
119
+ # @macro add_setting
120
+ # Default: `$stderr`.
121
+ add_setting :error_stream
122
+
123
+ # Indicates if the DSL has been exposed off of modules and `main`.
124
+ # Default: true
125
+ def expose_dsl_globally?
126
+ Core::DSL.exposed_globally?
127
+ end
128
+
129
+ # Use this to expose the core RSpec DSL via `Module` and the `main`
130
+ # object. It will be set automatically but you can override it to
131
+ # remove the DSL.
132
+ # Default: true
133
+ def expose_dsl_globally=(value)
134
+ if value
135
+ Core::DSL.expose_globally!
136
+ Core::SharedExampleGroup::TopLevelDSL.expose_globally!
137
+ else
138
+ Core::DSL.remove_globally!
139
+ Core::SharedExampleGroup::TopLevelDSL.remove_globally!
140
+ end
141
+ end
142
+
143
+ # Determines where deprecation warnings are printed.
144
+ # Defaults to `$stderr`.
145
+ # @return [IO, String] IO or filename to write to
146
+ define_reader :deprecation_stream
147
+
148
+ # Determines where deprecation warnings are printed.
149
+ # @param value [IO, String] IO to write to or filename to write to
150
+ def deprecation_stream=(value)
151
+ if @reporter && !value.equal?(@deprecation_stream)
152
+ warn "RSpec's reporter has already been initialized with " \
153
+ "#{deprecation_stream.inspect} as the deprecation stream, so your change to "\
154
+ "`deprecation_stream` will be ignored. You should configure it earlier for " \
155
+ "it to take effect, or use the `--deprecation-out` CLI option. " \
156
+ "(Called from #{CallerFilter.first_non_rspec_line})"
157
+ else
158
+ @deprecation_stream = value
159
+ end
160
+ end
161
+
162
+ # @macro define_reader
163
+ # The file path to use for persisting example statuses. Necessary for the
164
+ # `--only-failures` and `--next-failure` CLI options.
165
+ #
166
+ # @overload example_status_persistence_file_path
167
+ # @return [String] the file path
168
+ # @overload example_status_persistence_file_path=(value)
169
+ # @param value [String] the file path
170
+ define_reader :example_status_persistence_file_path
171
+
172
+ # Sets the file path to use for persisting example statuses. Necessary for the
173
+ # `--only-failures` and `--next-failure` CLI options.
174
+ def example_status_persistence_file_path=(value)
175
+ @example_status_persistence_file_path = value
176
+ clear_values_derived_from_example_status_persistence_file_path
177
+ end
178
+
179
+ # @macro define_reader
180
+ # Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
181
+ define_reader :only_failures
182
+ alias_method :only_failures?, :only_failures
183
+
184
+ # @private
185
+ def only_failures_but_not_configured?
186
+ only_failures? && !example_status_persistence_file_path
187
+ end
188
+
189
+ # @macro add_setting
190
+ # If specified, indicates the number of failures required before cleaning
191
+ # up and exit (default: `nil`).
192
+ add_setting :fail_fast
193
+
194
+ # @macro add_setting
195
+ # Prints the formatter output of your suite without running any
196
+ # examples or hooks.
197
+ add_setting :dry_run
198
+
199
+ # @macro add_setting
200
+ # The exit code to return if there are any failures (default: 1).
201
+ add_setting :failure_exit_code
202
+
203
+ # @macro add_setting
204
+ # Whether or not to fail when there are no RSpec examples (default: false).
205
+ add_setting :fail_if_no_examples
206
+
207
+ # @macro define_reader
208
+ # Indicates files configured to be required.
209
+ define_reader :requires
210
+
211
+ # @macro define_reader
212
+ # Returns dirs that have been prepended to the load path by the `-I`
213
+ # command line option.
214
+ define_reader :libs
215
+
216
+ # @macro add_setting
217
+ # Determines where RSpec will send its output.
218
+ # Default: `$stdout`.
219
+ define_reader :output_stream
220
+
221
+ # Set the output stream for reporter.
222
+ # @attr value [IO, String] IO to write to or filename to write to, defaults to $stdout
223
+ def output_stream=(value)
224
+ if @reporter && !value.equal?(@output_stream)
225
+ warn "RSpec's reporter has already been initialized with " \
226
+ "#{output_stream.inspect} as the output stream, so your change to "\
227
+ "`output_stream` will be ignored. You should configure it earlier for " \
228
+ "it to take effect. (Called from #{CallerFilter.first_non_rspec_line})"
229
+ else
230
+ @output_stream = value
231
+ output_wrapper.output = @output_stream
232
+ end
233
+ end
234
+
235
+ # @macro define_reader
236
+ # Load files matching this pattern (default: `'**{,/*/**}/*_spec.rb'`).
237
+ define_reader :pattern
238
+
239
+ # Set pattern to match files to load.
240
+ # @attr value [String] the filename pattern to filter spec files by
241
+ def pattern=(value)
242
+ update_pattern_attr :pattern, value
243
+ end
244
+
245
+ # @macro define_reader
246
+ # Exclude files matching this pattern.
247
+ define_reader :exclude_pattern
248
+
249
+ # Set pattern to match files to exclude.
250
+ # @attr value [String] the filename pattern to exclude spec files by
251
+ def exclude_pattern=(value)
252
+ update_pattern_attr :exclude_pattern, value
253
+ end
254
+
255
+ # @macro add_setting
256
+ # Specifies which directories contain the source code for your project.
257
+ # When a failure occurs, RSpec looks through the backtrace to find a
258
+ # a line of source to print. It first looks for a line coming from
259
+ # one of the project source directories so that, for example, it prints
260
+ # the expectation or assertion call rather than the source code from
261
+ # the expectation or assertion framework.
262
+ # @return [Array<String>]
263
+ add_setting :project_source_dirs
264
+
265
+ # @macro add_setting
266
+ # Report the times for the slowest examples (default: `false`).
267
+ # Use this to specify the number of examples to include in the profile.
268
+ add_setting :profile_examples
269
+
270
+ # @macro add_setting
271
+ # Run all examples if none match the configured filters
272
+ # (default: `false`).
273
+ # @deprecated Use {#filter_run_when_matching} instead for the specific
274
+ # filters that you want to be ignored if none match.
275
+ add_setting :run_all_when_everything_filtered
276
+
277
+ # @macro add_setting
278
+ # Color to use to indicate success.
279
+ # @param color [Symbol] defaults to `:green` but can be set to one of the
280
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
281
+ # :cyan]`
282
+ add_setting :success_color
283
+
284
+ # @macro add_setting
285
+ # Color to use to print pending examples.
286
+ # @param color [Symbol] defaults to `:yellow` but can be set to one of the
287
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
288
+ # :cyan]`
289
+ add_setting :pending_color
290
+
291
+ # @macro add_setting
292
+ # Color to use to indicate failure.
293
+ # @param color [Symbol] defaults to `:red` but can be set to one of the
294
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
295
+ # :cyan]`
296
+ add_setting :failure_color
297
+
298
+ # @macro add_setting
299
+ # The default output color.
300
+ # @param color [Symbol] defaults to `:white` but can be set to one of the
301
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
302
+ # :cyan]`
303
+ add_setting :default_color
304
+
305
+ # @macro add_setting
306
+ # Color used when a pending example is fixed.
307
+ # @param color [Symbol] defaults to `:blue` but can be set to one of the
308
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
309
+ # :cyan]`
310
+ add_setting :fixed_color
311
+
312
+ # @macro add_setting
313
+ # Color used to print details.
314
+ # @param color [Symbol] defaults to `:cyan` but can be set to one of the
315
+ # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
316
+ # :cyan]`
317
+ add_setting :detail_color
318
+
319
+ # @macro add_setting
320
+ # Don't print filter info i.e. "Run options: include {:focus=>true}"
321
+ # (default `false`).
322
+ add_setting :silence_filter_announcements
323
+
324
+ # Deprecated. This config option was added in RSpec 2 to pave the way
325
+ # for this being the default behavior in RSpec 3. Now this option is
326
+ # a no-op.
327
+ def treat_symbols_as_metadata_keys_with_true_values=(_value)
328
+ RSpec.deprecate(
329
+ "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=",
330
+ :message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
331
+ "is deprecated, it is now set to true as default and " \
332
+ "setting it to false has no effect."
333
+ )
334
+ end
335
+
336
+ # @macro define_reader
337
+ # Configures how RSpec treats metadata passed as part of a shared example
338
+ # group definition. For example, given this shared example group definition:
339
+ #
340
+ # RSpec.shared_context "uses DB", :db => true do
341
+ # around(:example) do |ex|
342
+ # MyORM.transaction(:rollback => true, &ex)
343
+ # end
344
+ # end
345
+ #
346
+ # ...there are two ways RSpec can treat the `:db => true` metadata, each
347
+ # of which has a corresponding config option:
348
+ #
349
+ # 1. `:trigger_inclusion`: this shared context will be implicitly included
350
+ # in any groups (or examples) that have `:db => true` metadata.
351
+ # 2. `:apply_to_host_groups`: the metadata will be inherited by the metadata
352
+ # hash of all host groups and examples.
353
+ #
354
+ # `:trigger_inclusion` is the legacy behavior from before RSpec 3.5 but should
355
+ # be considered deprecated. Instead, you can explicitly include a group with
356
+ # `include_context`:
357
+ #
358
+ # RSpec.describe "My model" do
359
+ # include_context "uses DB"
360
+ # end
361
+ #
362
+ # ...or you can configure RSpec to include the context based on matching metadata
363
+ # using an API that mirrors configured module inclusion:
364
+ #
365
+ # RSpec.configure do |rspec|
366
+ # rspec.include_context "uses DB", :db => true
367
+ # end
368
+ #
369
+ # `:apply_to_host_groups` is a new feature of RSpec 3.5 and will be the only
370
+ # supported behavior in RSpec 4.
371
+ #
372
+ # @overload shared_context_metadata_behavior
373
+ # @return [:trigger_inclusion, :apply_to_host_groups] the configured behavior
374
+ # @overload shared_context_metadata_behavior=(value)
375
+ # @param value [:trigger_inclusion, :apply_to_host_groups] sets the configured behavior
376
+ define_reader :shared_context_metadata_behavior
377
+ # @see shared_context_metadata_behavior
378
+ def shared_context_metadata_behavior=(value)
379
+ case value
380
+ when :trigger_inclusion, :apply_to_host_groups
381
+ @shared_context_metadata_behavior = value
382
+ else
383
+ raise ArgumentError, "Cannot set `RSpec.configuration." \
384
+ "shared_context_metadata_behavior` to `#{value.inspect}`. Only " \
385
+ "`:trigger_inclusion` and `:apply_to_host_groups` are valid values."
386
+ end
387
+ end
388
+
389
+ # Record the start time of the spec suite to measure load time.
390
+ add_setting :start_time
391
+
392
+ # @macro add_setting
393
+ # Use threadsafe options where available.
394
+ # Currently this will place a mutex around memoized values such as let blocks.
395
+ add_setting :threadsafe
396
+
397
+ # @macro add_setting
398
+ # Maximum count of failed source lines to display in the failure reports.
399
+ # (default `10`).
400
+ add_setting :max_displayed_failure_line_count
401
+
402
+ # @private
403
+ # @deprecated Use {#color_mode} = :on, instead of {#color} with {#tty}
404
+ add_setting :tty
405
+ # @private
406
+ attr_writer :files_to_run
407
+ # @private
408
+ attr_accessor :filter_manager, :world
409
+ # @private
410
+ attr_accessor :static_config_filter_manager
411
+ # @private
412
+ attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
413
+
414
+ # rubocop:disable Metrics/AbcSize
415
+ # rubocop:disable Metrics/MethodLength
416
+
417
+ # Build an object to store runtime configuration options and set defaults
418
+ def initialize
419
+ # rubocop:disable Style/GlobalVars
420
+ @start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
421
+ # rubocop:enable Style/GlobalVars
422
+ @expectation_frameworks = []
423
+ @include_modules = FilterableItemRepository::QueryOptimized.new(:any?)
424
+ @extend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
425
+ @prepend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
426
+
427
+ @before_suite_hooks = []
428
+ @after_suite_hooks = []
429
+
430
+ @mock_framework = nil
431
+ @files_or_directories_to_run = []
432
+ @loaded_spec_files = Set.new
433
+ @color = false
434
+ @color_mode = :automatic
435
+ @pattern = '**{,/*/**}/*_spec.rb'
436
+ @exclude_pattern = ''
437
+ @failure_exit_code = 1
438
+ @fail_if_no_examples = false
439
+ @spec_files_loaded = false
440
+
441
+ @backtrace_formatter = BacktraceFormatter.new
442
+
443
+ @default_path = 'spec'
444
+ @project_source_dirs = %w[ spec lib app ]
445
+ @deprecation_stream = $stderr
446
+ @output_stream = $stdout
447
+ @reporter = nil
448
+ @reporter_buffer = nil
449
+ @filter_manager = FilterManager.new
450
+ @static_config_filter_manager = FilterManager.new
451
+ @ordering_manager = Ordering::ConfigurationManager.new
452
+ @preferred_options = {}
453
+ @failure_color = :red
454
+ @success_color = :green
455
+ @pending_color = :yellow
456
+ @default_color = :white
457
+ @fixed_color = :blue
458
+ @detail_color = :cyan
459
+ @profile_examples = false
460
+ @requires = []
461
+ @libs = []
462
+ @derived_metadata_blocks = FilterableItemRepository::QueryOptimized.new(:any?)
463
+ @threadsafe = true
464
+ @max_displayed_failure_line_count = 10
465
+ @world = World::Null
466
+ @shared_context_metadata_behavior = :trigger_inclusion
467
+
468
+ define_built_in_hooks
469
+ end
470
+ # rubocop:enable Metrics/MethodLength
471
+ # rubocop:enable Metrics/AbcSize
472
+
473
+ # @private
474
+ #
475
+ # Used to set higher priority option values from the command line.
476
+ def force(hash)
477
+ ordering_manager.force(hash)
478
+ @preferred_options.merge!(hash)
479
+
480
+ return unless hash.key?(:example_status_persistence_file_path)
481
+ clear_values_derived_from_example_status_persistence_file_path
482
+ end
483
+
484
+ # @private
485
+ def reset
486
+ @spec_files_loaded = false
487
+ reset_reporter
488
+ end
489
+
490
+ # @private
491
+ def reset_reporter
492
+ @reporter = nil
493
+ @formatter_loader = nil
494
+ @output_wrapper = nil
495
+ end
496
+
497
+ # @private
498
+ def reset_filters
499
+ self.filter_manager = FilterManager.new
500
+ filter_manager.include_only(
501
+ Metadata.deep_hash_dup(static_config_filter_manager.inclusions.rules)
502
+ )
503
+ filter_manager.exclude_only(
504
+ Metadata.deep_hash_dup(static_config_filter_manager.exclusions.rules)
505
+ )
506
+ end
507
+
508
+ # @overload add_setting(name)
509
+ # @overload add_setting(name, opts)
510
+ # @option opts [Symbol] :default
511
+ #
512
+ # Set a default value for the generated getter and predicate methods:
513
+ #
514
+ # add_setting(:foo, :default => "default value")
515
+ #
516
+ # @option opts [Symbol] :alias_with
517
+ #
518
+ # Use `:alias_with` to alias the setter, getter, and predicate to
519
+ # another name, or names:
520
+ #
521
+ # add_setting(:foo, :alias_with => :bar)
522
+ # add_setting(:foo, :alias_with => [:bar, :baz])
523
+ #
524
+ # Adds a custom setting to the RSpec.configuration object.
525
+ #
526
+ # RSpec.configuration.add_setting :foo
527
+ #
528
+ # Used internally and by extension frameworks like rspec-rails, so they
529
+ # can add config settings that are domain specific. For example:
530
+ #
531
+ # RSpec.configure do |c|
532
+ # c.add_setting :use_transactional_fixtures,
533
+ # :default => true,
534
+ # :alias_with => :use_transactional_examples
535
+ # end
536
+ #
537
+ # `add_setting` creates three methods on the configuration object, a
538
+ # setter, a getter, and a predicate:
539
+ #
540
+ # RSpec.configuration.foo=(value)
541
+ # RSpec.configuration.foo
542
+ # RSpec.configuration.foo? # Returns true if foo returns anything but nil or false.
543
+ def add_setting(name, opts={})
544
+ default = opts.delete(:default)
545
+ (class << self; self; end).class_exec do
546
+ add_setting(name, opts)
547
+ end
548
+ __send__("#{name}=", default) if default
549
+ end
550
+
551
+ # Returns the configured mock framework adapter module.
552
+ def mock_framework
553
+ if @mock_framework.nil?
554
+ begin
555
+ mock_with :rspec
556
+ rescue LoadError
557
+ mock_with :nothing
558
+ end
559
+ end
560
+ @mock_framework
561
+ end
562
+
563
+ # Delegates to mock_framework=(framework).
564
+ def mock_framework=(framework)
565
+ mock_with framework
566
+ end
567
+
568
+ # Regexps used to exclude lines from backtraces.
569
+ #
570
+ # Excludes lines from ruby (and jruby) source, installed gems, anything
571
+ # in any "bin" directory, and any of the RSpec libs (outside gem
572
+ # installs) by default.
573
+ #
574
+ # You can modify the list via the getter, or replace it with the setter.
575
+ #
576
+ # To override this behaviour and display a full backtrace, use
577
+ # `--backtrace` on the command line, in a `.rspec` file, or in the
578
+ # `rspec_options` attribute of RSpec's rake task.
579
+ def backtrace_exclusion_patterns
580
+ @backtrace_formatter.exclusion_patterns
581
+ end
582
+
583
+ # Set regular expressions used to exclude lines in backtrace.
584
+ # @param patterns [Regexp] set the backtrace exlusion pattern
585
+ def backtrace_exclusion_patterns=(patterns)
586
+ @backtrace_formatter.exclusion_patterns = patterns
587
+ end
588
+
589
+ # Regexps used to include lines in backtraces.
590
+ #
591
+ # Defaults to [Regexp.new Dir.getwd].
592
+ #
593
+ # Lines that match an exclusion _and_ an inclusion pattern
594
+ # will be included.
595
+ #
596
+ # You can modify the list via the getter, or replace it with the setter.
597
+ def backtrace_inclusion_patterns
598
+ @backtrace_formatter.inclusion_patterns
599
+ end
600
+
601
+ # Set regular expressions used to include lines in backtrace.
602
+ # @attr patterns [Regexp] set backtrace_formatter inclusion_patterns
603
+ def backtrace_inclusion_patterns=(patterns)
604
+ @backtrace_formatter.inclusion_patterns = patterns
605
+ end
606
+
607
+ # Adds {#backtrace_exclusion_patterns} that will filter lines from
608
+ # the named gems from backtraces.
609
+ #
610
+ # @param gem_names [Array<String>] Names of the gems to filter
611
+ #
612
+ # @example
613
+ # RSpec.configure do |config|
614
+ # config.filter_gems_from_backtrace "rack", "rake"
615
+ # end
616
+ #
617
+ # @note The patterns this adds will match the named gems in their common
618
+ # locations (e.g. system gems, vendored with bundler, installed as a
619
+ # :git dependency with bundler, etc) but is not guaranteed to work for
620
+ # all possible gem locations. For example, if you have the gem source
621
+ # in a directory with a completely unrelated name, and use bundler's
622
+ # :path option, this will not filter it.
623
+ def filter_gems_from_backtrace(*gem_names)
624
+ gem_names.each do |name|
625
+ @backtrace_formatter.filter_gem(name)
626
+ end
627
+ end
628
+
629
+ # @private
630
+ MOCKING_ADAPTERS = {
631
+ :rspec => :RSpec,
632
+ :flexmock => :Flexmock,
633
+ :rr => :RR,
634
+ :mocha => :Mocha,
635
+ :nothing => :Null
636
+ }
637
+
638
+ # Sets the mock framework adapter module.
639
+ #
640
+ # `framework` can be a Symbol or a Module.
641
+ #
642
+ # Given any of `:rspec`, `:mocha`, `:flexmock`, or `:rr`, configures the
643
+ # named framework.
644
+ #
645
+ # Given `:nothing`, configures no framework. Use this if you don't use
646
+ # any mocking framework to save a little bit of overhead.
647
+ #
648
+ # Given a Module, includes that module in every example group. The module
649
+ # should adhere to RSpec's mock framework adapter API:
650
+ #
651
+ # setup_mocks_for_rspec
652
+ # - called before each example
653
+ #
654
+ # verify_mocks_for_rspec
655
+ # - called after each example if the example hasn't yet failed.
656
+ # Framework should raise an exception when expectations fail
657
+ #
658
+ # teardown_mocks_for_rspec
659
+ # - called after verify_mocks_for_rspec (even if there are errors)
660
+ #
661
+ # If the module responds to `configuration` and `mock_with` receives a
662
+ # block, it will yield the configuration object to the block e.g.
663
+ #
664
+ # config.mock_with OtherMockFrameworkAdapter do |mod_config|
665
+ # mod_config.custom_setting = true
666
+ # end
667
+ def mock_with(framework)
668
+ framework_module =
669
+ if framework.is_a?(Module)
670
+ framework
671
+ else
672
+ const_name = MOCKING_ADAPTERS.fetch(framework) do
673
+ raise ArgumentError,
674
+ "Unknown mocking framework: #{framework.inspect}. " \
675
+ "Pass a module or one of #{MOCKING_ADAPTERS.keys.inspect}"
676
+ end
677
+
678
+ RSpec::Support.require_rspec_core "mocking_adapters/#{const_name.to_s.downcase}"
679
+ RSpec::Core::MockingAdapters.const_get(const_name)
680
+ end
681
+
682
+ new_name, old_name = [framework_module, @mock_framework].map do |mod|
683
+ mod.respond_to?(:framework_name) ? mod.framework_name : :unnamed
684
+ end
685
+
686
+ unless new_name == old_name
687
+ assert_no_example_groups_defined(:mock_framework)
688
+ end
689
+
690
+ if block_given?
691
+ raise "#{framework_module} must respond to `configuration` so that " \
692
+ "mock_with can yield it." unless framework_module.respond_to?(:configuration)
693
+ yield framework_module.configuration
694
+ end
695
+
696
+ @mock_framework = framework_module
697
+ end
698
+
699
+ # Returns the configured expectation framework adapter module(s)
700
+ def expectation_frameworks
701
+ if @expectation_frameworks.empty?
702
+ begin
703
+ expect_with :rspec
704
+ rescue LoadError
705
+ expect_with Module.new
706
+ end
707
+ end
708
+ @expectation_frameworks
709
+ end
710
+
711
+ # Delegates to expect_with(framework).
712
+ def expectation_framework=(framework)
713
+ expect_with(framework)
714
+ end
715
+
716
+ # Sets the expectation framework module(s) to be included in each example
717
+ # group.
718
+ #
719
+ # `frameworks` can be `:rspec`, `:test_unit`, `:minitest`, a custom
720
+ # module, or any combination thereof:
721
+ #
722
+ # config.expect_with :rspec
723
+ # config.expect_with :test_unit
724
+ # config.expect_with :minitest
725
+ # config.expect_with :rspec, :minitest
726
+ # config.expect_with OtherExpectationFramework
727
+ #
728
+ # RSpec will translate `:rspec`, `:minitest`, and `:test_unit` into the
729
+ # appropriate modules.
730
+ #
731
+ # ## Configuration
732
+ #
733
+ # If the module responds to `configuration`, `expect_with` will
734
+ # yield the `configuration` object if given a block:
735
+ #
736
+ # config.expect_with OtherExpectationFramework do |custom_config|
737
+ # custom_config.custom_setting = true
738
+ # end
739
+ def expect_with(*frameworks)
740
+ modules = frameworks.map do |framework|
741
+ case framework
742
+ when Module
743
+ framework
744
+ when :rspec
745
+ require 'rspec/expectations'
746
+
747
+ # Tag this exception class so our exception formatting logic knows
748
+ # that it satisfies the `MultipleExceptionError` interface.
749
+ ::RSpec::Expectations::MultipleExpectationsNotMetError.__send__(
750
+ :include, MultipleExceptionError::InterfaceTag
751
+ )
752
+
753
+ ::RSpec::Matchers
754
+ when :test_unit
755
+ require 'rspec/core/test_unit_assertions_adapter'
756
+ ::RSpec::Core::TestUnitAssertionsAdapter
757
+ when :minitest
758
+ require 'rspec/core/minitest_assertions_adapter'
759
+ ::RSpec::Core::MinitestAssertionsAdapter
760
+ else
761
+ raise ArgumentError, "#{framework.inspect} is not supported"
762
+ end
763
+ end
764
+
765
+ if (modules - @expectation_frameworks).any?
766
+ assert_no_example_groups_defined(:expect_with)
767
+ end
768
+
769
+ if block_given?
770
+ raise "expect_with only accepts a block with a single argument. " \
771
+ "Call expect_with #{modules.length} times, " \
772
+ "once with each argument, instead." if modules.length > 1
773
+ raise "#{modules.first} must respond to `configuration` so that " \
774
+ "expect_with can yield it." unless modules.first.respond_to?(:configuration)
775
+ yield modules.first.configuration
776
+ end
777
+
778
+ @expectation_frameworks.push(*modules)
779
+ end
780
+
781
+ # Check if full backtrace is enabled.
782
+ # @return [Boolean] is full backtrace enabled
783
+ def full_backtrace?
784
+ @backtrace_formatter.full_backtrace?
785
+ end
786
+
787
+ # Toggle full backtrace.
788
+ # @attr true_or_false [Boolean] toggle full backtrace display
789
+ def full_backtrace=(true_or_false)
790
+ @backtrace_formatter.full_backtrace = true_or_false
791
+ end
792
+
793
+ # Enables color output if the output is a TTY. As of RSpec 3.6, this is
794
+ # the default behavior and this option is retained only for backwards
795
+ # compatibility.
796
+ #
797
+ # @deprecated No longer recommended because of complex behavior. Instead,
798
+ # rely on the fact that TTYs will display color by default, or set
799
+ # {#color_mode} to :on to display color on a non-TTY output.
800
+ # @see color_mode
801
+ # @see color_enabled?
802
+ # @return [Boolean]
803
+ def color
804
+ value_for(:color) { @color }
805
+ end
806
+
807
+ # The mode for determining whether to display output in color. One of:
808
+ #
809
+ # - :automatic - the output will be in color if the output is a TTY (the
810
+ # default)
811
+ # - :on - the output will be in color, whether or not the output is a TTY
812
+ # - :off - the output will not be in color
813
+ #
814
+ # @see color_enabled?
815
+ # @return [Boolean]
816
+ def color_mode
817
+ value_for(:color_mode) { @color_mode }
818
+ end
819
+
820
+ # Check if color is enabled for a particular output.
821
+ # @param output [IO] an output stream to use, defaults to the current
822
+ # `output_stream`
823
+ # @return [Boolean]
824
+ def color_enabled?(output=output_stream)
825
+ case color_mode
826
+ when :on then true
827
+ when :off then false
828
+ else # automatic
829
+ output_to_tty?(output) || (color && tty?)
830
+ end
831
+ end
832
+
833
+ # Set the color mode.
834
+ attr_writer :color_mode
835
+
836
+ # Toggle output color.
837
+ #
838
+ # @deprecated No longer recommended because of complex behavior. Instead,
839
+ # rely on the fact that TTYs will display color by default, or set
840
+ # {:color_mode} to :on to display color on a non-TTY output.
841
+ attr_writer :color
842
+
843
+ # @private
844
+ def libs=(libs)
845
+ libs.map do |lib|
846
+ @libs.unshift lib
847
+ $LOAD_PATH.unshift lib
848
+ end
849
+ end
850
+
851
+ # Run examples matching on `description` in all files to run.
852
+ # @param description [String, Regexp] the pattern to filter on
853
+ def full_description=(description)
854
+ filter_run :full_description => Regexp.union(*Array(description).map { |d| Regexp.new(d) })
855
+ end
856
+
857
+ # @return [Array] full description filter
858
+ def full_description
859
+ filter.fetch :full_description, nil
860
+ end
861
+
862
+ # @overload add_formatter(formatter)
863
+ # @overload add_formatter(formatter, output)
864
+ #
865
+ # @param formatter [Class, String] formatter to use. Can be any of the
866
+ # string values supported from the CLI (`p`/`progress`,
867
+ # `d`/`doc`/`documentation`, `h`/`html`, or `j`/`json`) or any
868
+ # class that implements the formatter protocol and has registered
869
+ # itself with RSpec as a formatter.
870
+ # @param output [String, IO] where the formatter will write its output.
871
+ # Can be an IO object or a string path to a file. If not provided,
872
+ # the configured `output_stream` (`$stdout`, by default) will be used.
873
+ #
874
+ # Adds a formatter to the set RSpec will use for this run.
875
+ #
876
+ # @see RSpec::Core::Formatters::Protocol
877
+ def add_formatter(formatter, output=output_wrapper)
878
+ formatter_loader.add(formatter, output)
879
+ end
880
+ alias_method :formatter=, :add_formatter
881
+
882
+ # The formatter that will be used if no formatter has been set.
883
+ # Defaults to 'progress'.
884
+ def default_formatter
885
+ formatter_loader.default_formatter
886
+ end
887
+
888
+ # Sets a fallback formatter to use if none other has been set.
889
+ #
890
+ # @example
891
+ #
892
+ # RSpec.configure do |rspec|
893
+ # rspec.default_formatter = 'doc'
894
+ # end
895
+ def default_formatter=(value)
896
+ formatter_loader.default_formatter = value
897
+ end
898
+
899
+ # Returns a duplicate of the formatters currently loaded in
900
+ # the `FormatterLoader` for introspection.
901
+ #
902
+ # Note as this is a duplicate, any mutations will be disregarded.
903
+ #
904
+ # @return [Array] the formatters currently loaded
905
+ def formatters
906
+ formatter_loader.formatters.dup
907
+ end
908
+
909
+ # @private
910
+ def formatter_loader
911
+ @formatter_loader ||= Formatters::Loader.new(Reporter.new(self))
912
+ end
913
+
914
+ # @private
915
+ #
916
+ # This buffer is used to capture all messages sent to the reporter during
917
+ # reporter initialization. It can then replay those messages after the
918
+ # formatter is correctly initialized. Otherwise, deprecation warnings
919
+ # during formatter initialization can cause an infinite loop.
920
+ class DeprecationReporterBuffer
921
+ def initialize
922
+ @calls = []
923
+ end
924
+
925
+ def deprecation(*args)
926
+ @calls << args
927
+ end
928
+
929
+ def play_onto(reporter)
930
+ @calls.each do |args|
931
+ reporter.deprecation(*args)
932
+ end
933
+ end
934
+ end
935
+
936
+ # @return [RSpec::Core::Reporter] the currently configured reporter
937
+ def reporter
938
+ # @reporter_buffer should only ever be set in this method to cover
939
+ # initialization of @reporter.
940
+ @reporter_buffer || @reporter ||=
941
+ begin
942
+ @reporter_buffer = DeprecationReporterBuffer.new
943
+ formatter_loader.prepare_default output_wrapper, deprecation_stream
944
+ @reporter_buffer.play_onto(formatter_loader.reporter)
945
+ @reporter_buffer = nil
946
+ formatter_loader.reporter
947
+ end
948
+ end
949
+
950
+ # @api private
951
+ #
952
+ # Defaults `profile_examples` to 10 examples when `@profile_examples` is
953
+ # `true`.
954
+ def profile_examples
955
+ profile = value_for(:profile_examples) { @profile_examples }
956
+ if profile && !profile.is_a?(Integer)
957
+ 10
958
+ else
959
+ profile
960
+ end
961
+ end
962
+
963
+ # @private
964
+ def files_or_directories_to_run=(*files)
965
+ files = files.flatten
966
+
967
+ if (command == 'rspec' || Runner.running_in_drb?) && default_path && files.empty?
968
+ files << default_path
969
+ end
970
+
971
+ @files_or_directories_to_run = files
972
+ @files_to_run = nil
973
+ end
974
+
975
+ # The spec files RSpec will run.
976
+ # @return [Array] specified files about to run
977
+ def files_to_run
978
+ @files_to_run ||= get_files_to_run(@files_or_directories_to_run)
979
+ end
980
+
981
+ # @private
982
+ def last_run_statuses
983
+ @last_run_statuses ||= Hash.new(UNKNOWN_STATUS).tap do |statuses|
984
+ if (path = example_status_persistence_file_path)
985
+ begin
986
+ ExampleStatusPersister.load_from(path).inject(statuses) do |hash, example|
987
+ status = example[:status]
988
+ status = UNKNOWN_STATUS unless VALID_STATUSES.include?(status)
989
+ hash[example.fetch(:example_id)] = status
990
+ hash
991
+ end
992
+ rescue SystemCallError => e
993
+ RSpec.warning "Could not read from #{path.inspect} (configured as " \
994
+ "`config.example_status_persistence_file_path`) due " \
995
+ "to a system error: #{e.inspect}. Please check that " \
996
+ "the config option is set to an accessible, valid " \
997
+ "file path", :call_site => nil
998
+ end
999
+ end
1000
+ end
1001
+ end
1002
+
1003
+ # @private
1004
+ UNKNOWN_STATUS = "unknown".freeze
1005
+
1006
+ # @private
1007
+ FAILED_STATUS = "failed".freeze
1008
+
1009
+ # @private
1010
+ PASSED_STATUS = "passed".freeze
1011
+
1012
+ # @private
1013
+ PENDING_STATUS = "pending".freeze
1014
+
1015
+ # @private
1016
+ VALID_STATUSES = [UNKNOWN_STATUS, FAILED_STATUS, PASSED_STATUS, PENDING_STATUS]
1017
+
1018
+ # @private
1019
+ def spec_files_with_failures
1020
+ @spec_files_with_failures ||= last_run_statuses.inject(Set.new) do |files, (id, status)|
1021
+ files << Example.parse_id(id).first if status == FAILED_STATUS
1022
+ files
1023
+ end.to_a
1024
+ end
1025
+
1026
+ # Creates a method that delegates to `example` including the submitted
1027
+ # `args`. Used internally to add variants of `example` like `pending`:
1028
+ # @param name [String] example name alias
1029
+ # @param args [Array<Symbol>, Hash] metadata for the generated example
1030
+ #
1031
+ # @note The specific example alias below (`pending`) is already
1032
+ # defined for you.
1033
+ # @note Use with caution. This extends the language used in your
1034
+ # specs, but does not add any additional documentation. We use this
1035
+ # in RSpec to define methods like `focus` and `xit`, but we also add
1036
+ # docs for those methods.
1037
+ #
1038
+ # @example
1039
+ # RSpec.configure do |config|
1040
+ # config.alias_example_to :pending, :pending => true
1041
+ # end
1042
+ #
1043
+ # # This lets you do this:
1044
+ #
1045
+ # describe Thing do
1046
+ # pending "does something" do
1047
+ # thing = Thing.new
1048
+ # end
1049
+ # end
1050
+ #
1051
+ # # ... which is the equivalent of
1052
+ #
1053
+ # describe Thing do
1054
+ # it "does something", :pending => true do
1055
+ # thing = Thing.new
1056
+ # end
1057
+ # end
1058
+ def alias_example_to(name, *args)
1059
+ extra_options = Metadata.build_hash_from(args)
1060
+ RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
1061
+ end
1062
+
1063
+ # Creates a method that defines an example group with the provided
1064
+ # metadata. Can be used to define example group/metadata shortcuts.
1065
+ #
1066
+ # @example
1067
+ # RSpec.configure do |config|
1068
+ # config.alias_example_group_to :describe_model, :type => :model
1069
+ # end
1070
+ #
1071
+ # shared_context_for "model tests", :type => :model do
1072
+ # # define common model test helper methods, `let` declarations, etc
1073
+ # end
1074
+ #
1075
+ # # This lets you do this:
1076
+ #
1077
+ # RSpec.describe_model User do
1078
+ # end
1079
+ #
1080
+ # # ... which is the equivalent of
1081
+ #
1082
+ # RSpec.describe User, :type => :model do
1083
+ # end
1084
+ #
1085
+ # @note The defined aliased will also be added to the top level
1086
+ # (e.g. `main` and from within modules) if
1087
+ # `expose_dsl_globally` is set to true.
1088
+ # @see #alias_example_to
1089
+ # @see #expose_dsl_globally=
1090
+ def alias_example_group_to(new_name, *args)
1091
+ extra_options = Metadata.build_hash_from(args)
1092
+ RSpec::Core::ExampleGroup.define_example_group_method(new_name, extra_options)
1093
+ end
1094
+
1095
+ # Define an alias for it_should_behave_like that allows different
1096
+ # language (like "it_has_behavior" or "it_behaves_like") to be
1097
+ # employed when including shared examples.
1098
+ #
1099
+ # @example
1100
+ # RSpec.configure do |config|
1101
+ # config.alias_it_behaves_like_to(:it_has_behavior, 'has behavior:')
1102
+ # end
1103
+ #
1104
+ # # allows the user to include a shared example group like:
1105
+ #
1106
+ # describe Entity do
1107
+ # it_has_behavior 'sortability' do
1108
+ # let(:sortable) { Entity.new }
1109
+ # end
1110
+ # end
1111
+ #
1112
+ # # which is reported in the output as:
1113
+ # # Entity
1114
+ # # has behavior: sortability
1115
+ # # ...sortability examples here
1116
+ #
1117
+ # @note Use with caution. This extends the language used in your
1118
+ # specs, but does not add any additional documentation. We use this
1119
+ # in RSpec to define `it_should_behave_like` (for backward
1120
+ # compatibility), but we also add docs for that method.
1121
+ def alias_it_behaves_like_to(new_name, report_label='')
1122
+ RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
1123
+ end
1124
+ alias_method :alias_it_should_behave_like_to, :alias_it_behaves_like_to
1125
+
1126
+ # Adds key/value pairs to the `inclusion_filter`. If `args`
1127
+ # includes any symbols that are not part of the hash, each symbol
1128
+ # is treated as a key in the hash with the value `true`.
1129
+ #
1130
+ # ### Note
1131
+ #
1132
+ # Filters set using this method can be overridden from the command line
1133
+ # or config files (e.g. `.rspec`).
1134
+ #
1135
+ # @example
1136
+ # # Given this declaration.
1137
+ # describe "something", :foo => 'bar' do
1138
+ # # ...
1139
+ # end
1140
+ #
1141
+ # # Any of the following will include that group.
1142
+ # config.filter_run_including :foo => 'bar'
1143
+ # config.filter_run_including :foo => /^ba/
1144
+ # config.filter_run_including :foo => lambda {|v| v == 'bar'}
1145
+ # config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
1146
+ #
1147
+ # # Given a proc with an arity of 1, the lambda is passed the value
1148
+ # # related to the key, e.g.
1149
+ # config.filter_run_including :foo => lambda {|v| v == 'bar'}
1150
+ #
1151
+ # # Given a proc with an arity of 2, the lambda is passed the value
1152
+ # # related to the key, and the metadata itself e.g.
1153
+ # config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
1154
+ #
1155
+ # filter_run_including :foo # same as filter_run_including :foo => true
1156
+ def filter_run_including(*args)
1157
+ meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
1158
+ filter_manager.include_with_low_priority meta
1159
+ static_config_filter_manager.include_with_low_priority Metadata.deep_hash_dup(meta)
1160
+ end
1161
+ alias_method :filter_run, :filter_run_including
1162
+
1163
+ # Applies the provided filter only if any of examples match, in constrast
1164
+ # to {#filter_run}, which always applies even if no examples match, in
1165
+ # which case no examples will be run. This allows you to leave configured
1166
+ # filters in place that are intended only for temporary use. The most common
1167
+ # example is focus filtering: `config.filter_run_when_matching :focus`.
1168
+ # With that configured, you can temporarily focus an example or group
1169
+ # by tagging it with `:focus` metadata, or prefixing it with an `f`
1170
+ # (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
1171
+ # `describe`/`context`/`it` with `:focus` metadata.
1172
+ def filter_run_when_matching(*args)
1173
+ when_first_matching_example_defined(*args) do
1174
+ filter_run(*args)
1175
+ end
1176
+ end
1177
+
1178
+ # Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
1179
+ # want any inclusion filter at all.
1180
+ #
1181
+ # ### Warning
1182
+ #
1183
+ # This overrides any inclusion filters/tags set on the command line or in
1184
+ # configuration files.
1185
+ def inclusion_filter=(filter)
1186
+ meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
1187
+ filter_manager.include_only meta
1188
+ end
1189
+
1190
+ alias_method :filter=, :inclusion_filter=
1191
+
1192
+ # Returns the `inclusion_filter`. If none has been set, returns an empty
1193
+ # hash.
1194
+ def inclusion_filter
1195
+ filter_manager.inclusions
1196
+ end
1197
+
1198
+ alias_method :filter, :inclusion_filter
1199
+
1200
+ # Adds key/value pairs to the `exclusion_filter`. If `args`
1201
+ # includes any symbols that are not part of the hash, each symbol
1202
+ # is treated as a key in the hash with the value `true`.
1203
+ #
1204
+ # ### Note
1205
+ #
1206
+ # Filters set using this method can be overridden from the command line
1207
+ # or config files (e.g. `.rspec`).
1208
+ #
1209
+ # @example
1210
+ # # Given this declaration.
1211
+ # describe "something", :foo => 'bar' do
1212
+ # # ...
1213
+ # end
1214
+ #
1215
+ # # Any of the following will exclude that group.
1216
+ # config.filter_run_excluding :foo => 'bar'
1217
+ # config.filter_run_excluding :foo => /^ba/
1218
+ # config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
1219
+ # config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
1220
+ #
1221
+ # # Given a proc with an arity of 1, the lambda is passed the value
1222
+ # # related to the key, e.g.
1223
+ # config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
1224
+ #
1225
+ # # Given a proc with an arity of 2, the lambda is passed the value
1226
+ # # related to the key, and the metadata itself e.g.
1227
+ # config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
1228
+ #
1229
+ # filter_run_excluding :foo # same as filter_run_excluding :foo => true
1230
+ def filter_run_excluding(*args)
1231
+ meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
1232
+ filter_manager.exclude_with_low_priority meta
1233
+ static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup(meta)
1234
+ end
1235
+
1236
+ # Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
1237
+ # want any exclusion filter at all.
1238
+ #
1239
+ # ### Warning
1240
+ #
1241
+ # This overrides any exclusion filters/tags set on the command line or in
1242
+ # configuration files.
1243
+ def exclusion_filter=(filter)
1244
+ meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
1245
+ filter_manager.exclude_only meta
1246
+ end
1247
+
1248
+ # Returns the `exclusion_filter`. If none has been set, returns an empty
1249
+ # hash.
1250
+ def exclusion_filter
1251
+ filter_manager.exclusions
1252
+ end
1253
+
1254
+ # Tells RSpec to include `mod` in example groups. Methods defined in
1255
+ # `mod` are exposed to examples (not example groups). Use `filters` to
1256
+ # constrain the groups or examples in which to include the module.
1257
+ #
1258
+ # @example
1259
+ #
1260
+ # module AuthenticationHelpers
1261
+ # def login_as(user)
1262
+ # # ...
1263
+ # end
1264
+ # end
1265
+ #
1266
+ # module UserHelpers
1267
+ # def users(username)
1268
+ # # ...
1269
+ # end
1270
+ # end
1271
+ #
1272
+ # RSpec.configure do |config|
1273
+ # config.include(UserHelpers) # included in all groups
1274
+ # config.include(AuthenticationHelpers, :type => :request)
1275
+ # end
1276
+ #
1277
+ # describe "edit profile", :type => :request do
1278
+ # it "can be viewed by owning user" do
1279
+ # login_as users(:jdoe)
1280
+ # get "/profiles/jdoe"
1281
+ # assert_select ".username", :text => 'jdoe'
1282
+ # end
1283
+ # end
1284
+ #
1285
+ # @note Filtered module inclusions can also be applied to
1286
+ # individual examples that have matching metadata. Just like
1287
+ # Ruby's object model is that every object has a singleton class
1288
+ # which has only a single instance, RSpec's model is that every
1289
+ # example has a singleton example group containing just the one
1290
+ # example.
1291
+ #
1292
+ # @see #include_context
1293
+ # @see #extend
1294
+ # @see #prepend
1295
+ def include(mod, *filters)
1296
+ define_mixed_in_module(mod, filters, @include_modules, :include) do |group|
1297
+ safe_include(mod, group)
1298
+ end
1299
+ end
1300
+
1301
+ # Tells RSpec to include the named shared example group in example groups.
1302
+ # Use `filters` to constrain the groups or examples in which to include
1303
+ # the example group.
1304
+ #
1305
+ # @example
1306
+ #
1307
+ # RSpec.shared_context "example users" do
1308
+ # let(:admin_user) { create_user(:admin) }
1309
+ # let(:guest_user) { create_user(:guest) }
1310
+ # end
1311
+ #
1312
+ # RSpec.configure do |config|
1313
+ # config.include_context "example users", :type => :request
1314
+ # end
1315
+ #
1316
+ # RSpec.describe "The admin page", :type => :request do
1317
+ # it "can be viewed by admins" do
1318
+ # login_with admin_user
1319
+ # get "/admin"
1320
+ # expect(response).to be_ok
1321
+ # end
1322
+ #
1323
+ # it "cannot be viewed by guests" do
1324
+ # login_with guest_user
1325
+ # get "/admin"
1326
+ # expect(response).to be_forbidden
1327
+ # end
1328
+ # end
1329
+ #
1330
+ # @note Filtered context inclusions can also be applied to
1331
+ # individual examples that have matching metadata. Just like
1332
+ # Ruby's object model is that every object has a singleton class
1333
+ # which has only a single instance, RSpec's model is that every
1334
+ # example has a singleton example group containing just the one
1335
+ # example.
1336
+ #
1337
+ # @see #include
1338
+ def include_context(shared_group_name, *filters)
1339
+ shared_module = world.shared_example_group_registry.find([:main], shared_group_name)
1340
+ include shared_module, *filters
1341
+ end
1342
+
1343
+ # Tells RSpec to extend example groups with `mod`. Methods defined in
1344
+ # `mod` are exposed to example groups (not examples). Use `filters` to
1345
+ # constrain the groups to extend.
1346
+ #
1347
+ # Similar to `include`, but behavior is added to example groups, which
1348
+ # are classes, rather than the examples, which are instances of those
1349
+ # classes.
1350
+ #
1351
+ # @example
1352
+ #
1353
+ # module UiHelpers
1354
+ # def run_in_browser
1355
+ # # ...
1356
+ # end
1357
+ # end
1358
+ #
1359
+ # RSpec.configure do |config|
1360
+ # config.extend(UiHelpers, :type => :request)
1361
+ # end
1362
+ #
1363
+ # describe "edit profile", :type => :request do
1364
+ # run_in_browser
1365
+ #
1366
+ # it "does stuff in the client" do
1367
+ # # ...
1368
+ # end
1369
+ # end
1370
+ #
1371
+ # @see #include
1372
+ # @see #prepend
1373
+ def extend(mod, *filters)
1374
+ define_mixed_in_module(mod, filters, @extend_modules, :extend) do |group|
1375
+ safe_extend(mod, group)
1376
+ end
1377
+ end
1378
+
1379
+ if RSpec::Support::RubyFeatures.module_prepends_supported?
1380
+ # Tells RSpec to prepend example groups with `mod`. Methods defined in
1381
+ # `mod` are exposed to examples (not example groups). Use `filters` to
1382
+ # constrain the groups in which to prepend the module.
1383
+ #
1384
+ # Similar to `include`, but module is included before the example group's class
1385
+ # in the ancestor chain.
1386
+ #
1387
+ # @example
1388
+ #
1389
+ # module OverrideMod
1390
+ # def override_me
1391
+ # "overridden"
1392
+ # end
1393
+ # end
1394
+ #
1395
+ # RSpec.configure do |config|
1396
+ # config.prepend(OverrideMod, :method => :prepend)
1397
+ # end
1398
+ #
1399
+ # describe "overriding example's class", :method => :prepend do
1400
+ # it "finds the user" do
1401
+ # self.class.class_eval do
1402
+ # def override_me
1403
+ # end
1404
+ # end
1405
+ # override_me # => "overridden"
1406
+ # # ...
1407
+ # end
1408
+ # end
1409
+ #
1410
+ # @see #include
1411
+ # @see #extend
1412
+ def prepend(mod, *filters)
1413
+ define_mixed_in_module(mod, filters, @prepend_modules, :prepend) do |group|
1414
+ safe_prepend(mod, group)
1415
+ end
1416
+ end
1417
+ end
1418
+
1419
+ # @private
1420
+ #
1421
+ # Used internally to extend a group with modules using `include`, `prepend` and/or
1422
+ # `extend`.
1423
+ def configure_group(group)
1424
+ group.hooks.register_globals(group, hooks)
1425
+
1426
+ configure_group_with group, @include_modules, :safe_include
1427
+ configure_group_with group, @extend_modules, :safe_extend
1428
+ configure_group_with group, @prepend_modules, :safe_prepend
1429
+ end
1430
+
1431
+ # @private
1432
+ #
1433
+ # Used internally to extend the singleton class of a single example's
1434
+ # example group instance with modules using `include` and/or `extend`.
1435
+ def configure_example(example, example_hooks)
1436
+ example_hooks.register_global_singleton_context_hooks(example, hooks)
1437
+ singleton_group = example.example_group_instance.singleton_class
1438
+
1439
+ # We replace the metadata so that SharedExampleGroupModule#included
1440
+ # has access to the example's metadata[:location].
1441
+ singleton_group.with_replaced_metadata(example.metadata) do
1442
+ modules = @include_modules.items_for(example.metadata)
1443
+ modules.each do |mod|
1444
+ safe_include(mod, example.example_group_instance.singleton_class)
1445
+ end
1446
+
1447
+ MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
1448
+ end
1449
+ end
1450
+
1451
+ # @private
1452
+ def requires=(paths)
1453
+ directories = ['lib', default_path].select { |p| File.directory? p }
1454
+ RSpec::Core::RubyProject.add_to_load_path(*directories)
1455
+ paths.each { |path| require path }
1456
+ @requires += paths
1457
+ end
1458
+
1459
+ # @private
1460
+ def in_project_source_dir_regex
1461
+ regexes = project_source_dirs.map do |dir|
1462
+ /\A#{Regexp.escape(File.expand_path(dir))}\//
1463
+ end
1464
+
1465
+ Regexp.union(regexes)
1466
+ end
1467
+
1468
+ # @private
1469
+ def configure_mock_framework
1470
+ RSpec::Core::ExampleGroup.__send__(:include, mock_framework)
1471
+ conditionally_disable_mocks_monkey_patching
1472
+ end
1473
+
1474
+ # @private
1475
+ def configure_expectation_framework
1476
+ expectation_frameworks.each do |framework|
1477
+ RSpec::Core::ExampleGroup.__send__(:include, framework)
1478
+ end
1479
+ conditionally_disable_expectations_monkey_patching
1480
+ end
1481
+
1482
+ # @private
1483
+ def load_spec_files
1484
+ # Note which spec files world is already aware of.
1485
+ # This is generally only needed for when the user runs
1486
+ # `ruby path/to/spec.rb` (and loads `rspec/autorun`) --
1487
+ # in that case, the spec file was loaded by `ruby` and
1488
+ # isn't loaded by us here so we only know about it because
1489
+ # of an example group being registered in it.
1490
+ world.registered_example_group_files.each do |f|
1491
+ loaded_spec_files << f # the registered files are already expended absolute paths
1492
+ end
1493
+
1494
+ files_to_run.uniq.each do |f|
1495
+ file = File.expand_path(f)
1496
+ load_spec_file_handling_errors(file)
1497
+ loaded_spec_files << file
1498
+ end
1499
+
1500
+ @spec_files_loaded = true
1501
+ end
1502
+
1503
+ # @private
1504
+ DEFAULT_FORMATTER = lambda { |string| string }
1505
+
1506
+ # Formats the docstring output using the block provided.
1507
+ #
1508
+ # @example
1509
+ # # This will strip the descriptions of both examples and example
1510
+ # # groups.
1511
+ # RSpec.configure do |config|
1512
+ # config.format_docstrings { |s| s.strip }
1513
+ # end
1514
+ def format_docstrings(&block)
1515
+ @format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER
1516
+ end
1517
+
1518
+ # @private
1519
+ def format_docstrings_block
1520
+ @format_docstrings_block ||= DEFAULT_FORMATTER
1521
+ end
1522
+
1523
+ # @private
1524
+ # @macro [attach] delegate_to_ordering_manager
1525
+ # @!method $1
1526
+ def self.delegate_to_ordering_manager(*methods)
1527
+ methods.each do |method|
1528
+ define_method method do |*args, &block|
1529
+ ordering_manager.__send__(method, *args, &block)
1530
+ end
1531
+ end
1532
+ end
1533
+
1534
+ # @macro delegate_to_ordering_manager
1535
+ #
1536
+ # Sets the seed value and sets the default global ordering to random.
1537
+ delegate_to_ordering_manager :seed=
1538
+
1539
+ # @macro delegate_to_ordering_manager
1540
+ # Seed for random ordering (default: generated randomly each run).
1541
+ #
1542
+ # When you run specs with `--order random`, RSpec generates a random seed
1543
+ # for the randomization and prints it to the `output_stream` (assuming
1544
+ # you're using RSpec's built-in formatters). If you discover an ordering
1545
+ # dependency (i.e. examples fail intermittently depending on order), set
1546
+ # this (on Configuration or on the command line with `--seed`) to run
1547
+ # using the same seed while you debug the issue.
1548
+ #
1549
+ # We recommend, actually, that you use the command line approach so you
1550
+ # don't accidentally leave the seed encoded.
1551
+ delegate_to_ordering_manager :seed
1552
+
1553
+ # @macro delegate_to_ordering_manager
1554
+ #
1555
+ # Sets the default global ordering strategy. By default this can be one
1556
+ # of `:defined`, `:random`, but is customizable through the
1557
+ # `register_ordering` API. If order is set to `'rand:<seed>'`,
1558
+ # the seed will also be set.
1559
+ #
1560
+ # @see #register_ordering
1561
+ delegate_to_ordering_manager :order=
1562
+
1563
+ # @macro delegate_to_ordering_manager
1564
+ # Registers a named ordering strategy that can later be
1565
+ # used to order an example group's subgroups by adding
1566
+ # `:order => <name>` metadata to the example group.
1567
+ #
1568
+ # @param name [Symbol] The name of the ordering.
1569
+ # @yield Block that will order the given examples or example groups
1570
+ # @yieldparam list [Array<RSpec::Core::Example>,
1571
+ # Array<RSpec::Core::ExampleGroup>] The examples or groups to order
1572
+ # @yieldreturn [Array<RSpec::Core::Example>,
1573
+ # Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
1574
+ #
1575
+ # @example
1576
+ # RSpec.configure do |rspec|
1577
+ # rspec.register_ordering :reverse do |list|
1578
+ # list.reverse
1579
+ # end
1580
+ # end
1581
+ #
1582
+ # RSpec.describe 'MyClass', :order => :reverse do
1583
+ # # ...
1584
+ # end
1585
+ #
1586
+ # @note Pass the symbol `:global` to set the ordering strategy that
1587
+ # will be used to order the top-level example groups and any example
1588
+ # groups that do not have declared `:order` metadata.
1589
+ #
1590
+ # @example
1591
+ # RSpec.configure do |rspec|
1592
+ # rspec.register_ordering :global do |examples|
1593
+ # acceptance, other = examples.partition do |example|
1594
+ # example.metadata[:type] == :acceptance
1595
+ # end
1596
+ # other + acceptance
1597
+ # end
1598
+ # end
1599
+ #
1600
+ # RSpec.describe 'MyClass', :type => :acceptance do
1601
+ # # will run last
1602
+ # end
1603
+ #
1604
+ # RSpec.describe 'MyClass' do
1605
+ # # will run first
1606
+ # end
1607
+ #
1608
+ delegate_to_ordering_manager :register_ordering
1609
+
1610
+ # @private
1611
+ delegate_to_ordering_manager :seed_used?, :ordering_registry
1612
+
1613
+ # Set Ruby warnings on or off.
1614
+ def warnings=(value)
1615
+ $VERBOSE = !!value
1616
+ end
1617
+
1618
+ # @return [Boolean] Whether or not ruby warnings are enabled.
1619
+ def warnings?
1620
+ $VERBOSE
1621
+ end
1622
+
1623
+ # @private
1624
+ RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
1625
+
1626
+ # Turns warnings into errors. This can be useful when
1627
+ # you want RSpec to run in a 'strict' no warning situation.
1628
+ #
1629
+ # @example
1630
+ #
1631
+ # RSpec.configure do |rspec|
1632
+ # rspec.raise_on_warning = true
1633
+ # end
1634
+ def raise_on_warning=(value)
1635
+ if value
1636
+ RSpec::Support.warning_notifier = RAISE_ERROR_WARNING_NOTIFIER
1637
+ else
1638
+ RSpec::Support.warning_notifier = RSpec::Support::DEFAULT_WARNING_NOTIFIER
1639
+ end
1640
+ end
1641
+
1642
+ # Exposes the current running example via the named
1643
+ # helper method. RSpec 2.x exposed this via `example`,
1644
+ # but in RSpec 3.0, the example is instead exposed via
1645
+ # an arg yielded to `it`, `before`, `let`, etc. However,
1646
+ # some extension gems (such as Capybara) depend on the
1647
+ # RSpec 2.x's `example` method, so this config option
1648
+ # can be used to maintain compatibility.
1649
+ #
1650
+ # @param method_name [Symbol] the name of the helper method
1651
+ #
1652
+ # @example
1653
+ #
1654
+ # RSpec.configure do |rspec|
1655
+ # rspec.expose_current_running_example_as :example
1656
+ # end
1657
+ #
1658
+ # describe MyClass do
1659
+ # before do
1660
+ # # `example` can be used here because of the above config.
1661
+ # do_something if example.metadata[:type] == "foo"
1662
+ # end
1663
+ # end
1664
+ def expose_current_running_example_as(method_name)
1665
+ ExposeCurrentExample.module_exec do
1666
+ extend RSpec::SharedContext
1667
+ let(method_name) { |ex| ex }
1668
+ end
1669
+
1670
+ include ExposeCurrentExample
1671
+ end
1672
+
1673
+ # @private
1674
+ module ExposeCurrentExample; end
1675
+
1676
+ # Turns deprecation warnings into errors, in order to surface
1677
+ # the full backtrace of the call site. This can be useful when
1678
+ # you need more context to address a deprecation than the
1679
+ # single-line call site normally provided.
1680
+ #
1681
+ # @example
1682
+ #
1683
+ # RSpec.configure do |rspec|
1684
+ # rspec.raise_errors_for_deprecations!
1685
+ # end
1686
+ def raise_errors_for_deprecations!
1687
+ self.deprecation_stream = Formatters::DeprecationFormatter::RaiseErrorStream.new
1688
+ end
1689
+
1690
+ # Enables zero monkey patching mode for RSpec. It removes monkey
1691
+ # patching of the top-level DSL methods (`describe`,
1692
+ # `shared_examples_for`, etc) onto `main` and `Module`, instead
1693
+ # requiring you to prefix these methods with `RSpec.`. It enables
1694
+ # expect-only syntax for rspec-mocks and rspec-expectations. It
1695
+ # simply disables monkey patching on whatever pieces of RSpec
1696
+ # the user is using.
1697
+ #
1698
+ # @note It configures rspec-mocks and rspec-expectations only
1699
+ # if the user is using those (either explicitly or implicitly
1700
+ # by not setting `mock_with` or `expect_with` to anything else).
1701
+ #
1702
+ # @note If the user uses this options with `mock_with :mocha`
1703
+ # (or similiar) they will still have monkey patching active
1704
+ # in their test environment from mocha.
1705
+ #
1706
+ # @example
1707
+ #
1708
+ # # It disables all monkey patching.
1709
+ # RSpec.configure do |config|
1710
+ # config.disable_monkey_patching!
1711
+ # end
1712
+ #
1713
+ # # Is an equivalent to
1714
+ # RSpec.configure do |config|
1715
+ # config.expose_dsl_globally = false
1716
+ #
1717
+ # config.mock_with :rspec do |mocks|
1718
+ # mocks.syntax = :expect
1719
+ # mocks.patch_marshal_to_support_partial_doubles = false
1720
+ # end
1721
+ #
1722
+ # config.expect_with :rspec do |expectations|
1723
+ # expectations.syntax = :expect
1724
+ # end
1725
+ # end
1726
+ def disable_monkey_patching!
1727
+ self.expose_dsl_globally = false
1728
+ self.disable_monkey_patching = true
1729
+ conditionally_disable_mocks_monkey_patching
1730
+ conditionally_disable_expectations_monkey_patching
1731
+ end
1732
+
1733
+ # @private
1734
+ attr_accessor :disable_monkey_patching
1735
+
1736
+ # Defines a callback that can assign derived metadata values.
1737
+ #
1738
+ # @param filters [Array<Symbol>, Hash] metadata filters that determine
1739
+ # which example or group metadata hashes the callback will be triggered
1740
+ # for. If none are given, the callback will be run against the metadata
1741
+ # hashes of all groups and examples.
1742
+ # @yieldparam metadata [Hash] original metadata hash from an example or
1743
+ # group. Mutate this in your block as needed.
1744
+ #
1745
+ # @example
1746
+ # RSpec.configure do |config|
1747
+ # # Tag all groups and examples in the spec/unit directory with
1748
+ # # :type => :unit
1749
+ # config.define_derived_metadata(:file_path => %r{/spec/unit/}) do |metadata|
1750
+ # metadata[:type] = :unit
1751
+ # end
1752
+ # end
1753
+ def define_derived_metadata(*filters, &block)
1754
+ meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
1755
+ @derived_metadata_blocks.append(block, meta)
1756
+ end
1757
+
1758
+ # Defines a callback that runs after the first example with matching
1759
+ # metadata is defined. If no examples are defined with matching metadata,
1760
+ # it will not get called at all.
1761
+ #
1762
+ # This can be used to ensure some setup is performed (such as bootstrapping
1763
+ # a DB or loading a specific file that adds significantly to the boot time)
1764
+ # if needed (as indicated by the presence of an example with matching metadata)
1765
+ # but avoided otherwise.
1766
+ #
1767
+ # @example
1768
+ # RSpec.configure do |config|
1769
+ # config.when_first_matching_example_defined(:db) do
1770
+ # # Load a support file that does some heavyweight setup,
1771
+ # # including bootstrapping the DB, but only if we have loaded
1772
+ # # any examples tagged with `:db`.
1773
+ # require 'support/db'
1774
+ # end
1775
+ # end
1776
+ def when_first_matching_example_defined(*filters, &block)
1777
+ specified_meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
1778
+
1779
+ callback = lambda do |example_or_group_meta|
1780
+ # Example groups do not have `:example_group` metadata
1781
+ # (instead they have `:parent_example_group` metadata).
1782
+ return unless example_or_group_meta.key?(:example_group)
1783
+
1784
+ # Ensure the callback only fires once.
1785
+ @derived_metadata_blocks.delete(callback, specified_meta)
1786
+
1787
+ block.call
1788
+ end
1789
+
1790
+ @derived_metadata_blocks.append(callback, specified_meta)
1791
+ end
1792
+
1793
+ # @private
1794
+ def apply_derived_metadata_to(metadata)
1795
+ @derived_metadata_blocks.items_for(metadata).each do |block|
1796
+ block.call(metadata)
1797
+ end
1798
+ end
1799
+
1800
+ # Defines a `before` hook. See {Hooks#before} for full docs.
1801
+ #
1802
+ # This method differs from {Hooks#before} in only one way: it supports
1803
+ # the `:suite` scope. Hooks with the `:suite` scope will be run once before
1804
+ # the first example of the entire suite is executed.
1805
+ #
1806
+ # @see #prepend_before
1807
+ # @see #after
1808
+ # @see #append_after
1809
+ def before(scope=nil, *meta, &block)
1810
+ handle_suite_hook(scope, meta) do
1811
+ @before_suite_hooks << Hooks::BeforeHook.new(block, {})
1812
+ end || begin
1813
+ add_hook_to_existing_matching_groups(meta, scope) { |g| g.before(scope, *meta, &block) }
1814
+ super(scope, *meta, &block)
1815
+ end
1816
+ end
1817
+ alias_method :append_before, :before
1818
+
1819
+ # Adds `block` to the start of the list of `before` blocks in the same
1820
+ # scope (`:example`, `:context`, or `:suite`), in contrast to {#before},
1821
+ # which adds the hook to the end of the list.
1822
+ #
1823
+ # See {Hooks#before} for full `before` hook docs.
1824
+ #
1825
+ # This method differs from {Hooks#prepend_before} in only one way: it supports
1826
+ # the `:suite` scope. Hooks with the `:suite` scope will be run once before
1827
+ # the first example of the entire suite is executed.
1828
+ #
1829
+ # @see #before
1830
+ # @see #after
1831
+ # @see #append_after
1832
+ def prepend_before(scope=nil, *meta, &block)
1833
+ handle_suite_hook(scope, meta) do
1834
+ @before_suite_hooks.unshift Hooks::BeforeHook.new(block, {})
1835
+ end || begin
1836
+ add_hook_to_existing_matching_groups(meta, scope) { |g| g.prepend_before(scope, *meta, &block) }
1837
+ super(scope, *meta, &block)
1838
+ end
1839
+ end
1840
+
1841
+ # Defines a `after` hook. See {Hooks#after} for full docs.
1842
+ #
1843
+ # This method differs from {Hooks#after} in only one way: it supports
1844
+ # the `:suite` scope. Hooks with the `:suite` scope will be run once after
1845
+ # the last example of the entire suite is executed.
1846
+ #
1847
+ # @see #append_after
1848
+ # @see #before
1849
+ # @see #prepend_before
1850
+ def after(scope=nil, *meta, &block)
1851
+ handle_suite_hook(scope, meta) do
1852
+ @after_suite_hooks.unshift Hooks::AfterHook.new(block, {})
1853
+ end || begin
1854
+ add_hook_to_existing_matching_groups(meta, scope) { |g| g.after(scope, *meta, &block) }
1855
+ super(scope, *meta, &block)
1856
+ end
1857
+ end
1858
+ alias_method :prepend_after, :after
1859
+
1860
+ # Adds `block` to the end of the list of `after` blocks in the same
1861
+ # scope (`:example`, `:context`, or `:suite`), in contrast to {#after},
1862
+ # which adds the hook to the start of the list.
1863
+ #
1864
+ # See {Hooks#after} for full `after` hook docs.
1865
+ #
1866
+ # This method differs from {Hooks#append_after} in only one way: it supports
1867
+ # the `:suite` scope. Hooks with the `:suite` scope will be run once after
1868
+ # the last example of the entire suite is executed.
1869
+ #
1870
+ # @see #append_after
1871
+ # @see #before
1872
+ # @see #prepend_before
1873
+ def append_after(scope=nil, *meta, &block)
1874
+ handle_suite_hook(scope, meta) do
1875
+ @after_suite_hooks << Hooks::AfterHook.new(block, {})
1876
+ end || begin
1877
+ add_hook_to_existing_matching_groups(meta, scope) { |g| g.append_after(scope, *meta, &block) }
1878
+ super(scope, *meta, &block)
1879
+ end
1880
+ end
1881
+
1882
+ # Registers `block` as an `around` hook.
1883
+ #
1884
+ # See {Hooks#around} for full `around` hook docs.
1885
+ def around(scope=nil, *meta, &block)
1886
+ add_hook_to_existing_matching_groups(meta, scope) { |g| g.around(scope, *meta, &block) }
1887
+ super(scope, *meta, &block)
1888
+ end
1889
+
1890
+ # @private
1891
+ def with_suite_hooks
1892
+ return yield if dry_run?
1893
+
1894
+ begin
1895
+ run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
1896
+ yield
1897
+ ensure
1898
+ run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
1899
+ end
1900
+ end
1901
+
1902
+ # @private
1903
+ # Holds the various registered hooks. Here we use a FilterableItemRepository
1904
+ # implementation that is specifically optimized for the read/write patterns
1905
+ # of the config object.
1906
+ def hooks
1907
+ @hooks ||= HookCollections.new(self, FilterableItemRepository::QueryOptimized)
1908
+ end
1909
+
1910
+ # Invokes block before defining an example group
1911
+ def on_example_group_definition(&block)
1912
+ on_example_group_definition_callbacks << block
1913
+ end
1914
+
1915
+ # @api private
1916
+ # Returns an array of blocks to call before defining an example group
1917
+ def on_example_group_definition_callbacks
1918
+ @on_example_group_definition_callbacks ||= []
1919
+ end
1920
+
1921
+ private
1922
+
1923
+ def load_spec_file_handling_errors(file)
1924
+ load file
1925
+ rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
1926
+ relative_file = Metadata.relative_path(file)
1927
+ reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.")
1928
+ RSpec.world.wants_to_quit = true
1929
+ end
1930
+
1931
+ def handle_suite_hook(scope, meta)
1932
+ return nil unless scope == :suite
1933
+
1934
+ unless meta.empty?
1935
+ # TODO: in RSpec 4, consider raising an error here.
1936
+ # We warn only for backwards compatibility.
1937
+ RSpec.warn_with "WARNING: `:suite` hooks do not support metadata since " \
1938
+ "they apply to the suite as a whole rather than " \
1939
+ "any individual example or example group that has metadata. " \
1940
+ "The metadata you have provided (#{meta.inspect}) will be ignored."
1941
+ end
1942
+
1943
+ yield
1944
+ end
1945
+
1946
+ def run_suite_hooks(hook_description, hooks)
1947
+ context = SuiteHookContext.new(hook_description, reporter)
1948
+
1949
+ hooks.each do |hook|
1950
+ begin
1951
+ hook.run(context)
1952
+ rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
1953
+ context.set_exception(ex)
1954
+
1955
+ # Do not run subsequent `before` hooks if one fails.
1956
+ # But for `after` hooks, we run them all so that all
1957
+ # cleanup bits get a chance to complete, minimizing the
1958
+ # chance that resources get left behind.
1959
+ break if hooks.equal?(@before_suite_hooks)
1960
+ end
1961
+ end
1962
+ end
1963
+
1964
+ def get_files_to_run(paths)
1965
+ files = FlatMap.flat_map(paths_to_check(paths)) do |path|
1966
+ path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
1967
+ File.directory?(path) ? gather_directories(path) : extract_location(path)
1968
+ end.uniq
1969
+
1970
+ return files unless only_failures?
1971
+ relative_files = files.map { |f| Metadata.relative_path(File.expand_path f) }
1972
+ intersection = (relative_files & spec_files_with_failures.to_a)
1973
+ intersection.empty? ? files : intersection
1974
+ end
1975
+
1976
+ def paths_to_check(paths)
1977
+ return paths if pattern_might_load_specs_from_vendored_dirs?
1978
+ paths + [Dir.getwd]
1979
+ end
1980
+
1981
+ def pattern_might_load_specs_from_vendored_dirs?
1982
+ pattern.split(File::SEPARATOR).first.include?('**')
1983
+ end
1984
+
1985
+ def gather_directories(path)
1986
+ include_files = get_matching_files(path, pattern)
1987
+ exclude_files = get_matching_files(path, exclude_pattern)
1988
+ (include_files - exclude_files).uniq
1989
+ end
1990
+
1991
+ def get_matching_files(path, pattern)
1992
+ raw_files = Dir[file_glob_from(path, pattern)]
1993
+ raw_files.map { |file| File.expand_path(file) }.sort
1994
+ end
1995
+
1996
+ def file_glob_from(path, pattern)
1997
+ stripped = "{#{pattern.gsub(/\s*,\s*/, ',')}}"
1998
+ return stripped if pattern =~ /^(\.\/)?#{Regexp.escape path}/ || absolute_pattern?(pattern)
1999
+ File.join(path, stripped)
2000
+ end
2001
+
2002
+ if RSpec::Support::OS.windows?
2003
+ # :nocov:
2004
+ def absolute_pattern?(pattern)
2005
+ pattern =~ /\A[A-Z]:\\/ || windows_absolute_network_path?(pattern)
2006
+ end
2007
+
2008
+ def windows_absolute_network_path?(pattern)
2009
+ return false unless ::File::ALT_SEPARATOR
2010
+ pattern.start_with?(::File::ALT_SEPARATOR + ::File::ALT_SEPARATOR)
2011
+ end
2012
+ # :nocov:
2013
+ else
2014
+ def absolute_pattern?(pattern)
2015
+ pattern.start_with?(File::Separator)
2016
+ end
2017
+ end
2018
+
2019
+ def extract_location(path)
2020
+ match = /^(.*?)((?:\:\d+)+)$/.match(path)
2021
+
2022
+ if match
2023
+ captures = match.captures
2024
+ path = captures[0]
2025
+ lines = captures[1][1..-1].split(":").map(&:to_i)
2026
+ filter_manager.add_location path, lines
2027
+ else
2028
+ path, scoped_ids = Example.parse_id(path)
2029
+ filter_manager.add_ids(path, scoped_ids.split(/\s*,\s*/)) if scoped_ids
2030
+ end
2031
+
2032
+ return [] if path == default_path
2033
+ File.expand_path(path)
2034
+ end
2035
+
2036
+ def command
2037
+ $0.split(File::SEPARATOR).last
2038
+ end
2039
+
2040
+ def value_for(key)
2041
+ @preferred_options.fetch(key) { yield }
2042
+ end
2043
+
2044
+ def define_built_in_hooks
2045
+ around(:example, :aggregate_failures => true) do |procsy|
2046
+ begin
2047
+ aggregate_failures(nil, :hide_backtrace => true, &procsy)
2048
+ rescue Support::AllExceptionsExceptOnesWeMustNotRescue => exception
2049
+ procsy.example.set_aggregate_failures_exception(exception)
2050
+ end
2051
+ end
2052
+ end
2053
+
2054
+ def assert_no_example_groups_defined(config_option)
2055
+ return unless world.example_groups.any?
2056
+
2057
+ raise MustBeConfiguredBeforeExampleGroupsError.new(
2058
+ "RSpec's #{config_option} configuration option must be configured before " \
2059
+ "any example groups are defined, but you have already defined a group."
2060
+ )
2061
+ end
2062
+
2063
+ def output_wrapper
2064
+ @output_wrapper ||= OutputWrapper.new(output_stream)
2065
+ end
2066
+
2067
+ def output_to_tty?(output=output_stream)
2068
+ output.respond_to?(:tty?) && output.tty?
2069
+ end
2070
+
2071
+ def conditionally_disable_mocks_monkey_patching
2072
+ return unless disable_monkey_patching && rspec_mocks_loaded?
2073
+
2074
+ RSpec::Mocks.configuration.tap do |config|
2075
+ config.syntax = :expect
2076
+ config.patch_marshal_to_support_partial_doubles = false
2077
+ end
2078
+ end
2079
+
2080
+ def conditionally_disable_expectations_monkey_patching
2081
+ return unless disable_monkey_patching && rspec_expectations_loaded?
2082
+
2083
+ RSpec::Expectations.configuration.syntax = :expect
2084
+ end
2085
+
2086
+ def rspec_mocks_loaded?
2087
+ defined?(RSpec::Mocks.configuration)
2088
+ end
2089
+
2090
+ def rspec_expectations_loaded?
2091
+ defined?(RSpec::Expectations.configuration)
2092
+ end
2093
+
2094
+ def update_pattern_attr(name, value)
2095
+ if @spec_files_loaded
2096
+ RSpec.warning "Configuring `#{name}` to #{value} has no effect since " \
2097
+ "RSpec has already loaded the spec files."
2098
+ end
2099
+
2100
+ instance_variable_set(:"@#{name}", value)
2101
+ @files_to_run = nil
2102
+ end
2103
+
2104
+ def clear_values_derived_from_example_status_persistence_file_path
2105
+ @last_run_statuses = nil
2106
+ @spec_files_with_failures = nil
2107
+ end
2108
+
2109
+ def configure_group_with(group, module_list, application_method)
2110
+ module_list.items_for(group.metadata).each do |mod|
2111
+ __send__(application_method, mod, group)
2112
+ end
2113
+ end
2114
+
2115
+ def add_hook_to_existing_matching_groups(meta, scope, &block)
2116
+ # For example hooks, we have to apply it to each of the top level
2117
+ # groups, even if the groups do not match. When we apply it, we
2118
+ # apply it with the metadata, so it will only apply to examples
2119
+ # in the group that match the metadata.
2120
+ # #2280 for background and discussion.
2121
+ if scope == :example || scope == :each || scope.nil?
2122
+ world.example_groups.each(&block)
2123
+ else
2124
+ meta = Metadata.build_hash_from(meta.dup)
2125
+ on_existing_matching_groups(meta, &block)
2126
+ end
2127
+ end
2128
+
2129
+ def on_existing_matching_groups(meta)
2130
+ world.traverse_example_group_trees_until do |group|
2131
+ metadata_applies_to_group?(meta, group).tap do |applies|
2132
+ yield group if applies
2133
+ end
2134
+ end
2135
+ end
2136
+
2137
+ def metadata_applies_to_group?(meta, group)
2138
+ meta.empty? || MetadataFilter.apply?(:any?, meta, group.metadata)
2139
+ end
2140
+
2141
+ if RSpec::Support::RubyFeatures.module_prepends_supported?
2142
+ def safe_prepend(mod, host)
2143
+ host.__send__(:prepend, mod) unless host < mod
2144
+ end
2145
+ end
2146
+
2147
+ if RUBY_VERSION.to_f >= 1.9
2148
+ def safe_include(mod, host)
2149
+ host.__send__(:include, mod) unless host < mod
2150
+ end
2151
+
2152
+ def safe_extend(mod, host)
2153
+ host.extend(mod) unless host.singleton_class < mod
2154
+ end
2155
+ else # for 1.8.7
2156
+ # :nocov:
2157
+ def safe_include(mod, host)
2158
+ host.__send__(:include, mod) unless host.included_modules.include?(mod)
2159
+ end
2160
+
2161
+ def safe_extend(mod, host)
2162
+ host.extend(mod) unless (class << host; self; end).included_modules.include?(mod)
2163
+ end
2164
+ # :nocov:
2165
+ end
2166
+
2167
+ def define_mixed_in_module(mod, filters, mod_list, config_method, &block)
2168
+ unless Module === mod
2169
+ raise TypeError, "`RSpec.configuration.#{config_method}` expects a module but got: #{mod.inspect}"
2170
+ end
2171
+
2172
+ meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
2173
+ mod_list.append(mod, meta)
2174
+ on_existing_matching_groups(meta, &block)
2175
+ end
2176
+ end
2177
+ # rubocop:enable Metrics/ClassLength
2178
+ end
2179
+ end