dirwatch 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1518) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -0
  3. data/bin/dirwatch +2 -16
  4. data/lib/dirwatch/errors.rb +48 -0
  5. data/lib/dirwatch/executors.rb +64 -0
  6. data/lib/dirwatch/options/parser.rb +137 -0
  7. data/lib/dirwatch/options.rb +50 -43
  8. data/lib/dirwatch/os_fetcher.rb +40 -0
  9. data/lib/dirwatch/settings/watch_setting.rb +39 -16
  10. data/lib/dirwatch/settings.rb +28 -34
  11. data/lib/dirwatch/string_extensions.rb +13 -0
  12. data/lib/dirwatch/symbolize_extensions.rb +19 -0
  13. data/lib/dirwatch/templates/linux/latex.yml +8 -0
  14. data/lib/dirwatch/templates/mac/latex.yml +8 -0
  15. data/lib/dirwatch/templates/windows/latex.yml +8 -0
  16. data/lib/dirwatch/templates.rb +103 -0
  17. data/lib/dirwatch/version.rb +1 -1
  18. data/lib/dirwatch/watcher.rb +31 -23
  19. data/lib/dirwatch.rb +7 -2
  20. data/vendor/bundle/ruby/2.3.0/bin/byebug +23 -0
  21. data/vendor/bundle/ruby/2.3.0/bin/cc-tddium-post-worker +23 -0
  22. data/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter +23 -0
  23. data/vendor/bundle/ruby/2.3.0/bin/dirwatch +23 -0
  24. data/vendor/bundle/ruby/2.3.0/bin/htmldiff +25 -0
  25. data/vendor/bundle/ruby/2.3.0/bin/ldiff +25 -0
  26. data/vendor/bundle/ruby/2.3.0/bin/rake +23 -0
  27. data/vendor/bundle/ruby/2.3.0/bin/rspec +23 -0
  28. data/vendor/bundle/ruby/2.3.0/bin/rubocop +23 -0
  29. data/vendor/bundle/ruby/2.3.0/bin/ruby-parse +23 -0
  30. data/vendor/bundle/ruby/2.3.0/bin/ruby-rewrite +23 -0
  31. data/vendor/bundle/ruby/2.3.0/cache/ast-2.3.0.gem +0 -0
  32. data/vendor/bundle/ruby/2.3.0/cache/byebug-9.1.0.gem +0 -0
  33. data/vendor/bundle/ruby/2.3.0/cache/codeclimate-test-reporter-1.0.8.gem +0 -0
  34. data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
  35. data/vendor/bundle/ruby/2.3.0/cache/docile-1.1.5.gem +0 -0
  36. data/vendor/bundle/ruby/2.3.0/cache/json-2.1.0.gem +0 -0
  37. data/vendor/bundle/ruby/2.3.0/cache/parser-2.4.0.0.gem +0 -0
  38. data/vendor/bundle/ruby/2.3.0/cache/powerpack-0.1.1.gem +0 -0
  39. data/vendor/bundle/ruby/2.3.0/cache/rainbow-2.2.2.gem +0 -0
  40. data/vendor/bundle/ruby/2.3.0/cache/rake-12.1.0.gem +0 -0
  41. data/vendor/bundle/ruby/2.3.0/cache/rspec-3.6.0.gem +0 -0
  42. data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.6.0.gem +0 -0
  43. data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.6.0.gem +0 -0
  44. data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.6.0.gem +0 -0
  45. data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.6.0.gem +0 -0
  46. data/vendor/bundle/ruby/2.3.0/cache/rubocop-0.46.0.gem +0 -0
  47. data/vendor/bundle/ruby/2.3.0/cache/ruby-progressbar-1.9.0.gem +0 -0
  48. data/vendor/bundle/ruby/2.3.0/cache/simplecov-0.13.0.gem +0 -0
  49. data/vendor/bundle/ruby/2.3.0/cache/simplecov-html-0.10.2.gem +0 -0
  50. data/vendor/bundle/ruby/2.3.0/cache/unicode-display_width-1.3.0.gem +0 -0
  51. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/byebug/byebug.so +0 -0
  52. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem.build_complete +0 -0
  53. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem_make.out +19 -0
  54. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem.build_complete +0 -0
  55. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem_make.out +13 -0
  56. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/generator.so +0 -0
  57. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/parser.so +0 -0
  58. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/mkmf.log +61 -0
  59. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem.build_complete +0 -0
  60. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out +5 -0
  61. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/CHANGELOG.md +9 -0
  62. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Gemfile +4 -0
  63. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/LICENSE.MIT +20 -0
  64. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.YARD.md +12 -0
  65. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.md +23 -0
  66. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Rakefile +19 -0
  67. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/ast.gemspec +29 -0
  68. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/node.rb +253 -0
  69. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor/mixin.rb +288 -0
  70. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor.rb +12 -0
  71. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/sexp.rb +30 -0
  72. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast.rb +17 -0
  73. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/helper.rb +17 -0
  74. data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/test_ast.rb +264 -0
  75. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/CHANGELOG.md +825 -0
  76. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/CONTRIBUTING.md +65 -0
  77. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/GUIDE.md +1806 -0
  78. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/LICENSE +23 -0
  79. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/README.md +181 -0
  80. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/bin/byebug +9 -0
  81. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/Makefile +261 -0
  82. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/breakpoint.c +517 -0
  83. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/breakpoint.o +0 -0
  84. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.c +905 -0
  85. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.h +129 -0
  86. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.o +0 -0
  87. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.so +0 -0
  88. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/context.c +673 -0
  89. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/context.o +0 -0
  90. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/extconf.rb +10 -0
  91. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/locker.c +96 -0
  92. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/locker.o +0 -0
  93. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/threads.c +230 -0
  94. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/threads.o +0 -0
  95. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/attacher.rb +34 -0
  96. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/breakpoint.rb +89 -0
  97. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/byebug.so +0 -0
  98. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/command.rb +105 -0
  99. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/command_list.rb +32 -0
  100. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/break.rb +98 -0
  101. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/catch.rb +80 -0
  102. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/condition.rb +55 -0
  103. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/continue.rb +48 -0
  104. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/debug.rb +36 -0
  105. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/delete.rb +55 -0
  106. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable/breakpoints.rb +40 -0
  107. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable/display.rb +41 -0
  108. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable.rb +31 -0
  109. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/display.rb +64 -0
  110. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/down.rb +43 -0
  111. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/edit.rb +66 -0
  112. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable/breakpoints.rb +40 -0
  113. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable/display.rb +41 -0
  114. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable.rb +31 -0
  115. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/finish.rb +55 -0
  116. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/frame.rb +55 -0
  117. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/help.rb +62 -0
  118. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/history.rb +37 -0
  119. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/breakpoints.rb +61 -0
  120. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/display.rb +42 -0
  121. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/file.rb +80 -0
  122. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/line.rb +33 -0
  123. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/program.rb +47 -0
  124. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info.rb +35 -0
  125. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/interrupt.rb +30 -0
  126. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/irb.rb +50 -0
  127. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/kill.rb +45 -0
  128. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/list.rb +164 -0
  129. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/method.rb +51 -0
  130. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/next.rb +38 -0
  131. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/pry.rb +41 -0
  132. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/quit.rb +40 -0
  133. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/restart.rb +62 -0
  134. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/save.rb +70 -0
  135. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/set.rb +77 -0
  136. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/show.rb +43 -0
  137. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/source.rb +40 -0
  138. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/step.rb +38 -0
  139. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/current.rb +35 -0
  140. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/list.rb +41 -0
  141. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/resume.rb +45 -0
  142. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/stop.rb +41 -0
  143. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/switch.rb +44 -0
  144. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread.rb +32 -0
  145. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/tracevar.rb +55 -0
  146. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/undisplay.rb +50 -0
  147. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/untracevar.rb +34 -0
  148. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/up.rb +43 -0
  149. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/all.rb +39 -0
  150. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/args.rb +37 -0
  151. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/const.rb +49 -0
  152. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/global.rb +35 -0
  153. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/instance.rb +37 -0
  154. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/local.rb +37 -0
  155. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var.rb +35 -0
  156. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/where.rb +51 -0
  157. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands.rb +37 -0
  158. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/context.rb +155 -0
  159. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/core.rb +114 -0
  160. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/errors.rb +27 -0
  161. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/frame.rb +185 -0
  162. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/bin.rb +26 -0
  163. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/eval.rb +124 -0
  164. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/file.rb +61 -0
  165. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/frame.rb +73 -0
  166. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/parse.rb +75 -0
  167. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/path.rb +38 -0
  168. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/reflection.rb +17 -0
  169. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/string.rb +34 -0
  170. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/thread.rb +65 -0
  171. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/toggle.rb +62 -0
  172. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/var.rb +52 -0
  173. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/history.rb +128 -0
  174. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interface.rb +144 -0
  175. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/local_interface.rb +44 -0
  176. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/remote_interface.rb +38 -0
  177. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/script_interface.rb +30 -0
  178. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/test_interface.rb +65 -0
  179. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/option_setter.rb +93 -0
  180. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/base.rb +69 -0
  181. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/plain.rb +42 -0
  182. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/texts/base.yml +115 -0
  183. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/texts/plain.yml +33 -0
  184. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/command_processor.rb +174 -0
  185. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/control_processor.rb +26 -0
  186. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/post_mortem_processor.rb +16 -0
  187. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/script_processor.rb +45 -0
  188. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/remote.rb +105 -0
  189. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/runner.rb +191 -0
  190. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/setting.rb +73 -0
  191. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autoirb.rb +27 -0
  192. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autolist.rb +27 -0
  193. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autopry.rb +27 -0
  194. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autosave.rb +15 -0
  195. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/basename.rb +14 -0
  196. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/callstyle.rb +20 -0
  197. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/fullpath.rb +14 -0
  198. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/histfile.rb +18 -0
  199. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/histsize.rb +18 -0
  200. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/linetrace.rb +20 -0
  201. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/listsize.rb +19 -0
  202. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/post_mortem.rb +25 -0
  203. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/savefile.rb +18 -0
  204. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/stack_on_error.rb +13 -0
  205. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/width.rb +18 -0
  206. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/subcommands.rb +52 -0
  207. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/version.rb +8 -0
  208. data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug.rb +1 -0
  209. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/LICENSE.txt +40 -0
  210. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/README.md +68 -0
  211. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/cc-tddium-post-worker +23 -0
  212. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/ci +15 -0
  213. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/codeclimate-test-reporter +21 -0
  214. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/config/cacert.pem +3895 -0
  215. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/calculate_blob.rb +35 -0
  216. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/ci.rb +106 -0
  217. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/client.rb +103 -0
  218. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/configuration.rb +56 -0
  219. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/exception_message.rb +72 -0
  220. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb +104 -0
  221. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/git.rb +85 -0
  222. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/payload_validator.rb +59 -0
  223. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/post_results.rb +30 -0
  224. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/shorten_filename.rb +24 -0
  225. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/version.rb +5 -0
  226. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter.rb +71 -0
  227. data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/codeclimate-test-reporter.rb +10 -0
  228. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
  229. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
  230. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
  231. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
  232. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
  233. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
  234. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
  235. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
  236. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
  237. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
  238. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
  239. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
  240. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
  241. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
  242. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
  243. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
  244. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
  245. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
  246. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
  247. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
  248. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
  249. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
  250. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
  251. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
  252. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
  253. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
  254. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
  255. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
  256. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
  257. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
  258. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
  259. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
  260. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
  261. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
  262. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
  263. data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
  264. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Gemfile +4 -0
  265. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/HISTORY.md +61 -0
  266. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/LICENSE +21 -0
  267. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/README.md +241 -0
  268. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Rakefile +28 -0
  269. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/docile.gemspec +43 -0
  270. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +20 -0
  271. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/execution.rb +35 -0
  272. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +63 -0
  273. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/version.rb +4 -0
  274. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile.rb +84 -0
  275. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/on_what.rb +14 -0
  276. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/docile_spec.rb +339 -0
  277. data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/spec_helper.rb +30 -0
  278. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/CHANGES.md +388 -0
  279. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Gemfile +16 -0
  280. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README-json-jruby.md +33 -0
  281. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README.md +392 -0
  282. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Rakefile +408 -0
  283. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/VERSION +1 -0
  284. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/example.json +1 -0
  285. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/index.html +38 -0
  286. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/prototype.js +4184 -0
  287. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/Makefile +197 -0
  288. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
  289. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/Makefile +262 -0
  290. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/depend +1 -0
  291. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/extconf.rb +4 -0
  292. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.c +1443 -0
  293. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.h +171 -0
  294. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.o +0 -0
  295. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.so +0 -0
  296. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/Makefile +262 -0
  297. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/depend +1 -0
  298. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/extconf.rb +6 -0
  299. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.c +2109 -0
  300. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.h +91 -0
  301. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.o +0 -0
  302. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.rl +869 -0
  303. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.so +0 -0
  304. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/extconf.rb +2 -0
  305. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/install.rb +23 -0
  306. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ByteListTranscoder.java +166 -0
  307. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Generator.java +443 -0
  308. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorMethods.java +231 -0
  309. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorService.java +42 -0
  310. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorState.java +490 -0
  311. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/OptionsReader.java +113 -0
  312. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.java +2362 -0
  313. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.rl +893 -0
  314. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ParserService.java +34 -0
  315. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/RuntimeInfo.java +116 -0
  316. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringDecoder.java +166 -0
  317. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringEncoder.java +111 -0
  318. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Utils.java +88 -0
  319. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json-java.gemspec +38 -0
  320. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json.gemspec +0 -0
  321. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json_pure.gemspec +38 -0
  322. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/bigdecimal.rb +29 -0
  323. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/complex.rb +29 -0
  324. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/core.rb +12 -0
  325. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date.rb +34 -0
  326. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date_time.rb +50 -0
  327. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/exception.rb +31 -0
  328. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/ostruct.rb +31 -0
  329. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/range.rb +29 -0
  330. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/rational.rb +28 -0
  331. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/regexp.rb +30 -0
  332. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/struct.rb +30 -0
  333. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/symbol.rb +25 -0
  334. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/time.rb +38 -0
  335. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/common.rb +456 -0
  336. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/generator.so +0 -0
  337. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/parser.so +0 -0
  338. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext.rb +15 -0
  339. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/generic_object.rb +71 -0
  340. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/generator.rb +458 -0
  341. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/parser.rb +311 -0
  342. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure.rb +15 -0
  343. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/version.rb +9 -0
  344. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json.rb +63 -0
  345. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/references/rfc7159.txt +899 -0
  346. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail10.json +1 -0
  347. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail11.json +1 -0
  348. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail12.json +1 -0
  349. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail13.json +1 -0
  350. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail14.json +1 -0
  351. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail18.json +1 -0
  352. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail19.json +1 -0
  353. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail2.json +1 -0
  354. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail20.json +1 -0
  355. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail21.json +1 -0
  356. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail22.json +1 -0
  357. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail23.json +1 -0
  358. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail24.json +1 -0
  359. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail25.json +1 -0
  360. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail27.json +2 -0
  361. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail28.json +2 -0
  362. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail3.json +1 -0
  363. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail4.json +1 -0
  364. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail5.json +1 -0
  365. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail6.json +1 -0
  366. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail7.json +1 -0
  367. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail8.json +1 -0
  368. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail9.json +1 -0
  369. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/obsolete_fail1.json +1 -0
  370. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass1.json +56 -0
  371. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass15.json +1 -0
  372. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass16.json +1 -0
  373. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass17.json +1 -0
  374. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass2.json +1 -0
  375. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass26.json +1 -0
  376. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass3.json +6 -0
  377. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_addition_test.rb +193 -0
  378. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_common_interface_test.rb +126 -0
  379. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_encoding_test.rb +107 -0
  380. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_ext_parser_test.rb +15 -0
  381. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_fixtures_test.rb +32 -0
  382. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generator_test.rb +377 -0
  383. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generic_object_test.rb +82 -0
  384. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_parser_test.rb +471 -0
  385. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_string_matching_test.rb +38 -0
  386. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/test_helper.rb +21 -0
  387. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/diff.sh +18 -0
  388. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/fuzz.rb +131 -0
  389. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/server.rb +62 -0
  390. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/CHANGELOG.md +826 -0
  391. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/CONTRIBUTING.md +17 -0
  392. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/Gemfile +8 -0
  393. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/LICENSE.txt +25 -0
  394. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/README.md +300 -0
  395. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/Rakefile +158 -0
  396. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/bin/ruby-parse +6 -0
  397. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/bin/ruby-rewrite +6 -0
  398. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/AST_FORMAT.md +1713 -0
  399. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/CUSTOMIZATION.md +37 -0
  400. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/INTERNALS.md +21 -0
  401. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/css/common.css +68 -0
  402. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/gauntlet_parser.rb +121 -0
  403. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/all.rb +7 -0
  404. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ast/node.rb +38 -0
  405. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ast/processor.rb +234 -0
  406. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/base.rb +268 -0
  407. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/builders/default.rb +1608 -0
  408. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/clobbering_error.rb +11 -0
  409. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/compatibility/ruby1_8.rb +20 -0
  410. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/compatibility/ruby1_9.rb +32 -0
  411. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/current.rb +81 -0
  412. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/diagnostic/engine.rb +103 -0
  413. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/diagnostic.rb +163 -0
  414. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/dedenter.rb +49 -0
  415. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/explanation.rb +53 -0
  416. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/literal.rb +262 -0
  417. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/stack_state.rb +42 -0
  418. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer.rb +21715 -0
  419. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer.rl +2270 -0
  420. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/macruby.rb +6093 -0
  421. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/macruby.y +2173 -0
  422. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/messages.rb +70 -0
  423. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/meta.rb +27 -0
  424. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rewriter.rb +119 -0
  425. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby18.rb +5637 -0
  426. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby18.y +1917 -0
  427. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby19.rb +6040 -0
  428. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby19.y +2150 -0
  429. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby20.rb +6477 -0
  430. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby20.y +2328 -0
  431. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby21.rb +6547 -0
  432. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby21.y +2337 -0
  433. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby22.rb +6580 -0
  434. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby22.y +2344 -0
  435. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby23.rb +6590 -0
  436. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby23.y +2350 -0
  437. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby24.rb +6626 -0
  438. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby24.y +2361 -0
  439. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rubymotion.rb +6046 -0
  440. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rubymotion.y +2157 -0
  441. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner/ruby_parse.rb +146 -0
  442. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner/ruby_rewrite.rb +99 -0
  443. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner.rb +241 -0
  444. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/buffer.rb +333 -0
  445. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/comment/associator.rb +201 -0
  446. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/comment.rb +120 -0
  447. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/collection.rb +16 -0
  448. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/condition.rb +19 -0
  449. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/constant.rb +30 -0
  450. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/definition.rb +21 -0
  451. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/for.rb +17 -0
  452. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/heredoc.rb +17 -0
  453. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/keyword.rb +18 -0
  454. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/objc_kwarg.rb +17 -0
  455. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/operator.rb +15 -0
  456. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/rescue_body.rb +19 -0
  457. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/send.rb +34 -0
  458. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/ternary.rb +16 -0
  459. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/variable.rb +29 -0
  460. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map.rb +184 -0
  461. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/range.rb +242 -0
  462. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/rewriter/action.rb +42 -0
  463. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/rewriter.rb +471 -0
  464. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/static_environment.rb +44 -0
  465. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/syntax_error.rb +19 -0
  466. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/version.rb +3 -0
  467. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser.rb +81 -0
  468. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/parser.gemspec +46 -0
  469. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/fixtures/input.rb +3 -0
  470. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/fixtures/output.rb +3 -0
  471. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/rewriter.rb +18 -0
  472. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/test_runner_rewrite.rb +35 -0
  473. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/helper.rb +41 -0
  474. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/parse_helper.rb +258 -0
  475. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/racc_coverage_helper.rb +130 -0
  476. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_base.rb +29 -0
  477. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_current.rb +25 -0
  478. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_diagnostic.rb +94 -0
  479. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_diagnostic_engine.rb +60 -0
  480. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_encoding.rb +78 -0
  481. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_lexer.rb +3376 -0
  482. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_lexer_stack_state.rb +76 -0
  483. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_parse_helper.rb +80 -0
  484. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_parser.rb +5894 -0
  485. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_buffer.rb +144 -0
  486. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_comment.rb +34 -0
  487. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_comment_associator.rb +275 -0
  488. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_map.rb +13 -0
  489. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_range.rb +125 -0
  490. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_rewriter.rb +539 -0
  491. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_rewriter_action.rb +44 -0
  492. data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_static_environment.rb +43 -0
  493. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/CHANGELOG.md +39 -0
  494. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Gemfile +4 -0
  495. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/LICENSE.txt +22 -0
  496. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/README.md +99 -0
  497. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Rakefile +12 -0
  498. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butfirst.rb +15 -0
  499. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butlast.rb +15 -0
  500. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array.rb +2 -0
  501. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/average.rb +20 -0
  502. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last.rb +20 -0
  503. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last_while.rb +21 -0
  504. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/exactly.rb +43 -0
  505. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/frequencies.rb +17 -0
  506. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/several.rb +37 -0
  507. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/sum.rb +21 -0
  508. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last.rb +20 -0
  509. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last_while.rb +17 -0
  510. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable.rb +9 -0
  511. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash/symbolize_keys.rb +14 -0
  512. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash.rb +1 -0
  513. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/neg.rb +19 -0
  514. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/pos.rb +19 -0
  515. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/scale.rb +44 -0
  516. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric.rb +3 -0
  517. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/ascii_only.rb +42 -0
  518. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/blank.rb +20 -0
  519. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/format.rb +20 -0
  520. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove.rb +17 -0
  521. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_prefix.rb +23 -0
  522. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_suffix.rb +23 -0
  523. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/squish.rb +27 -0
  524. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_indent.rb +22 -0
  525. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_margin.rb +21 -0
  526. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string.rb +9 -0
  527. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/version.rb +3 -0
  528. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack.rb +11 -0
  529. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/powerpack.gemspec +24 -0
  530. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butfirst_spec.rb +11 -0
  531. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butlast_spec.rb +11 -0
  532. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/average_spec.rb +19 -0
  533. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
  534. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
  535. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/exactly_spec.rb +39 -0
  536. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
  537. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/several_spec.rb +27 -0
  538. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/sum_spec.rb +15 -0
  539. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_spec.rb +15 -0
  540. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
  541. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
  542. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/neg_spec.rb +24 -0
  543. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/pos_spec.rb +24 -0
  544. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/scale_spec.rb +139 -0
  545. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/ascii_only_spec.rb +45 -0
  546. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/blank_spec.rb +15 -0
  547. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/format_spec.rb +12 -0
  548. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_prefix_spec.rb +13 -0
  549. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_spec.rb +13 -0
  550. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_suffix_spec.rb +13 -0
  551. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/squish_spec.rb +21 -0
  552. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_indent_spec.rb +13 -0
  553. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_margin_spec.rb +26 -0
  554. data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/spec_helper.rb +15 -0
  555. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Changelog.md +87 -0
  556. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Gemfile +23 -0
  557. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Guardfile +9 -0
  558. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/LICENSE +20 -0
  559. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/README.markdown +217 -0
  560. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Rakefile +6 -0
  561. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
  562. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
  563. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
  564. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
  565. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
  566. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
  567. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
  568. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
  569. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
  570. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
  571. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
  572. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
  573. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
  574. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
  575. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
  576. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
  577. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
  578. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
  579. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
  580. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
  581. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
  582. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
  583. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
  584. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
  585. data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
  586. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/CONTRIBUTING.rdoc +36 -0
  587. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/Gemfile +3 -0
  588. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/History.rdoc +2266 -0
  589. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/MIT-LICENSE +21 -0
  590. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/README.rdoc +156 -0
  591. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/Rakefile +38 -0
  592. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/bin/console +7 -0
  593. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/bin/setup +6 -0
  594. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/command_line_usage.rdoc +158 -0
  595. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/Rakefile1 +38 -0
  596. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/Rakefile2 +35 -0
  597. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/a.c +6 -0
  598. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/b.c +6 -0
  599. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/main.c +11 -0
  600. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/glossary.rdoc +42 -0
  601. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/jamis.rb +592 -0
  602. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/proto_rake.rdoc +127 -0
  603. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rake.1 +156 -0
  604. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rakefile.rdoc +622 -0
  605. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rational.rdoc +151 -0
  606. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/exe/rake +27 -0
  607. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/application.rb +786 -0
  608. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/backtrace.rb +24 -0
  609. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/clean.rb +78 -0
  610. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/cloneable.rb +17 -0
  611. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/cpu_counter.rb +107 -0
  612. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/default_loader.rb +15 -0
  613. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/dsl_definition.rb +195 -0
  614. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/early_time.rb +22 -0
  615. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/ext/core.rb +26 -0
  616. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/ext/string.rb +176 -0
  617. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_creation_task.rb +25 -0
  618. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_list.rb +435 -0
  619. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_task.rb +54 -0
  620. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_utils.rb +137 -0
  621. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_utils_ext.rb +145 -0
  622. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/invocation_chain.rb +57 -0
  623. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/invocation_exception_mixin.rb +17 -0
  624. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/late_time.rb +18 -0
  625. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/linked_list.rb +112 -0
  626. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/loaders/makefile.rb +54 -0
  627. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/multi_task.rb +50 -0
  628. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/name_space.rb +38 -0
  629. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/packagetask.rb +211 -0
  630. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/phony.rb +16 -0
  631. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/private_reader.rb +21 -0
  632. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/promise.rb +100 -0
  633. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/pseudo_status.rb +30 -0
  634. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rake_module.rb +39 -0
  635. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rake_test_loader.rb +26 -0
  636. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  637. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/scope.rb +43 -0
  638. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task.rb +391 -0
  639. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_argument_error.rb +8 -0
  640. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_arguments.rb +109 -0
  641. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_manager.rb +319 -0
  642. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/tasklib.rb +12 -0
  643. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/testtask.rb +224 -0
  644. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/thread_history_display.rb +49 -0
  645. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/thread_pool.rb +163 -0
  646. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/trace_output.rb +23 -0
  647. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/version.rb +10 -0
  648. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/win32.rb +51 -0
  649. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake.rb +71 -0
  650. data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/rake.gemspec +43 -0
  651. data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/LICENSE.md +27 -0
  652. data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/README.md +39 -0
  653. data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/lib/rspec/version.rb +5 -0
  654. data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/lib/rspec.rb +3 -0
  655. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/Changelog.md +2167 -0
  656. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/LICENSE.md +26 -0
  657. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/README.md +384 -0
  658. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/exe/rspec +4 -0
  659. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/autorun.rb +3 -0
  660. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  661. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/coordinator.rb +66 -0
  662. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/example_minimizer.rb +169 -0
  663. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/runner.rb +169 -0
  664. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/server.rb +70 -0
  665. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb +2177 -0
  666. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration_options.rb +196 -0
  667. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/drb.rb +113 -0
  668. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/dsl.rb +98 -0
  669. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb +653 -0
  670. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb +883 -0
  671. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example_status_persister.rb +235 -0
  672. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/filter_manager.rb +231 -0
  673. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/flat_map.rb +20 -0
  674. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  675. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  676. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
  677. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
  678. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/console_codes.rb +68 -0
  679. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  680. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
  681. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/exception_presenter.rb +496 -0
  682. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  683. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/helpers.rb +110 -0
  684. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  685. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  686. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_snippet_extractor.rb +118 -0
  687. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/json_formatter.rb +101 -0
  688. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  689. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  690. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/protocol.rb +182 -0
  691. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  692. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  693. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters.rb +265 -0
  694. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb +624 -0
  695. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/invocations.rb +85 -0
  696. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/memoized_helpers.rb +535 -0
  697. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/metadata.rb +499 -0
  698. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/metadata_filter.rb +255 -0
  699. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  700. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  701. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  702. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  703. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  704. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  705. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/notifications.rb +514 -0
  706. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/option_parser.rb +309 -0
  707. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/ordering.rb +158 -0
  708. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/output_wrapper.rb +29 -0
  709. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/pending.rb +165 -0
  710. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/profiler.rb +32 -0
  711. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  712. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer.rb +48 -0
  713. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/rake_task.rb +168 -0
  714. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb +260 -0
  715. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/ruby_project.rb +53 -0
  716. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb +193 -0
  717. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/sandbox.rb +37 -0
  718. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/set.rb +54 -0
  719. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shared_context.rb +55 -0
  720. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shared_example_group.rb +271 -0
  721. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shell_escape.rb +49 -0
  722. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  723. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/version.rb +9 -0
  724. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/warnings.rb +40 -0
  725. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/world.rb +264 -0
  726. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core.rb +185 -0
  727. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/Changelog.md +1072 -0
  728. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/LICENSE.md +25 -0
  729. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/README.md +305 -0
  730. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  731. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/configuration.rb +201 -0
  732. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb +127 -0
  733. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/fail_with.rb +39 -0
  734. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  735. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb +170 -0
  736. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  737. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/syntax.rb +132 -0
  738. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/version.rb +8 -0
  739. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations.rb +82 -0
  740. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  741. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/all.rb +85 -0
  742. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  743. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be.rb +288 -0
  744. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  745. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
  746. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
  747. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  748. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb +387 -0
  749. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/compound.rb +272 -0
  750. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
  751. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  752. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  753. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  754. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  755. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  756. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/has.rb +103 -0
  757. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  758. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/include.rb +143 -0
  759. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/match.rb +106 -0
  760. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  761. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/output.rb +200 -0
  762. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  763. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
  764. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  765. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  766. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  767. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/yield.rb +432 -0
  768. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in.rb +52 -0
  769. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/composable.rb +169 -0
  770. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/dsl.rb +527 -0
  771. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  772. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
  773. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  774. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
  775. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  776. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  777. data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers.rb +1025 -0
  778. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/Changelog.md +1073 -0
  779. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/LICENSE.md +25 -0
  780. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/README.md +460 -0
  781. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
  782. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  783. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  784. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  785. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  786. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  787. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
  788. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  789. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  790. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance.rb +11 -0
  791. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  792. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_matchers.rb +320 -0
  793. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/configuration.rb +212 -0
  794. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/error_generator.rb +369 -0
  795. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/example_methods.rb +434 -0
  796. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  797. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/marshal_extension.rb +41 -0
  798. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  799. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
  800. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive.rb +132 -0
  801. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  802. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  803. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_chain.rb +87 -0
  804. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_expectation.rb +740 -0
  805. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_double.rb +287 -0
  806. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_reference.rb +202 -0
  807. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/minitest_integration.rb +68 -0
  808. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/mutate_const.rb +339 -0
  809. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/object_reference.rb +149 -0
  810. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/order_group.rb +81 -0
  811. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/proxy.rb +484 -0
  812. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/space.rb +238 -0
  813. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/standalone.rb +3 -0
  814. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/syntax.rb +325 -0
  815. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/targets.rb +124 -0
  816. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/test_double.rb +171 -0
  817. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_double.rb +129 -0
  818. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  819. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
  820. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/version.rb +9 -0
  821. data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks.rb +130 -0
  822. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/Changelog.md +211 -0
  823. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/LICENSE.md +23 -0
  824. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/README.md +40 -0
  825. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/caller_filter.rb +83 -0
  826. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/comparable_version.rb +46 -0
  827. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/differ.rb +215 -0
  828. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/directory_maker.rb +63 -0
  829. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/encoded_string.rb +165 -0
  830. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  831. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/hunk_generator.rb +47 -0
  832. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/matcher_definition.rb +42 -0
  833. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/method_signature_verifier.rb +392 -0
  834. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/mutex.rb +73 -0
  835. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/object_formatter.rb +268 -0
  836. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  837. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/reentrant_mutex.rb +53 -0
  838. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/ruby_features.rb +162 -0
  839. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/location.rb +21 -0
  840. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/node.rb +107 -0
  841. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/token.rb +87 -0
  842. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source.rb +75 -0
  843. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  844. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  845. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
  846. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  847. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/shell_out.rb +84 -0
  848. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  849. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/string_matcher.rb +46 -0
  850. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  851. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  852. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec.rb +81 -0
  853. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/version.rb +7 -0
  854. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/warnings.rb +39 -0
  855. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support.rb +139 -0
  856. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/LICENSE.txt +20 -0
  857. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/README.md +128 -0
  858. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/logo.png +0 -0
  859. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/output.html.erb +261 -0
  860. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/bin/rubocop +17 -0
  861. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/default.yml +1338 -0
  862. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/disabled.yml +115 -0
  863. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/enabled.yml +1588 -0
  864. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/builder.rb +30 -0
  865. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/sexp.rb +13 -0
  866. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/traversal.rb +171 -0
  867. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node.rb +624 -0
  868. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cached_data.rb +63 -0
  869. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb +185 -0
  870. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/comment_config.rb +157 -0
  871. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config.rb +346 -0
  872. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb +205 -0
  873. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb +43 -0
  874. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb +48 -0
  875. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/autocorrect_logic.rb +26 -0
  876. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/duplicated_gem.rb +69 -0
  877. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/ordered_gems.rb +54 -0
  878. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/commissioner.rb +103 -0
  879. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/cop.rb +304 -0
  880. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/corrector.rb +135 -0
  881. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/force.rb +41 -0
  882. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/ignored_node.rb +38 -0
  883. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_operator.rb +50 -0
  884. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +36 -0
  885. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/assignment_in_condition.rb +66 -0
  886. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/block_alignment.rb +198 -0
  887. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/circular_argument_reference.rb +69 -0
  888. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/condition_position.rb +54 -0
  889. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/debugger.rb +52 -0
  890. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/def_end_alignment.rb +57 -0
  891. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +80 -0
  892. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +49 -0
  893. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_methods.rb +137 -0
  894. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicated_key.rb +30 -0
  895. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/each_with_object_argument.rb +28 -0
  896. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/else_layout.rb +68 -0
  897. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_ensure.rb +18 -0
  898. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_expression.rb +32 -0
  899. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_interpolation.rb +28 -0
  900. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_when.rb +40 -0
  901. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_alignment.rb +137 -0
  902. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_in_method.rb +17 -0
  903. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ensure_return.rb +22 -0
  904. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/eval.rb +18 -0
  905. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/float_out_of_range.rb +30 -0
  906. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +155 -0
  907. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/handle_exceptions.rb +18 -0
  908. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +90 -0
  909. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +134 -0
  910. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/inherit_exception.rb +83 -0
  911. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/invalid_character_literal.rb +38 -0
  912. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_condition.rb +129 -0
  913. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +68 -0
  914. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/loop.rb +27 -0
  915. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/nested_method_definition.rb +60 -0
  916. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/next_without_accumulator.rb +45 -0
  917. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +77 -0
  918. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +53 -0
  919. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_string_array.rb +70 -0
  920. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_symbol_array.rb +56 -0
  921. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rand_one.rb +35 -0
  922. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
  923. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rescue_exception.rb +25 -0
  924. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowed_exception.rb +131 -0
  925. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +29 -0
  926. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +51 -0
  927. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/syntax.rb +55 -0
  928. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +38 -0
  929. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unified_integer.rb +37 -0
  930. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_disable.rb +207 -0
  931. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +136 -0
  932. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unreachable_code.rb +32 -0
  933. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_block_argument.rb +143 -0
  934. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_method_argument.rb +51 -0
  935. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_access_modifier.rb +202 -0
  936. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_assignment.rb +113 -0
  937. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_comparison.rb +25 -0
  938. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +31 -0
  939. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_setter_call.rb +150 -0
  940. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/void.rb +56 -0
  941. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/abc_size.rb +39 -0
  942. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_length.rb +26 -0
  943. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_nesting.rb +52 -0
  944. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/class_length.rb +24 -0
  945. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +31 -0
  946. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/line_length.rb +168 -0
  947. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/method_length.rb +27 -0
  948. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/module_length.rb +24 -0
  949. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/parameter_lists.rb +44 -0
  950. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
  951. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/access_modifier_node.rb +41 -0
  952. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/annotation_comment.rb +36 -0
  953. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +82 -0
  954. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_syntax.rb +24 -0
  955. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +149 -0
  956. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/check_assignment.rb +40 -0
  957. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/classish_length.rb +36 -0
  958. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/code_length.rb +32 -0
  959. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +91 -0
  960. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_max.rb +19 -0
  961. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_naming.rb +44 -0
  962. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_numbering.rb +58 -0
  963. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/def_node.rb +27 -0
  964. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/documentation_comment.rb +40 -0
  965. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +161 -0
  966. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +85 -0
  967. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/first_element_line_break.rb +41 -0
  968. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +34 -0
  969. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/hash_node.rb +14 -0
  970. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/if_node.rb +42 -0
  971. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/integer_node.rb +12 -0
  972. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/match_range.rb +22 -0
  973. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_complexity.rb +30 -0
  974. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_preference.rb +28 -0
  975. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/min_body_length.rb +19 -0
  976. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +191 -0
  977. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +152 -0
  978. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/negative_conditional.rb +29 -0
  979. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_method_def.rb +30 -0
  980. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +37 -0
  981. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parentheses.rb +22 -0
  982. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +34 -0
  983. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
  984. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +89 -0
  985. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_assignment.rb +20 -0
  986. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
  987. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
  988. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +48 -0
  989. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_inside.rb +76 -0
  990. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/statement_modifier.rb +73 -0
  991. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_help.rb +33 -0
  992. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_literals_help.rb +33 -0
  993. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/surrounding_space.rb +40 -0
  994. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
  995. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/trailing_comma.rb +162 -0
  996. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/unused_argument.rb +42 -0
  997. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/offense.rb +188 -0
  998. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/case_when_splat.rb +179 -0
  999. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/casecmp.rb +107 -0
  1000. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/compare_with_block.rb +61 -0
  1001. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/count.rb +98 -0
  1002. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/detect.rb +106 -0
  1003. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/double_start_end_with.rb +68 -0
  1004. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/end_with.rb +54 -0
  1005. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/fixed_size.rb +56 -0
  1006. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/flat_map.rb +73 -0
  1007. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/hash_each_methods.rb +84 -0
  1008. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +41 -0
  1009. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/range_include.rb +39 -0
  1010. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
  1011. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_match.rb +54 -0
  1012. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_merge.rb +152 -0
  1013. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_sort_by.rb +45 -0
  1014. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/reverse_each.rb +39 -0
  1015. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/sample.rb +140 -0
  1016. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/size.rb +76 -0
  1017. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/start_with.rb +57 -0
  1018. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/string_replacement.rb +175 -0
  1019. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/times_map.rb +61 -0
  1020. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/action_filter.rb +96 -0
  1021. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/date.rb +130 -0
  1022. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate.rb +106 -0
  1023. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +62 -0
  1024. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/dynamic_find_by.rb +77 -0
  1025. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/enum_uniqueness.rb +71 -0
  1026. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/exit.rb +61 -0
  1027. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_by.rb +53 -0
  1028. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_each.rb +59 -0
  1029. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +17 -0
  1030. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/http_positional_arguments.rb +92 -0
  1031. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/not_null_column.rb +44 -0
  1032. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output.rb +25 -0
  1033. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output_safety.rb +58 -0
  1034. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/pluralization_grammar.rb +105 -0
  1035. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
  1036. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/request_referer.rb +38 -0
  1037. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/safe_navigation.rb +88 -0
  1038. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/save_bang.rb +155 -0
  1039. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
  1040. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/time_zone.rb +195 -0
  1041. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +90 -0
  1042. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/validation.rb +67 -0
  1043. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/security/json_load.rb +44 -0
  1044. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/severity.rb +76 -0
  1045. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/access_modifier_indentation.rb +80 -0
  1046. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/accessor_method_name.rb +45 -0
  1047. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/alias.rb +119 -0
  1048. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_array.rb +20 -0
  1049. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_hash.rb +266 -0
  1050. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_parameters.rb +69 -0
  1051. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/and_or.rb +140 -0
  1052. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/array_join.rb +30 -0
  1053. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_comments.rb +38 -0
  1054. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_identifiers.rb +36 -0
  1055. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/attr.rb +44 -0
  1056. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +45 -0
  1057. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/bare_percent_literals.rb +57 -0
  1058. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/begin_block.rb +16 -0
  1059. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_comments.rb +46 -0
  1060. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_delimiters.rb +230 -0
  1061. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_end_newline.rb +56 -0
  1062. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +113 -0
  1063. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_equality.rb +18 -0
  1064. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_indentation.rb +89 -0
  1065. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/character_literal.rb +43 -0
  1066. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +29 -0
  1067. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_children.rb +69 -0
  1068. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_check.rb +42 -0
  1069. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_methods.rb +67 -0
  1070. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_vars.rb +23 -0
  1071. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/closing_parenthesis_indentation.rb +87 -0
  1072. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/collection_methods.rb +51 -0
  1073. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/colon_method_call.rb +40 -0
  1074. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/command_literal.rb +119 -0
  1075. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_annotation.rb +62 -0
  1076. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_indentation.rb +71 -0
  1077. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/conditional_assignment.rb +681 -0
  1078. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/constant_name.rb +29 -0
  1079. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/copyright.rb +89 -0
  1080. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/def_with_parentheses.rb +31 -0
  1081. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation.rb +79 -0
  1082. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation_method.rb +79 -0
  1083. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/dot_position.rb +88 -0
  1084. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/double_negation.rb +34 -0
  1085. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_for_simple_loop.rb +57 -0
  1086. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_with_object.rb +88 -0
  1087. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/else_alignment.rb +111 -0
  1088. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_case_condition.rb +93 -0
  1089. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_else.rb +140 -0
  1090. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_line_between_defs.rb +73 -0
  1091. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines.rb +60 -0
  1092. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +95 -0
  1093. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_block_body.rb +41 -0
  1094. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_class_body.rb +39 -0
  1095. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_method_body.rb +41 -0
  1096. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_module_body.rb +44 -0
  1097. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_literal.rb +100 -0
  1098. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_method.rb +96 -0
  1099. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/encoding.rb +92 -0
  1100. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_block.rb +17 -0
  1101. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_of_line.rb +30 -0
  1102. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/even_odd.rb +56 -0
  1103. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/extra_spacing.rb +237 -0
  1104. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/file_name.rb +163 -0
  1105. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_array_element_line_break.rb +41 -0
  1106. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_hash_element_line_break.rb +33 -0
  1107. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_argument_line_break.rb +49 -0
  1108. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_parameter_line_break.rb +42 -0
  1109. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_parameter_indentation.rb +111 -0
  1110. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/flip_flop.rb +20 -0
  1111. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/for.rb +52 -0
  1112. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/format_string.rb +76 -0
  1113. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +67 -0
  1114. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/global_vars.rb +70 -0
  1115. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/guard_clause.rb +96 -0
  1116. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/hash_syntax.rb +232 -0
  1117. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/identical_conditional_branches.rb +92 -0
  1118. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_inside_else.rb +48 -0
  1119. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier.rb +89 -0
  1120. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +44 -0
  1121. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_with_semicolon.rb +20 -0
  1122. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/implicit_runtime_error.rb +31 -0
  1123. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_array.rb +114 -0
  1124. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_assignment.rb +42 -0
  1125. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_hash.rb +133 -0
  1126. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_consistency.rb +51 -0
  1127. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_width.rb +302 -0
  1128. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/infinite_loop.rb +92 -0
  1129. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/initial_indentation.rb +42 -0
  1130. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/inline_comment.rb +32 -0
  1131. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda.rb +209 -0
  1132. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda_call.rb +62 -0
  1133. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/leading_comment_space.rb +43 -0
  1134. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/line_end_concatenation.rb +115 -0
  1135. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_call_parentheses.rb +78 -0
  1136. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +41 -0
  1137. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_def_parentheses.rb +83 -0
  1138. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_missing.rb +81 -0
  1139. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_name.rb +28 -0
  1140. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/missing_else.rb +73 -0
  1141. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/module_function.rb +64 -0
  1142. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_array_brace_layout.rb +81 -0
  1143. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_assignment_layout.rb +88 -0
  1144. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_chain.rb +42 -0
  1145. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_layout.rb +134 -0
  1146. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_hash_brace_layout.rb +81 -0
  1147. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_modifier.rb +73 -0
  1148. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_then.rb +41 -0
  1149. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_memoization.rb +44 -0
  1150. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_brace_layout.rb +98 -0
  1151. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_indentation.rb +196 -0
  1152. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb +82 -0
  1153. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_operation_indentation.rb +88 -0
  1154. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +23 -0
  1155. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/mutable_constant.rb +63 -0
  1156. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_if.rb +47 -0
  1157. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_while.rb +47 -0
  1158. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_modifier.rb +114 -0
  1159. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +59 -0
  1160. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_ternary_operator.rb +23 -0
  1161. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/next.rb +223 -0
  1162. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nil_comparison.rb +35 -0
  1163. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/non_nil_check.rb +125 -0
  1164. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/not.rb +72 -0
  1165. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +97 -0
  1166. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literals.rb +79 -0
  1167. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_predicate.rb +140 -0
  1168. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/one_line_conditional.rb +85 -0
  1169. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/op_method.rb +41 -0
  1170. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/option_hash.rb +69 -0
  1171. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/optional_arguments.rb +62 -0
  1172. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parallel_assignment.rb +295 -0
  1173. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parentheses_around_condition.rb +60 -0
  1174. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +85 -0
  1175. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_q_literals.rb +49 -0
  1176. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/perl_backrefs.rb +31 -0
  1177. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/predicate_name.rb +67 -0
  1178. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/preferred_hash_methods.rb +78 -0
  1179. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/proc.rb +26 -0
  1180. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/raise_args.rb +136 -0
  1181. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_begin.rb +47 -0
  1182. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_exception.rb +55 -0
  1183. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_freeze.rb +46 -0
  1184. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_parentheses.rb +177 -0
  1185. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_return.rb +125 -0
  1186. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_self.rb +163 -0
  1187. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/regexp_literal.rb +114 -0
  1188. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_ensure_alignment.rb +86 -0
  1189. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
  1190. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/safe_navigation.rb +138 -0
  1191. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/self_assignment.rb +93 -0
  1192. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/semicolon.rb +70 -0
  1193. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/send.rb +22 -0
  1194. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/signal_exception.rb +109 -0
  1195. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_block_params.rb +68 -0
  1196. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_methods.rb +77 -0
  1197. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_colon.rb +42 -0
  1198. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_comma.rb +21 -0
  1199. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_method_name.rb +37 -0
  1200. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_not.rb +39 -0
  1201. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_semicolon.rb +21 -0
  1202. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_block_parameters.rb +109 -0
  1203. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +68 -0
  1204. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_keyword.rb +225 -0
  1205. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_operators.rb +136 -0
  1206. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_block_braces.rb +54 -0
  1207. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comma.rb +16 -0
  1208. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comment.rb +27 -0
  1209. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_first_arg.rb +59 -0
  1210. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_semicolon.rb +16 -0
  1211. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_in_lambda_literal.rb +87 -0
  1212. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_array_percent_literal.rb +53 -0
  1213. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_block_braces.rb +158 -0
  1214. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_brackets.rb +20 -0
  1215. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +150 -0
  1216. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_parens.rb +16 -0
  1217. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb +64 -0
  1218. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_range_literal.rb +63 -0
  1219. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_string_interpolation.rb +65 -0
  1220. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/special_global_vars.rb +156 -0
  1221. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +112 -0
  1222. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals.rb +102 -0
  1223. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +30 -0
  1224. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_methods.rb +31 -0
  1225. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/struct_inheritance.rb +43 -0
  1226. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_array.rb +106 -0
  1227. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
  1228. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_proc.rb +143 -0
  1229. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/tab.rb +57 -0
  1230. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ternary_parentheses.rb +172 -0
  1231. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_blank_lines.rb +78 -0
  1232. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +70 -0
  1233. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_literal.rb +56 -0
  1234. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +110 -0
  1235. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_whitespace.rb +28 -0
  1236. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trivial_accessors.rb +176 -0
  1237. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unless_else.rb +43 -0
  1238. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_capital_w.rb +42 -0
  1239. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
  1240. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_percent_q.rb +96 -0
  1241. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_interpolation.rb +44 -0
  1242. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_name.rb +39 -0
  1243. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_number.rb +78 -0
  1244. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/when_then.rb +22 -0
  1245. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_do.rb +40 -0
  1246. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_modifier.rb +40 -0
  1247. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/word_array.rb +160 -0
  1248. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/zero_length_predicate.rb +83 -0
  1249. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/team.rb +189 -0
  1250. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/util.rb +276 -0
  1251. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/assignment.rb +97 -0
  1252. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/locatable.rb +200 -0
  1253. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/reference.rb +51 -0
  1254. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/scope.rb +91 -0
  1255. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable.rb +102 -0
  1256. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable_table.rb +128 -0
  1257. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force.rb +458 -0
  1258. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/error.rb +11 -0
  1259. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/base_formatter.rb +123 -0
  1260. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
  1261. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/colorizable.rb +41 -0
  1262. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_config_formatter.rb +180 -0
  1263. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
  1264. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
  1265. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb +19 -0
  1266. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/formatter_set.rb +102 -0
  1267. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
  1268. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/html_formatter.rb +133 -0
  1269. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/json_formatter.rb +74 -0
  1270. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/offense_count_formatter.rb +55 -0
  1271. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
  1272. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/simple_text_formatter.rb +134 -0
  1273. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/text_util.rb +20 -0
  1274. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/worst_offenders_formatter.rb +60 -0
  1275. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/name_similarity.rb +21 -0
  1276. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/node_pattern.rb +542 -0
  1277. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/options.rb +320 -0
  1278. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/path_util.rb +31 -0
  1279. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/processed_source.rb +151 -0
  1280. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rake_task.rb +86 -0
  1281. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/remote_config.rb +66 -0
  1282. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/result_cache.rb +176 -0
  1283. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/cop_helper.rb +87 -0
  1284. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +32 -0
  1285. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_contexts.rb +78 -0
  1286. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_examples.rb +100 -0
  1287. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/support.rb +8 -0
  1288. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/runner.rb +323 -0
  1289. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_interpreter.rb +57 -0
  1290. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_util.rb +156 -0
  1291. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/target_finder.rb +139 -0
  1292. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/token.rb +25 -0
  1293. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/version.rb +21 -0
  1294. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/warning.rb +11 -0
  1295. data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop.rb +452 -0
  1296. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/LICENSE.txt +19 -0
  1297. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/README.md +38 -0
  1298. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/Rakefile +2 -0
  1299. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +183 -0
  1300. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +99 -0
  1301. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  1302. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +96 -0
  1303. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +29 -0
  1304. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +43 -0
  1305. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +107 -0
  1306. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +13 -0
  1307. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +5 -0
  1308. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  1309. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +27 -0
  1310. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +59 -0
  1311. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +36 -0
  1312. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +3 -0
  1313. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +68 -0
  1314. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  1315. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +33 -0
  1316. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
  1317. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +118 -0
  1318. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +25 -0
  1319. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +1 -0
  1320. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +25 -0
  1321. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +30 -0
  1322. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +72 -0
  1323. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +3 -0
  1324. data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +18 -0
  1325. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CHANGELOG.md +411 -0
  1326. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CONTRIBUTING.md +48 -0
  1327. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Gemfile +38 -0
  1328. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/MIT-LICENSE +20 -0
  1329. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/README.md +633 -0
  1330. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Rakefile +41 -0
  1331. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/cucumber.yml +13 -0
  1332. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/alternate-formatters.md +36 -0
  1333. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/commercial-services.md +20 -0
  1334. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/editor-integration.md +13 -0
  1335. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_autoload.feature +46 -0
  1336. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_command_name.feature +45 -0
  1337. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature +33 -0
  1338. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_deactivate_merging.feature +42 -0
  1339. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_formatters.feature +77 -0
  1340. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_merge_timeout.feature +39 -0
  1341. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_nocov_token.feature +79 -0
  1342. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_profiles.feature +44 -0
  1343. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature +27 -0
  1344. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_styles.feature +121 -0
  1345. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature +29 -0
  1346. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/cucumber_basic.feature +29 -0
  1347. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/maximum_coverage_drop.feature +36 -0
  1348. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/merging_test_unit_and_rspec.feature +44 -0
  1349. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/minimum_coverage.feature +59 -0
  1350. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/refuse_coverage_drop.feature +35 -0
  1351. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_basic.feature +32 -0
  1352. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_fails_on_initialization.feature +14 -0
  1353. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_basic.feature +29 -0
  1354. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_complex.feature +37 -0
  1355. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_using_filter_class.feature +41 -0
  1356. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_without_simplecov.feature +20 -0
  1357. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/skipping_code_blocks_manually.feature +70 -0
  1358. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/html_steps.rb +44 -0
  1359. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/simplecov_steps.rb +68 -0
  1360. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb +13 -0
  1361. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/web_steps.rb +64 -0
  1362. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/support/env.rb +50 -0
  1363. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_basic.feature +34 -0
  1364. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_basic.feature +29 -0
  1365. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_complex.feature +35 -0
  1366. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_using_filter_class.feature +40 -0
  1367. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_without_simplecov.feature +20 -0
  1368. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/unicode_compatiblity.feature +67 -0
  1369. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/command_guesser.rb +59 -0
  1370. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/configuration.rb +296 -0
  1371. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/defaults.rb +122 -0
  1372. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/exit_codes.rb +8 -0
  1373. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/file_list.rb +59 -0
  1374. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/filter.rb +54 -0
  1375. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
  1376. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/simple_formatter.rb +23 -0
  1377. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter.rb +8 -0
  1378. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/jruby_fix.rb +42 -0
  1379. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/last_run.rb +22 -0
  1380. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/merge_helpers.rb +37 -0
  1381. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/no_defaults.rb +2 -0
  1382. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/profiles.rb +31 -0
  1383. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railtie.rb +7 -0
  1384. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railties/tasks.rake +11 -0
  1385. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result.rb +87 -0
  1386. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result_merger.rb +88 -0
  1387. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/source_file.rb +194 -0
  1388. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/version.rb +25 -0
  1389. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov.rb +184 -0
  1390. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/simplecov.gemspec +27 -0
  1391. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/1_8_fallbacks_spec.rb +31 -0
  1392. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/command_guesser_spec.rb +48 -0
  1393. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb +12 -0
  1394. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Gemfile +6 -0
  1395. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Rakefile +8 -0
  1396. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/cucumber.yml +13 -0
  1397. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
  1398. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/support/env.rb +12 -0
  1399. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/test_stuff.feature +6 -0
  1400. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
  1401. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
  1402. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/some_class.rb +28 -0
  1403. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
  1404. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project.rb +11 -0
  1405. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/faked_spec.rb +11 -0
  1406. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/forking_spec.rb +8 -0
  1407. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/meta_magic_spec.rb +15 -0
  1408. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/some_class_spec.rb +13 -0
  1409. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/spec_helper.rb +11 -0
  1410. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/faked_test.rb +11 -0
  1411. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/meta_magic_test.rb +13 -0
  1412. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/some_class_test.rb +15 -0
  1413. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/test_helper.rb +12 -0
  1414. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/file_list_spec.rb +50 -0
  1415. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/filters_spec.rb +98 -0
  1416. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/controllers/sample_controller.rb +10 -0
  1417. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/models/user.rb +10 -0
  1418. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/deleted_source_sample.rb +15 -0
  1419. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_bad.rb +9 -0
  1420. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_good.rb +9 -0
  1421. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_bad.rb +9 -0
  1422. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_good.rb +9 -0
  1423. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/iso-8859.rb +3 -0
  1424. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset1.rb +4 -0
  1425. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset2.rb +4 -0
  1426. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/sample.rb +16 -0
  1427. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/utf-8.rb +3 -0
  1428. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/helper.rb +24 -0
  1429. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/merge_helpers_spec.rb +126 -0
  1430. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/multi_formatter_spec.rb +20 -0
  1431. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/result_spec.rb +209 -0
  1432. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/return_codes_spec.rb +34 -0
  1433. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_line_spec.rb +155 -0
  1434. data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_spec.rb +77 -0
  1435. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
  1436. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Gemfile +34 -0
  1437. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Guardfile +12 -0
  1438. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/LICENSE +20 -0
  1439. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/README.md +30 -0
  1440. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Rakefile +41 -0
  1441. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
  1442. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
  1443. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
  1444. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
  1445. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
  1446. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
  1447. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
  1448. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
  1449. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
  1450. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
  1451. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
  1452. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
  1453. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
  1454. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
  1455. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
  1456. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.css +799 -0
  1457. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.js +1707 -0
  1458. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
  1459. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
  1460. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
  1461. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
  1462. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
  1463. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
  1464. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
  1465. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
  1466. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
  1467. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1468. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1469. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1470. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1471. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1472. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1473. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1474. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1475. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
  1476. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  1477. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
  1478. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
  1479. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  1480. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
  1481. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
  1482. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
  1483. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
  1484. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
  1485. data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
  1486. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/CHANGELOG.md +96 -0
  1487. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/MIT-LICENSE.txt +22 -0
  1488. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/README.md +120 -0
  1489. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/Rakefile +64 -0
  1490. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/data/display_width.marshal.gz +0 -0
  1491. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/constants.rb +8 -0
  1492. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/index.rb +7 -0
  1493. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/no_string_ext.rb +7 -0
  1494. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/string_ext.rb +17 -0
  1495. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width.rb +51 -0
  1496. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/spec/display_width_spec.rb +156 -0
  1497. data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/unicode-display_width.gemspec +18 -0
  1498. data/vendor/bundle/ruby/2.3.0/specifications/ast-2.3.0.gemspec +59 -0
  1499. data/vendor/bundle/ruby/2.3.0/specifications/byebug-9.1.0.gemspec +38 -0
  1500. data/vendor/bundle/ruby/2.3.0/specifications/codeclimate-test-reporter-1.0.8.gemspec +50 -0
  1501. data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
  1502. data/vendor/bundle/ruby/2.3.0/specifications/docile-1.1.5.gemspec +48 -0
  1503. data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
  1504. data/vendor/bundle/ruby/2.3.0/specifications/parser-2.4.0.0.gemspec +61 -0
  1505. data/vendor/bundle/ruby/2.3.0/specifications/powerpack-0.1.1.gemspec +41 -0
  1506. data/vendor/bundle/ruby/2.3.0/specifications/rainbow-2.2.2.gemspec +39 -0
  1507. data/vendor/bundle/ruby/2.3.0/specifications/rake-12.1.0.gemspec +49 -0
  1508. data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.6.0.gemspec +42 -0
  1509. data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.6.0.gemspec +62 -0
  1510. data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.6.0.gemspec +50 -0
  1511. data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.6.0.gemspec +50 -0
  1512. data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.6.0.gemspec +41 -0
  1513. data/vendor/bundle/ruby/2.3.0/specifications/rubocop-0.46.0.gemspec +51 -0
  1514. data/vendor/bundle/ruby/2.3.0/specifications/ruby-progressbar-1.9.0.gemspec +46 -0
  1515. data/vendor/bundle/ruby/2.3.0/specifications/simplecov-0.13.0.gemspec +42 -0
  1516. data/vendor/bundle/ruby/2.3.0/specifications/simplecov-html-0.10.2.gemspec +33 -0
  1517. data/vendor/bundle/ruby/2.3.0/specifications/unicode-display_width-1.3.0.gemspec +38 -0
  1518. metadata +1525 -3
@@ -0,0 +1,1608 @@
1
+ module Parser
2
+
3
+ ##
4
+ # Default AST builder. Uses {AST::Node}s.
5
+ #
6
+ class Builders::Default
7
+ class << self
8
+ ##
9
+ # AST compatibility attribute; since `-> {}` is not semantically
10
+ # equivalent to `lambda {}`, all new code should set this attribute
11
+ # to true.
12
+ #
13
+ # If set to false (the default), `-> {}` is emitted as
14
+ # `s(:block, s(:send, nil, :lambda), s(:args), nil)`.
15
+ #
16
+ # If set to true, `-> {}` is emitted as
17
+ # `s(:block, s(:lambda), s(:args), nil)`.
18
+ #
19
+ # @return [Boolean]
20
+ attr_accessor :emit_lambda
21
+ end
22
+
23
+ @emit_lambda = false
24
+
25
+ class << self
26
+ ##
27
+ # AST compatibility attribute; block arguments of `m { |a| }` are
28
+ # not semantically equivalent to block arguments of `m { |a,| }` or `m { |a, b| }`,
29
+ # all new code should set this attribute to true.
30
+ #
31
+ # If set to false (the default), arguments of `m { |a| }` are emitted as
32
+ # `s(:args, s(:arg, :a))`
33
+ #
34
+ # If set to true, arguments of `m { |a| }` are emitted as
35
+ # `s(:args, s(:procarg0, :a))
36
+ #
37
+ # @return [Boolean]
38
+ attr_accessor :emit_procarg0
39
+ end
40
+
41
+ @emit_procarg0 = false
42
+
43
+ class << self
44
+ ##
45
+ # @api private
46
+ def modernize
47
+ @emit_lambda = true
48
+ @emit_procarg0 = true
49
+ end
50
+ end
51
+
52
+ ##
53
+ # @api private
54
+ attr_accessor :parser
55
+
56
+ ##
57
+ # If set to true, `__FILE__` and `__LINE__` are transformed to
58
+ # literal nodes. For example, `s(:str, "lib/foo.rb")` and `s(:int, 10)`.
59
+ #
60
+ # If set to false, `__FILE__` and `__LINE__` are emitted as-is,
61
+ # i.e. as `s(:__FILE__)` and `s(:__LINE__)` nodes.
62
+ #
63
+ # Source maps are identical in both cases.
64
+ #
65
+ # @return [Boolean]
66
+ attr_accessor :emit_file_line_as_literals
67
+
68
+ ##
69
+ # Initializes attributes:
70
+ #
71
+ # * `emit_file_line_as_literals`: `true`
72
+ def initialize
73
+ @emit_file_line_as_literals = true
74
+ end
75
+
76
+ # @!parse private
77
+
78
+ #
79
+ # Literals
80
+ #
81
+
82
+ # Singletons
83
+
84
+ def nil(nil_t)
85
+ n0(:nil,
86
+ token_map(nil_t))
87
+ end
88
+
89
+ def true(true_t)
90
+ n0(:true,
91
+ token_map(true_t))
92
+ end
93
+
94
+ def false(false_t)
95
+ n0(:false,
96
+ token_map(false_t))
97
+ end
98
+
99
+ # Numerics
100
+
101
+ def integer(integer_t)
102
+ numeric(:int, integer_t)
103
+ end
104
+
105
+ def float(float_t)
106
+ numeric(:float, float_t)
107
+ end
108
+
109
+ def rational(rational_t)
110
+ numeric(:rational, rational_t)
111
+ end
112
+
113
+ def complex(complex_t)
114
+ numeric(:complex, complex_t)
115
+ end
116
+
117
+ def numeric(kind, token)
118
+ n(kind, [ value(token) ],
119
+ Source::Map::Operator.new(nil, loc(token)))
120
+ end
121
+ private :numeric
122
+
123
+ def negate(uminus_t, numeric)
124
+ value, = *numeric
125
+ operator_loc = loc(uminus_t)
126
+
127
+ numeric.updated(nil, [ -value ],
128
+ :location =>
129
+ Source::Map::Operator.new(
130
+ operator_loc,
131
+ operator_loc.join(numeric.loc.expression)))
132
+ end
133
+
134
+ def __LINE__(__LINE__t)
135
+ n0(:__LINE__,
136
+ token_map(__LINE__t))
137
+ end
138
+
139
+ # Strings
140
+
141
+ def string(string_t)
142
+ n(:str, [ string_value(string_t) ],
143
+ delimited_string_map(string_t))
144
+ end
145
+
146
+ def string_internal(string_t)
147
+ n(:str, [ string_value(string_t) ],
148
+ unquoted_map(string_t))
149
+ end
150
+
151
+ def string_compose(begin_t, parts, end_t)
152
+ if collapse_string_parts?(parts)
153
+ if begin_t.nil? && end_t.nil?
154
+ parts.first
155
+ else
156
+ n(:str, parts.first.children,
157
+ string_map(begin_t, parts, end_t))
158
+ end
159
+ else
160
+ n(:dstr, [ *parts ],
161
+ string_map(begin_t, parts, end_t))
162
+ end
163
+ end
164
+
165
+ def character(char_t)
166
+ n(:str, [ string_value(char_t) ],
167
+ prefix_string_map(char_t))
168
+ end
169
+
170
+ def __FILE__(__FILE__t)
171
+ n0(:__FILE__,
172
+ token_map(__FILE__t))
173
+ end
174
+
175
+ # Symbols
176
+
177
+ def symbol(symbol_t)
178
+ n(:sym, [ string_value(symbol_t).to_sym ],
179
+ prefix_string_map(symbol_t))
180
+ end
181
+
182
+ def symbol_internal(symbol_t)
183
+ n(:sym, [ string_value(symbol_t).to_sym ],
184
+ unquoted_map(symbol_t))
185
+ end
186
+
187
+ def symbol_compose(begin_t, parts, end_t)
188
+ if collapse_string_parts?(parts)
189
+ str = parts.first
190
+
191
+ n(:sym, [ str.children.first.to_sym ],
192
+ collection_map(begin_t, str.loc.expression, end_t))
193
+ elsif @parser.version == 18 && parts.empty?
194
+ diagnostic :error, :empty_symbol, nil, loc(begin_t).join(loc(end_t))
195
+ else
196
+ n(:dsym, [ *parts ],
197
+ collection_map(begin_t, parts, end_t))
198
+ end
199
+ end
200
+
201
+ # Executable strings
202
+
203
+ def xstring_compose(begin_t, parts, end_t)
204
+ n(:xstr, [ *parts ],
205
+ string_map(begin_t, parts, end_t))
206
+ end
207
+
208
+ # Indented (interpolated, noninterpolated, executable) strings
209
+
210
+ def dedent_string(node, dedent_level)
211
+ if !dedent_level.nil?
212
+ dedenter = Lexer::Dedenter.new(dedent_level)
213
+
214
+ if node.type == :str
215
+ str = node.children.first
216
+ dedenter.dedent(str)
217
+ elsif node.type == :dstr || node.type == :xstr
218
+ node.children.each do |str_node|
219
+ if str_node.type == :str
220
+ str = str_node.children.first
221
+ dedenter.dedent(str)
222
+ else
223
+ dedenter.interrupt
224
+ end
225
+ end
226
+ end
227
+ end
228
+
229
+ node
230
+ end
231
+
232
+ # Regular expressions
233
+
234
+ def regexp_options(regopt_t)
235
+ options = value(regopt_t).
236
+ each_char.sort.uniq.
237
+ map(&:to_sym)
238
+
239
+ n(:regopt, options,
240
+ token_map(regopt_t))
241
+ end
242
+
243
+ def regexp_compose(begin_t, parts, end_t, options)
244
+ begin
245
+ static_regexp(parts, options)
246
+ rescue RegexpError => e
247
+ diagnostic :error, :invalid_regexp, { :message => e.message },
248
+ loc(begin_t).join(loc(end_t))
249
+ end
250
+
251
+ n(:regexp, (parts << options),
252
+ regexp_map(begin_t, end_t, options))
253
+ end
254
+
255
+ # Arrays
256
+
257
+ def array(begin_t, elements, end_t)
258
+ n(:array, elements,
259
+ collection_map(begin_t, elements, end_t))
260
+ end
261
+
262
+ def splat(star_t, arg=nil)
263
+ if arg.nil?
264
+ n0(:splat,
265
+ unary_op_map(star_t))
266
+ else
267
+ n(:splat, [ arg ],
268
+ unary_op_map(star_t, arg))
269
+ end
270
+ end
271
+
272
+ def word(parts)
273
+ if collapse_string_parts?(parts)
274
+ parts.first
275
+ else
276
+ n(:dstr, [ *parts ],
277
+ collection_map(nil, parts, nil))
278
+ end
279
+ end
280
+
281
+ def words_compose(begin_t, parts, end_t)
282
+ n(:array, [ *parts ],
283
+ collection_map(begin_t, parts, end_t))
284
+ end
285
+
286
+ def symbols_compose(begin_t, parts, end_t)
287
+ parts = parts.map do |part|
288
+ case part.type
289
+ when :str
290
+ value, = *part
291
+ part.updated(:sym, [ value.to_sym ])
292
+ when :dstr
293
+ part.updated(:dsym)
294
+ else
295
+ part
296
+ end
297
+ end
298
+
299
+ n(:array, [ *parts ],
300
+ collection_map(begin_t, parts, end_t))
301
+ end
302
+
303
+ # Hashes
304
+
305
+ def pair(key, assoc_t, value)
306
+ n(:pair, [ key, value ],
307
+ binary_op_map(key, assoc_t, value))
308
+ end
309
+
310
+ def pair_list_18(list)
311
+ if list.size % 2 != 0
312
+ diagnostic :error, :odd_hash, nil, list.last.loc.expression
313
+ else
314
+ list.
315
+ each_slice(2).map do |key, value|
316
+ n(:pair, [ key, value ],
317
+ binary_op_map(key, nil, value))
318
+ end
319
+ end
320
+ end
321
+
322
+ def pair_keyword(key_t, value)
323
+ key_map, pair_map = pair_keyword_map(key_t, value)
324
+
325
+ key = n(:sym, [ value(key_t).to_sym ], key_map)
326
+
327
+ n(:pair, [ key, value ], pair_map)
328
+ end
329
+
330
+ def pair_quoted(begin_t, parts, end_t, value)
331
+ end_t, pair_map = pair_quoted_map(begin_t, end_t, value)
332
+
333
+ key = symbol_compose(begin_t, parts, end_t)
334
+
335
+ n(:pair, [ key, value ], pair_map)
336
+ end
337
+
338
+ def kwsplat(dstar_t, arg)
339
+ n(:kwsplat, [ arg ],
340
+ unary_op_map(dstar_t, arg))
341
+ end
342
+
343
+ def associate(begin_t, pairs, end_t)
344
+ n(:hash, [ *pairs ],
345
+ collection_map(begin_t, pairs, end_t))
346
+ end
347
+
348
+ # Ranges
349
+
350
+ def range_inclusive(lhs, dot2_t, rhs)
351
+ n(:irange, [ lhs, rhs ],
352
+ binary_op_map(lhs, dot2_t, rhs))
353
+ end
354
+
355
+ def range_exclusive(lhs, dot3_t, rhs)
356
+ n(:erange, [ lhs, rhs ],
357
+ binary_op_map(lhs, dot3_t, rhs))
358
+ end
359
+
360
+ #
361
+ # Access
362
+ #
363
+
364
+ def self(token)
365
+ n0(:self,
366
+ token_map(token))
367
+ end
368
+
369
+ def ident(token)
370
+ n(:ident, [ value(token).to_sym ],
371
+ variable_map(token))
372
+ end
373
+
374
+ def ivar(token)
375
+ n(:ivar, [ value(token).to_sym ],
376
+ variable_map(token))
377
+ end
378
+
379
+ def gvar(token)
380
+ n(:gvar, [ value(token).to_sym ],
381
+ variable_map(token))
382
+ end
383
+
384
+ def cvar(token)
385
+ n(:cvar, [ value(token).to_sym ],
386
+ variable_map(token))
387
+ end
388
+
389
+ def back_ref(token)
390
+ n(:back_ref, [ value(token).to_sym ],
391
+ token_map(token))
392
+ end
393
+
394
+ def nth_ref(token)
395
+ n(:nth_ref, [ value(token) ],
396
+ token_map(token))
397
+ end
398
+
399
+ def accessible(node)
400
+ case node.type
401
+ when :__FILE__
402
+ if @emit_file_line_as_literals
403
+ n(:str, [ node.loc.expression.source_buffer.name ],
404
+ node.loc.dup)
405
+ else
406
+ node
407
+ end
408
+
409
+ when :__LINE__
410
+ if @emit_file_line_as_literals
411
+ n(:int, [ node.loc.expression.line ],
412
+ node.loc.dup)
413
+ else
414
+ node
415
+ end
416
+
417
+ when :__ENCODING__
418
+ n(:const, [ n(:const, [ nil, :Encoding], nil), :UTF_8 ],
419
+ node.loc.dup)
420
+
421
+ when :ident
422
+ name, = *node
423
+
424
+ if @parser.static_env.declared?(name)
425
+ node.updated(:lvar)
426
+ else
427
+ name, = *node
428
+ n(:send, [ nil, name ],
429
+ var_send_map(node))
430
+ end
431
+
432
+ else
433
+ node
434
+ end
435
+ end
436
+
437
+ def const(name_t)
438
+ n(:const, [ nil, value(name_t).to_sym ],
439
+ constant_map(nil, nil, name_t))
440
+ end
441
+
442
+ def const_global(t_colon3, name_t)
443
+ cbase = n0(:cbase, token_map(t_colon3))
444
+
445
+ n(:const, [ cbase, value(name_t).to_sym ],
446
+ constant_map(cbase, t_colon3, name_t))
447
+ end
448
+
449
+ def const_fetch(scope, t_colon2, name_t)
450
+ n(:const, [ scope, value(name_t).to_sym ],
451
+ constant_map(scope, t_colon2, name_t))
452
+ end
453
+
454
+ def __ENCODING__(__ENCODING__t)
455
+ n0(:__ENCODING__,
456
+ token_map(__ENCODING__t))
457
+ end
458
+
459
+ #
460
+ # Assignment
461
+ #
462
+
463
+ def assignable(node)
464
+ case node.type
465
+ when :cvar
466
+ node.updated(:cvasgn)
467
+
468
+ when :ivar
469
+ node.updated(:ivasgn)
470
+
471
+ when :gvar
472
+ node.updated(:gvasgn)
473
+
474
+ when :const
475
+ if @parser.in_def?
476
+ diagnostic :error, :dynamic_const, nil, node.loc.expression
477
+ end
478
+
479
+ node.updated(:casgn)
480
+
481
+ when :ident
482
+ name, = *node
483
+ @parser.static_env.declare(name)
484
+
485
+ node.updated(:lvasgn)
486
+
487
+ when :nil, :self, :true, :false,
488
+ :__FILE__, :__LINE__, :__ENCODING__
489
+ diagnostic :error, :invalid_assignment, nil, node.loc.expression
490
+
491
+ when :back_ref, :nth_ref
492
+ diagnostic :error, :backref_assignment, nil, node.loc.expression
493
+ end
494
+ end
495
+
496
+ def const_op_assignable(node)
497
+ node.updated(:casgn)
498
+ end
499
+
500
+ def assign(lhs, eql_t, rhs)
501
+ (lhs << rhs).updated(nil, nil,
502
+ :location => lhs.loc.
503
+ with_operator(loc(eql_t)).
504
+ with_expression(join_exprs(lhs, rhs)))
505
+ end
506
+
507
+ def op_assign(lhs, op_t, rhs)
508
+ case lhs.type
509
+ when :gvasgn, :ivasgn, :lvasgn, :cvasgn, :casgn, :send, :csend
510
+ operator = value(op_t)[0..-1].to_sym
511
+ source_map = lhs.loc.
512
+ with_operator(loc(op_t)).
513
+ with_expression(join_exprs(lhs, rhs))
514
+
515
+ case operator
516
+ when :'&&'
517
+ n(:and_asgn, [ lhs, rhs ], source_map)
518
+ when :'||'
519
+ n(:or_asgn, [ lhs, rhs ], source_map)
520
+ else
521
+ n(:op_asgn, [ lhs, operator, rhs ], source_map)
522
+ end
523
+
524
+ when :back_ref, :nth_ref
525
+ diagnostic :error, :backref_assignment, nil, lhs.loc.expression
526
+ end
527
+ end
528
+
529
+ def multi_lhs(begin_t, items, end_t)
530
+ n(:mlhs, [ *items ],
531
+ collection_map(begin_t, items, end_t))
532
+ end
533
+
534
+ def multi_assign(lhs, eql_t, rhs)
535
+ n(:masgn, [ lhs, rhs ],
536
+ binary_op_map(lhs, eql_t, rhs))
537
+ end
538
+
539
+ #
540
+ # Class and module definition
541
+ #
542
+
543
+ def def_class(class_t, name,
544
+ lt_t, superclass,
545
+ body, end_t)
546
+ n(:class, [ name, superclass, body ],
547
+ module_definition_map(class_t, name, lt_t, end_t))
548
+ end
549
+
550
+ def def_sclass(class_t, lshft_t, expr,
551
+ body, end_t)
552
+ n(:sclass, [ expr, body ],
553
+ module_definition_map(class_t, nil, lshft_t, end_t))
554
+ end
555
+
556
+ def def_module(module_t, name,
557
+ body, end_t)
558
+ n(:module, [ name, body ],
559
+ module_definition_map(module_t, name, nil, end_t))
560
+ end
561
+
562
+ #
563
+ # Method (un)definition
564
+ #
565
+
566
+ def def_method(def_t, name_t, args,
567
+ body, end_t)
568
+ n(:def, [ value(name_t).to_sym, args, body ],
569
+ definition_map(def_t, nil, name_t, end_t))
570
+ end
571
+
572
+ def def_singleton(def_t, definee, dot_t,
573
+ name_t, args,
574
+ body, end_t)
575
+ case definee.type
576
+ when :int, :str, :dstr, :sym, :dsym,
577
+ :regexp, :array, :hash
578
+
579
+ diagnostic :error, :singleton_literal, nil, definee.loc.expression
580
+
581
+ else
582
+ n(:defs, [ definee, value(name_t).to_sym, args, body ],
583
+ definition_map(def_t, dot_t, name_t, end_t))
584
+ end
585
+ end
586
+
587
+ def undef_method(undef_t, names)
588
+ n(:undef, [ *names ],
589
+ keyword_map(undef_t, nil, names, nil))
590
+ end
591
+
592
+ def alias(alias_t, to, from)
593
+ n(:alias, [ to, from ],
594
+ keyword_map(alias_t, nil, [to, from], nil))
595
+ end
596
+
597
+ #
598
+ # Formal arguments
599
+ #
600
+
601
+ def args(begin_t, args, end_t, check_args=true)
602
+ args = check_duplicate_args(args) if check_args
603
+ n(:args, args,
604
+ collection_map(begin_t, args, end_t))
605
+ end
606
+
607
+ def arg(name_t)
608
+ n(:arg, [ value(name_t).to_sym ],
609
+ variable_map(name_t))
610
+ end
611
+
612
+ def optarg(name_t, eql_t, value)
613
+ n(:optarg, [ value(name_t).to_sym, value ],
614
+ variable_map(name_t).
615
+ with_operator(loc(eql_t)).
616
+ with_expression(loc(name_t).join(value.loc.expression)))
617
+ end
618
+
619
+ def restarg(star_t, name_t=nil)
620
+ if name_t
621
+ n(:restarg, [ value(name_t).to_sym ],
622
+ arg_prefix_map(star_t, name_t))
623
+ else
624
+ n0(:restarg,
625
+ arg_prefix_map(star_t))
626
+ end
627
+ end
628
+
629
+ def kwarg(name_t)
630
+ n(:kwarg, [ value(name_t).to_sym ],
631
+ kwarg_map(name_t))
632
+ end
633
+
634
+ def kwoptarg(name_t, value)
635
+ n(:kwoptarg, [ value(name_t).to_sym, value ],
636
+ kwarg_map(name_t, value))
637
+ end
638
+
639
+ def kwrestarg(dstar_t, name_t=nil)
640
+ if name_t
641
+ n(:kwrestarg, [ value(name_t).to_sym ],
642
+ arg_prefix_map(dstar_t, name_t))
643
+ else
644
+ n0(:kwrestarg,
645
+ arg_prefix_map(dstar_t))
646
+ end
647
+ end
648
+
649
+ def shadowarg(name_t)
650
+ n(:shadowarg, [ value(name_t).to_sym ],
651
+ variable_map(name_t))
652
+ end
653
+
654
+ def blockarg(amper_t, name_t)
655
+ n(:blockarg, [ value(name_t).to_sym ],
656
+ arg_prefix_map(amper_t, name_t))
657
+ end
658
+
659
+ def procarg0(arg)
660
+ if self.class.emit_procarg0
661
+ arg.updated(:procarg0)
662
+ else
663
+ arg
664
+ end
665
+ end
666
+
667
+ # Ruby 1.8 block arguments
668
+
669
+ def arg_expr(expr)
670
+ if expr.type == :lvasgn
671
+ expr.updated(:arg)
672
+ else
673
+ n(:arg_expr, [ expr ],
674
+ expr.loc.dup)
675
+ end
676
+ end
677
+
678
+ def restarg_expr(star_t, expr=nil)
679
+ if expr.nil?
680
+ n0(:restarg, token_map(star_t))
681
+ elsif expr.type == :lvasgn
682
+ expr.updated(:restarg)
683
+ else
684
+ n(:restarg_expr, [ expr ],
685
+ expr.loc.dup)
686
+ end
687
+ end
688
+
689
+ def blockarg_expr(amper_t, expr)
690
+ if expr.type == :lvasgn
691
+ expr.updated(:blockarg)
692
+ else
693
+ n(:blockarg_expr, [ expr ],
694
+ expr.loc.dup)
695
+ end
696
+ end
697
+
698
+ # MacRuby Objective-C arguments
699
+
700
+ def objc_kwarg(kwname_t, assoc_t, name_t)
701
+ kwname_l = loc(kwname_t)
702
+ if assoc_t.nil? # a: b, not a => b
703
+ kwname_l = kwname_l.resize(kwname_l.size - 1)
704
+ operator_l = kwname_l.end.resize(1)
705
+ else
706
+ operator_l = loc(assoc_t)
707
+ end
708
+
709
+ n(:objc_kwarg, [ value(kwname_t).to_sym, value(name_t).to_sym ],
710
+ Source::Map::ObjcKwarg.new(kwname_l, operator_l, loc(name_t),
711
+ kwname_l.join(loc(name_t))))
712
+ end
713
+
714
+ def objc_restarg(star_t, name=nil)
715
+ if name.nil?
716
+ n0(:restarg, arg_prefix_map(star_t))
717
+ elsif name.type == :arg # regular restarg
718
+ name.updated(:restarg, nil,
719
+ { :location => name.loc.with_operator(loc(star_t)) })
720
+ else # restarg with objc_kwarg inside
721
+ n(:objc_restarg, [ name ],
722
+ unary_op_map(star_t, name))
723
+ end
724
+ end
725
+
726
+ #
727
+ # Method calls
728
+ #
729
+
730
+ def call_type_for_dot(dot_t)
731
+ if !dot_t.nil? && value(dot_t) == :anddot
732
+ :csend
733
+ else
734
+ # This case is a bit tricky. ruby23.y returns the token tDOT with
735
+ # the value :dot, and the token :tANDDOT with the value :anddot.
736
+ #
737
+ # But, ruby{18..22}.y (which unconditionally expect tDOT) just
738
+ # return "." there, since they are to be kept close to the corresponding
739
+ # Ruby MRI grammars.
740
+ #
741
+ # Thankfully, we don't have to care.
742
+ :send
743
+ end
744
+ end
745
+
746
+ def call_method(receiver, dot_t, selector_t,
747
+ lparen_t=nil, args=[], rparen_t=nil)
748
+ type = call_type_for_dot(dot_t)
749
+ if selector_t.nil?
750
+ n(type, [ receiver, :call, *args ],
751
+ send_map(receiver, dot_t, nil, lparen_t, args, rparen_t))
752
+ else
753
+ n(type, [ receiver, value(selector_t).to_sym, *args ],
754
+ send_map(receiver, dot_t, selector_t, lparen_t, args, rparen_t))
755
+ end
756
+ end
757
+
758
+ def call_lambda(lambda_t)
759
+ if self.class.emit_lambda
760
+ n0(:lambda, expr_map(loc(lambda_t)))
761
+ else
762
+ n(:send, [ nil, :lambda ],
763
+ send_map(nil, nil, lambda_t))
764
+ end
765
+ end
766
+
767
+ def block(method_call, begin_t, args, body, end_t)
768
+ _receiver, _selector, *call_args = *method_call
769
+
770
+ if method_call.type == :yield
771
+ diagnostic :error, :block_given_to_yield, nil, method_call.loc.keyword, [loc(begin_t)]
772
+ end
773
+
774
+ last_arg = call_args.last
775
+ if last_arg && last_arg.type == :block_pass
776
+ diagnostic :error, :block_and_blockarg, nil, last_arg.loc.expression, [loc(begin_t)]
777
+ end
778
+
779
+ if [:send, :csend, :super, :zsuper, :lambda].include?(method_call.type)
780
+ n(:block, [ method_call, args, body ],
781
+ block_map(method_call.loc.expression, begin_t, end_t))
782
+ else
783
+ # Code like "return foo 1 do end" is reduced in a weird sequence.
784
+ # Here, method_call is actually (return).
785
+ actual_send, = *method_call
786
+ block =
787
+ n(:block, [ actual_send, args, body ],
788
+ block_map(actual_send.loc.expression, begin_t, end_t))
789
+
790
+ n(method_call.type, [ block ],
791
+ method_call.loc.with_expression(join_exprs(method_call, block)))
792
+ end
793
+ end
794
+
795
+ def block_pass(amper_t, arg)
796
+ n(:block_pass, [ arg ],
797
+ unary_op_map(amper_t, arg))
798
+ end
799
+
800
+ def objc_varargs(pair, rest_of_varargs)
801
+ value, first_vararg = *pair
802
+ vararg_array = array(nil, [ first_vararg, *rest_of_varargs ], nil).
803
+ updated(:objc_varargs)
804
+ pair.updated(nil, [ value, vararg_array ],
805
+ { :location => pair.loc.with_expression(
806
+ pair.loc.expression.join(vararg_array.loc.expression)) })
807
+ end
808
+
809
+ def attr_asgn(receiver, dot_t, selector_t)
810
+ method_name = (value(selector_t) + '=').to_sym
811
+ type = call_type_for_dot(dot_t)
812
+
813
+ # Incomplete method call.
814
+ n(type, [ receiver, method_name ],
815
+ send_map(receiver, dot_t, selector_t))
816
+ end
817
+
818
+ def index(receiver, lbrack_t, indexes, rbrack_t)
819
+ n(:send, [ receiver, :[], *indexes ],
820
+ send_index_map(receiver, lbrack_t, rbrack_t))
821
+ end
822
+
823
+ def index_asgn(receiver, lbrack_t, indexes, rbrack_t)
824
+ # Incomplete method call.
825
+ n(:send, [ receiver, :[]=, *indexes ],
826
+ send_index_map(receiver, lbrack_t, rbrack_t))
827
+ end
828
+
829
+ def binary_op(receiver, operator_t, arg)
830
+ source_map = send_binary_op_map(receiver, operator_t, arg)
831
+
832
+ if @parser.version == 18
833
+ operator = value(operator_t)
834
+
835
+ if operator == '!='
836
+ method_call = n(:send, [ receiver, :==, arg ], source_map)
837
+ elsif operator == '!~'
838
+ method_call = n(:send, [ receiver, :=~, arg ], source_map)
839
+ end
840
+
841
+ if %w(!= !~).include?(operator)
842
+ return n(:not, [ method_call ],
843
+ expr_map(source_map.expression))
844
+ end
845
+ end
846
+
847
+ n(:send, [ receiver, value(operator_t).to_sym, arg ],
848
+ source_map)
849
+ end
850
+
851
+ def match_op(receiver, match_t, arg)
852
+ source_map = send_binary_op_map(receiver, match_t, arg)
853
+
854
+ if (regexp = static_regexp_node(receiver))
855
+ regexp.names.each do |name|
856
+ @parser.static_env.declare(name)
857
+ end
858
+
859
+ n(:match_with_lvasgn, [ receiver, arg ],
860
+ source_map)
861
+ else
862
+ n(:send, [ receiver, :=~, arg ],
863
+ source_map)
864
+ end
865
+ end
866
+
867
+ def unary_op(op_t, receiver)
868
+ case value(op_t)
869
+ when '+', '-'
870
+ method = value(op_t) + '@'
871
+ else
872
+ method = value(op_t)
873
+ end
874
+
875
+ n(:send, [ receiver, method.to_sym ],
876
+ send_unary_op_map(op_t, receiver))
877
+ end
878
+
879
+ def not_op(not_t, begin_t=nil, receiver=nil, end_t=nil)
880
+ if @parser.version == 18
881
+ n(:not, [ receiver ],
882
+ unary_op_map(not_t, receiver))
883
+ else
884
+ if receiver.nil?
885
+ nil_node = n0(:begin, collection_map(begin_t, nil, end_t))
886
+
887
+ n(:send, [
888
+ nil_node, :'!'
889
+ ], send_unary_op_map(not_t, nil_node))
890
+ else
891
+ n(:send, [ receiver, :'!' ],
892
+ send_map(nil, nil, not_t, begin_t, [receiver], end_t))
893
+ end
894
+ end
895
+ end
896
+
897
+ #
898
+ # Control flow
899
+ #
900
+
901
+ # Logical operations: and, or
902
+
903
+ def logical_op(type, lhs, op_t, rhs)
904
+ n(type, [ lhs, rhs ],
905
+ binary_op_map(lhs, op_t, rhs))
906
+ end
907
+
908
+ # Conditionals
909
+
910
+ def condition(cond_t, cond, then_t,
911
+ if_true, else_t, if_false, end_t)
912
+ n(:if, [ check_condition(cond), if_true, if_false ],
913
+ condition_map(cond_t, cond, then_t, if_true, else_t, if_false, end_t))
914
+ end
915
+
916
+ def condition_mod(if_true, if_false, cond_t, cond)
917
+ n(:if, [ check_condition(cond), if_true, if_false ],
918
+ keyword_mod_map(if_true || if_false, cond_t, cond))
919
+ end
920
+
921
+ def ternary(cond, question_t, if_true, colon_t, if_false)
922
+ n(:if, [ check_condition(cond), if_true, if_false ],
923
+ ternary_map(cond, question_t, if_true, colon_t, if_false))
924
+ end
925
+
926
+ # Case matching
927
+
928
+ def when(when_t, patterns, then_t, body)
929
+ children = patterns << body
930
+ n(:when, children,
931
+ keyword_map(when_t, then_t, children, nil))
932
+ end
933
+
934
+ def case(case_t, expr, when_bodies, else_t, else_body, end_t)
935
+ n(:case, [ expr, *(when_bodies << else_body)],
936
+ condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
937
+ end
938
+
939
+ # Loops
940
+
941
+ def loop(type, keyword_t, cond, do_t, body, end_t)
942
+ n(type, [ check_condition(cond), body ],
943
+ keyword_map(keyword_t, do_t, nil, end_t))
944
+ end
945
+
946
+ def loop_mod(type, body, keyword_t, cond)
947
+ if body.type == :kwbegin
948
+ type = :"#{type}_post"
949
+ end
950
+
951
+ n(type, [ check_condition(cond), body ],
952
+ keyword_mod_map(body, keyword_t, cond))
953
+ end
954
+
955
+ def for(for_t, iterator, in_t, iteratee,
956
+ do_t, body, end_t)
957
+ n(:for, [ iterator, iteratee, body ],
958
+ for_map(for_t, in_t, do_t, end_t))
959
+ end
960
+
961
+ # Keywords
962
+
963
+ def keyword_cmd(type, keyword_t, lparen_t=nil, args=[], rparen_t=nil)
964
+ if type == :yield && args.count > 0
965
+ last_arg = args.last
966
+ if last_arg.type == :block_pass
967
+ diagnostic :error, :block_given_to_yield, nil, loc(keyword_t), [last_arg.loc.expression]
968
+ end
969
+ end
970
+
971
+ n(type, args,
972
+ keyword_map(keyword_t, lparen_t, args, rparen_t))
973
+ end
974
+
975
+ # BEGIN, END
976
+
977
+ def preexe(preexe_t, lbrace_t, compstmt, rbrace_t)
978
+ n(:preexe, [ compstmt ],
979
+ keyword_map(preexe_t, lbrace_t, [], rbrace_t))
980
+ end
981
+
982
+ def postexe(postexe_t, lbrace_t, compstmt, rbrace_t)
983
+ n(:postexe, [ compstmt ],
984
+ keyword_map(postexe_t, lbrace_t, [], rbrace_t))
985
+ end
986
+
987
+ # Exception handling
988
+
989
+ def rescue_body(rescue_t,
990
+ exc_list, assoc_t, exc_var,
991
+ then_t, compound_stmt)
992
+ n(:resbody, [ exc_list, exc_var, compound_stmt ],
993
+ rescue_body_map(rescue_t, exc_list, assoc_t,
994
+ exc_var, then_t, compound_stmt))
995
+ end
996
+
997
+ def begin_body(compound_stmt, rescue_bodies=[],
998
+ else_t=nil, else_=nil,
999
+ ensure_t=nil, ensure_=nil)
1000
+ if rescue_bodies.any?
1001
+ if else_t
1002
+ compound_stmt =
1003
+ n(:rescue,
1004
+ [ compound_stmt, *(rescue_bodies + [ else_ ]) ],
1005
+ eh_keyword_map(compound_stmt, nil, rescue_bodies, else_t, else_))
1006
+ else
1007
+ compound_stmt =
1008
+ n(:rescue,
1009
+ [ compound_stmt, *(rescue_bodies + [ nil ]) ],
1010
+ eh_keyword_map(compound_stmt, nil, rescue_bodies, nil, nil))
1011
+ end
1012
+ elsif else_t
1013
+ statements = []
1014
+ if !compound_stmt.nil?
1015
+ if compound_stmt.type == :begin
1016
+ statements += compound_stmt.children
1017
+ else
1018
+ statements.push(compound_stmt)
1019
+ end
1020
+ end
1021
+ statements.push(
1022
+ n(:begin, [ else_ ],
1023
+ collection_map(else_t, [ else_ ], nil)))
1024
+ compound_stmt =
1025
+ n(:begin, statements,
1026
+ collection_map(nil, statements, nil))
1027
+ end
1028
+
1029
+ if ensure_t
1030
+ compound_stmt =
1031
+ n(:ensure,
1032
+ [ compound_stmt, ensure_ ],
1033
+ eh_keyword_map(compound_stmt, ensure_t, [ ensure_ ], nil, nil))
1034
+ end
1035
+
1036
+ compound_stmt
1037
+ end
1038
+
1039
+ #
1040
+ # Expression grouping
1041
+ #
1042
+
1043
+ def compstmt(statements)
1044
+ case
1045
+ when statements.none?
1046
+ nil
1047
+ when statements.one?
1048
+ statements.first
1049
+ else
1050
+ n(:begin, statements,
1051
+ collection_map(nil, statements, nil))
1052
+ end
1053
+ end
1054
+
1055
+ def begin(begin_t, body, end_t)
1056
+ if body.nil?
1057
+ # A nil expression: `()'.
1058
+ n0(:begin,
1059
+ collection_map(begin_t, nil, end_t))
1060
+ elsif body.type == :mlhs ||
1061
+ (body.type == :begin &&
1062
+ body.loc.begin.nil? && body.loc.end.nil?)
1063
+ # Synthesized (begin) from compstmt "a; b" or (mlhs)
1064
+ # from multi_lhs "(a, b) = *foo".
1065
+ n(body.type, body.children,
1066
+ collection_map(begin_t, body.children, end_t))
1067
+ else
1068
+ n(:begin, [ body ],
1069
+ collection_map(begin_t, [ body ], end_t))
1070
+ end
1071
+ end
1072
+
1073
+ def begin_keyword(begin_t, body, end_t)
1074
+ if body.nil?
1075
+ # A nil expression: `begin end'.
1076
+ n0(:kwbegin,
1077
+ collection_map(begin_t, nil, end_t))
1078
+ elsif (body.type == :begin &&
1079
+ body.loc.begin.nil? && body.loc.end.nil?)
1080
+ # Synthesized (begin) from compstmt "a; b".
1081
+ n(:kwbegin, body.children,
1082
+ collection_map(begin_t, body.children, end_t))
1083
+ else
1084
+ n(:kwbegin, [ body ],
1085
+ collection_map(begin_t, [ body ], end_t))
1086
+ end
1087
+ end
1088
+
1089
+ private
1090
+
1091
+ #
1092
+ # VERIFICATION
1093
+ #
1094
+
1095
+ def check_condition(cond)
1096
+ case cond.type
1097
+ when :masgn
1098
+ if @parser.version <= 23
1099
+ diagnostic :error, :masgn_as_condition, nil, cond.loc.expression
1100
+ end
1101
+
1102
+ when :begin
1103
+ if cond.children.count == 1
1104
+ cond.updated(nil, [
1105
+ check_condition(cond.children.last)
1106
+ ])
1107
+ else
1108
+ cond
1109
+ end
1110
+
1111
+ when :and, :or, :irange, :erange
1112
+ lhs, rhs = *cond
1113
+
1114
+ type = case cond.type
1115
+ when :irange then :iflipflop
1116
+ when :erange then :eflipflop
1117
+ end
1118
+
1119
+ if [:and, :or].include?(cond.type) &&
1120
+ @parser.version == 18
1121
+ cond
1122
+ else
1123
+ cond.updated(type, [
1124
+ check_condition(lhs),
1125
+ check_condition(rhs)
1126
+ ])
1127
+ end
1128
+
1129
+ when :regexp
1130
+ n(:match_current_line, [ cond ], expr_map(cond.loc.expression))
1131
+
1132
+ else
1133
+ cond
1134
+ end
1135
+ end
1136
+
1137
+ def check_duplicate_args(args, map={})
1138
+ args.each do |this_arg|
1139
+ case this_arg.type
1140
+ when :arg, :optarg, :restarg, :blockarg,
1141
+ :kwarg, :kwoptarg, :kwrestarg,
1142
+ :shadowarg, :procarg0
1143
+
1144
+ this_name, = *this_arg
1145
+
1146
+ that_arg = map[this_name]
1147
+ that_name, = *that_arg
1148
+
1149
+ if that_arg.nil?
1150
+ map[this_name] = this_arg
1151
+ elsif arg_name_collides?(this_name, that_name)
1152
+ diagnostic :error, :duplicate_argument, nil,
1153
+ this_arg.loc.name, [ that_arg.loc.name ]
1154
+ end
1155
+
1156
+ when :mlhs
1157
+ check_duplicate_args(this_arg.children, map)
1158
+ end
1159
+ end
1160
+ end
1161
+
1162
+ def arg_name_collides?(this_name, that_name)
1163
+ case @parser.version
1164
+ when 18
1165
+ this_name == that_name
1166
+ when 19
1167
+ # Ignore underscore.
1168
+ this_name != :_ &&
1169
+ this_name == that_name
1170
+ else
1171
+ # Ignore everything beginning with underscore.
1172
+ this_name && this_name[0] != '_' &&
1173
+ this_name == that_name
1174
+ end
1175
+ end
1176
+
1177
+ #
1178
+ # SOURCE MAPS
1179
+ #
1180
+
1181
+ def n(type, children, source_map)
1182
+ AST::Node.new(type, children, :location => source_map)
1183
+ end
1184
+
1185
+ def n0(type, source_map)
1186
+ n(type, [], source_map)
1187
+ end
1188
+
1189
+ def join_exprs(left_expr, right_expr)
1190
+ left_expr.loc.expression.
1191
+ join(right_expr.loc.expression)
1192
+ end
1193
+
1194
+ def token_map(token)
1195
+ Source::Map.new(loc(token))
1196
+ end
1197
+
1198
+ def delimited_string_map(string_t)
1199
+ str_range = loc(string_t)
1200
+
1201
+ begin_l = Source::Range.new(str_range.source_buffer,
1202
+ str_range.begin_pos,
1203
+ str_range.begin_pos + 1)
1204
+
1205
+ end_l = Source::Range.new(str_range.source_buffer,
1206
+ str_range.end_pos - 1,
1207
+ str_range.end_pos)
1208
+
1209
+ Source::Map::Collection.new(begin_l, end_l,
1210
+ loc(string_t))
1211
+ end
1212
+
1213
+ def prefix_string_map(symbol)
1214
+ str_range = loc(symbol)
1215
+
1216
+ begin_l = Source::Range.new(str_range.source_buffer,
1217
+ str_range.begin_pos,
1218
+ str_range.begin_pos + 1)
1219
+
1220
+ Source::Map::Collection.new(begin_l, nil,
1221
+ loc(symbol))
1222
+ end
1223
+
1224
+ def unquoted_map(token)
1225
+ Source::Map::Collection.new(nil, nil,
1226
+ loc(token))
1227
+ end
1228
+
1229
+ def pair_keyword_map(key_t, value_e)
1230
+ key_range = loc(key_t)
1231
+
1232
+ key_l = Source::Range.new(key_range.source_buffer,
1233
+ key_range.begin_pos,
1234
+ key_range.end_pos - 1)
1235
+
1236
+ colon_l = Source::Range.new(key_range.source_buffer,
1237
+ key_range.end_pos - 1,
1238
+ key_range.end_pos)
1239
+
1240
+ [ # key map
1241
+ Source::Map::Collection.new(nil, nil,
1242
+ key_l),
1243
+ # pair map
1244
+ Source::Map::Operator.new(colon_l,
1245
+ key_range.join(value_e.loc.expression)) ]
1246
+ end
1247
+
1248
+ def pair_quoted_map(begin_t, end_t, value_e)
1249
+ end_l = loc(end_t)
1250
+
1251
+ quote_l = Source::Range.new(end_l.source_buffer,
1252
+ end_l.end_pos - 2,
1253
+ end_l.end_pos - 1)
1254
+
1255
+ colon_l = Source::Range.new(end_l.source_buffer,
1256
+ end_l.end_pos - 1,
1257
+ end_l.end_pos)
1258
+
1259
+ [ # modified end token
1260
+ [ value(end_t), quote_l ],
1261
+ # pair map
1262
+ Source::Map::Operator.new(colon_l,
1263
+ loc(begin_t).join(value_e.loc.expression)) ]
1264
+ end
1265
+
1266
+ def expr_map(loc)
1267
+ Source::Map.new(loc)
1268
+ end
1269
+
1270
+ def collection_map(begin_t, parts, end_t)
1271
+ if begin_t.nil? || end_t.nil?
1272
+ if parts.any?
1273
+ expr_l = join_exprs(parts.first, parts.last)
1274
+ end
1275
+ else
1276
+ expr_l = loc(begin_t).join(loc(end_t))
1277
+ end
1278
+
1279
+ Source::Map::Collection.new(loc(begin_t), loc(end_t), expr_l)
1280
+ end
1281
+
1282
+ def string_map(begin_t, parts, end_t)
1283
+ if begin_t && value(begin_t).start_with?('<<')
1284
+ if parts.any?
1285
+ expr_l = join_exprs(parts.first, parts.last)
1286
+ else
1287
+ expr_l = loc(end_t).begin
1288
+ end
1289
+
1290
+ Source::Map::Heredoc.new(loc(begin_t), expr_l, loc(end_t))
1291
+ else
1292
+ collection_map(begin_t, parts, end_t)
1293
+ end
1294
+ end
1295
+
1296
+ def regexp_map(begin_t, end_t, options_e)
1297
+ Source::Map::Collection.new(loc(begin_t), loc(end_t),
1298
+ loc(begin_t).join(options_e.loc.expression))
1299
+ end
1300
+
1301
+ def constant_map(scope, colon2_t, name_t)
1302
+ if scope.nil?
1303
+ expr_l = loc(name_t)
1304
+ else
1305
+ expr_l = scope.loc.expression.join(loc(name_t))
1306
+ end
1307
+
1308
+ Source::Map::Constant.new(loc(colon2_t), loc(name_t), expr_l)
1309
+ end
1310
+
1311
+ def variable_map(name_t)
1312
+ Source::Map::Variable.new(loc(name_t))
1313
+ end
1314
+
1315
+ def binary_op_map(left_e, op_t, right_e)
1316
+ Source::Map::Operator.new(loc(op_t), join_exprs(left_e, right_e))
1317
+ end
1318
+
1319
+ def unary_op_map(op_t, arg_e=nil)
1320
+ if arg_e.nil?
1321
+ expr_l = loc(op_t)
1322
+ else
1323
+ expr_l = loc(op_t).join(arg_e.loc.expression)
1324
+ end
1325
+
1326
+ Source::Map::Operator.new(loc(op_t), expr_l)
1327
+ end
1328
+
1329
+ def arg_prefix_map(op_t, name_t=nil)
1330
+ if name_t.nil?
1331
+ expr_l = loc(op_t)
1332
+ else
1333
+ expr_l = loc(op_t).join(loc(name_t))
1334
+ end
1335
+
1336
+ Source::Map::Variable.new(loc(name_t), expr_l)
1337
+ end
1338
+
1339
+ def kwarg_map(name_t, value_e=nil)
1340
+ label_range = loc(name_t)
1341
+ name_range = Source::Range.new(label_range.source_buffer,
1342
+ label_range.begin_pos,
1343
+ label_range.end_pos - 1)
1344
+
1345
+ if value_e
1346
+ expr_l = loc(name_t).join(value_e.loc.expression)
1347
+ else
1348
+ expr_l = loc(name_t)
1349
+ end
1350
+
1351
+ Source::Map::Variable.new(name_range, expr_l)
1352
+ end
1353
+
1354
+ def module_definition_map(keyword_t, name_e, operator_t, end_t)
1355
+ if name_e
1356
+ name_l = name_e.loc.expression
1357
+ end
1358
+
1359
+ Source::Map::Definition.new(loc(keyword_t),
1360
+ loc(operator_t), name_l,
1361
+ loc(end_t))
1362
+ end
1363
+
1364
+ def definition_map(keyword_t, operator_t, name_t, end_t)
1365
+ Source::Map::Definition.new(loc(keyword_t),
1366
+ loc(operator_t), loc(name_t),
1367
+ loc(end_t))
1368
+ end
1369
+
1370
+ def send_map(receiver_e, dot_t, selector_t, begin_t=nil, args=[], end_t=nil)
1371
+ if receiver_e
1372
+ begin_l = receiver_e.loc.expression
1373
+ elsif selector_t
1374
+ begin_l = loc(selector_t)
1375
+ end
1376
+
1377
+ if end_t
1378
+ end_l = loc(end_t)
1379
+ elsif args.any?
1380
+ end_l = args.last.loc.expression
1381
+ elsif selector_t
1382
+ end_l = loc(selector_t)
1383
+ end
1384
+
1385
+ Source::Map::Send.new(loc(dot_t), loc(selector_t),
1386
+ loc(begin_t), loc(end_t),
1387
+ begin_l.join(end_l))
1388
+ end
1389
+
1390
+ def var_send_map(variable_e)
1391
+ Source::Map::Send.new(nil, variable_e.loc.expression,
1392
+ nil, nil,
1393
+ variable_e.loc.expression)
1394
+ end
1395
+
1396
+ def send_binary_op_map(lhs_e, selector_t, rhs_e)
1397
+ Source::Map::Send.new(nil, loc(selector_t),
1398
+ nil, nil,
1399
+ join_exprs(lhs_e, rhs_e))
1400
+ end
1401
+
1402
+ def send_unary_op_map(selector_t, arg_e)
1403
+ if arg_e.nil?
1404
+ expr_l = loc(selector_t)
1405
+ else
1406
+ expr_l = loc(selector_t).join(arg_e.loc.expression)
1407
+ end
1408
+
1409
+ Source::Map::Send.new(nil, loc(selector_t),
1410
+ nil, nil,
1411
+ expr_l)
1412
+ end
1413
+
1414
+ def send_index_map(receiver_e, lbrack_t, rbrack_t)
1415
+ Source::Map::Send.new(nil, loc(lbrack_t).join(loc(rbrack_t)),
1416
+ nil, nil,
1417
+ receiver_e.loc.expression.join(loc(rbrack_t)))
1418
+ end
1419
+
1420
+ def block_map(receiver_l, begin_t, end_t)
1421
+ Source::Map::Collection.new(loc(begin_t), loc(end_t),
1422
+ receiver_l.join(loc(end_t)))
1423
+ end
1424
+
1425
+ def keyword_map(keyword_t, begin_t, args, end_t)
1426
+ args ||= []
1427
+
1428
+ if end_t
1429
+ end_l = loc(end_t)
1430
+ elsif args.any? && !args.last.nil?
1431
+ end_l = args.last.loc.expression
1432
+ elsif args.any? && args.count > 1
1433
+ end_l = args[-2].loc.expression
1434
+ else
1435
+ end_l = loc(keyword_t)
1436
+ end
1437
+
1438
+ Source::Map::Keyword.new(loc(keyword_t), loc(begin_t), loc(end_t),
1439
+ loc(keyword_t).join(end_l))
1440
+ end
1441
+
1442
+ def keyword_mod_map(pre_e, keyword_t, post_e)
1443
+ Source::Map::Keyword.new(loc(keyword_t), nil, nil,
1444
+ join_exprs(pre_e, post_e))
1445
+ end
1446
+
1447
+ def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t)
1448
+ if end_t
1449
+ end_l = loc(end_t)
1450
+ elsif else_e && else_e.loc.expression
1451
+ end_l = else_e.loc.expression
1452
+ elsif loc(else_t)
1453
+ end_l = loc(else_t)
1454
+ elsif body_e && body_e.loc.expression
1455
+ end_l = body_e.loc.expression
1456
+ elsif loc(begin_t)
1457
+ end_l = loc(begin_t)
1458
+ else
1459
+ end_l = cond_e.loc.expression
1460
+ end
1461
+
1462
+ Source::Map::Condition.new(loc(keyword_t),
1463
+ loc(begin_t), loc(else_t), loc(end_t),
1464
+ loc(keyword_t).join(end_l))
1465
+ end
1466
+
1467
+ def ternary_map(begin_e, question_t, mid_e, colon_t, end_e)
1468
+ Source::Map::Ternary.new(loc(question_t), loc(colon_t),
1469
+ join_exprs(begin_e, end_e))
1470
+ end
1471
+
1472
+ def for_map(keyword_t, in_t, begin_t, end_t)
1473
+ Source::Map::For.new(loc(keyword_t), loc(in_t),
1474
+ loc(begin_t), loc(end_t),
1475
+ loc(keyword_t).join(loc(end_t)))
1476
+ end
1477
+
1478
+ def rescue_body_map(keyword_t, exc_list_e, assoc_t,
1479
+ exc_var_e, then_t,
1480
+ compstmt_e)
1481
+ end_l = compstmt_e.loc.expression if compstmt_e
1482
+ end_l = loc(then_t) if end_l.nil? && then_t
1483
+ end_l = exc_var_e.loc.expression if end_l.nil? && exc_var_e
1484
+ end_l = exc_list_e.loc.expression if end_l.nil? && exc_list_e
1485
+ end_l = loc(keyword_t) if end_l.nil?
1486
+
1487
+ Source::Map::RescueBody.new(loc(keyword_t), loc(assoc_t), loc(then_t),
1488
+ loc(keyword_t).join(end_l))
1489
+ end
1490
+
1491
+ def eh_keyword_map(compstmt_e, keyword_t, body_es,
1492
+ else_t, else_e)
1493
+ if compstmt_e.nil?
1494
+ if keyword_t.nil?
1495
+ begin_l = body_es.first.loc.expression
1496
+ else
1497
+ begin_l = loc(keyword_t)
1498
+ end
1499
+ else
1500
+ begin_l = compstmt_e.loc.expression
1501
+ end
1502
+
1503
+ if else_t
1504
+ if else_e.nil?
1505
+ end_l = loc(else_t)
1506
+ else
1507
+ end_l = else_e.loc.expression
1508
+ end
1509
+ elsif !body_es.last.nil?
1510
+ end_l = body_es.last.loc.expression
1511
+ else
1512
+ end_l = loc(keyword_t)
1513
+ end
1514
+
1515
+ Source::Map::Condition.new(loc(keyword_t), nil, loc(else_t), nil,
1516
+ begin_l.join(end_l))
1517
+ end
1518
+
1519
+ #
1520
+ # HELPERS
1521
+ #
1522
+
1523
+ # Extract a static string from e.g. a regular expression,
1524
+ # honoring the fact that MRI expands interpolations like #{""}
1525
+ # at parse time.
1526
+ def static_string(nodes)
1527
+ nodes.map do |node|
1528
+ case node.type
1529
+ when :str
1530
+ node.children[0]
1531
+ when :begin
1532
+ if (string = static_string(node.children))
1533
+ string
1534
+ else
1535
+ return nil
1536
+ end
1537
+ else
1538
+ return nil
1539
+ end
1540
+ end.join
1541
+ end
1542
+
1543
+ def static_regexp(parts, options)
1544
+ source = static_string(parts)
1545
+ return nil if source.nil?
1546
+
1547
+ if defined?(Encoding)
1548
+ source = case
1549
+ when options.children.include?(:u)
1550
+ source.encode(Encoding::UTF_8)
1551
+ when options.children.include?(:e)
1552
+ source.encode(Encoding::EUC_JP)
1553
+ when options.children.include?(:s)
1554
+ source.encode(Encoding::WINDOWS_31J)
1555
+ when options.children.include?(:n)
1556
+ source.encode(Encoding::BINARY)
1557
+ else
1558
+ source
1559
+ end
1560
+ end
1561
+
1562
+ Regexp.new(source, (Regexp::EXTENDED if options.children.include?(:x)))
1563
+ end
1564
+
1565
+ def static_regexp_node(node)
1566
+ if node.type == :regexp
1567
+ parts, options = node.children[0..-2], node.children[-1]
1568
+ static_regexp(parts, options)
1569
+ end
1570
+ end
1571
+
1572
+ def collapse_string_parts?(parts)
1573
+ parts.one? &&
1574
+ [:str, :dstr].include?(parts.first.type)
1575
+ end
1576
+
1577
+ def value(token)
1578
+ token[0]
1579
+ end
1580
+
1581
+ if defined?(Encoding)
1582
+ def string_value(token)
1583
+ unless token[0].valid_encoding?
1584
+ diagnostic(:error, :invalid_encoding, nil, token[1])
1585
+ end
1586
+
1587
+ token[0]
1588
+ end
1589
+ else
1590
+ alias string_value value
1591
+ end
1592
+
1593
+ def loc(token)
1594
+ # Pass through `nil`s and return nil for tNL.
1595
+ token[1] if token && token[0]
1596
+ end
1597
+
1598
+ def diagnostic(type, reason, arguments, location, highlights=[])
1599
+ @parser.diagnostics.process(
1600
+ Diagnostic.new(type, reason, arguments, location, highlights))
1601
+
1602
+ if type == :error
1603
+ @parser.send :yyerror
1604
+ end
1605
+ end
1606
+ end
1607
+
1608
+ end