files.com 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2336) hide show
  1. checksums.yaml +7 -0
  2. data/CONTRIBUTORS +4 -0
  3. data/Gemfile +12 -0
  4. data/Gemfile.lock +82 -0
  5. data/LICENSE +21 -0
  6. data/README.md +119 -0
  7. data/Rakefile +12 -0
  8. data/_VERSION +1 -0
  9. data/bin/files +8 -0
  10. data/bin/files-console +16 -0
  11. data/docs/account_line_item.md +41 -0
  12. data/docs/action.md +37 -0
  13. data/docs/api_key.md +190 -0
  14. data/docs/as2_key.md +133 -0
  15. data/docs/auto.md +11 -0
  16. data/docs/automation.md +182 -0
  17. data/docs/behavior.md +184 -0
  18. data/docs/bundle.md +218 -0
  19. data/docs/dns_record.md +35 -0
  20. data/docs/errors.md +17 -0
  21. data/docs/file.md +206 -0
  22. data/docs/file_action.md +122 -0
  23. data/docs/file_comment.md +116 -0
  24. data/docs/file_comment_reaction.md +62 -0
  25. data/docs/file_part_upload.md +37 -0
  26. data/docs/file_utils.md +4 -0
  27. data/docs/folder.md +88 -0
  28. data/docs/group.md +145 -0
  29. data/docs/group_user.md +114 -0
  30. data/docs/history.md +155 -0
  31. data/docs/history_export.md +174 -0
  32. data/docs/image.md +13 -0
  33. data/docs/invoice.md +72 -0
  34. data/docs/invoice_line_item.md +27 -0
  35. data/docs/ip_address.md +37 -0
  36. data/docs/lock.md +98 -0
  37. data/docs/message.md +147 -0
  38. data/docs/message_comment.md +132 -0
  39. data/docs/message_comment_reaction.md +94 -0
  40. data/docs/message_reaction.md +94 -0
  41. data/docs/notification.md +169 -0
  42. data/docs/payment.md +72 -0
  43. data/docs/payment_line_item.md +19 -0
  44. data/docs/permission.md +87 -0
  45. data/docs/preview.md +19 -0
  46. data/docs/project.md +121 -0
  47. data/docs/public_key.md +133 -0
  48. data/docs/remote_server.md +336 -0
  49. data/docs/request.md +119 -0
  50. data/docs/session.md +78 -0
  51. data/docs/site.md +436 -0
  52. data/docs/sso_strategy.md +114 -0
  53. data/docs/status.md +21 -0
  54. data/docs/style.md +93 -0
  55. data/docs/usage_daily_snapshot.md +37 -0
  56. data/docs/usage_snapshot.md +53 -0
  57. data/docs/user.md +514 -0
  58. data/docs/user_cipher_use.md +41 -0
  59. data/files.com.gemspec +22 -0
  60. data/lib/files.com.rb +179 -0
  61. data/lib/files.com/api.rb +38 -0
  62. data/lib/files.com/api_client.rb +340 -0
  63. data/lib/files.com/errors.rb +41 -0
  64. data/lib/files.com/list.rb +95 -0
  65. data/lib/files.com/models/account_line_item.rb +82 -0
  66. data/lib/files.com/models/action.rb +77 -0
  67. data/lib/files.com/models/api_key.rb +244 -0
  68. data/lib/files.com/models/as2_key.rb +179 -0
  69. data/lib/files.com/models/auto.rb +17 -0
  70. data/lib/files.com/models/automation.rb +289 -0
  71. data/lib/files.com/models/behavior.rb +227 -0
  72. data/lib/files.com/models/bundle.rb +302 -0
  73. data/lib/files.com/models/dir.rb +3 -0
  74. data/lib/files.com/models/dns_record.rb +51 -0
  75. data/lib/files.com/models/errors.rb +22 -0
  76. data/lib/files.com/models/file.rb +968 -0
  77. data/lib/files.com/models/file_action.rb +124 -0
  78. data/lib/files.com/models/file_comment.rb +146 -0
  79. data/lib/files.com/models/file_comment_reaction.rb +100 -0
  80. data/lib/files.com/models/file_part_upload.rb +82 -0
  81. data/lib/files.com/models/file_utils.rb +118 -0
  82. data/lib/files.com/models/folder.rb +356 -0
  83. data/lib/files.com/models/group.rb +193 -0
  84. data/lib/files.com/models/group_user.rb +157 -0
  85. data/lib/files.com/models/history.rb +201 -0
  86. data/lib/files.com/models/history_export.rb +353 -0
  87. data/lib/files.com/models/image.rb +22 -0
  88. data/lib/files.com/models/invoice.rb +117 -0
  89. data/lib/files.com/models/invoice_line_item.rb +57 -0
  90. data/lib/files.com/models/ip_address.rb +51 -0
  91. data/lib/files.com/models/lock.rb +173 -0
  92. data/lib/files.com/models/message.rb +201 -0
  93. data/lib/files.com/models/message_comment.rb +165 -0
  94. data/lib/files.com/models/message_comment_reaction.rb +128 -0
  95. data/lib/files.com/models/message_reaction.rb +128 -0
  96. data/lib/files.com/models/notification.rb +248 -0
  97. data/lib/files.com/models/payment.rb +117 -0
  98. data/lib/files.com/models/payment_line_item.rb +37 -0
  99. data/lib/files.com/models/permission.rb +157 -0
  100. data/lib/files.com/models/preview.rb +37 -0
  101. data/lib/files.com/models/project.rb +140 -0
  102. data/lib/files.com/models/public_key.rb +179 -0
  103. data/lib/files.com/models/remote_server.rb +635 -0
  104. data/lib/files.com/models/request.rb +192 -0
  105. data/lib/files.com/models/session.rb +247 -0
  106. data/lib/files.com/models/site.rb +715 -0
  107. data/lib/files.com/models/sso_strategy.rb +227 -0
  108. data/lib/files.com/models/status.rb +37 -0
  109. data/lib/files.com/models/style.rb +131 -0
  110. data/lib/files.com/models/usage_daily_snapshot.rb +51 -0
  111. data/lib/files.com/models/usage_snapshot.rb +96 -0
  112. data/lib/files.com/models/user.rb +834 -0
  113. data/lib/files.com/models/user_cipher_use.rb +63 -0
  114. data/lib/files.com/response.rb +25 -0
  115. data/lib/files.com/sizable_io.rb +32 -0
  116. data/lib/files.com/system_profiler.rb +56 -0
  117. data/lib/files.com/util.rb +106 -0
  118. data/lib/files.com/version.rb +5 -0
  119. data/spec/list_spec.rb +192 -0
  120. data/spec/models/file_spec.rb +68 -0
  121. data/spec/models/folder_spec.rb +40 -0
  122. data/spec/spec_helper.rb +36 -0
  123. data/test.sh +8 -0
  124. data/test/test.rb +75 -0
  125. data/vendor/bundle/ruby/2.5.0/bin/byebug +27 -0
  126. data/vendor/bundle/ruby/2.5.0/bin/coderay +27 -0
  127. data/vendor/bundle/ruby/2.5.0/bin/files +27 -0
  128. data/vendor/bundle/ruby/2.5.0/bin/files-console +27 -0
  129. data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
  130. data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
  131. data/vendor/bundle/ruby/2.5.0/bin/pry +27 -0
  132. data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
  133. data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
  134. data/vendor/bundle/ruby/2.5.0/bin/rubocop +27 -0
  135. data/vendor/bundle/ruby/2.5.0/bin/ruby-parse +27 -0
  136. data/vendor/bundle/ruby/2.5.0/bin/ruby-rewrite +27 -0
  137. data/vendor/bundle/ruby/2.5.0/cache/addressable-2.7.0.gem +0 -0
  138. data/vendor/bundle/ruby/2.5.0/cache/ast-2.4.1.gem +0 -0
  139. data/vendor/bundle/ruby/2.5.0/cache/byebug-11.1.3.gem +0 -0
  140. data/vendor/bundle/ruby/2.5.0/cache/coderay-1.1.2.gem +0 -0
  141. data/vendor/bundle/ruby/2.5.0/cache/concurrent-ruby-1.1.6.gem +0 -0
  142. data/vendor/bundle/ruby/2.5.0/cache/connection_pool-2.2.3.gem +0 -0
  143. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
  144. data/vendor/bundle/ruby/2.5.0/cache/faraday-1.0.1.gem +0 -0
  145. data/vendor/bundle/ruby/2.5.0/cache/memory_profiler-0.9.14.gem +0 -0
  146. data/vendor/bundle/ruby/2.5.0/cache/method_source-1.0.0.gem +0 -0
  147. data/vendor/bundle/ruby/2.5.0/cache/multipart-post-2.1.1.gem +0 -0
  148. data/vendor/bundle/ruby/2.5.0/cache/net-http-persistent-4.0.0.gem +0 -0
  149. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.19.2.gem +0 -0
  150. data/vendor/bundle/ruby/2.5.0/cache/parser-2.7.1.4.gem +0 -0
  151. data/vendor/bundle/ruby/2.5.0/cache/pry-0.13.1.gem +0 -0
  152. data/vendor/bundle/ruby/2.5.0/cache/pry-byebug-3.9.0.gem +0 -0
  153. data/vendor/bundle/ruby/2.5.0/cache/public_suffix-4.0.5.gem +0 -0
  154. data/vendor/bundle/ruby/2.5.0/cache/rainbow-3.0.0.gem +0 -0
  155. data/vendor/bundle/ruby/2.5.0/cache/rake-12.0.0.gem +0 -0
  156. data/vendor/bundle/ruby/2.5.0/cache/regexp_parser-1.7.1.gem +0 -0
  157. data/vendor/bundle/ruby/2.5.0/cache/rexml-3.2.4.gem +0 -0
  158. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
  159. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.9.1.gem +0 -0
  160. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.9.0.gem +0 -0
  161. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
  162. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
  163. data/vendor/bundle/ruby/2.5.0/cache/rubocop-0.85.1.gem +0 -0
  164. data/vendor/bundle/ruby/2.5.0/cache/rubocop-ast-0.0.3.gem +0 -0
  165. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.10.1.gem +0 -0
  166. data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.7.0.gem +0 -0
  167. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/byebug/byebug.so +0 -0
  168. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/gem.build_complete +0 -0
  169. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/gem_make.out +19 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/CHANGELOG.md +235 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/Gemfile +32 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/LICENSE.txt +202 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/README.md +121 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/Rakefile +34 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/data/unicode.data +0 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable.rb +4 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna.rb +27 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna/native.rb +61 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna/pure.rb +676 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/template.rb +1045 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/uri.rb +2529 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/version.rb +32 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/idna_spec.rb +300 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/net_http_compat_spec.rb +30 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/rack_mount_compat_spec.rb +106 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/security_spec.rb +59 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/template_spec.rb +1451 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/uri_spec.rb +6603 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/spec_helper.rb +24 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/clobber.rake +4 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/gem.rake +93 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/git.rake +47 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/metrics.rake +24 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/rspec.rake +23 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/yard.rake +29 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/LICENSE.MIT +20 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/README.YARD.md +12 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast.rb +17 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/node.rb +260 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/processor.rb +12 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/processor/mixin.rb +288 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/sexp.rb +30 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/LICENSE +23 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/README.md +199 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/exe/byebug +6 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/.sitearchdir.-.byebug.time +0 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +263 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.o +0 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.o +0 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.so +0 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.o +0 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.o +0 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.o +0 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/MIT-LICENSE +22 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/README_INDEX.rdoc +123 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/bin/coderay +215 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay.rb +284 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/duo.rb +81 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders.rb +18 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/_map.rb +17 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/comment_filter.rb +25 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/count.rb +39 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/debug.rb +49 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/debug_lint.rb +63 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/div.rb +23 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/encoder.rb +190 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/filter.rb +58 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html.rb +333 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/css.rb +65 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/numbering.rb +108 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/output.rb +166 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/json.rb +83 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/lines_of_code.rb +45 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/lint.rb +59 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/null.rb +18 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/page.rb +24 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/span.rb +23 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/statistic.rb +95 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/terminal.rb +195 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/text.rb +46 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/token_kind_filter.rb +111 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/xml.rb +72 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/yaml.rb +50 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/for_redcloth.rb +95 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/file_type.rb +151 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin.rb +55 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin_host.rb +221 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/word_list.rb +72 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners.rb +27 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/_map.rb +24 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/c.rb +189 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/clojure.rb +217 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/cpp.rb +217 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/css.rb +196 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/debug.rb +75 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/delphi.rb +144 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/diff.rb +221 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/erb.rb +81 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/go.rb +208 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/groovy.rb +268 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/haml.rb +168 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/html.rb +275 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java.rb +174 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java/builtin_types.rb +421 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java_script.rb +237 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/json.rb +98 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/lua.rb +280 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/php.rb +527 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/python.rb +287 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/raydebug.rb +75 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby.rb +477 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/patterns.rb +178 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/string_state.rb +79 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/sass.rb +232 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/scanner.rb +337 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/sql.rb +169 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/taskpaper.rb +36 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/text.rb +26 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/xml.rb +17 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/yaml.rb +140 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles.rb +15 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/_map.rb +7 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/alpha.rb +153 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/style.rb +18 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/token_kinds.rb +85 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/tokens.rb +161 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/tokens_proxy.rb +55 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/version.rb +3 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/CHANGELOG.md +502 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/Gemfile +42 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/LICENSE.md +23 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/README.md +384 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/Rakefile +332 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent-ruby.rb +1 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent.rb +134 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/agent.rb +587 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/array.rb +66 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/async.rb +459 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atom.rb +222 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +66 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +126 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +143 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +164 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +204 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +42 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +37 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +115 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +254 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +171 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +145 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +104 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +56 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +158 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/logging.rb +32 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/configuration.rb +188 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/constants.rb +8 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/delay.rb +199 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/errors.rb +69 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/exchanger.rb +352 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +128 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +203 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +124 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +76 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +367 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +100 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +87 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executors.rb +20 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/future.rb +141 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/hash.rb +59 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/ivar.rb +207 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/map.rb +337 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/options.rb +42 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb +579 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promises.rb +2167 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/re_include.rb +58 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/scheduled_task.rb +318 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/set.rb +66 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization.rb +30 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +98 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +24 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/condition.rb +60 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +13 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +45 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lock.rb +36 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +74 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +44 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +76 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/object.rb +183 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +65 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +49 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +47 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +36 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +50 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
  541. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +63 -0
  544. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/timer_task.rb +334 -0
  549. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tuple.rb +86 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tvar.rb +258 -0
  551. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/engine.rb +56 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +58 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +79 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_integer.rb +53 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +163 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/version.rb +3 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/.gitignore +4 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/.travis.yml +12 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Changes.md +130 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Gemfile +5 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/LICENSE +20 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/README.md +121 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Rakefile +7 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/connection_pool.gemspec +20 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool.rb +110 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/timed_stack.rb +170 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/version.rb +3 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/wrapper.rb +43 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/helper.rb +8 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/test_connection_pool.rb +553 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/test_connection_pool_timed_stack.rb +140 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/.rspec +1 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +83 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +220 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +39 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +84 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +57 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/CHANGELOG.md +276 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/LICENSE.md +20 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/README.md +55 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/Rakefile +7 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/examples/client_spec.rb +65 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/examples/client_test.rb +79 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday.rb +166 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter.rb +115 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb +286 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
  619. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb +150 -0
  620. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
  621. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb +124 -0
  622. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb +152 -0
  623. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb +219 -0
  624. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb +91 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb +132 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb +75 -0
  627. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/test.rb +246 -0
  628. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb +15 -0
  629. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb +30 -0
  630. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/autoload.rb +95 -0
  631. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/connection.rb +614 -0
  632. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb +37 -0
  633. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb +98 -0
  634. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb +171 -0
  635. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/error.rb +132 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/file_part.rb +128 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb +105 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware.rb +21 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb +129 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options.rb +222 -0
  641. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb +22 -0
  642. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/env.rb +181 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb +28 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/request_options.rb +22 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb +59 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/param_part.rb +53 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/parameters.rb +5 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb +248 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request.rb +146 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/authorization.rb +55 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb +20 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb +54 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb +99 -0
  654. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb +239 -0
  655. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb +20 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb +56 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response.rb +107 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/logger.rb +33 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb +45 -0
  660. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils.rb +117 -0
  661. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/headers.rb +139 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb +61 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb +14 -0
  664. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb +47 -0
  665. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb +16 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb +49 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb +73 -0
  668. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb +57 -0
  669. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb +64 -0
  670. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb +18 -0
  671. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb +8 -0
  672. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb +7 -0
  673. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb +28 -0
  674. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb +55 -0
  675. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb +80 -0
  676. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/connection_spec.rb +691 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/error_spec.rb +45 -0
  678. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb +26 -0
  679. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb +70 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb +297 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb +37 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb +19 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb +34 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb +134 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb +196 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb +88 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb +76 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb +274 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb +242 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb +83 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request_spec.rb +109 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb +220 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb +68 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb +106 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response_spec.rb +75 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb +82 -0
  697. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils_spec.rb +56 -0
  698. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday_spec.rb +37 -0
  699. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/spec_helper.rb +132 -0
  700. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/disabling_stub.rb +14 -0
  701. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb +15 -0
  702. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/helper_methods.rb +133 -0
  703. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb +104 -0
  704. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb +18 -0
  705. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb +234 -0
  706. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb +35 -0
  707. data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb +68 -0
  708. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/CHANGELOG.md +61 -0
  709. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/LICENSE.txt +22 -0
  710. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/README.md +399 -0
  711. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler.rb +30 -0
  712. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/helpers.rb +43 -0
  713. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/monochrome.rb +20 -0
  714. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/polychrome.rb +95 -0
  715. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/reporter.rb +131 -0
  716. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/results.rb +232 -0
  717. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/stat.rb +20 -0
  718. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/stat_hash.rb +7 -0
  719. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/top_n.rb +31 -0
  720. data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/version.rb +5 -0
  721. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.circleci/config.yml +139 -0
  722. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.gemtest +0 -0
  723. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.yardopts +1 -0
  724. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/CHANGELOG.md +10 -0
  725. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Gemfile +2 -0
  726. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/LICENSE +22 -0
  727. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/README.markdown +93 -0
  728. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Rakefile +81 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source.rb +141 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/code_helpers.rb +154 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/source_location.rb +138 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/version.rb +3 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/method_source.gemspec +33 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source/code_helpers_spec.rb +43 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source_spec.rb +143 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/spec_helper.rb +101 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.gitignore +6 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.rspec +5 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.yardopts +6 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Gemfile +6 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/History.txt +64 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/LICENSE +21 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/README.md +127 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Rakefile +6 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.autotest +9 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.gemtest +0 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.travis.yml +23 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Gemfile +15 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/History.txt +430 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Manifest.txt +14 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/README.rdoc +82 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Rakefile +31 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent.rb +1088 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/connection.rb +40 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/pool.rb +53 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/test/test_net_http_persistent.rb +1441 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/test/test_net_http_persistent_timed_stack_multi.rb +151 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/MIT-LICENSE.txt +20 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel.rb +524 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel/processor_count.rb +42 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel/version.rb +3 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.gitignore +34 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.travis.yml +40 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.yardopts +21 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/CHANGELOG.md +1116 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/CONTRIBUTING.md +17 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/Gemfile +10 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/LICENSE.txt +25 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/README.md +309 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/Rakefile +167 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/bin/ruby-parse +7 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/bin/ruby-rewrite +7 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/ci/run_rubocop_specs +14 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/AST_FORMAT.md +2283 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/CUSTOMIZATION.md +37 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/INTERNALS.md +21 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/css/.gitkeep +0 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/css/common.css +68 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/gauntlet_parser.rb +123 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser.rb +85 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/all.rb +13 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ast/node.rb +40 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ast/processor.rb +292 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/base.rb +289 -0
  799. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/builders/default.rb +2075 -0
  800. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/clobbering_error.rb +13 -0
  801. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/color.rb +32 -0
  802. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/context.rb +64 -0
  803. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/current.rb +101 -0
  804. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/current_arg_stack.rb +43 -0
  805. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/deprecation.rb +13 -0
  806. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/diagnostic.rb +163 -0
  807. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/diagnostic/engine.rb +104 -0
  808. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer.rl +2550 -0
  809. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/dedenter.rb +82 -0
  810. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/explanation.rb +55 -0
  811. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/literal.rb +269 -0
  812. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/stack_state.rb +49 -0
  813. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/macruby.y +2208 -0
  814. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/max_numparam_stack.rb +48 -0
  815. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/messages.rb +111 -0
  816. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/meta.rb +38 -0
  817. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/rewriter.rb +105 -0
  818. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby18.y +1936 -0
  819. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby19.y +2185 -0
  820. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby20.y +2363 -0
  821. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby21.y +2364 -0
  822. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby22.y +2371 -0
  823. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby23.y +2377 -0
  824. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby24.y +2415 -0
  825. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby25.y +2412 -0
  826. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby26.y +2420 -0
  827. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby27.y +2950 -0
  828. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby28.y +3043 -0
  829. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/rubymotion.y +2192 -0
  830. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner.rb +277 -0
  831. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner/ruby_parse.rb +157 -0
  832. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner/ruby_rewrite.rb +101 -0
  833. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/buffer.rb +332 -0
  834. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/comment.rb +121 -0
  835. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/comment/associator.rb +220 -0
  836. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map.rb +186 -0
  837. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/collection.rb +18 -0
  838. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/condition.rb +21 -0
  839. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/constant.rb +32 -0
  840. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/definition.rb +23 -0
  841. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb +23 -0
  842. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/for.rb +19 -0
  843. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/heredoc.rb +19 -0
  844. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/index.rb +33 -0
  845. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/keyword.rb +20 -0
  846. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/objc_kwarg.rb +19 -0
  847. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/operator.rb +17 -0
  848. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/rescue_body.rb +21 -0
  849. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/send.rb +36 -0
  850. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/ternary.rb +18 -0
  851. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/variable.rb +31 -0
  852. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/range.rb +326 -0
  853. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/rewriter.rb +513 -0
  854. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/rewriter/action.rb +44 -0
  855. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/tree_rewriter.rb +404 -0
  856. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/tree_rewriter/action.rb +242 -0
  857. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/static_environment.rb +56 -0
  858. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/syntax_error.rb +21 -0
  859. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/tree_rewriter.rb +133 -0
  860. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/variables_stack.rb +32 -0
  861. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/version.rb +5 -0
  862. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/parser.gemspec +59 -0
  863. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/fixtures/input.rb +5 -0
  864. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/fixtures/output.rb +5 -0
  865. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/rewriter.rb +20 -0
  866. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/helper.rb +103 -0
  867. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/parse_helper.rb +323 -0
  868. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/racc_coverage_helper.rb +133 -0
  869. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_ast_processor.rb +32 -0
  870. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_base.rb +31 -0
  871. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_current.rb +31 -0
  872. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_diagnostic.rb +95 -0
  873. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_diagnostic_engine.rb +59 -0
  874. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_encoding.rb +99 -0
  875. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_lexer.rb +3617 -0
  876. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_lexer_stack_state.rb +78 -0
  877. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_meta.rb +12 -0
  878. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_parse_helper.rb +80 -0
  879. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_parser.rb +9780 -0
  880. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_runner_parse.rb +56 -0
  881. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_runner_rewrite.rb +47 -0
  882. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_buffer.rb +165 -0
  883. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_comment.rb +36 -0
  884. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_comment_associator.rb +399 -0
  885. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_map.rb +14 -0
  886. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_range.rb +192 -0
  887. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_rewriter.rb +541 -0
  888. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_rewriter_action.rb +46 -0
  889. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_tree_rewriter.rb +361 -0
  890. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_static_environment.rb +45 -0
  891. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/fixtures/input.rb +3 -0
  892. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/fixtures/output.rb +3 -0
  893. data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
  894. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/CHANGELOG.md +1076 -0
  895. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/LICENSE +25 -0
  896. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/README.md +452 -0
  897. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/bin/pry +13 -0
  898. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry.rb +146 -0
  899. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/basic_object.rb +10 -0
  900. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/block_command.rb +22 -0
  901. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/class_command.rb +194 -0
  902. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/cli.rb +227 -0
  903. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code.rb +365 -0
  904. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_file.rb +114 -0
  905. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_range.rb +73 -0
  906. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/loc.rb +105 -0
  907. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code_object.rb +197 -0
  908. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/color_printer.rb +66 -0
  909. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command.rb +520 -0
  910. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_set.rb +418 -0
  911. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_state.rb +31 -0
  912. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/amend_line.rb +103 -0
  913. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang.rb +24 -0
  914. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb +21 -0
  915. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat.rb +70 -0
  916. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb +32 -0
  917. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb +90 -0
  918. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb +77 -0
  919. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
  920. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cd.rb +46 -0
  921. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb +34 -0
  922. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb +51 -0
  923. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb +20 -0
  924. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/code_collector.rb +182 -0
  925. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb +31 -0
  926. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb +101 -0
  927. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit.rb +223 -0
  928. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb +29 -0
  929. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
  930. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit.rb +47 -0
  931. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_all.rb +33 -0
  932. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_program.rb +27 -0
  933. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/find_method.rb +199 -0
  934. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb +23 -0
  935. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/help.rb +171 -0
  936. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/hist.rb +182 -0
  937. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/import_set.rb +27 -0
  938. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/jump_to.rb +33 -0
  939. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb +42 -0
  940. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls.rb +135 -0
  941. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb +75 -0
  942. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb +55 -0
  943. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb +50 -0
  944. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb +23 -0
  945. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb +40 -0
  946. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb +24 -0
  947. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb +55 -0
  948. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb +37 -0
  949. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb +47 -0
  950. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb +65 -0
  951. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb +55 -0
  952. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb +50 -0
  953. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb +34 -0
  954. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/nesting.rb +29 -0
  955. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/play.rb +113 -0
  956. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb +30 -0
  957. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_version.rb +21 -0
  958. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/raise_up.rb +38 -0
  959. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reload_code.rb +74 -0
  960. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reset.rb +22 -0
  961. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ri.rb +75 -0
  962. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/save_file.rb +63 -0
  963. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_command.rb +75 -0
  964. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb +29 -0
  965. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_doc.rb +94 -0
  966. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_info.rb +234 -0
  967. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_input.rb +22 -0
  968. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_source.rb +117 -0
  969. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/stat.rb +44 -0
  970. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/switch_to.rb +29 -0
  971. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb +28 -0
  972. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb +110 -0
  973. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb +43 -0
  974. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/whereami.rb +205 -0
  975. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/wtf.rb +95 -0
  976. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config.rb +321 -0
  977. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/attributable.rb +22 -0
  978. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/lazy_value.rb +29 -0
  979. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/memoized_value.rb +34 -0
  980. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/value.rb +24 -0
  981. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/control_d_handler.rb +28 -0
  982. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/core_extensions.rb +144 -0
  983. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/editor.rb +155 -0
  984. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/env.rb +18 -0
  985. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exception_handler.rb +43 -0
  986. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exceptions.rb +73 -0
  987. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/forwardable.rb +27 -0
  988. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers.rb +8 -0
  989. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb +71 -0
  990. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb +146 -0
  991. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb +83 -0
  992. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb +34 -0
  993. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/platform.rb +60 -0
  994. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/table.rb +121 -0
  995. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/text.rb +118 -0
  996. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/history.rb +153 -0
  997. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/hooks.rb +180 -0
  998. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/indent.rb +412 -0
  999. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_completer.rb +283 -0
  1000. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_lock.rb +129 -0
  1001. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/inspector.rb +39 -0
  1002. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/last_exception.rb +61 -0
  1003. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method.rb +599 -0
  1004. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/disowned.rb +67 -0
  1005. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/patcher.rb +131 -0
  1006. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb +222 -0
  1007. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/object_path.rb +91 -0
  1008. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/output.rb +136 -0
  1009. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pager.rb +249 -0
  1010. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/plugins.rb +139 -0
  1011. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/prompt.rb +214 -0
  1012. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_class.rb +388 -0
  1013. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_instance.rb +701 -0
  1014. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl.rb +257 -0
  1015. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl_file_loader.rb +79 -0
  1016. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/ring.rb +89 -0
  1017. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop.rb +672 -0
  1018. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/LICENSE +20 -0
  1019. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/commands.rb +190 -0
  1020. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/option.rb +210 -0
  1021. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb +26 -0
  1022. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/system_command_handler.rb +17 -0
  1023. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable.rb +68 -0
  1024. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/evalable.rb +24 -0
  1025. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/mockable.rb +22 -0
  1026. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb +88 -0
  1027. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/utility.rb +34 -0
  1028. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/variables.rb +52 -0
  1029. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/version.rb +5 -0
  1030. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/warning.rb +27 -0
  1031. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module.rb +387 -0
  1032. data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb +138 -0
  1033. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/CHANGELOG.md +214 -0
  1034. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/LICENSE +20 -0
  1035. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/README.md +192 -0
  1036. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/byebug/processors/pry_processor.rb +166 -0
  1037. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug.rb +4 -0
  1038. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/base.rb +29 -0
  1039. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/cli.rb +6 -0
  1040. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands.rb +12 -0
  1041. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/backtrace.rb +31 -0
  1042. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
  1043. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/continue.rb +43 -0
  1044. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/down.rb +35 -0
  1045. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb +18 -0
  1046. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/finish.rb +28 -0
  1047. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/frame.rb +35 -0
  1048. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/next.rb +39 -0
  1049. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/step.rb +34 -0
  1050. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/up.rb +35 -0
  1051. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/control_d_handler.rb +9 -0
  1052. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
  1053. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/location.rb +24 -0
  1054. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/multiline.rb +23 -0
  1055. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/navigation.rb +19 -0
  1056. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb +18 -0
  1057. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
  1058. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/version.rb +8 -0
  1059. data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry/byebug/breakpoints.rb +167 -0
  1060. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.github/FUNDING.yml +12 -0
  1061. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.github/workflows/tests.yml +36 -0
  1062. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.gitignore +8 -0
  1063. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.rubocop.yml +36 -0
  1064. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.rubocop_opinionated.yml +174 -0
  1065. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.travis.yml +23 -0
  1066. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.yardopts +1 -0
  1067. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/2.0-Upgrade.md +52 -0
  1068. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/CHANGELOG.md +399 -0
  1069. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/Gemfile +15 -0
  1070. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/LICENSE.txt +22 -0
  1071. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/README.md +207 -0
  1072. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/Rakefile +51 -0
  1073. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/SECURITY.md +104 -0
  1074. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/bin/console +15 -0
  1075. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/codecov.yml +14 -0
  1076. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/data/list.txt +13146 -0
  1077. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix.rb +179 -0
  1078. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/domain.rb +235 -0
  1079. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/errors.rb +41 -0
  1080. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/list.rb +247 -0
  1081. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/rule.rb +350 -0
  1082. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/version.rb +13 -0
  1083. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/public_suffix.gemspec +29 -0
  1084. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/.empty +2 -0
  1085. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/acceptance_test.rb +129 -0
  1086. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_find.rb +66 -0
  1087. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_find_all.rb +102 -0
  1088. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_names.rb +91 -0
  1089. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_select.rb +26 -0
  1090. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_select_incremental.rb +25 -0
  1091. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_valid.rb +101 -0
  1092. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/domain_profiler.rb +12 -0
  1093. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/find_profiler.rb +12 -0
  1094. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/find_profiler_jp.rb +12 -0
  1095. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/initialization_profiler.rb +11 -0
  1096. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/list_profsize.rb +11 -0
  1097. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/object_binsize.rb +57 -0
  1098. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/psl_test.rb +52 -0
  1099. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/test_helper.rb +18 -0
  1100. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/tests.txt +98 -0
  1101. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/domain_test.rb +106 -0
  1102. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/errors_test.rb +25 -0
  1103. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/list_test.rb +241 -0
  1104. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/public_suffix_test.rb +188 -0
  1105. data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/rule_test.rb +222 -0
  1106. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.gitignore +17 -0
  1107. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
  1108. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
  1109. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.travis.yml +24 -0
  1110. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Changelog.md +93 -0
  1111. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Gemfile +28 -0
  1112. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Guardfile +8 -0
  1113. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/LICENSE +20 -0
  1114. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/README.markdown +224 -0
  1115. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Rakefile +9 -0
  1116. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
  1117. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
  1118. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
  1119. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
  1120. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
  1121. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
  1122. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
  1123. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
  1124. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
  1125. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
  1126. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
  1127. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
  1128. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
  1129. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
  1130. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
  1131. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
  1132. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
  1133. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
  1134. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
  1135. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
  1136. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
  1137. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
  1138. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
  1139. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
  1140. data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
  1141. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.gitignore +14 -0
  1142. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.rubocop.yml +57 -0
  1143. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.travis.yml +21 -0
  1144. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/CONTRIBUTING.rdoc +36 -0
  1145. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/Gemfile +3 -0
  1146. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/History.rdoc +2247 -0
  1147. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/MIT-LICENSE +21 -0
  1148. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/README.rdoc +156 -0
  1149. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/Rakefile +38 -0
  1150. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/appveyor.yml +21 -0
  1151. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/bin/console +7 -0
  1152. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/bin/setup +6 -0
  1153. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/command_line_usage.rdoc +158 -0
  1154. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/Rakefile1 +38 -0
  1155. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/Rakefile2 +35 -0
  1156. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/a.c +6 -0
  1157. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/b.c +6 -0
  1158. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/main.c +11 -0
  1159. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/glossary.rdoc +42 -0
  1160. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/jamis.rb +591 -0
  1161. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/proto_rake.rdoc +127 -0
  1162. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rake.1 +156 -0
  1163. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rakefile.rdoc +622 -0
  1164. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rational.rdoc +151 -0
  1165. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/exe/rake +27 -0
  1166. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake.rb +70 -0
  1167. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/application.rb +785 -0
  1168. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/backtrace.rb +23 -0
  1169. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/clean.rb +77 -0
  1170. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/cloneable.rb +16 -0
  1171. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/cpu_counter.rb +106 -0
  1172. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/default_loader.rb +14 -0
  1173. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/dsl_definition.rb +194 -0
  1174. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/early_time.rb +21 -0
  1175. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/ext/core.rb +25 -0
  1176. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/ext/string.rb +175 -0
  1177. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_creation_task.rb +24 -0
  1178. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_list.rb +434 -0
  1179. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_task.rb +46 -0
  1180. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_utils.rb +136 -0
  1181. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_utils_ext.rb +144 -0
  1182. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/invocation_chain.rb +56 -0
  1183. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/invocation_exception_mixin.rb +16 -0
  1184. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/late_time.rb +17 -0
  1185. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/linked_list.rb +111 -0
  1186. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/loaders/makefile.rb +53 -0
  1187. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/multi_task.rb +49 -0
  1188. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/name_space.rb +37 -0
  1189. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/packagetask.rb +210 -0
  1190. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/phony.rb +15 -0
  1191. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/private_reader.rb +20 -0
  1192. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/promise.rb +99 -0
  1193. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/pseudo_status.rb +29 -0
  1194. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rake_module.rb +38 -0
  1195. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +21 -0
  1196. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
  1197. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/scope.rb +42 -0
  1198. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task.rb +390 -0
  1199. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_argument_error.rb +7 -0
  1200. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_arguments.rb +108 -0
  1201. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_manager.rb +303 -0
  1202. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/tasklib.rb +11 -0
  1203. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/testtask.rb +222 -0
  1204. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/thread_history_display.rb +48 -0
  1205. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/thread_pool.rb +162 -0
  1206. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/trace_output.rb +22 -0
  1207. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/version.rb +9 -0
  1208. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/win32.rb +50 -0
  1209. data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/rake.gemspec +39 -0
  1210. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/CHANGELOG.md +356 -0
  1211. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/Gemfile +9 -0
  1212. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/LICENSE +22 -0
  1213. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/README.md +467 -0
  1214. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/Rakefile +87 -0
  1215. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser.rb +8 -0
  1216. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression.rb +163 -0
  1217. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/alternation.rb +10 -0
  1218. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/anchor.rb +26 -0
  1219. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/backref.rb +55 -0
  1220. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/conditional.rb +58 -0
  1221. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/escape.rb +94 -0
  1222. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/free_space.rb +17 -0
  1223. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/group.rb +60 -0
  1224. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/keep.rb +5 -0
  1225. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/literal.rb +7 -0
  1226. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
  1227. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/property.rb +120 -0
  1228. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/root.rb +24 -0
  1229. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set.rb +27 -0
  1230. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
  1231. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set/range.rb +23 -0
  1232. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/type.rb +19 -0
  1233. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/match.rb +13 -0
  1234. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/match_length.rb +172 -0
  1235. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/options.rb +35 -0
  1236. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
  1237. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/tests.rb +97 -0
  1238. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/traverse.rb +64 -0
  1239. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/quantifier.rb +44 -0
  1240. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/sequence.rb +67 -0
  1241. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/sequence_operation.rb +25 -0
  1242. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/subexpression.rb +59 -0
  1243. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/lexer.rb +127 -0
  1244. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/parser.rb +653 -0
  1245. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner.rb +2796 -0
  1246. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/char_type.rl +28 -0
  1247. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/properties/long.yml +594 -0
  1248. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/properties/short.yml +237 -0
  1249. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/property.rl +30 -0
  1250. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/scanner.rl +908 -0
  1251. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax.rb +9 -0
  1252. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/any.rb +15 -0
  1253. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/base.rb +95 -0
  1254. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens.rb +45 -0
  1255. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
  1256. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
  1257. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
  1258. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
  1259. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
  1260. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
  1261. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
  1262. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/group.rb +23 -0
  1263. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
  1264. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
  1265. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
  1266. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
  1267. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
  1268. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/version_lookup.rb +82 -0
  1269. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions.rb +6 -0
  1270. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
  1271. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
  1272. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
  1273. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
  1274. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
  1275. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
  1276. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
  1277. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
  1278. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
  1279. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
  1280. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
  1281. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
  1282. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/token.rb +35 -0
  1283. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/version.rb +5 -0
  1284. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/regexp_parser.gemspec +36 -0
  1285. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/base_spec.rb +94 -0
  1286. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/clone_spec.rb +120 -0
  1287. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/conditional_spec.rb +89 -0
  1288. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/free_space_spec.rb +27 -0
  1289. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/match_length_spec.rb +161 -0
  1290. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/match_spec.rb +25 -0
  1291. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/strfregexp_spec.rb +224 -0
  1292. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/tests_spec.rb +99 -0
  1293. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/traverse_spec.rb +161 -0
  1294. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/options_spec.rb +128 -0
  1295. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/root_spec.rb +9 -0
  1296. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/sequence_spec.rb +9 -0
  1297. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/subexpression_spec.rb +50 -0
  1298. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/to_h_spec.rb +26 -0
  1299. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/to_s_spec.rb +100 -0
  1300. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/all_spec.rb +22 -0
  1301. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/conditionals_spec.rb +53 -0
  1302. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/delimiters_spec.rb +68 -0
  1303. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/escapes_spec.rb +14 -0
  1304. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/keep_spec.rb +10 -0
  1305. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/literals_spec.rb +89 -0
  1306. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/nesting_spec.rb +99 -0
  1307. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/refcalls_spec.rb +55 -0
  1308. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/all_spec.rb +43 -0
  1309. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/alternation_spec.rb +88 -0
  1310. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/anchors_spec.rb +17 -0
  1311. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/conditionals_spec.rb +179 -0
  1312. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/errors_spec.rb +30 -0
  1313. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/escapes_spec.rb +121 -0
  1314. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/free_space_spec.rb +130 -0
  1315. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/groups_spec.rb +108 -0
  1316. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/keep_spec.rb +6 -0
  1317. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/posix_classes_spec.rb +8 -0
  1318. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/properties_spec.rb +115 -0
  1319. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/quantifiers_spec.rb +52 -0
  1320. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/refcalls_spec.rb +112 -0
  1321. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/set/intersections_spec.rb +127 -0
  1322. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/set/ranges_spec.rb +111 -0
  1323. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/sets_spec.rb +178 -0
  1324. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/types_spec.rb +18 -0
  1325. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/all_spec.rb +18 -0
  1326. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/anchors_spec.rb +21 -0
  1327. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/conditionals_spec.rb +128 -0
  1328. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/delimiters_spec.rb +52 -0
  1329. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/errors_spec.rb +67 -0
  1330. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/escapes_spec.rb +53 -0
  1331. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/free_space_spec.rb +133 -0
  1332. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/groups_spec.rb +52 -0
  1333. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/keep_spec.rb +10 -0
  1334. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/literals_spec.rb +49 -0
  1335. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/meta_spec.rb +18 -0
  1336. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/properties_spec.rb +64 -0
  1337. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/quantifiers_spec.rb +20 -0
  1338. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/refcalls_spec.rb +36 -0
  1339. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/sets_spec.rb +102 -0
  1340. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/types_spec.rb +14 -0
  1341. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/spec_helper.rb +15 -0
  1342. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/runner.rb +42 -0
  1343. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/shared_examples.rb +77 -0
  1344. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/warning_extractor.rb +60 -0
  1345. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/syntax_spec.rb +48 -0
  1346. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/syntax_token_map_spec.rb +23 -0
  1347. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.8.6_spec.rb +17 -0
  1348. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.9.1_spec.rb +10 -0
  1349. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.9.3_spec.rb +9 -0
  1350. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/2.0.0_spec.rb +13 -0
  1351. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/2.2.0_spec.rb +9 -0
  1352. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/aliases_spec.rb +37 -0
  1353. data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/token/token_spec.rb +85 -0
  1354. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/.gitignore +9 -0
  1355. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/.travis.yml +24 -0
  1356. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/Gemfile +6 -0
  1357. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
  1358. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/NEWS.md +141 -0
  1359. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/README.md +60 -0
  1360. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/Rakefile +8 -0
  1361. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
  1362. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
  1363. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
  1364. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
  1365. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
  1366. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
  1367. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
  1368. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
  1369. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
  1370. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
  1371. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
  1372. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
  1373. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
  1374. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
  1375. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
  1376. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
  1377. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
  1378. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
  1379. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
  1380. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
  1381. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
  1382. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
  1383. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
  1384. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
  1385. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
  1386. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
  1387. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
  1388. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
  1389. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
  1390. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
  1391. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
  1392. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
  1393. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
  1394. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
  1395. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
  1396. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
  1397. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
  1398. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
  1399. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
  1400. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
  1401. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
  1402. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
  1403. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
  1404. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
  1405. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
  1406. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
  1407. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
  1408. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
  1409. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
  1410. data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
  1411. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +27 -0
  1412. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/README.md +43 -0
  1413. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
  1414. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
  1415. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/.document +5 -0
  1416. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/.yardopts +8 -0
  1417. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/Changelog.md +2274 -0
  1418. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/LICENSE.md +26 -0
  1419. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/README.md +384 -0
  1420. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/exe/rspec +4 -0
  1421. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/autorun.rb +3 -0
  1422. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core.rb +186 -0
  1423. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/backtrace_formatter.rb +65 -0
  1424. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/coordinator.rb +62 -0
  1425. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  1426. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/fork_runner.rb +135 -0
  1427. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/server.rb +61 -0
  1428. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_command.rb +126 -0
  1429. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
  1430. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/utilities.rb +58 -0
  1431. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb +2336 -0
  1432. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration_options.rb +233 -0
  1433. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/did_you_mean.rb +46 -0
  1434. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/drb.rb +113 -0
  1435. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/dsl.rb +98 -0
  1436. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb +656 -0
  1437. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb +889 -0
  1438. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_status_persister.rb +235 -0
  1439. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/filter_manager.rb +231 -0
  1440. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/flat_map.rb +20 -0
  1441. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters.rb +272 -0
  1442. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  1443. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
  1444. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  1445. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  1446. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  1447. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/console_codes.rb +68 -0
  1448. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  1449. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  1450. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/exception_presenter.rb +508 -0
  1451. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  1452. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  1453. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/helpers.rb +110 -0
  1454. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
  1455. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_printer.rb +414 -0
  1456. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  1457. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
  1458. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  1459. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  1460. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/protocol.rb +182 -0
  1461. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  1462. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  1463. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb +632 -0
  1464. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/invocations.rb +87 -0
  1465. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/memoized_helpers.rb +554 -0
  1466. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata.rb +498 -0
  1467. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata_filter.rb +255 -0
  1468. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  1469. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  1470. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  1471. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
  1472. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  1473. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  1474. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/notifications.rb +521 -0
  1475. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/option_parser.rb +316 -0
  1476. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/ordering.rb +158 -0
  1477. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/output_wrapper.rb +29 -0
  1478. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/pending.rb +165 -0
  1479. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/profiler.rb +34 -0
  1480. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer.rb +48 -0
  1481. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer/.rspec +1 -0
  1482. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  1483. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/rake_task.rb +188 -0
  1484. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb +265 -0
  1485. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/ruby_project.rb +53 -0
  1486. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb +204 -0
  1487. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/sandbox.rb +37 -0
  1488. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/set.rb +54 -0
  1489. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_context.rb +55 -0
  1490. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_example_group.rb +269 -0
  1491. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shell_escape.rb +49 -0
  1492. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  1493. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/version.rb +9 -0
  1494. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/warnings.rb +40 -0
  1495. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/world.rb +275 -0
  1496. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.document +5 -0
  1497. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.yardopts +6 -0
  1498. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
  1499. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
  1500. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/README.md +320 -0
  1501. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
  1502. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  1503. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
  1504. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
  1505. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
  1506. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  1507. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
  1508. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  1509. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
  1510. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
  1511. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
  1512. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  1513. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
  1514. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
  1515. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  1516. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
  1517. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  1518. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  1519. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  1520. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  1521. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
  1522. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
  1523. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  1524. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  1525. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  1526. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  1527. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  1528. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  1529. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
  1530. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  1531. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
  1532. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
  1533. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  1534. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
  1535. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  1536. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
  1537. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  1538. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  1539. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  1540. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
  1541. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
  1542. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
  1543. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  1544. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  1545. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  1546. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
  1547. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  1548. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  1549. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.document +5 -0
  1550. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.yardopts +6 -0
  1551. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +1133 -0
  1552. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +25 -0
  1553. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +463 -0
  1554. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +130 -0
  1555. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +11 -0
  1556. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
  1557. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  1558. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  1559. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  1560. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  1561. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  1562. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +294 -0
  1563. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  1564. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  1565. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  1566. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +322 -0
  1567. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +212 -0
  1568. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +369 -0
  1569. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +434 -0
  1570. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  1571. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +41 -0
  1572. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  1573. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
  1574. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +132 -0
  1575. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  1576. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  1577. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +87 -0
  1578. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +751 -0
  1579. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +287 -0
  1580. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +202 -0
  1581. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +68 -0
  1582. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +339 -0
  1583. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +149 -0
  1584. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +81 -0
  1585. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +503 -0
  1586. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +238 -0
  1587. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +3 -0
  1588. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +325 -0
  1589. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +124 -0
  1590. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +171 -0
  1591. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +129 -0
  1592. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  1593. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
  1594. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +9 -0
  1595. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +302 -0
  1596. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +23 -0
  1597. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/README.md +40 -0
  1598. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +149 -0
  1599. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +83 -0
  1600. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +46 -0
  1601. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +215 -0
  1602. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +63 -0
  1603. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +161 -0
  1604. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +48 -0
  1605. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +47 -0
  1606. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +42 -0
  1607. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +438 -0
  1608. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +73 -0
  1609. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +275 -0
  1610. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +76 -0
  1611. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +61 -0
  1612. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +190 -0
  1613. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +75 -0
  1614. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +21 -0
  1615. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +110 -0
  1616. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +87 -0
  1617. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +81 -0
  1618. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  1619. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +9 -0
  1620. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +69 -0
  1621. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  1622. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +89 -0
  1623. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +75 -0
  1624. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +46 -0
  1625. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  1626. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  1627. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +7 -0
  1628. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +39 -0
  1629. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +33 -0
  1630. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/LICENSE.txt +20 -0
  1631. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/README.md +213 -0
  1632. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/assets/logo.png +0 -0
  1633. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/assets/output.html.erb +261 -0
  1634. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/bin/console +10 -0
  1635. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/bin/setup +7 -0
  1636. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/config/default.yml +4133 -0
  1637. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/exe/rubocop +17 -0
  1638. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop.rb +588 -0
  1639. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/ast_aliases.rb +8 -0
  1640. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cached_data.rb +58 -0
  1641. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli.rb +133 -0
  1642. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command.rb +21 -0
  1643. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/auto_genenerate_config.rb +105 -0
  1644. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/base.rb +33 -0
  1645. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/execute_runner.rb +76 -0
  1646. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/init_dotfile.rb +45 -0
  1647. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/show_cops.rb +76 -0
  1648. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/version.rb +17 -0
  1649. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/environment.rb +21 -0
  1650. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/comment_config.rb +206 -0
  1651. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config.rb +281 -0
  1652. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_loader.rb +277 -0
  1653. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_loader_resolver.rb +234 -0
  1654. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_obsoletion.rb +278 -0
  1655. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_store.rb +58 -0
  1656. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_validator.rb +223 -0
  1657. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/autocorrect_logic.rb +105 -0
  1658. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/badge.rb +73 -0
  1659. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
  1660. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/gem_comment.rb +133 -0
  1661. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
  1662. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
  1663. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/commissioner.rb +124 -0
  1664. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/cop.rb +311 -0
  1665. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/corrector.rb +196 -0
  1666. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/alignment_corrector.rb +142 -0
  1667. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/condition_corrector.rb +27 -0
  1668. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
  1669. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
  1670. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
  1671. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
  1672. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
  1673. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
  1674. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
  1675. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
  1676. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
  1677. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
  1678. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
  1679. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
  1680. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
  1681. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/force.rb +42 -0
  1682. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
  1683. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/ordered_dependencies.rb +104 -0
  1684. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
  1685. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
  1686. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator.rb +223 -0
  1687. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
  1688. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
  1689. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/ignored_node.rb +36 -0
  1690. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs.rb +9 -0
  1691. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/method_name_equal.rb +59 -0
  1692. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
  1693. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
  1694. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
  1695. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
  1696. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
  1697. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
  1698. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
  1699. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
  1700. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/array_alignment.rb +82 -0
  1701. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
  1702. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/block_alignment.rb +244 -0
  1703. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/block_end_newline.rb +64 -0
  1704. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/case_indentation.rb +161 -0
  1705. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/class_structure.rb +343 -0
  1706. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
  1707. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
  1708. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
  1709. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/condition_position.rb +66 -0
  1710. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
  1711. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/dot_position.rb +105 -0
  1712. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/else_alignment.rb +142 -0
  1713. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_comment.rb +151 -0
  1714. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
  1715. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
  1716. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_between_defs.rb +152 -0
  1717. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines.rb +76 -0
  1718. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +211 -0
  1719. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
  1720. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +126 -0
  1721. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
  1722. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
  1723. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
  1724. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
  1725. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
  1726. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
  1727. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/end_alignment.rb +189 -0
  1728. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/end_of_line.rb +92 -0
  1729. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
  1730. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_argument_indentation.rb +247 -0
  1731. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_array_element_indentation.rb +171 -0
  1732. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
  1733. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
  1734. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
  1735. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_method_argument_line_break.rb +53 -0
  1736. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
  1737. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
  1738. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/hash_alignment.rb +366 -0
  1739. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +285 -0
  1740. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/heredoc_indentation.rb +173 -0
  1741. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
  1742. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_style.rb +117 -0
  1743. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_width.rb +362 -0
  1744. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
  1745. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/leading_comment_space.rb +119 -0
  1746. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/leading_empty_lines.rb +53 -0
  1747. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/line_length.rb +280 -0
  1748. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
  1749. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
  1750. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
  1751. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_block_layout.rb +155 -0
  1752. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +118 -0
  1753. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
  1754. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +52 -0
  1755. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
  1756. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
  1757. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
  1758. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_operation_indentation.rb +123 -0
  1759. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
  1760. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
  1761. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
  1762. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
  1763. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
  1764. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_not.rb +40 -0
  1765. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
  1766. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
  1767. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
  1768. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_keyword.rb +244 -0
  1769. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_method_call_operator.rb +131 -0
  1770. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_operators.rb +242 -0
  1771. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_block_braces.rb +136 -0
  1772. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
  1773. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_comment.rb +33 -0
  1774. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_first_arg.rb +75 -0
  1775. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
  1776. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
  1777. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +229 -0
  1778. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
  1779. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
  1780. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +200 -0
  1781. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
  1782. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
  1783. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
  1784. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +148 -0
  1785. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
  1786. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/trailing_empty_lines.rb +113 -0
  1787. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
  1788. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
  1789. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_operator.rb +96 -0
  1790. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +57 -0
  1791. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
  1792. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
  1793. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/boolean_symbol.rb +50 -0
  1794. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
  1795. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/debugger.rb +77 -0
  1796. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
  1797. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +137 -0
  1798. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
  1799. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
  1800. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
  1801. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_methods.rb +235 -0
  1802. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
  1803. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/else_layout.rb +66 -0
  1804. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
  1805. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_expression.rb +42 -0
  1806. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
  1807. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_when.rb +61 -0
  1808. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ensure_return.rb +63 -0
  1809. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/erb_new_arguments.rb +162 -0
  1810. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/flip_flop.rb +32 -0
  1811. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
  1812. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
  1813. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
  1814. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
  1815. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
  1816. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
  1817. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
  1818. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/literal_as_condition.rb +135 -0
  1819. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
  1820. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/loop.rb +65 -0
  1821. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
  1822. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +69 -0
  1823. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
  1824. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
  1825. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
  1826. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
  1827. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/non_deterministic_require_order.rb +89 -0
  1828. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
  1829. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/number_conversion.rb +81 -0
  1830. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
  1831. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +86 -0
  1832. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/percent_string_array.rb +71 -0
  1833. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
  1834. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/raise_exception.rb +75 -0
  1835. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rand_one.rb +45 -0
  1836. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +258 -0
  1837. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +119 -0
  1838. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
  1839. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
  1840. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_string_coercion.rb +59 -0
  1841. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
  1842. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
  1843. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
  1844. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
  1845. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
  1846. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rescue_type.rb +94 -0
  1847. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
  1848. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
  1849. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
  1850. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
  1851. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/script_permission.rb +70 -0
  1852. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
  1853. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
  1854. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
  1855. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
  1856. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/struct_new_override.rb +58 -0
  1857. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/suppressed_exception.rb +92 -0
  1858. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/syntax.rb +57 -0
  1859. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/to_json.rb +41 -0
  1860. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
  1861. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unified_integer.rb +43 -0
  1862. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
  1863. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
  1864. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unused_method_argument.rb +112 -0
  1865. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
  1866. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
  1867. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_access_modifier.rb +284 -0
  1868. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_assignment.rb +130 -0
  1869. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
  1870. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_else_without_rescue.rb +54 -0
  1871. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_setter_call.rb +168 -0
  1872. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/void.rb +151 -0
  1873. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/message_annotator.rb +129 -0
  1874. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/abc_size.rb +24 -0
  1875. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/block_length.rb +50 -0
  1876. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
  1877. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/class_length.rb +36 -0
  1878. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
  1879. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/method_length.rb +36 -0
  1880. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/module_length.rb +36 -0
  1881. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
  1882. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
  1883. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
  1884. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/migration/department_name.rb +85 -0
  1885. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/alignment.rb +72 -0
  1886. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
  1887. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
  1888. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
  1889. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
  1890. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/check_line_breakable.rb +184 -0
  1891. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/classish_length.rb +37 -0
  1892. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/code_length.rb +38 -0
  1893. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_enforced_style.rb +100 -0
  1894. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_formatting.rb +45 -0
  1895. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
  1896. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
  1897. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
  1898. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/def_node.rb +33 -0
  1899. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
  1900. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/duplication.rb +46 -0
  1901. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
  1902. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
  1903. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/end_keyword_alignment.rb +72 -0
  1904. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
  1905. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
  1906. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/frozen_string_literal.rb +62 -0
  1907. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
  1908. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/hash_transform_method.rb +178 -0
  1909. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/heredoc.rb +32 -0
  1910. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
  1911. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
  1912. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/integer_node.rb +14 -0
  1913. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/interpolation.rb +27 -0
  1914. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/line_length_help.rb +89 -0
  1915. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/match_range.rb +26 -0
  1916. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/method_complexity.rb +62 -0
  1917. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/method_preference.rb +31 -0
  1918. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
  1919. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
  1920. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
  1921. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
  1922. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
  1923. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
  1924. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
  1925. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
  1926. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
  1927. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/parentheses.rb +17 -0
  1928. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
  1929. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/percent_array.rb +52 -0
  1930. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
  1931. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
  1932. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
  1933. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/range_help.rb +117 -0
  1934. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/rational_literal.rb +18 -0
  1935. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/regexp_literal_help.rb +16 -0
  1936. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
  1937. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
  1938. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
  1939. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
  1940. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/statement_modifier.rb +56 -0
  1941. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/string_help.rb +35 -0
  1942. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
  1943. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
  1944. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
  1945. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
  1946. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
  1947. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/trailing_comma.rb +212 -0
  1948. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
  1949. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
  1950. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
  1951. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
  1952. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
  1953. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
  1954. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/class_and_module_camel_case.rb +43 -0
  1955. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/constant_name.rb +82 -0
  1956. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/file_name.rb +225 -0
  1957. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
  1958. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
  1959. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
  1960. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/method_name.rb +79 -0
  1961. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
  1962. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/predicate_name.rb +108 -0
  1963. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
  1964. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/variable_name.rb +52 -0
  1965. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/variable_number.rb +61 -0
  1966. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/offense.rb +216 -0
  1967. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/registry.rb +276 -0
  1968. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/eval.rb +31 -0
  1969. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/json_load.rb +46 -0
  1970. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/marshal_load.rb +39 -0
  1971. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/open.rb +71 -0
  1972. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/yaml_load.rb +37 -0
  1973. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/severity.rb +75 -0
  1974. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/access_modifier_declarations.rb +132 -0
  1975. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/alias.rb +147 -0
  1976. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/and_or.rb +145 -0
  1977. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/array_join.rb +39 -0
  1978. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ascii_comments.rb +61 -0
  1979. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/attr.rb +68 -0
  1980. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
  1981. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
  1982. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/begin_block.rb +22 -0
  1983. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/block_comments.rb +70 -0
  1984. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/block_delimiters.rb +384 -0
  1985. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/case_equality.rb +53 -0
  1986. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/character_literal.rb +53 -0
  1987. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
  1988. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_check.rb +59 -0
  1989. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_methods.rb +60 -0
  1990. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_vars.rb +48 -0
  1991. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/collection_methods.rb +79 -0
  1992. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/colon_method_call.rb +48 -0
  1993. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
  1994. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/command_literal.rb +187 -0
  1995. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/comment_annotation.rb +97 -0
  1996. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/commented_keyword.rb +73 -0
  1997. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/conditional_assignment.rb +666 -0
  1998. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/constant_visibility.rb +77 -0
  1999. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/copyright.rb +99 -0
  2000. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/date_time.rb +77 -0
  2001. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
  2002. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/dir.rb +48 -0
  2003. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +49 -0
  2004. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/documentation.rb +135 -0
  2005. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/documentation_method.rb +125 -0
  2006. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
  2007. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/double_negation.rb +72 -0
  2008. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
  2009. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/each_with_object.rb +110 -0
  2010. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
  2011. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
  2012. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_else.rb +175 -0
  2013. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
  2014. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_literal.rb +121 -0
  2015. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_method.rb +111 -0
  2016. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/encoding.rb +56 -0
  2017. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/end_block.rb +31 -0
  2018. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/eval_with_location.rb +148 -0
  2019. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/even_odd.rb +58 -0
  2020. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
  2021. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/exponential_notation.rb +119 -0
  2022. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/float_division.rb +94 -0
  2023. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/for.rb +88 -0
  2024. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/format_string.rb +127 -0
  2025. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/format_string_token.rb +120 -0
  2026. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/frozen_string_literal_comment.rb +234 -0
  2027. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/global_vars.rb +80 -0
  2028. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/guard_clause.rb +145 -0
  2029. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_each_methods.rb +89 -0
  2030. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_syntax.rb +221 -0
  2031. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_transform_keys.rb +83 -0
  2032. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_transform_values.rb +80 -0
  2033. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
  2034. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_inside_else.rb +87 -0
  2035. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_unless_modifier.rb +189 -0
  2036. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
  2037. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_with_semicolon.rb +46 -0
  2038. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
  2039. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/infinite_loop.rb +128 -0
  2040. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/inline_comment.rb +34 -0
  2041. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/inverse_methods.rb +197 -0
  2042. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ip_addresses.rb +76 -0
  2043. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/lambda.rb +132 -0
  2044. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/lambda_call.rb +73 -0
  2045. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
  2046. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +190 -0
  2047. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +169 -0
  2048. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +52 -0
  2049. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +75 -0
  2050. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
  2051. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
  2052. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_missing_super.rb +34 -0
  2053. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/min_max.rb +68 -0
  2054. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/missing_else.rb +180 -0
  2055. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
  2056. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
  2057. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mixin_usage.rb +90 -0
  2058. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/module_function.rb +150 -0
  2059. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
  2060. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
  2061. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
  2062. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
  2063. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
  2064. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
  2065. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_when_then.rb +74 -0
  2066. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
  2067. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mutable_constant.rb +172 -0
  2068. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_if.rb +99 -0
  2069. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_unless.rb +89 -0
  2070. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_while.rb +48 -0
  2071. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_modifier.rb +107 -0
  2072. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
  2073. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
  2074. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/next.rb +244 -0
  2075. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nil_comparison.rb +75 -0
  2076. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/non_nil_check.rb +136 -0
  2077. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/not.rb +82 -0
  2078. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
  2079. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_literals.rb +114 -0
  2080. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_predicate.rb +138 -0
  2081. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/one_line_conditional.rb +98 -0
  2082. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/option_hash.rb +55 -0
  2083. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/optional_arguments.rb +58 -0
  2084. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/or_assignment.rb +96 -0
  2085. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
  2086. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
  2087. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
  2088. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
  2089. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
  2090. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
  2091. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/proc.rb +34 -0
  2092. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/raise_args.rb +145 -0
  2093. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/random_with_offset.rb +158 -0
  2094. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_begin.rb +91 -0
  2095. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
  2096. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_condition.rb +124 -0
  2097. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_conditional.rb +98 -0
  2098. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_exception.rb +60 -0
  2099. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
  2100. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
  2101. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_parentheses.rb +227 -0
  2102. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
  2103. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_regexp_character_class.rb +89 -0
  2104. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_regexp_escape.rb +130 -0
  2105. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_return.rb +169 -0
  2106. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_self.rb +171 -0
  2107. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_sort.rb +165 -0
  2108. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
  2109. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/regexp_literal.rb +228 -0
  2110. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
  2111. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
  2112. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/return_nil.rb +89 -0
  2113. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/safe_navigation.rb +271 -0
  2114. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/sample.rb +144 -0
  2115. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/self_assignment.rb +97 -0
  2116. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/semicolon.rb +101 -0
  2117. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/send.rb +31 -0
  2118. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/signal_exception.rb +211 -0
  2119. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
  2120. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/single_line_methods.rb +83 -0
  2121. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/slicing_with_range.rb +39 -0
  2122. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/special_global_vars.rb +207 -0
  2123. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +83 -0
  2124. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/stderr_puts.rb +61 -0
  2125. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
  2126. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_literals.rb +129 -0
  2127. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
  2128. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_methods.rb +46 -0
  2129. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/strip.rb +46 -0
  2130. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
  2131. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_array.rb +119 -0
  2132. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_literal.rb +32 -0
  2133. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_proc.rb +110 -0
  2134. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ternary_parentheses.rb +220 -0
  2135. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
  2136. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
  2137. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
  2138. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +109 -0
  2139. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +99 -0
  2140. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +88 -0
  2141. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +100 -0
  2142. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
  2143. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_underscore_variable.rb +165 -0
  2144. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
  2145. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/unless_else.rb +55 -0
  2146. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/unpack_first.rb +61 -0
  2147. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
  2148. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/when_then.rb +37 -0
  2149. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/while_until_do.rb +59 -0
  2150. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
  2151. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/word_array.rb +102 -0
  2152. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/yoda_condition.rb +156 -0
  2153. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
  2154. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/team.rb +240 -0
  2155. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/util.rb +151 -0
  2156. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/utils/format_string.rb +138 -0
  2157. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force.rb +463 -0
  2158. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/assignment.rb +97 -0
  2159. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/branch.rb +320 -0
  2160. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/branchable.rb +23 -0
  2161. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/reference.rb +49 -0
  2162. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/scope.rb +110 -0
  2163. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/variable.rb +114 -0
  2164. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
  2165. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/core_ext/string.rb +23 -0
  2166. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/error.rb +34 -0
  2167. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/ext/processed_source.rb +18 -0
  2168. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/file_finder.rb +42 -0
  2169. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
  2170. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/base_formatter.rb +119 -0
  2171. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
  2172. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/colorizable.rb +41 -0
  2173. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/disabled_config_formatter.rb +216 -0
  2174. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
  2175. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/file_list_formatter.rb +20 -0
  2176. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/formatter_set.rb +104 -0
  2177. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
  2178. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/html_formatter.rb +141 -0
  2179. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/json_formatter.rb +81 -0
  2180. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/junit_formatter.rb +84 -0
  2181. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
  2182. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/pacman_formatter.rb +80 -0
  2183. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/progress_formatter.rb +63 -0
  2184. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/quiet_formatter.rb +13 -0
  2185. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
  2186. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/tap_formatter.rb +82 -0
  2187. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/text_util.rb +20 -0
  2188. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
  2189. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/magic_comment.rb +214 -0
  2190. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/name_similarity.rb +24 -0
  2191. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/options.rb +481 -0
  2192. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/path_util.rb +85 -0
  2193. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/platform.rb +11 -0
  2194. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rake_task.rb +80 -0
  2195. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/remote_config.rb +104 -0
  2196. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/result_cache.rb +205 -0
  2197. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/cop_helper.rb +71 -0
  2198. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/expect_offense.rb +273 -0
  2199. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
  2200. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/shared_contexts.rb +129 -0
  2201. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/support.rb +13 -0
  2202. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/runner.rb +386 -0
  2203. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/string_interpreter.rb +57 -0
  2204. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/target_finder.rb +196 -0
  2205. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/target_ruby.rb +154 -0
  2206. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/version.rb +23 -0
  2207. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/warning.rb +11 -0
  2208. data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/yaml_duplication_checker.rb +39 -0
  2209. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/LICENSE.txt +20 -0
  2210. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/README.md +37 -0
  2211. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop-ast.rb +3 -0
  2212. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast.rb +60 -0
  2213. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/builder.rb +85 -0
  2214. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node.rb +637 -0
  2215. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/alias_node.rb +24 -0
  2216. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/and_node.rb +29 -0
  2217. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/args_node.rb +29 -0
  2218. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/array_node.rb +70 -0
  2219. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/block_node.rb +121 -0
  2220. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/break_node.rb +17 -0
  2221. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/case_match_node.rb +56 -0
  2222. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/case_node.rb +56 -0
  2223. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/class_node.rb +31 -0
  2224. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/def_node.rb +82 -0
  2225. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/defined_node.rb +17 -0
  2226. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/ensure_node.rb +17 -0
  2227. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/float_node.rb +12 -0
  2228. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/for_node.rb +53 -0
  2229. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/forward_args_node.rb +18 -0
  2230. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/hash_node.rb +109 -0
  2231. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/if_node.rb +175 -0
  2232. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/int_node.rb +12 -0
  2233. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
  2234. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
  2235. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
  2236. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
  2237. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
  2238. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
  2239. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +269 -0
  2240. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
  2241. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
  2242. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
  2243. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
  2244. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
  2245. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/module_node.rb +24 -0
  2246. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/or_node.rb +29 -0
  2247. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/pair_node.rb +63 -0
  2248. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/range_node.rb +18 -0
  2249. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/regexp_node.rb +36 -0
  2250. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/resbody_node.rb +24 -0
  2251. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/retry_node.rb +17 -0
  2252. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/return_node.rb +24 -0
  2253. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/self_class_node.rb +24 -0
  2254. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/send_node.rb +17 -0
  2255. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/str_node.rb +16 -0
  2256. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/super_node.rb +21 -0
  2257. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/symbol_node.rb +12 -0
  2258. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/until_node.rb +35 -0
  2259. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/when_node.rb +53 -0
  2260. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/while_node.rb +35 -0
  2261. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/yield_node.rb +21 -0
  2262. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node_pattern.rb +883 -0
  2263. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/processed_source.rb +203 -0
  2264. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/sexp.rb +16 -0
  2265. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/token.rb +116 -0
  2266. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/traversal.rb +202 -0
  2267. data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/version.rb +9 -0
  2268. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
  2269. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
  2270. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
  2271. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
  2272. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
  2273. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
  2274. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  2275. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
  2276. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
  2277. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
  2278. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
  2279. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
  2280. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
  2281. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  2282. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
  2283. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
  2284. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
  2285. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
  2286. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
  2287. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  2288. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
  2289. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
  2290. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
  2291. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
  2292. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
  2293. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
  2294. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
  2295. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
  2296. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
  2297. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/CHANGELOG.md +133 -0
  2298. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/MIT-LICENSE.txt +22 -0
  2299. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/README.md +124 -0
  2300. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
  2301. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width.rb +51 -0
  2302. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/constants.rb +8 -0
  2303. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/index.rb +12 -0
  2304. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/no_string_ext.rb +7 -0
  2305. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/string_ext.rb +17 -0
  2306. data/vendor/bundle/ruby/2.5.0/specifications/addressable-2.7.0.gemspec +39 -0
  2307. data/vendor/bundle/ruby/2.5.0/specifications/ast-2.4.1.gemspec +50 -0
  2308. data/vendor/bundle/ruby/2.5.0/specifications/byebug-11.1.3.gemspec +39 -0
  2309. data/vendor/bundle/ruby/2.5.0/specifications/coderay-1.1.2.gemspec +25 -0
  2310. data/vendor/bundle/ruby/2.5.0/specifications/concurrent-ruby-1.1.6.gemspec +24 -0
  2311. data/vendor/bundle/ruby/2.5.0/specifications/connection_pool-2.2.3.gemspec +38 -0
  2312. data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +61 -0
  2313. data/vendor/bundle/ruby/2.5.0/specifications/faraday-1.0.1.gemspec +0 -0
  2314. data/vendor/bundle/ruby/2.5.0/specifications/memory_profiler-0.9.14.gemspec +21 -0
  2315. data/vendor/bundle/ruby/2.5.0/specifications/method_source-1.0.0.gemspec +35 -0
  2316. data/vendor/bundle/ruby/2.5.0/specifications/multipart-post-2.1.1.gemspec +38 -0
  2317. data/vendor/bundle/ruby/2.5.0/specifications/net-http-persistent-4.0.0.gemspec +53 -0
  2318. data/vendor/bundle/ruby/2.5.0/specifications/parallel-1.19.2.gemspec +21 -0
  2319. data/vendor/bundle/ruby/2.5.0/specifications/parser-2.7.1.4.gemspec +63 -0
  2320. data/vendor/bundle/ruby/2.5.0/specifications/pry-0.13.1.gemspec +39 -0
  2321. data/vendor/bundle/ruby/2.5.0/specifications/pry-byebug-3.9.0.gemspec +38 -0
  2322. data/vendor/bundle/ruby/2.5.0/specifications/public_suffix-4.0.5.gemspec +24 -0
  2323. data/vendor/bundle/ruby/2.5.0/specifications/rainbow-3.0.0.gemspec +33 -0
  2324. data/vendor/bundle/ruby/2.5.0/specifications/rake-12.0.0.gemspec +43 -0
  2325. data/vendor/bundle/ruby/2.5.0/specifications/regexp_parser-1.7.1.gemspec +23 -0
  2326. data/vendor/bundle/ruby/2.5.0/specifications/rexml-3.2.4.gemspec +36 -0
  2327. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +43 -0
  2328. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.1.gemspec +63 -0
  2329. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.0.gemspec +51 -0
  2330. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +51 -0
  2331. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +39 -0
  2332. data/vendor/bundle/ruby/2.5.0/specifications/rubocop-0.85.1.gemspec +62 -0
  2333. data/vendor/bundle/ruby/2.5.0/specifications/rubocop-ast-0.0.3.gemspec +39 -0
  2334. data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
  2335. data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.7.0.gemspec +39 -0
  2336. metadata +2449 -0
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'helper'
4
+
5
+ class TestASTProcessor < Minitest::Test
6
+ LEAF_NODES = %i[
7
+ sym str int float complex rational
8
+ true false nil self
9
+ __FILE__ __LINE__ __ENCODING__
10
+ cbase regopt zsuper
11
+ match_with_trailing_comma match_nil_pattern
12
+ forward_args forwarded_args numargs kwnilarg
13
+ objc_varargs objc_restarg objc_kwarg
14
+ ident
15
+ ].freeze
16
+
17
+ def setup
18
+ @traversible = Parser::AST::Processor
19
+ .instance_methods(false)
20
+ .map { |mid| mid.to_s.scan(/\Aon_(.*)/) }
21
+ .flatten
22
+ .map(&:to_sym)
23
+
24
+ @traversible += LEAF_NODES
25
+ end
26
+
27
+ def test_nodes_are_traversible
28
+ for_each_node do |node|
29
+ assert_includes @traversible, node.type
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'helper'
4
+ require 'parser/current'
5
+
6
+ class TestBase < Minitest::Test
7
+ include AST::Sexp
8
+
9
+ def test_parse
10
+ ast = Parser::CurrentRuby.parse('1')
11
+ assert_equal s(:int, 1), ast
12
+ end
13
+
14
+ def test_parse_with_comments
15
+ ast, comments = Parser::CurrentRuby.parse_with_comments('1 # foo')
16
+ assert_equal s(:int, 1), ast
17
+ assert_equal 1, comments.size
18
+ assert_equal '# foo', comments.first.text
19
+ end
20
+
21
+ def test_loc_to_node
22
+ ast = Parser::CurrentRuby.parse('1')
23
+ assert_equal ast.loc.node, ast
24
+ end
25
+
26
+ def test_loc_dup
27
+ ast = Parser::CurrentRuby.parse('1')
28
+ assert_nil ast.loc.dup.node
29
+ Parser::AST::Node.new(:zsuper, [], :location => ast.loc)
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'helper'
4
+ require 'parser/current'
5
+
6
+ class TestCurrent < Minitest::Test
7
+ def test_current
8
+ case RUBY_VERSION
9
+ when '2.0.0'
10
+ assert_equal Parser::Ruby20, Parser::CurrentRuby
11
+ when /^2\.1\.\d+/
12
+ assert_equal Parser::Ruby21, Parser::CurrentRuby
13
+ when /^2\.2\.\d+/
14
+ assert_equal Parser::Ruby22, Parser::CurrentRuby
15
+ when /^2\.3\.\d+/
16
+ assert_equal Parser::Ruby23, Parser::CurrentRuby
17
+ when /^2\.4\.\d+/
18
+ assert_equal Parser::Ruby24, Parser::CurrentRuby
19
+ when /^2\.5\.\d+/
20
+ assert_equal Parser::Ruby25, Parser::CurrentRuby
21
+ when /^2\.6\.\d+/
22
+ assert_equal Parser::Ruby26, Parser::CurrentRuby
23
+ when /^2\.7\.\d+/
24
+ assert_equal Parser::Ruby27, Parser::CurrentRuby
25
+ when /^2\.8\.\d+/
26
+ assert_equal Parser::Ruby28, Parser::CurrentRuby
27
+ else
28
+ flunk "Update test_current for #{RUBY_VERSION}"
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,95 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'helper'
4
+
5
+ class TestDiagnostic < Minitest::Test
6
+ def setup
7
+ @buffer = Parser::Source::Buffer.new('(string)',
8
+ source: 'if (this is some bad code + bugs)')
9
+
10
+ @range1 = Parser::Source::Range.new(@buffer, 0, 2) # if
11
+ @range2 = Parser::Source::Range.new(@buffer, 4, 8) # this
12
+ end
13
+
14
+ def test_verifies_levels
15
+ error = assert_raises ArgumentError do
16
+ Parser::Diagnostic.new(:foobar, :escape_eof, {}, @range1)
17
+ end
18
+
19
+ assert_match(/level/, error.message)
20
+ end
21
+
22
+ def test_freezes
23
+ string = 'foo'.dup
24
+ highlights = [@range2]
25
+
26
+ diag = Parser::Diagnostic.new(:error, :escape_eof, @range1, highlights)
27
+ assert diag.frozen?
28
+ assert diag.arguments.frozen?
29
+ assert diag.highlights.frozen?
30
+
31
+ refute string.frozen?
32
+ refute highlights.frozen?
33
+ end
34
+
35
+ def test_render
36
+ location = Parser::Source::Range.new(@buffer, 26, 27)
37
+
38
+ highlights = [
39
+ Parser::Source::Range.new(@buffer, 21, 25),
40
+ Parser::Source::Range.new(@buffer, 28, 32)
41
+ ]
42
+
43
+ diag = Parser::Diagnostic.new(:error, :unexpected, { :character => '+' },
44
+ location, highlights)
45
+ assert_equal([
46
+ "(string):1:27: error: unexpected `+'",
47
+ '(string):1: if (this is some bad code + bugs)',
48
+ '(string):1: ~~~~ ^ ~~~~ '
49
+ ], diag.render)
50
+ end
51
+
52
+ def test_multiline_render
53
+ @buffer = Parser::Source::Buffer.new('(string)',
54
+ source: "abc abc abc\ndef def def\nghi ghi ghi\n")
55
+
56
+ location = Parser::Source::Range.new(@buffer, 4, 27)
57
+
58
+ highlights = [
59
+ Parser::Source::Range.new(@buffer, 0, 3),
60
+ Parser::Source::Range.new(@buffer, 28, 31)
61
+ ]
62
+
63
+ diag = Parser::Diagnostic.new(:error, :unexpected_token, { :token => 'ghi' },
64
+ location, highlights)
65
+
66
+ assert_equal([
67
+ "(string):1:5-3:3: error: unexpected token ghi",
68
+ '(string):1: abc abc abc',
69
+ '(string):1: ~~~ ^~~~~~~...',
70
+ '(string):3: ghi ghi ghi',
71
+ '(string):3: ~~~ ~~~ '
72
+ ], diag.render)
73
+ end
74
+
75
+ def test_bug_error_on_newline
76
+ # regression test; see GitHub issue 273
77
+ source = <<-CODE
78
+ {
79
+ foo: ->() # I forgot my brace
80
+ }
81
+ }
82
+ CODE
83
+ @buffer = Parser::Source::Buffer.new('(string)', source: source)
84
+
85
+ location = Parser::Source::Range.new(@buffer, 33, 34)
86
+ diag = Parser::Diagnostic.new(:error, :unexpected_token, { :token => 'tNL' },
87
+ location)
88
+
89
+ assert_equal([
90
+ '(string):2:32: error: unexpected token tNL',
91
+ '(string):2: foo: ->() # I forgot my brace',
92
+ '(string):2: ^'
93
+ ], diag.render)
94
+ end
95
+ end
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'helper'
4
+
5
+ class TestDiagnosticEngine < Minitest::Test
6
+ def setup
7
+ @engine = Parser::Diagnostic::Engine.new
8
+
9
+ @queue = []
10
+ @engine.consumer = lambda { |diag| @queue << diag }
11
+ end
12
+
13
+ def test_process_warnings
14
+ warn = Parser::Diagnostic.new(:warning, :invalid_escape, {}, 1..2)
15
+ @engine.process(warn)
16
+
17
+ assert_equal [warn], @queue
18
+ end
19
+
20
+ def test_ignore_warnings
21
+ @engine.ignore_warnings = true
22
+
23
+ warn = Parser::Diagnostic.new(:warning, :invalid_escape, {}, 1..2)
24
+ @engine.process(warn)
25
+
26
+ assert_equal [], @queue
27
+ end
28
+
29
+ def test_all_errors_are_fatal
30
+ @engine.all_errors_are_fatal = true
31
+
32
+ error = Parser::Diagnostic.new(:error, :invalid_escape, {}, 1..2)
33
+
34
+ err = assert_raises Parser::SyntaxError do
35
+ @engine.process(error)
36
+ end
37
+
38
+ assert_equal error, err.diagnostic
39
+
40
+ assert_equal [error], @queue
41
+ end
42
+
43
+ def test_all_errors_are_collected
44
+ error = Parser::Diagnostic.new(:error, :invalid_escape, {}, 1..2)
45
+ @engine.process(error)
46
+
47
+ assert_equal [error], @queue
48
+ end
49
+
50
+ def test_fatal_error
51
+ fatal = Parser::Diagnostic.new(:fatal, :invalid_escape, {}, 1..2)
52
+
53
+ assert_raises Parser::SyntaxError do
54
+ @engine.process(fatal)
55
+ end
56
+
57
+ assert_equal [fatal], @queue
58
+ end
59
+ end
@@ -0,0 +1,99 @@
1
+ # encoding: binary
2
+ # frozen_string_literal: true
3
+
4
+ require 'helper'
5
+
6
+ class TestEncoding < Minitest::Test
7
+ include AST::Sexp
8
+
9
+ def recognize(string)
10
+ Parser::Source::Buffer.recognize_encoding(string)
11
+ end
12
+
13
+ require 'parser/all'
14
+
15
+ def test_default
16
+ assert_nil recognize('foobar')
17
+ end
18
+
19
+ def test_bom
20
+ assert_equal Encoding::UTF_8, recognize("\xef\xbb\xbf\nfoobar")
21
+ assert_equal Encoding::UTF_8, recognize("\xef\xbb\xbf# coding:koi8-r\nfoobar")
22
+ end
23
+
24
+ def test_magic_comment
25
+ assert_equal Encoding::KOI8_R, recognize("# coding:koi8-r\nfoobar")
26
+ end
27
+
28
+ def test_shebang
29
+ assert_equal Encoding::KOI8_R, recognize("#!/bin/foo\n# coding:koi8-r\nfoobar")
30
+ assert_nil recognize("#!/bin/foo\n")
31
+ end
32
+
33
+ def test_case
34
+ assert_equal Encoding::KOI8_R, recognize("# coding:KoI8-r\nfoobar")
35
+ end
36
+
37
+ def test_space
38
+ assert_equal Encoding::KOI8_R, recognize("# coding : koi8-r\nfoobar")
39
+ end
40
+
41
+ def test_empty
42
+ assert_nil recognize('')
43
+ end
44
+
45
+ def test_no_comment
46
+ assert_nil recognize(%{require 'cane/encoding_aware_iterator'})
47
+ end
48
+
49
+ def test_adjacent
50
+ assert_nil recognize('# codingkoi8-r')
51
+ assert_nil recognize('# coding koi8-r')
52
+ end
53
+
54
+ def test_utf8_mac
55
+ assert_equal Encoding::UTF8_MAC, recognize('# coding: utf8-mac')
56
+ end
57
+
58
+ def test_suffix
59
+ assert_equal Encoding::UTF_8, recognize('# coding: utf-8-dos')
60
+ assert_equal Encoding::UTF_8, recognize('# coding: utf-8-unix')
61
+ assert_equal Encoding::UTF_8, recognize('# coding: utf-8-mac')
62
+
63
+ assert_raises(ArgumentError) do
64
+ assert_nil recognize('# coding: utf-8-dicks')
65
+ end
66
+ end
67
+
68
+ def test_parse_18_invalid_enc
69
+ ast = Parser::Ruby18.parse("# encoding:feynman-diagram\n1")
70
+ assert_equal ast, s(:int, 1)
71
+ end
72
+
73
+ def test_parse_19_invalid_enc
74
+ assert_raises(ArgumentError) do
75
+ Parser::Ruby19.parse("# encoding:feynman-diagram\n1")
76
+ end
77
+ end
78
+
79
+ def test_ending_comment
80
+ assert_nil recognize('foo # coding: koi8-r')
81
+ end
82
+
83
+ def test_wrong_prefix
84
+ assert_nil recognize('# decoding: koi8-r')
85
+ end
86
+
87
+ def test_no_spaces
88
+ assert_equal Encoding::KOI8_R, recognize('#encoding:koi8-r')
89
+ assert_equal Encoding::KOI8_R, recognize('#coding:koi8-r')
90
+ end
91
+
92
+ def test_underscore_and_star_characters
93
+ assert_equal Encoding::KOI8_R, recognize('# -*- encoding: koi8-r -*-')
94
+ end
95
+
96
+ def test_garbage_around_encoding_comment
97
+ assert_equal Encoding::KOI8_R, recognize('# 1$# -*- &)* encoding: koi8-r 1$# -*- &)*')
98
+ end
99
+ end
@@ -0,0 +1,3617 @@
1
+ # encoding: ascii-8bit
2
+ # frozen_string_literal: true
3
+
4
+ require 'helper'
5
+ require 'complex'
6
+
7
+ class TestLexer < Minitest::Test
8
+ def setup_lexer(version)
9
+ @lex = Parser::Lexer.new(version)
10
+
11
+ @lex.comments = []
12
+ @lex.diagnostics = Parser::Diagnostic::Engine.new
13
+ @lex.diagnostics.all_errors_are_fatal = true
14
+ # @lex.diagnostics.consumer = lambda { |diag| $stderr.puts "", diag.render }
15
+ end
16
+
17
+ def setup
18
+ setup_lexer 18
19
+ end
20
+
21
+ #
22
+ # Tools
23
+ #
24
+
25
+ def utf(str)
26
+ str.dup.force_encoding(Encoding::UTF_8)
27
+ end
28
+
29
+ #
30
+ # Additional matchers
31
+ #
32
+
33
+ def refute_scanned(s, *args)
34
+ assert_raises Parser::SyntaxError do
35
+ assert_scanned(s, *args)
36
+ end
37
+ end
38
+
39
+ def assert_escape(expected, input)
40
+ source_buffer = Parser::Source::Buffer.new('(assert_escape)',
41
+ source: "\"\\#{input}\"".encode(input.encoding))
42
+
43
+ @lex.reset
44
+ @lex.source_buffer = source_buffer
45
+
46
+ lex_token, (lex_value, *) = @lex.advance
47
+
48
+ lex_value.force_encoding(Encoding::BINARY)
49
+
50
+ assert_equal [:tSTRING, expected],
51
+ [lex_token, lex_value],
52
+ source_buffer.source
53
+ end
54
+
55
+ def refute_escape(input)
56
+ err = assert_raises Parser::SyntaxError do
57
+ @lex.state = :expr_beg
58
+ assert_scanned "%Q[\\#{input}]"
59
+ end
60
+ assert_equal :fatal, err.diagnostic.level
61
+ end
62
+
63
+ def assert_lex_fname(name, type, range)
64
+ begin_pos, end_pos = range
65
+ assert_scanned("def #{name} ",
66
+ :kDEF, 'def', [0, 3],
67
+ type, name, [begin_pos + 4, end_pos + 4])
68
+
69
+ assert_equal :expr_endfn, @lex.state
70
+ end
71
+
72
+ def assert_scanned(input, *args)
73
+ source_buffer = Parser::Source::Buffer.new('(assert_scanned)', source: input)
74
+
75
+ @lex.reset(false)
76
+ @lex.source_buffer = source_buffer
77
+
78
+ until args.empty? do
79
+ token, value, (begin_pos, end_pos) = args.shift(3)
80
+
81
+ lex_token, (lex_value, lex_range) = @lex.advance
82
+ assert lex_token, 'no more tokens'
83
+ assert_operator [lex_token, lex_value], :eql?, [token, value], input
84
+ assert_equal begin_pos, lex_range.begin_pos
85
+ assert_equal end_pos, lex_range.end_pos
86
+ end
87
+
88
+ lex_token, (lex_value, *) = @lex.advance
89
+ refute lex_token, "must be empty, but had #{[lex_token, lex_value].inspect}"
90
+ end
91
+
92
+ #
93
+ # Tests
94
+ #
95
+
96
+ def test_read_escape
97
+ assert_escape "\\", "\\"
98
+ assert_escape "\n", "n"
99
+ assert_escape "\t", "t"
100
+ assert_escape "\r", "r"
101
+ assert_escape "\f", "f"
102
+ assert_escape "\13", "v"
103
+ assert_escape "\0", "0"
104
+ assert_escape "\07", "a"
105
+ assert_escape "\007", "a"
106
+ assert_escape "\033", "e"
107
+ assert_escape "\377", "377"
108
+ assert_escape "\377", "xff"
109
+ assert_escape "\010", "b"
110
+ assert_escape " ", "s"
111
+ assert_escape "q", "q" # plain vanilla escape
112
+ end
113
+
114
+ def test_read_escape_c
115
+ assert_escape "\030", "C-x"
116
+ assert_escape "\030", "cx"
117
+ assert_escape "\230", 'C-\M-x'
118
+ assert_escape "\230", 'c\M-x'
119
+
120
+ assert_escape "\177", "C-?"
121
+ assert_escape "\177", "c?"
122
+ assert_escape "\r", "cM"
123
+ end
124
+
125
+ def test_read_escape_m
126
+ assert_escape "\370", "M-x"
127
+ assert_escape "\230", 'M-\C-x'
128
+ assert_escape "\230", 'M-\cx'
129
+ end
130
+
131
+ def test_read_escape_errors
132
+ refute_escape ""
133
+
134
+ refute_escape "M"
135
+ refute_escape "M-"
136
+ refute_escape "Mx"
137
+
138
+ refute_escape "Cx"
139
+ refute_escape "C"
140
+ refute_escape "C-"
141
+
142
+ refute_escape "c"
143
+
144
+ refute_escape "x"
145
+ end
146
+
147
+ def test_read_escape_unicode__19
148
+ assert_escape "\x09", 'u{9}'
149
+ assert_escape "\x31", 'u{31}'
150
+ assert_escape "\x09\x01", 'u{9 1}'
151
+
152
+ assert_escape "\xc4\xa3", utf('u0123')
153
+ assert_escape "\xc4\xa3\xc3\xb0\xeb\x84\xa3", utf('u{123 f0 B123}')
154
+ end
155
+
156
+ def test_read_escape_unicode_bad__19
157
+ refute_escape 'u123'
158
+ refute_escape 'u{}'
159
+ refute_escape 'u{123 f0h}'
160
+ refute_escape 'u{123 f0'
161
+ end
162
+
163
+ def test_read_escape_whitespaces__27
164
+ setup_lexer 27
165
+
166
+ [ *(0..8), *(14..31) ].each do |code|
167
+ @lex.reset
168
+ refute_scanned "\"\\C-" + code.chr + "\""
169
+
170
+ @lex.reset
171
+ refute_scanned "\"\\M-" + code.chr + "\""
172
+
173
+ @lex.reset
174
+ refute_scanned "\"\\C-\\M-" + code.chr + "\""
175
+
176
+ @lex.reset
177
+ refute_scanned "\"\\M-\\C-" + code.chr + "\""
178
+ end
179
+ end
180
+
181
+ def test_ambiguous_uminus
182
+ assert_scanned("m -3",
183
+ :tIDENTIFIER, "m", [0, 1],
184
+ :tUNARY_NUM, "-", [2, 3],
185
+ :tINTEGER, 3, [3, 4])
186
+ end
187
+
188
+ def test_ambiguous_uplus
189
+ assert_scanned("m +3",
190
+ :tIDENTIFIER, "m", [0, 1],
191
+ :tUNARY_NUM, "+", [2, 3],
192
+ :tINTEGER, 3, [3, 4])
193
+ end
194
+
195
+ def test_and
196
+ assert_scanned "&", :tAMPER, "&", [0, 1]
197
+ end
198
+
199
+ def test_and2
200
+ @lex.state = :expr_end
201
+
202
+ assert_scanned "&&", :tANDOP, "&&", [0, 2]
203
+ end
204
+
205
+ def test_and2_equals
206
+ @lex.state = :expr_end
207
+
208
+ assert_scanned "&&=", :tOP_ASGN, "&&", [0, 3]
209
+ end
210
+
211
+ def test_and_arg
212
+ @lex.state = :expr_arg
213
+
214
+ assert_scanned(" &y",
215
+ :tAMPER, "&", [1, 2],
216
+ :tIDENTIFIER, "y", [2, 3])
217
+ end
218
+
219
+ def test_and_equals
220
+ @lex.state = :expr_end
221
+
222
+ assert_scanned "&=", :tOP_ASGN, "&", [0, 2]
223
+ end
224
+
225
+ def test_and_expr
226
+ @lex.state = :expr_arg
227
+
228
+ assert_scanned("x & y",
229
+ :tIDENTIFIER, "x", [0, 1],
230
+ :tAMPER2, "&", [2, 3],
231
+ :tIDENTIFIER, "y", [4, 5])
232
+ end
233
+
234
+ def test_and_meth
235
+ assert_lex_fname "&", :tAMPER2, [0, 1]
236
+ end
237
+
238
+ def test_and_dot_arg
239
+ @lex.state = :expr_arg
240
+
241
+ assert_scanned "&.", :tANDDOT, "&.", [0, 2]
242
+ end
243
+
244
+ def test_and_dot_cmdarg
245
+ @lex.state = :expr_cmdarg
246
+
247
+ assert_scanned "&.", :tANDDOT, "&.", [0, 2]
248
+ end
249
+
250
+ def test_assoc
251
+ assert_scanned "=>", :tASSOC, "=>", [0, 2]
252
+ end
253
+
254
+ def test_label__18
255
+ assert_scanned("{a:b",
256
+ :tLBRACE, "{", [0, 1],
257
+ :tIDENTIFIER, "a", [1, 2],
258
+ :tSYMBOL, "b", [2, 4])
259
+ end
260
+
261
+ def test_label_in_params__18
262
+ assert_scanned("foo(a:b",
263
+ :tIDENTIFIER, "foo", [0, 3],
264
+ :tLPAREN2, "(", [3, 4],
265
+ :tIDENTIFIER, "a", [4, 5],
266
+ :tSYMBOL, "b", [5, 7])
267
+ end
268
+
269
+ def test_label__19
270
+ setup_lexer 19
271
+
272
+ assert_scanned("{a:b",
273
+ :tLBRACE, "{", [0, 1],
274
+ :tLABEL, "a", [1, 3],
275
+ :tIDENTIFIER, "b", [3, 4])
276
+ end
277
+
278
+ def test_label_in_params__19
279
+ setup_lexer 19
280
+
281
+ assert_scanned("foo(a:b",
282
+ :tIDENTIFIER, "foo", [0, 3],
283
+ :tLPAREN2, "(", [3, 4],
284
+ :tLABEL, "a", [4, 6],
285
+ :tIDENTIFIER, "b", [6, 7])
286
+ end
287
+
288
+ def test_label_fid__19
289
+ setup_lexer 19
290
+
291
+ assert_scanned("{a?:true",
292
+ :tLBRACE, '{', [0, 1],
293
+ :tLABEL, 'a?', [1, 4],
294
+ :kTRUE, 'true', [4, 8])
295
+ end
296
+
297
+ def test_label__22
298
+ setup_lexer 22
299
+
300
+ assert_scanned("{'a':",
301
+ :tLBRACE, '{', [0, 1],
302
+ :tSTRING_BEG, "'", [1, 2],
303
+ :tSTRING_CONTENT, 'a', [2, 3],
304
+ :tLABEL_END, "'", [3, 5])
305
+ end
306
+
307
+ def test_label_nested__22
308
+ setup_lexer 22
309
+
310
+ assert_scanned("{'a\":':",
311
+ :tLBRACE, '{', [0, 1],
312
+ :tSTRING_BEG, "'", [1, 2],
313
+ :tSTRING_CONTENT, 'a":', [2, 5],
314
+ :tLABEL_END, "'", [5, 7])
315
+ end
316
+
317
+ def test_label_colon2__22
318
+ setup_lexer 22
319
+
320
+ assert_scanned("{'a'::",
321
+ :tLBRACE, '{', [0, 1],
322
+ :tSTRING, "a", [1, 4],
323
+ :tCOLON2, '::', [4, 6])
324
+ end
325
+
326
+ def test_pct_string_colon__22
327
+ setup_lexer 22
328
+
329
+ assert_scanned("{%'a':",
330
+ :tLBRACE, '{', [0, 1],
331
+ :tSTRING_BEG, "%'", [1, 3],
332
+ :tSTRING_CONTENT, 'a', [3, 4],
333
+ :tSTRING_END, "'", [4, 5],
334
+ :tCOLON, ':', [5, 6])
335
+ end
336
+
337
+ def test_command_start__19
338
+ setup_lexer 19
339
+
340
+ %w[case elsif for in until when while
341
+ if unless and or].each do |keyword|
342
+ token = "k#{keyword.upcase}".to_sym
343
+
344
+ @lex.reset
345
+ assert_scanned("#{keyword} a:b",
346
+ token, keyword, [0, keyword.length],
347
+ :tIDENTIFIER, "a", [keyword.length + 1, keyword.length + 2],
348
+ :tSYMBOL, "b", [keyword.length + 2, keyword.length + 4])
349
+ end
350
+ end
351
+
352
+ def test_mod_not_command_start__19
353
+ setup_lexer 19
354
+
355
+ %w[if unless while until rescue].each do |keyword|
356
+ token = "k#{keyword.upcase}_MOD".to_sym
357
+
358
+ @lex.state = :expr_end
359
+ assert_scanned("#{keyword} a:b",
360
+ token, keyword, [0, keyword.length],
361
+ :tLABEL, "a", [keyword.length + 1, keyword.length + 3],
362
+ :tIDENTIFIER, "b", [keyword.length + 3, keyword.length + 4])
363
+ end
364
+ end
365
+
366
+ def test_back_ref
367
+ assert_scanned("[$&, $`, $', $+]",
368
+ :tLBRACK, "[", [0, 1],
369
+ :tBACK_REF, "$&", [1, 3], :tCOMMA, ",", [3, 4],
370
+ :tBACK_REF, "$`", [5, 7], :tCOMMA, ",", [7, 8],
371
+ :tBACK_REF, "$'", [9, 11], :tCOMMA, ",", [11, 12],
372
+ :tBACK_REF, "$+", [13, 15],
373
+ :tRBRACK, "]", [15, 16])
374
+ end
375
+
376
+ def test_backslash
377
+ assert_scanned("1 \\\n+ 2",
378
+ :tINTEGER, 1, [0, 1],
379
+ :tPLUS, "+", [4, 5],
380
+ :tINTEGER, 2, [6, 7])
381
+ end
382
+
383
+ def test_backslash_bad
384
+ refute_scanned("1 \\ + 2",
385
+ :tINTEGER, 1, [0, 1])
386
+ end
387
+
388
+ def test_backtick
389
+ assert_scanned("`ls`",
390
+ :tXSTRING_BEG, "`", [0, 1],
391
+ :tSTRING_CONTENT, "ls", [1, 3],
392
+ :tSTRING_END, "`", [3, 4])
393
+ end
394
+
395
+ def test_backtick_cmdarg
396
+ @lex.state = :expr_dot
397
+ assert_scanned("\n`", :tBACK_REF2, "`", [1, 2]) # \n ensures expr_cmd
398
+
399
+ assert_equal :expr_arg, @lex.state
400
+ end
401
+
402
+ def test_backtick_dot
403
+ @lex.state = :expr_dot
404
+ assert_scanned("a.`(3)",
405
+ :tIDENTIFIER, "a", [0, 1],
406
+ :tDOT, ".", [1, 2],
407
+ :tBACK_REF2, "`", [2, 3],
408
+ :tLPAREN2, "(", [3, 4],
409
+ :tINTEGER, 3, [4, 5],
410
+ :tRPAREN, ")", [5, 6])
411
+ end
412
+
413
+ def test_backtick_method
414
+ @lex.state = :expr_fname
415
+ assert_scanned("`", :tBACK_REF2, "`", [0, 1])
416
+ assert_equal :expr_endfn, @lex.state
417
+ end
418
+
419
+ def test_bad_char
420
+ refute_scanned(" \010 ")
421
+ end
422
+
423
+ def test_bang
424
+ assert_scanned "!", :tBANG, "!", [0, 1]
425
+ end
426
+
427
+ def test_bang_equals
428
+ assert_scanned "!=", :tNEQ, "!=", [0, 2]
429
+ end
430
+
431
+ def test_bang_tilde
432
+ assert_scanned "!~", :tNMATCH, "!~", [0, 2]
433
+ end
434
+
435
+ def test_def_ubang
436
+ setup_lexer(20)
437
+
438
+ @lex.state = :expr_fname
439
+ assert_scanned '!@', :tBANG, '!@', [0, 2]
440
+ end
441
+
442
+ def test_carat
443
+ assert_scanned "^", :tCARET, "^", [0, 1]
444
+ end
445
+
446
+ def test_carat_equals
447
+ assert_scanned "^=", :tOP_ASGN, "^", [0, 2]
448
+ end
449
+
450
+ def test_colon2
451
+ assert_scanned("A::B",
452
+ :tCONSTANT, "A", [0, 1],
453
+ :tCOLON2, "::", [1, 3],
454
+ :tCONSTANT, "B", [3, 4])
455
+
456
+ @lex.state = :expr_arg
457
+ assert_scanned("::Array",
458
+ :tCOLON2, "::", [0, 2],
459
+ :tCONSTANT, "Array", [2, 7])
460
+ end
461
+
462
+ def test_colon3
463
+ assert_scanned("::Array",
464
+ :tCOLON3, "::", [0, 2],
465
+ :tCONSTANT, "Array", [2, 7])
466
+
467
+ @lex.state = :expr_arg
468
+ assert_scanned(" ::Array",
469
+ :tCOLON3, "::", [1, 3],
470
+ :tCONSTANT, "Array", [3, 8])
471
+ end
472
+
473
+ def test_comma
474
+ assert_scanned ",", :tCOMMA, ",", [0, 1]
475
+ end
476
+
477
+ def test_comment
478
+ [26, 27].each do |version|
479
+ setup_lexer(version)
480
+
481
+ assert_scanned("1 # one\n# two\n2",
482
+ :tINTEGER, 1, [0, 1],
483
+ :tNL, nil, [7, 8],
484
+ :tINTEGER, 2, [14, 15])
485
+
486
+ assert_equal 2, @lex.comments.length
487
+ assert_equal '# one', @lex.comments[0].text
488
+ assert_equal '# two', @lex.comments[1].text
489
+ end
490
+ end
491
+
492
+ def test_comment_expr_beg
493
+ assert_scanned("{#1\n}",
494
+ :tLBRACE, "{", [0, 1],
495
+ :tRCURLY, "}", [4, 5])
496
+ end
497
+
498
+ def test_comment_begin
499
+ assert_scanned("=begin\nblah\nblah\n=end\n42",
500
+ :tINTEGER, 42, [22, 24])
501
+ assert_equal 1, @lex.comments.length
502
+ assert_equal "=begin\nblah\nblah\n=end\n", @lex.comments[0].text
503
+ end
504
+
505
+ def test_comment_begin_bad
506
+ refute_scanned("=begin\nblah\nblah\n")
507
+ end
508
+
509
+ def test_comment_begin_not_comment
510
+ assert_scanned("beginfoo = 5\np x \\\n=beginfoo",
511
+ :tIDENTIFIER, "beginfoo", [0, 8],
512
+ :tEQL, "=", [9, 10],
513
+ :tINTEGER, 5, [11, 12],
514
+ :tNL, nil, [12, 13],
515
+ :tIDENTIFIER, "p", [13, 14],
516
+ :tIDENTIFIER, "x", [15, 16],
517
+ :tEQL, "=", [19, 20],
518
+ :tIDENTIFIER, "beginfoo", [20, 28])
519
+ end
520
+
521
+ def test_comment_begin_space
522
+ assert_scanned("=begin blah\nblah\n=end\n")
523
+
524
+ assert_equal 1, @lex.comments.length
525
+ assert_equal "=begin blah\nblah\n=end\n", @lex.comments[0].text
526
+ end
527
+
528
+ def test_comment_end_space_and_text
529
+ assert_scanned("=begin blah\nblah\n=end blab\n")
530
+
531
+ assert_equal 1, @lex.comments.length
532
+ assert_equal "=begin blah\nblah\n=end blab\n", @lex.comments[0].text
533
+ end
534
+
535
+ def test_comment_eos
536
+ assert_scanned("# comment")
537
+ end
538
+
539
+ def test_constant
540
+ assert_scanned("ArgumentError",
541
+ :tCONSTANT, "ArgumentError", [0, 13])
542
+ end
543
+
544
+ def test_constant_semi
545
+ assert_scanned("ArgumentError;",
546
+ :tCONSTANT, "ArgumentError", [0, 13],
547
+ :tSEMI, ";", [13, 14])
548
+ end
549
+
550
+ def test_cvar
551
+ assert_scanned "@@blah", :tCVAR, "@@blah", [0, 6]
552
+ end
553
+
554
+ def test_cvar_bad
555
+ refute_scanned "@@1"
556
+ end
557
+
558
+ def test_div
559
+ assert_scanned("a / 2",
560
+ :tIDENTIFIER, "a", [0, 1],
561
+ :tDIVIDE, "/", [2, 3],
562
+ :tINTEGER, 2, [4, 5])
563
+ end
564
+
565
+ def test_div_equals
566
+ assert_scanned("a /= 2",
567
+ :tIDENTIFIER, "a", [0, 1],
568
+ :tOP_ASGN, "/", [2, 4],
569
+ :tINTEGER, 2, [5, 6])
570
+ end
571
+
572
+ def test_do
573
+ assert_scanned("x do 42 end",
574
+ :tIDENTIFIER, "x", [0, 1],
575
+ :kDO, "do", [2, 4],
576
+ :tINTEGER, 42, [5, 7],
577
+ :kEND, "end", [8, 11])
578
+ end
579
+
580
+ def test_do_block
581
+ @lex.state = :expr_endarg
582
+
583
+ assert_scanned("do 42 end",
584
+ :kDO_BLOCK, "do", [0, 2],
585
+ :tINTEGER, 42, [3, 5],
586
+ :kEND, "end", [6, 9])
587
+ end
588
+
589
+ def test_do_cond
590
+ @lex.cond.push true
591
+
592
+ assert_scanned("x do 42 end",
593
+ :tIDENTIFIER, "x", [0, 1],
594
+ :kDO_COND, "do", [2, 4],
595
+ :tINTEGER, 42, [5, 7],
596
+ :kEND, "end", [8, 11])
597
+ end
598
+
599
+ def test_dot
600
+ assert_scanned ".", :tDOT, ".", [0, 1]
601
+ end
602
+
603
+ def test_dot2
604
+ assert_scanned "..", :tDOT2, "..", [0, 2]
605
+ end
606
+
607
+ def test_dot3
608
+ assert_scanned "...", :tDOT3, "...", [0, 3]
609
+ end
610
+
611
+ def test_equals
612
+ assert_scanned "=", :tEQL, "=", [0, 1]
613
+ end
614
+
615
+ def test_equals2
616
+ assert_scanned "==", :tEQ, "==", [0, 2]
617
+ end
618
+
619
+ def test_equals3
620
+ assert_scanned "===", :tEQQ, "===", [0, 3]
621
+ end
622
+
623
+ def test_equals_tilde
624
+ assert_scanned "=~", :tMATCH, "=~", [0, 2]
625
+ end
626
+
627
+ def test_float
628
+ assert_scanned "1.0", :tFLOAT, 1.0, [0, 3]
629
+ end
630
+
631
+ def test_float_bad_no_underscores
632
+ refute_scanned "1__0.0"
633
+ end
634
+
635
+ def test_float_bad_no_zero_leading
636
+ refute_scanned ".0"
637
+ end
638
+
639
+ def test_float_bad_trailing_underscore
640
+ refute_scanned "123_.0"
641
+ end
642
+
643
+ def test_float_call
644
+ assert_scanned("1.0.to_s",
645
+ :tFLOAT, 1.0, [0, 3],
646
+ :tDOT, ".", [3, 4],
647
+ :tIDENTIFIER, "to_s", [4, 8])
648
+ end
649
+
650
+ def test_float_dot_E
651
+ assert_scanned "1.0E10", :tFLOAT, 1.0e10, [0, 6]
652
+ end
653
+
654
+ def test_float_dot_E_neg
655
+ assert_scanned("-1.0E10",
656
+ :tUNARY_NUM, "-", [0, 1],
657
+ :tFLOAT, 1.0e10, [1, 7])
658
+ end
659
+
660
+ def test_float_dot_E_pos
661
+ assert_scanned("+1.0E10",
662
+ :tUNARY_NUM, "+", [0, 1],
663
+ :tFLOAT, 1.0e10, [1, 7])
664
+ end
665
+
666
+ def test_float_dot_e
667
+ assert_scanned "1.0e10", :tFLOAT, 1.0e10, [0, 6]
668
+ end
669
+
670
+ def test_float_dot_e_neg
671
+ assert_scanned("-1.0e10",
672
+ :tUNARY_NUM, "-", [0, 1],
673
+ :tFLOAT, 1.0e10, [1, 7])
674
+ end
675
+
676
+ def test_float_dot_e_pos
677
+ assert_scanned("+1.0e10",
678
+ :tUNARY_NUM, "+", [0, 1],
679
+ :tFLOAT, 1.0e10, [1, 7])
680
+ end
681
+
682
+ def test_float_e
683
+ assert_scanned "1e10", :tFLOAT, 1e10, [0, 4]
684
+ end
685
+
686
+ def test_float_e_bad_trailing_underscore
687
+ refute_scanned "123_e10"
688
+ end
689
+
690
+ def test_float_e_minus
691
+ assert_scanned "1e-10", :tFLOAT, 1e-10, [0, 5]
692
+ end
693
+
694
+ def test_float_e_neg
695
+ assert_scanned("-1e10",
696
+ :tUNARY_NUM, "-", [0, 1],
697
+ :tFLOAT, 1e10, [1, 5])
698
+ end
699
+
700
+ def test_float_e_neg_minus
701
+ assert_scanned("-1e-10",
702
+ :tUNARY_NUM, "-", [0, 1],
703
+ :tFLOAT, 1e-10, [1, 6])
704
+ end
705
+
706
+ def test_float_e_neg_plus
707
+ assert_scanned("-1e+10",
708
+ :tUNARY_NUM, "-", [0, 1],
709
+ :tFLOAT, 1e10, [1, 6])
710
+ end
711
+
712
+ def test_float_e_pos
713
+ assert_scanned("+1e10",
714
+ :tUNARY_NUM, "+", [0, 1],
715
+ :tFLOAT, 1e10, [1, 5])
716
+ end
717
+
718
+ def test_float_e_pos_minus
719
+ assert_scanned("+1e-10",
720
+ :tUNARY_NUM, "+", [0, 1],
721
+ :tFLOAT, 1e-10, [1, 6])
722
+ end
723
+
724
+ def test_float_e_pos_plus
725
+ assert_scanned("+1e+10",
726
+ :tUNARY_NUM, "+", [0, 1],
727
+ :tFLOAT, 1e10, [1, 6])
728
+ end
729
+
730
+ def test_float_e_plus
731
+ assert_scanned "1e+10", :tFLOAT, 1e10, [0, 5]
732
+ end
733
+
734
+ def test_float_e_zero
735
+ assert_scanned "0e0", :tFLOAT, 0e0, [0, 3]
736
+ end
737
+
738
+ def test_float_e_nothing
739
+ [18, 19, 20].each do |version|
740
+ setup_lexer version
741
+
742
+ refute_scanned "1end"
743
+ refute_scanned "1.1end"
744
+ end
745
+
746
+ setup_lexer 21
747
+
748
+ assert_scanned("1end",
749
+ :tINTEGER, 1, [0, 1],
750
+ :kEND, 'end', [1, 4])
751
+ assert_scanned("1.1end",
752
+ :tFLOAT, 1.1, [0, 3],
753
+ :kEND, 'end', [3, 6])
754
+ end
755
+
756
+ def test_float_neg
757
+ assert_scanned("-1.0",
758
+ :tUNARY_NUM, "-", [0, 1],
759
+ :tFLOAT, 1.0, [1, 4])
760
+ end
761
+
762
+ def test_float_pos
763
+ assert_scanned("+1.0",
764
+ :tUNARY_NUM, "+", [0, 1],
765
+ :tFLOAT, 1.0, [1, 4])
766
+ end
767
+
768
+ def test_ge
769
+ assert_scanned("a >= 2",
770
+ :tIDENTIFIER, "a", [0, 1],
771
+ :tGEQ, ">=", [2, 4],
772
+ :tINTEGER, 2, [5, 6])
773
+ end
774
+
775
+ def test_global
776
+ assert_scanned("$blah", :tGVAR, "$blah", [0, 5])
777
+ end
778
+
779
+ def test_global_backref
780
+ assert_scanned("$`", :tBACK_REF, "$`", [0, 2])
781
+ end
782
+
783
+ # This was removed in 2.1.
784
+ # def test_global_dash_nothing
785
+ # assert_scanned("$- ", :tGVAR, "$-")
786
+ # end
787
+
788
+ def test_global_dash_something
789
+ assert_scanned("$-x", :tGVAR, "$-x", [0, 3])
790
+ end
791
+
792
+ def test_global_number
793
+ assert_scanned("$10", :tNTH_REF, 10, [0, 3])
794
+ end
795
+
796
+ def test_global_other
797
+ assert_scanned("[$~, $*, $$, $?, $!, $@, $/, $\\, $;, $,, $., $=, $:, $<, $>, $\"]",
798
+ :tLBRACK, "[", [0, 1],
799
+ :tGVAR, "$~", [1, 3], :tCOMMA, ",", [3, 4],
800
+ :tGVAR, "$*", [5, 7], :tCOMMA, ",", [7, 8],
801
+ :tGVAR, "$$", [9, 11], :tCOMMA, ",", [11, 12],
802
+ :tGVAR, "$\?", [13, 15], :tCOMMA, ",", [15, 16],
803
+ :tGVAR, "$!", [17, 19], :tCOMMA, ",", [19, 20],
804
+ :tGVAR, "$@", [21, 23], :tCOMMA, ",", [23, 24],
805
+ :tGVAR, "$/", [25, 27], :tCOMMA, ",", [27, 28],
806
+ :tGVAR, "$\\", [29, 31], :tCOMMA, ",", [31, 32],
807
+ :tGVAR, "$;", [33, 35], :tCOMMA, ",", [35, 36],
808
+ :tGVAR, "$,", [37, 39], :tCOMMA, ",", [39, 40],
809
+ :tGVAR, "$.", [41, 43], :tCOMMA, ",", [43, 44],
810
+ :tGVAR, "$=", [45, 47], :tCOMMA, ",", [47, 48],
811
+ :tGVAR, "$:", [49, 51], :tCOMMA, ",", [51, 52],
812
+ :tGVAR, "$<", [53, 55], :tCOMMA, ",", [55, 56],
813
+ :tGVAR, "$>", [57, 59], :tCOMMA, ",", [59, 60],
814
+ :tGVAR, "$\"", [61, 63],
815
+ :tRBRACK, "]", [63, 64])
816
+ end
817
+
818
+ def test_global_underscore
819
+ assert_scanned("$_",
820
+ :tGVAR, "$_", [0, 2])
821
+ end
822
+
823
+ def test_global_weird
824
+ assert_scanned("$__blah",
825
+ :tGVAR, "$__blah", [0, 7])
826
+ end
827
+
828
+ def test_global_zero
829
+ assert_scanned("$0", :tGVAR, "$0", [0, 2])
830
+ end
831
+
832
+ def test_gt
833
+ assert_scanned("a > 2",
834
+ :tIDENTIFIER, "a", [0, 1],
835
+ :tGT, ">", [2, 3],
836
+ :tINTEGER, 2, [4, 5])
837
+ end
838
+
839
+ def test_heredoc_backtick
840
+ assert_scanned("a = <<`EOF`\n blah blah\nEOF\n",
841
+ :tIDENTIFIER, "a", [0, 1],
842
+ :tEQL, "=", [2, 3],
843
+ :tXSTRING_BEG, "<<`", [4, 11],
844
+ :tSTRING_CONTENT, " blah blah\n", [12, 24],
845
+ :tSTRING_END, "EOF", [24, 27],
846
+ :tNL, nil, [11, 12])
847
+ end
848
+
849
+ def test_heredoc_double
850
+ assert_scanned("a = <<\"EOF\"\n blah blah\nEOF\n",
851
+ :tIDENTIFIER, "a", [0, 1],
852
+ :tEQL, "=", [2, 3],
853
+ :tSTRING_BEG, "<<\"", [4, 11],
854
+ :tSTRING_CONTENT, " blah blah\n", [12, 24],
855
+ :tSTRING_END, "EOF", [24, 27],
856
+ :tNL, nil, [11, 12])
857
+ end
858
+
859
+ def test_heredoc_double_dash
860
+ assert_scanned("a = <<-\"EOF\"\n blah blah\n EOF\n",
861
+ :tIDENTIFIER, "a", [0, 1],
862
+ :tEQL, "=", [2, 3],
863
+ :tSTRING_BEG, "<<\"", [4, 12],
864
+ :tSTRING_CONTENT, " blah blah\n", [13, 25],
865
+ :tSTRING_END, "EOF", [25, 30],
866
+ :tNL, nil, [12, 13])
867
+ end
868
+
869
+ def test_heredoc_double_eos
870
+ refute_scanned("a = <<\"EOF\"\nblah",
871
+ :tIDENTIFIER, "a", [0, 1],
872
+ :tEQL, "=", [2, 3],
873
+ :tSTRING_BEG, "<<\"", [4, 7])
874
+ end
875
+
876
+ def test_heredoc_double_eos_nl
877
+ refute_scanned("a = <<\"EOF\"\nblah\n",
878
+ :tIDENTIFIER, "a", [0, 1],
879
+ :tEQL, "=", [2, 3],
880
+ :tSTRING_BEG, "<<\"", [4, 7])
881
+ end
882
+
883
+ def test_heredoc_double_interp
884
+ assert_scanned("a = <<\"EOF\"\n#x a \#@a b \#$b c \#{3} \nEOF\n",
885
+ :tIDENTIFIER, "a", [0, 1],
886
+ :tEQL, "=", [2, 3],
887
+ :tSTRING_BEG, "<<\"", [4, 11],
888
+ :tSTRING_CONTENT, "#x a ", [12, 17],
889
+ :tSTRING_DVAR, nil, [17, 18],
890
+ :tIVAR, "@a", [18, 20],
891
+ :tSTRING_CONTENT, " b ", [20, 23],
892
+ :tSTRING_DVAR, nil, [23, 24],
893
+ :tGVAR, "$b", [24, 26],
894
+ :tSTRING_CONTENT, " c ", [26, 29],
895
+ :tSTRING_DBEG, '#{', [29, 31],
896
+ :tINTEGER, 3, [31, 32],
897
+ :tRCURLY, "}", [32, 33],
898
+ :tSTRING_CONTENT, " \n", [33, 35],
899
+ :tSTRING_END, "EOF", [35, 38],
900
+ :tNL, nil, [11, 12])
901
+ end
902
+
903
+ def test_heredoc_empty
904
+ assert_scanned("<<\"\"\n\#{x}\nblah2\n\n",
905
+ :tSTRING_BEG, "<<\"", [0, 4],
906
+ :tSTRING_DBEG, "\#{", [5, 7],
907
+ :tIDENTIFIER, "x", [7, 8],
908
+ :tRCURLY, "}", [8, 9],
909
+ :tSTRING_CONTENT, "\n", [9, 10],
910
+ :tSTRING_CONTENT, "blah2\n", [10, 16],
911
+ :tSTRING_END, "", [16, 16],
912
+ :tNL, nil, [4, 5])
913
+ end
914
+
915
+ def test_heredoc_none
916
+ assert_scanned("a = <<EOF\nblah\nblah\nEOF",
917
+ :tIDENTIFIER, "a", [0, 1],
918
+ :tEQL, "=", [2, 3],
919
+ :tSTRING_BEG, "<<\"", [4, 9],
920
+ :tSTRING_CONTENT, "blah\n", [10, 15],
921
+ :tSTRING_CONTENT, "blah\n", [15, 20],
922
+ :tSTRING_END, "EOF", [20, 23],
923
+ :tNL, nil, [9, 10])
924
+ end
925
+
926
+ def test_heredoc_none_dash
927
+ assert_scanned("a = <<-EOF\nblah\nblah\n EOF",
928
+ :tIDENTIFIER, "a", [0, 1],
929
+ :tEQL, "=", [2, 3],
930
+ :tSTRING_BEG, "<<\"", [4, 10],
931
+ :tSTRING_CONTENT, "blah\n", [11, 16],
932
+ :tSTRING_CONTENT, "blah\n", [16, 21],
933
+ :tSTRING_END, "EOF", [21, 26],
934
+ :tNL, nil, [10, 11])
935
+ end
936
+
937
+ def test_heredoc_single
938
+ assert_scanned("a = <<'EOF'\n blah blah\nEOF\n",
939
+ :tIDENTIFIER, "a", [0, 1],
940
+ :tEQL, "=", [2, 3],
941
+ :tSTRING_BEG, "<<'", [4, 11],
942
+ :tSTRING_CONTENT, " blah blah\n", [12, 24],
943
+ :tSTRING_END, "EOF", [24, 27],
944
+ :tNL, nil, [11, 12])
945
+ end
946
+
947
+ def test_heredoc_single_bad_eos_body
948
+ refute_scanned("a = <<'EOF'\nblah",
949
+ :tIDENTIFIER, "a", [0, 1],
950
+ :tEQL, "=", [2, 3],
951
+ :tSTRING_BEG, "'", [6, 7])
952
+ end
953
+
954
+ def test_heredoc_single_dash
955
+ assert_scanned("a = <<-'EOF'\n blah blah\n EOF\n",
956
+ :tIDENTIFIER, "a", [0, 1],
957
+ :tEQL, "=", [2, 3],
958
+ :tSTRING_BEG, "<<'", [4, 12],
959
+ :tSTRING_CONTENT, " blah blah\n", [13, 25],
960
+ :tSTRING_END, "EOF", [25, 30],
961
+ :tNL, nil, [12, 13])
962
+ end
963
+
964
+ def test_heredoc_one_character
965
+ assert_scanned("a = <<E\nABCDEF\nE\n",
966
+ :tIDENTIFIER, "a", [0, 1],
967
+ :tEQL, "=", [2, 3],
968
+ :tSTRING_BEG, "<<\"", [4, 7],
969
+ :tSTRING_CONTENT, "ABCDEF\n", [8, 15],
970
+ :tSTRING_END, "E", [15, 16],
971
+ :tNL, nil, [7, 8])
972
+ end
973
+
974
+ def test_heredoc_cr
975
+ assert_scanned("a = <<E\r\r\nABCDEF\r\r\nE\r\r\r\n",
976
+ :tIDENTIFIER, "a", [0, 1],
977
+ :tEQL, "=", [2, 3],
978
+ :tSTRING_BEG, "<<\"", [4, 7],
979
+ :tSTRING_CONTENT, "ABCDEF\r\n", [9, 17],
980
+ :tSTRING_END, "E", [17, 20],
981
+ :tNL, nil, [8, 9])
982
+ end
983
+
984
+ def test_heredoc_with_identifier_ending_newline__19
985
+ setup_lexer 19
986
+ refute_scanned "<<\"EOS\n\"\n123\nEOS\n"
987
+ end
988
+
989
+ def test_heredoc_with_identifier_ending_newline__24
990
+ setup_lexer 24
991
+
992
+ assert_scanned("a = <<\"EOS\n\"\nABCDEF\nEOS\n",
993
+ :tIDENTIFIER, "a", [0, 1],
994
+ :tEQL, "=", [2, 3],
995
+ :tSTRING_BEG, "<<\"", [4, 12],
996
+ :tSTRING_CONTENT, "ABCDEF\n", [13, 20],
997
+ :tSTRING_END, "EOS", [20, 23],
998
+ :tNL, nil, [12, 13])
999
+ end
1000
+
1001
+ def test_heredoc_with_identifier_containing_newline_inside__19
1002
+ setup_lexer 19
1003
+ refute_scanned "<<\"EOS\nEOS\"\n123\nEOS\n"
1004
+ end
1005
+
1006
+ def test_heredoc_with_identifier_containing_newline_inside__24
1007
+ setup_lexer 24
1008
+
1009
+ refute_scanned "<<\"EOS\nEOS\"\n123\nEOS\n"
1010
+ end
1011
+
1012
+ def test_identifier
1013
+ assert_scanned("identifier",
1014
+ :tIDENTIFIER, "identifier", [0, 10])
1015
+ end
1016
+
1017
+ def test_identifier_bang
1018
+ assert_scanned("identifier!",
1019
+ :tFID, "identifier!", [0, 11])
1020
+
1021
+ assert_scanned("identifier!=",
1022
+ :tIDENTIFIER, "identifier", [0, 10],
1023
+ :tNEQ, "!=", [10, 12])
1024
+ end
1025
+
1026
+ def test_identifier_eh
1027
+ setup_lexer 19
1028
+
1029
+ assert_scanned("identifier?",
1030
+ :tFID, "identifier?", [0, 11])
1031
+
1032
+ assert_scanned("identifier?=",
1033
+ :tIDENTIFIER, "identifier", [0, 10],
1034
+ :tCHARACTER, "=", [10, 12])
1035
+ end
1036
+
1037
+ def test_identifier_cmp
1038
+ assert_lex_fname "<=>", :tCMP, [0, 3]
1039
+ end
1040
+
1041
+ def test_identifier_def
1042
+ assert_lex_fname "identifier", :tIDENTIFIER, [0, 10]
1043
+ end
1044
+
1045
+ def test_identifier_equals_arrow
1046
+ assert_scanned(":blah==>",
1047
+ :tSYMBOL, "blah=", [0, 6],
1048
+ :tASSOC, "=>", [6, 8])
1049
+ end
1050
+
1051
+ def test_identifier_equals3
1052
+ assert_scanned(":a===b",
1053
+ :tSYMBOL, "a", [0, 2],
1054
+ :tEQQ, "===", [2, 5],
1055
+ :tIDENTIFIER, "b", [5, 6])
1056
+ end
1057
+
1058
+ def test_identifier_equals_equals_arrow
1059
+ assert_scanned(":a==>b",
1060
+ :tSYMBOL, "a=", [0, 3],
1061
+ :tASSOC, "=>", [3, 5],
1062
+ :tIDENTIFIER, "b", [5, 6])
1063
+ end
1064
+
1065
+ def test_identifier_equals_caret
1066
+ assert_lex_fname "^", :tCARET, [0, 1]
1067
+ end
1068
+
1069
+ def test_identifier_equals_def
1070
+ assert_lex_fname "identifier=", :tIDENTIFIER, [0, 11]
1071
+ end
1072
+
1073
+ def test_identifier_equals_def2
1074
+ assert_lex_fname "==", :tEQ, [0, 2]
1075
+ end
1076
+
1077
+ def test_identifier_equals_expr
1078
+ @lex.state = :expr_dot
1079
+ assert_scanned("y = arg",
1080
+ :tIDENTIFIER, "y", [0, 1],
1081
+ :tEQL, "=", [2, 3],
1082
+ :tIDENTIFIER, "arg", [4, 7])
1083
+
1084
+ assert_equal :expr_arg, @lex.state
1085
+ end
1086
+
1087
+ def test_identifier_equals_or
1088
+ assert_lex_fname "|", :tPIPE, [0, 1]
1089
+ end
1090
+
1091
+ def test_identifier_equals_slash
1092
+ assert_lex_fname "/", :tDIVIDE, [0, 1]
1093
+ end
1094
+
1095
+ def test_identifier_equals_tilde
1096
+ @lex.state = :expr_fname
1097
+ assert_scanned("identifier=~",
1098
+ :tIDENTIFIER, "identifier=", [0, 11],
1099
+ :tTILDE, "~", [11, 12])
1100
+ end
1101
+
1102
+ def test_identifier_gt
1103
+ assert_lex_fname ">", :tGT, [0, 1]
1104
+ end
1105
+
1106
+ def test_identifier_le
1107
+ assert_lex_fname "<=", :tLEQ, [0, 2]
1108
+ end
1109
+
1110
+ def test_identifier_lt
1111
+ assert_lex_fname "<", :tLT, [0, 1]
1112
+ end
1113
+
1114
+ def test_identifier_tilde
1115
+ assert_lex_fname "~", :tTILDE, [0, 1]
1116
+ end
1117
+
1118
+ def test_identifier_defined?
1119
+ assert_lex_fname "defined?", :kDEFINED, [0, 8]
1120
+ end
1121
+
1122
+ def test_index
1123
+ assert_lex_fname "[]", :tAREF, [0, 2]
1124
+ end
1125
+
1126
+ def test_index_equals
1127
+ assert_lex_fname "[]=", :tASET, [0, 3]
1128
+ end
1129
+
1130
+ def test_integer
1131
+ assert_scanned "42", :tINTEGER, 42, [0, 2]
1132
+ end
1133
+
1134
+ def test_integer_bin
1135
+ assert_scanned "0b101010", :tINTEGER, 42, [0, 8]
1136
+ end
1137
+
1138
+ def test_integer_bin_bad_none
1139
+ refute_scanned "0b "
1140
+ end
1141
+
1142
+ def test_integer_bin_bad_underscores
1143
+ refute_scanned "0b10__01"
1144
+ end
1145
+
1146
+ def test_integer_dec
1147
+ assert_scanned "42", :tINTEGER, 42, [0, 2]
1148
+ end
1149
+
1150
+ def test_integer_dec_bad_underscores
1151
+ refute_scanned "42__24"
1152
+ end
1153
+
1154
+ def test_integer_dec_d
1155
+ assert_scanned "0d42", :tINTEGER, 42, [0, 4]
1156
+ end
1157
+
1158
+ def test_integer_dec_d_bad_none
1159
+ refute_scanned "0d"
1160
+ end
1161
+
1162
+ def test_integer_dec_d_bad_underscores
1163
+ refute_scanned "0d42__24"
1164
+ end
1165
+
1166
+ def test_question_eh_a__18
1167
+ setup_lexer 18
1168
+
1169
+ assert_scanned "?a", :tINTEGER, 97, [0, 2]
1170
+ end
1171
+
1172
+ def test_question_eh_a__19
1173
+ setup_lexer 19
1174
+
1175
+ assert_scanned '?a', :tCHARACTER, "a", [0, 2]
1176
+ end
1177
+
1178
+ def test_question_eh_escape_M_escape_C__18
1179
+ setup_lexer 18
1180
+
1181
+ assert_scanned '?\M-\C-a', :tINTEGER, 129, [0, 8]
1182
+ end
1183
+
1184
+ def test_question_eh_escape_M_escape_C__19
1185
+ setup_lexer 19
1186
+
1187
+ assert_scanned '?\M-\C-a', :tCHARACTER, "\M-\C-a", [0, 8]
1188
+ end
1189
+
1190
+ def test_question_eh_escape_u_1_digit
1191
+ setup_lexer 19
1192
+
1193
+ refute_scanned '?\\u1'
1194
+ end
1195
+
1196
+ def test_question_eh_escape_u_2_digits
1197
+ setup_lexer 19
1198
+
1199
+ refute_scanned '?\\u12'
1200
+ end
1201
+
1202
+ def test_question_eh_escape_u_3_digits
1203
+ setup_lexer 19
1204
+
1205
+ refute_scanned '?\\u123'
1206
+ end
1207
+
1208
+ def test_question_eh_escape_u_4_digits
1209
+ setup_lexer 19
1210
+ assert_scanned '?\\u0001', :tCHARACTER, "\u0001", [0, 7]
1211
+ end
1212
+
1213
+ def test_question_eh_single_unicode_point
1214
+ setup_lexer 19
1215
+ assert_scanned '?\\u{123}', :tCHARACTER, "\u0123", [0, 8]
1216
+
1217
+ setup_lexer 19
1218
+ assert_scanned '?\\u{a}', :tCHARACTER, "\n", [0, 6]
1219
+ end
1220
+
1221
+ def test_question_eh_multiple_unicode_points
1222
+ setup_lexer 19
1223
+ refute_scanned '?\\u{1 2 3}'
1224
+
1225
+ setup_lexer 19
1226
+ refute_scanned '?\\u{a b}'
1227
+ end
1228
+
1229
+ def test_question_eh_escape_u_unclosed_bracket
1230
+ setup_lexer 19
1231
+
1232
+ refute_scanned '?\\u{123'
1233
+ end
1234
+
1235
+ def test_question_eh_escape_space_around_unicode_point__19
1236
+ setup_lexer 19
1237
+ refute_scanned '"\\u{1 }"'
1238
+
1239
+ setup_lexer 19
1240
+ refute_scanned '"\\u{ 1}"'
1241
+
1242
+ setup_lexer 19
1243
+ refute_scanned '"\\u{ 1 }"'
1244
+
1245
+ setup_lexer 19
1246
+ refute_scanned '"\\u{1 2 }"'
1247
+
1248
+ setup_lexer 19
1249
+ refute_scanned '"\\u{ 1 2}"'
1250
+
1251
+ setup_lexer 19
1252
+ refute_scanned '"\\u{1 2}"'
1253
+ end
1254
+
1255
+ def test_question_eh_escape_space_around_unicode_point__24
1256
+ setup_lexer 24
1257
+ assert_scanned '"\\u{ 1}"', :tSTRING, "\u0001", [0, 8]
1258
+
1259
+ setup_lexer 24
1260
+ assert_scanned '"\\u{1 }"', :tSTRING, "\u0001", [0, 8]
1261
+
1262
+ setup_lexer 24
1263
+ assert_scanned '"\\u{ 1 }"', :tSTRING, "\u0001", [0, 9]
1264
+
1265
+ setup_lexer 24
1266
+ assert_scanned '"\\u{1 2 }"', :tSTRING, "\u0001\u0002", [0, 10]
1267
+
1268
+ setup_lexer 24
1269
+ assert_scanned '"\\u{ 1 2}"', :tSTRING, "\u0001\u0002", [0, 10]
1270
+
1271
+ setup_lexer 24
1272
+ assert_scanned '"\\u{1 2}"', :tSTRING, "\u0001\u0002", [0, 10]
1273
+ end
1274
+
1275
+ def test_integer_hex
1276
+ assert_scanned "0x2a", :tINTEGER, 42, [0, 4]
1277
+ end
1278
+
1279
+ def test_integer_hex_bad_none
1280
+ refute_scanned "0x "
1281
+ end
1282
+
1283
+ def test_integer_hex_bad_underscores
1284
+ refute_scanned "0xab__cd"
1285
+ end
1286
+
1287
+ def test_integer_oct
1288
+ assert_scanned "052", :tINTEGER, 42, [0, 3]
1289
+ end
1290
+
1291
+ def test_integer_oct_bad_range
1292
+ refute_scanned "08"
1293
+ end
1294
+
1295
+ def test_integer_oct_bad_underscores
1296
+ refute_scanned "01__23"
1297
+ end
1298
+
1299
+ def test_integer_oct_O
1300
+ assert_scanned "0O52", :tINTEGER, 42, [0, 4]
1301
+ end
1302
+
1303
+ def test_integer_oct_O_bad_range
1304
+ refute_scanned "0O1238"
1305
+ end
1306
+
1307
+ def test_integer_oct_O_bad_underscores
1308
+ refute_scanned "0O1__23"
1309
+ end
1310
+
1311
+ def test_integer_oct_O_not_bad_none
1312
+ assert_scanned "0O ", :tINTEGER, 0, [0, 2]
1313
+ end
1314
+
1315
+ def test_integer_oct_o
1316
+ assert_scanned "0o52", :tINTEGER, 42, [0, 4]
1317
+ end
1318
+
1319
+ def test_integer_oct_o_bad_range
1320
+ refute_scanned "0o1283"
1321
+ end
1322
+
1323
+ def test_integer_oct_o_bad_underscores
1324
+ refute_scanned "0o1__23"
1325
+ end
1326
+
1327
+ def test_integer_oct_o_not_bad_none
1328
+ assert_scanned "0o ", :tINTEGER, 0, [0, 2]
1329
+ end
1330
+
1331
+ def test_integer_trailing
1332
+ assert_scanned("1.to_s",
1333
+ :tINTEGER, 1, [0, 1],
1334
+ :tDOT, '.', [1, 2],
1335
+ :tIDENTIFIER, 'to_s', [2, 6])
1336
+ end
1337
+
1338
+ def test_integer_underscore
1339
+ assert_scanned "4_2", :tINTEGER, 42, [0, 3]
1340
+ end
1341
+
1342
+ def test_integer_underscore_bad
1343
+ refute_scanned "4__2"
1344
+ end
1345
+
1346
+ def test_integer_zero
1347
+ assert_scanned "0", :tINTEGER, 0, [0, 1]
1348
+ end
1349
+
1350
+ def test_ivar
1351
+ assert_scanned "@blah", :tIVAR, "@blah", [0, 5]
1352
+ end
1353
+
1354
+ def test_ivar_bad
1355
+ refute_scanned "@1"
1356
+ end
1357
+
1358
+ def test_ivar_bad_0_length
1359
+ refute_scanned "1+@\n", :tINTEGER, 1, [0, 1], :tPLUS, "+", [1, 2]
1360
+ end
1361
+
1362
+ def test_keyword_expr
1363
+ @lex.state = :expr_endarg
1364
+
1365
+ assert_scanned "if", :kIF_MOD, "if", [0, 2]
1366
+
1367
+ assert_equal :expr_beg, @lex.state
1368
+ end
1369
+
1370
+ def test_lt
1371
+ assert_scanned "<", :tLT, "<", [0, 1]
1372
+ end
1373
+
1374
+ def test_lt2
1375
+ assert_scanned("a <\< b",
1376
+ :tIDENTIFIER, "a", [0, 1],
1377
+ :tLSHFT, "<\<", [2, 4],
1378
+ :tIDENTIFIER, "b", [5, 6])
1379
+
1380
+ end
1381
+
1382
+ def test_lt2_equals
1383
+ assert_scanned("a <\<= b",
1384
+ :tIDENTIFIER, "a", [0, 1],
1385
+ :tOP_ASGN, "<\<", [2, 5],
1386
+ :tIDENTIFIER, "b", [6, 7])
1387
+ end
1388
+
1389
+ def test_lt_equals
1390
+ assert_scanned "<=", :tLEQ, "<=", [0, 2]
1391
+ end
1392
+
1393
+ def test_minus
1394
+ assert_scanned("1 - 2",
1395
+ :tINTEGER, 1, [0, 1],
1396
+ :tMINUS, "-", [2, 3],
1397
+ :tINTEGER, 2, [4, 5])
1398
+ end
1399
+
1400
+ def test_minus_equals
1401
+ @lex.state = :expr_end
1402
+
1403
+ assert_scanned "-=", :tOP_ASGN, "-", [0, 2]
1404
+ end
1405
+
1406
+ def test_minus_method
1407
+ @lex.state = :expr_fname
1408
+ assert_scanned "-", :tMINUS, "-", [0, 1]
1409
+ end
1410
+
1411
+ def test_minus_unary_method
1412
+ @lex.state = :expr_fname
1413
+ assert_scanned "-@", :tUMINUS, "-@", [0, 2]
1414
+ end
1415
+
1416
+ def test_minus_unary_number
1417
+ assert_scanned("-42",
1418
+ :tUNARY_NUM, "-", [0, 1],
1419
+ :tINTEGER, 42, [1, 3])
1420
+ end
1421
+
1422
+ def test_minus_unary_whitespace_number
1423
+ assert_scanned("- 42",
1424
+ :tUNARY_NUM, "-", [0, 1],
1425
+ :tINTEGER, 42, [2, 4])
1426
+ end
1427
+
1428
+ def test_nth_ref
1429
+ assert_scanned('[$1, $2, $3]',
1430
+ :tLBRACK, "[", [0, 1],
1431
+ :tNTH_REF, 1, [1, 3], :tCOMMA, ",", [3, 4],
1432
+ :tNTH_REF, 2, [5, 7], :tCOMMA, ",", [7, 8],
1433
+ :tNTH_REF, 3, [9, 11],
1434
+ :tRBRACK, "]", [11, 12])
1435
+ end
1436
+
1437
+ def test_open_bracket
1438
+ assert_scanned("(", :tLPAREN, "(", [0, 1])
1439
+ end
1440
+
1441
+ def test_open_bracket_cmdarg
1442
+ assert_scanned("m (", :tIDENTIFIER, "m", [0, 1],
1443
+ :tLPAREN_ARG, "(", [2, 3])
1444
+ end
1445
+
1446
+ def test_open_bracket_exprarg
1447
+ assert_scanned("m(", :tIDENTIFIER, "m", [0, 1],
1448
+ :tLPAREN2, "(", [1, 2])
1449
+ end
1450
+
1451
+ def test_open_curly_bracket
1452
+ assert_scanned("{",
1453
+ :tLBRACE, "{", [0, 1])
1454
+ end
1455
+
1456
+ def test_open_curly_bracket_arg
1457
+ assert_scanned("m { 3 }",
1458
+ :tIDENTIFIER, "m", [0, 1],
1459
+ :tLCURLY, "{", [2, 3],
1460
+ :tINTEGER, 3, [4, 5],
1461
+ :tRCURLY, "}", [6, 7])
1462
+ end
1463
+
1464
+ def test_open_curly_bracket_block
1465
+ @lex.state = :expr_endarg # seen m(3)
1466
+
1467
+ assert_scanned("{ 4 }",
1468
+ :tLBRACE_ARG, "{", [0, 1],
1469
+ :tINTEGER, 4, [2, 3],
1470
+ :tRCURLY, "}", [4, 5])
1471
+ end
1472
+
1473
+ def test_open_square_bracket_arg
1474
+ assert_scanned("m [ 3 ]",
1475
+ :tIDENTIFIER, "m", [0, 1],
1476
+ :tLBRACK, "[", [2, 3],
1477
+ :tINTEGER, 3, [4, 5],
1478
+ :tRBRACK, "]", [6, 7])
1479
+ end
1480
+
1481
+ def test_open_square_bracket_ary
1482
+ assert_scanned("[1, 2, 3]",
1483
+ :tLBRACK, "[", [0, 1],
1484
+ :tINTEGER, 1, [1, 2],
1485
+ :tCOMMA, ",", [2, 3],
1486
+ :tINTEGER, 2, [4, 5],
1487
+ :tCOMMA, ",", [5, 6],
1488
+ :tINTEGER, 3, [7, 8],
1489
+ :tRBRACK, "]", [8, 9])
1490
+ end
1491
+
1492
+ def test_open_square_bracket_meth
1493
+ assert_scanned("m[3]",
1494
+ :tIDENTIFIER, "m", [0, 1],
1495
+ :tLBRACK2, "[", [1, 2],
1496
+ :tINTEGER, 3, [2, 3],
1497
+ :tRBRACK, "]", [3, 4])
1498
+ end
1499
+
1500
+ def test_or
1501
+ assert_scanned "|", :tPIPE, "|", [0, 1]
1502
+ end
1503
+
1504
+ def test_or2
1505
+ assert_scanned "||", :tOROP, "||", [0, 2]
1506
+ end
1507
+
1508
+ def test_or2__after_27
1509
+ setup_lexer(27)
1510
+ assert_scanned("||",
1511
+ :tPIPE, "|", [0, 1],
1512
+ :tPIPE, "|", [1, 2])
1513
+ end
1514
+
1515
+ def test_or2_equals
1516
+ assert_scanned "||=", :tOP_ASGN, "||", [0, 3]
1517
+ end
1518
+
1519
+ def test_or_equals
1520
+ assert_scanned "|=", :tOP_ASGN, "|", [0, 2]
1521
+ end
1522
+
1523
+ def test_percent
1524
+ assert_scanned("a % 2",
1525
+ :tIDENTIFIER, "a", [0, 1],
1526
+ :tPERCENT, "%", [2, 3],
1527
+ :tINTEGER, 2, [4, 5])
1528
+ end
1529
+
1530
+ def test_percent_equals
1531
+ assert_scanned("a %= 2",
1532
+ :tIDENTIFIER, "a", [0, 1],
1533
+ :tOP_ASGN, "%", [2, 4],
1534
+ :tINTEGER, 2, [5, 6])
1535
+ end
1536
+
1537
+ def test_plus
1538
+ assert_scanned("1 + 1",
1539
+ :tINTEGER, 1, [0, 1],
1540
+ :tPLUS, "+", [2, 3],
1541
+ :tINTEGER, 1, [4, 5])
1542
+ end
1543
+
1544
+ def test_plus_equals
1545
+ @lex.state = :expr_end
1546
+
1547
+ assert_scanned "+=", :tOP_ASGN, "+", [0, 2]
1548
+ end
1549
+
1550
+ def test_plus_method
1551
+ @lex.state = :expr_fname
1552
+ assert_scanned "+", :tPLUS, "+", [0, 1]
1553
+ end
1554
+
1555
+ def test_plus_unary_method
1556
+ @lex.state = :expr_fname
1557
+ assert_scanned "+@", :tUPLUS, "+@", [0, 2]
1558
+ end
1559
+
1560
+ def test_plus_unary_number
1561
+ assert_scanned("+42",
1562
+ :tUNARY_NUM, "+", [0, 1],
1563
+ :tINTEGER, 42, [1, 3])
1564
+ end
1565
+
1566
+ def test_plus_unary_whitespace_number
1567
+ assert_scanned("+ 42",
1568
+ :tUNARY_NUM, "+", [0, 1],
1569
+ :tINTEGER, 42, [2, 4])
1570
+ end
1571
+
1572
+ def test_numbers
1573
+ assert_scanned "0b10", :tINTEGER, 2, [0, 4]
1574
+ assert_scanned "0B10", :tINTEGER, 2, [0, 4]
1575
+
1576
+ assert_scanned "0d10", :tINTEGER, 10, [0, 4]
1577
+ assert_scanned "0D10", :tINTEGER, 10, [0, 4]
1578
+
1579
+ assert_scanned "0x10", :tINTEGER, 16, [0, 4]
1580
+ assert_scanned "0X10", :tINTEGER, 16, [0, 4]
1581
+
1582
+ assert_scanned "0o10", :tINTEGER, 8, [0, 4]
1583
+ assert_scanned "0O10", :tINTEGER, 8, [0, 4]
1584
+ assert_scanned "0o", :tINTEGER, 0, [0, 2]
1585
+ assert_scanned "0O", :tINTEGER, 0, [0, 2]
1586
+
1587
+ assert_scanned "0o", :tINTEGER, 0, [0, 2]
1588
+ assert_scanned "0O", :tINTEGER, 0, [0, 2]
1589
+
1590
+ assert_scanned "0777_333", :tINTEGER, 261851, [0, 8]
1591
+
1592
+ assert_scanned "0", :tINTEGER, 0, [0, 1]
1593
+
1594
+ refute_scanned "0x"
1595
+ refute_scanned "0X"
1596
+ refute_scanned "0b"
1597
+ refute_scanned "0B"
1598
+ refute_scanned "0d"
1599
+ refute_scanned "0D"
1600
+
1601
+ refute_scanned "08"
1602
+ refute_scanned "09"
1603
+ refute_scanned "0o8"
1604
+ refute_scanned "0o9"
1605
+ refute_scanned "0O8"
1606
+ refute_scanned "0O9"
1607
+
1608
+ refute_scanned "1_e1"
1609
+ refute_scanned "1_.1"
1610
+ refute_scanned "1__1"
1611
+
1612
+ refute_scanned "1end"
1613
+ refute_scanned "1.1end"
1614
+ end
1615
+
1616
+ def test_question__18
1617
+ setup_lexer 18
1618
+
1619
+ assert_scanned "?*", :tINTEGER, 42, [0, 2]
1620
+ end
1621
+
1622
+ def test_question__19
1623
+ setup_lexer 19
1624
+
1625
+ assert_scanned "?*", :tCHARACTER, "*", [0, 2]
1626
+ end
1627
+
1628
+ def test_question_bad_eos
1629
+ refute_scanned "?"
1630
+ end
1631
+
1632
+ def test_question_bad_ws
1633
+ assert_scanned "? ", :tEH, "?", [0, 1]
1634
+ assert_scanned "?\n", :tEH, "?", [0, 1]
1635
+ assert_scanned "?\t", :tEH, "?", [0, 1]
1636
+ assert_scanned "?\v", :tEH, "?", [0, 1]
1637
+ assert_scanned "?\r", :tEH, "?", [0, 1]
1638
+ assert_scanned "?\f", :tEH, "?", [0, 1]
1639
+ end
1640
+
1641
+ def test_question_ws_backslashed__18
1642
+ setup_lexer 18
1643
+
1644
+ @lex.state = :expr_beg
1645
+ assert_scanned "?\\ ", :tINTEGER, 32, [0, 3]
1646
+ @lex.state = :expr_beg
1647
+ assert_scanned "?\\n", :tINTEGER, 10, [0, 3]
1648
+ @lex.state = :expr_beg
1649
+ assert_scanned "?\\t", :tINTEGER, 9, [0, 3]
1650
+ @lex.state = :expr_beg
1651
+ assert_scanned "?\\v", :tINTEGER, 11, [0, 3]
1652
+ @lex.state = :expr_beg
1653
+ assert_scanned "?\\r", :tINTEGER, 13, [0, 3]
1654
+ @lex.state = :expr_beg
1655
+ assert_scanned "?\\f", :tINTEGER, 12, [0, 3]
1656
+ end
1657
+
1658
+ def test_question_ws_backslashed__19
1659
+ setup_lexer 19
1660
+
1661
+ @lex.state = :expr_beg
1662
+ assert_scanned "?\\ ", :tCHARACTER, " ", [0, 3]
1663
+ @lex.state = :expr_beg
1664
+ assert_scanned "?\\n", :tCHARACTER, "\n", [0, 3]
1665
+ @lex.state = :expr_beg
1666
+ assert_scanned "?\\t", :tCHARACTER, "\t", [0, 3]
1667
+ @lex.state = :expr_beg
1668
+ assert_scanned "?\\v", :tCHARACTER, "\v", [0, 3]
1669
+ @lex.state = :expr_beg
1670
+ assert_scanned "?\\r", :tCHARACTER, "\r", [0, 3]
1671
+ @lex.state = :expr_beg
1672
+ assert_scanned "?\\f", :tCHARACTER, "\f", [0, 3]
1673
+ end
1674
+
1675
+ def test_rbracket
1676
+ assert_scanned "]", :tRBRACK, "]", [0, 1]
1677
+ end
1678
+
1679
+ def test_rcurly
1680
+ assert_scanned "}", :tRCURLY, "}", [0, 1]
1681
+ end
1682
+
1683
+ def test_regexp
1684
+ assert_scanned("/regexp/",
1685
+ :tREGEXP_BEG, "/", [0, 1],
1686
+ :tSTRING_CONTENT, "regexp", [1, 7],
1687
+ :tSTRING_END, "/", [7, 8],
1688
+ :tREGEXP_OPT, "", [8, 8])
1689
+ end
1690
+
1691
+ def test_regexp_ambiguous
1692
+ assert_scanned("method /regexp/",
1693
+ :tIDENTIFIER, "method", [0, 6],
1694
+ :tREGEXP_BEG, "/", [7, 8],
1695
+ :tSTRING_CONTENT, "regexp", [8, 14],
1696
+ :tSTRING_END, "/", [14, 15],
1697
+ :tREGEXP_OPT, "", [15, 15])
1698
+ end
1699
+
1700
+ def test_regexp_bad
1701
+ refute_scanned("/.*/xyz",
1702
+ :tREGEXP_BEG, "/", [0, 1],
1703
+ :tSTRING_CONTENT, ".*", [1, 3],
1704
+ :tSTRING_END, "/", [3, 4])
1705
+ end
1706
+
1707
+ def test_regexp_escape_C
1708
+ assert_scanned('/regex\\C-x/',
1709
+ :tREGEXP_BEG, "/", [0, 1],
1710
+ :tSTRING_CONTENT, "regex\\C-x", [1, 10],
1711
+ :tSTRING_END, "/", [10, 11],
1712
+ :tREGEXP_OPT, "", [11, 11])
1713
+ end
1714
+
1715
+ def test_regexp_escape_C_M
1716
+ assert_scanned('/regex\\C-\\M-x/',
1717
+ :tREGEXP_BEG, "/", [0, 1],
1718
+ :tSTRING_CONTENT, "regex\\C-\\M-x", [1, 13],
1719
+ :tSTRING_END, "/", [13, 14],
1720
+ :tREGEXP_OPT, "", [14, 14])
1721
+ end
1722
+
1723
+ def test_regexp_escape_C_M_craaaazy
1724
+ assert_scanned("/regex\\C-\\\n\\M-x/",
1725
+ :tREGEXP_BEG, "/", [0, 1],
1726
+ :tSTRING_CONTENT, "regex\\C-\\M-x", [1, 15],
1727
+ :tSTRING_END, "/", [15, 16],
1728
+ :tREGEXP_OPT, "", [16, 16])
1729
+ end
1730
+
1731
+ def test_regexp_escape_C_bad_dash
1732
+ refute_scanned '/regex\\Cx/', :tREGEXP_BEG, "/", [0, 1]
1733
+ end
1734
+
1735
+ def test_regexp_escape_C_bad_dash_eos
1736
+ refute_scanned '/regex\\C-/', :tREGEXP_BEG, "/", [0, 1]
1737
+ end
1738
+
1739
+ def test_regexp_escape_C_bad_dash_eos2
1740
+ refute_scanned '/regex\\C-', :tREGEXP_BEG, "/", [0, 1]
1741
+ end
1742
+
1743
+ def test_regexp_escape_C_bad_eos
1744
+ refute_scanned '/regex\\C/', :tREGEXP_BEG, "/", [0, 1]
1745
+ end
1746
+
1747
+ def test_regexp_escape_C_bad_eos2
1748
+ refute_scanned '/regex\\c', :tREGEXP_BEG, "/", [0, 1]
1749
+ end
1750
+
1751
+ def test_regexp_escape_M
1752
+ assert_scanned('/regex\\M-x/',
1753
+ :tREGEXP_BEG, "/", [0, 1],
1754
+ :tSTRING_CONTENT, "regex\\M-x", [1, 10],
1755
+ :tSTRING_END, "/", [10, 11],
1756
+ :tREGEXP_OPT, "", [11, 11])
1757
+ end
1758
+
1759
+ def test_regexp_escape_M_C
1760
+ assert_scanned('/regex\\M-\\C-x/',
1761
+ :tREGEXP_BEG, "/", [0, 1],
1762
+ :tSTRING_CONTENT, "regex\\M-\\C-x", [1, 13],
1763
+ :tSTRING_END, "/", [13, 14],
1764
+ :tREGEXP_OPT, "", [14, 14])
1765
+ end
1766
+
1767
+ def test_regexp_escape_M_bad_dash
1768
+ refute_scanned '/regex\\Mx/', :tREGEXP_BEG, "/", [0, 1]
1769
+ end
1770
+
1771
+ def test_regexp_escape_M_bad_dash_eos
1772
+ refute_scanned '/regex\\M-/', :tREGEXP_BEG, "/", [0, 1]
1773
+ end
1774
+
1775
+ def test_regexp_escape_M_bad_dash_eos2
1776
+ refute_scanned '/regex\\M-', :tREGEXP_BEG, "/", [0, 1]
1777
+ end
1778
+
1779
+ def test_regexp_escape_M_bad_eos
1780
+ refute_scanned '/regex\\M/', :tREGEXP_BEG, "/", [0, 1]
1781
+ end
1782
+
1783
+ def test_regexp_escape_backslash_slash
1784
+ assert_scanned('/\\//',
1785
+ :tREGEXP_BEG, "/", [0, 1],
1786
+ :tSTRING_CONTENT, '/', [1, 3],
1787
+ :tSTRING_END, "/", [3, 4],
1788
+ :tREGEXP_OPT, "", [4, 4])
1789
+ end
1790
+
1791
+ def test_regexp_escape_backslash_terminator
1792
+ assert_scanned('%r%blah\\%blah%',
1793
+ :tREGEXP_BEG, "%r%", [0, 3],
1794
+ :tSTRING_CONTENT, "blah%blah", [3, 13],
1795
+ :tSTRING_END, "%", [13, 14],
1796
+ :tREGEXP_OPT, "", [14, 14])
1797
+ end
1798
+
1799
+ def test_regexp_escape_backslash_terminator_meta1
1800
+ assert_scanned('%r{blah\\}blah}',
1801
+ :tREGEXP_BEG, "%r{", [0, 3],
1802
+ :tSTRING_CONTENT, "blah\\}blah", [3, 13],
1803
+ :tSTRING_END, "}", [13, 14],
1804
+ :tREGEXP_OPT, "", [14, 14])
1805
+ end
1806
+
1807
+ def test_regexp_escape_backslash_terminator_meta2
1808
+ assert_scanned('%r/blah\\/blah/',
1809
+ :tREGEXP_BEG, "%r/", [0, 3],
1810
+ :tSTRING_CONTENT, "blah/blah", [3, 13],
1811
+ :tSTRING_END, "/", [13, 14],
1812
+ :tREGEXP_OPT, "", [14, 14])
1813
+ end
1814
+
1815
+ def test_regexp_escape_backslash_terminator_meta3
1816
+ assert_scanned('%r/blah\\%blah/',
1817
+ :tREGEXP_BEG, "%r/", [0, 3],
1818
+ :tSTRING_CONTENT, "blah\\%blah", [3, 13],
1819
+ :tSTRING_END, "/", [13, 14],
1820
+ :tREGEXP_OPT, "", [14, 14])
1821
+ end
1822
+
1823
+ def test_regexp_escape_bad_eos
1824
+ refute_scanned '/regex\\', :tREGEXP_BEG, "/", [0, 1]
1825
+ end
1826
+
1827
+ def test_regexp_escape_bs
1828
+ assert_scanned('/regex\\\\regex/',
1829
+ :tREGEXP_BEG, "/", [0, 1],
1830
+ :tSTRING_CONTENT, "regex\\\\regex", [1, 13],
1831
+ :tSTRING_END, "/", [13, 14],
1832
+ :tREGEXP_OPT, "", [14, 14])
1833
+ end
1834
+
1835
+ def test_regexp_escape_c
1836
+ assert_scanned('/regex\\cxxx/',
1837
+ :tREGEXP_BEG, "/", [0, 1],
1838
+ :tSTRING_CONTENT, "regex\\cxxx", [1, 11],
1839
+ :tSTRING_END, "/", [11, 12],
1840
+ :tREGEXP_OPT, "", [12, 12])
1841
+ end
1842
+
1843
+ def test_regexp_escape_c_backslash
1844
+ assert_scanned('/regex\\c\\n/',
1845
+ :tREGEXP_BEG, "/", [0, 1],
1846
+ :tSTRING_CONTENT, "regex\\c\\n", [1, 10],
1847
+ :tSTRING_END, "/", [10, 11],
1848
+ :tREGEXP_OPT, "", [11, 11])
1849
+ end
1850
+
1851
+ def test_regexp_escape_chars
1852
+ assert_scanned('/re\\tge\\nxp/',
1853
+ :tREGEXP_BEG, "/", [0, 1],
1854
+ :tSTRING_CONTENT, "re\\tge\\nxp", [1, 11],
1855
+ :tSTRING_END, "/", [11, 12],
1856
+ :tREGEXP_OPT, "", [12, 12])
1857
+ end
1858
+
1859
+ def test_regexp_escape_double_backslash
1860
+ assert_scanned('/[\\/\\\\]$/',
1861
+ :tREGEXP_BEG, "/", [0, 1],
1862
+ :tSTRING_CONTENT,'[/\\\\]$', [1, 8],
1863
+ :tSTRING_END, "/", [8, 9],
1864
+ :tREGEXP_OPT, "", [9, 9])
1865
+ end
1866
+
1867
+ def test_regexp_escape_hex
1868
+ assert_scanned('/regex\\x61xp/',
1869
+ :tREGEXP_BEG, "/", [0, 1],
1870
+ :tSTRING_CONTENT, "regex\\x61xp", [1, 12],
1871
+ :tSTRING_END, "/", [12, 13],
1872
+ :tREGEXP_OPT, "", [13, 13])
1873
+ end
1874
+
1875
+ def test_regexp_escape_hex_bad
1876
+ refute_scanned '/regex\\xzxp/', :tREGEXP_BEG, "/", [0, 1]
1877
+ end
1878
+
1879
+ def test_regexp_escape_hex_one
1880
+ assert_scanned('/^[\\xd\\xa]{2}/on',
1881
+ :tREGEXP_BEG, '/', [0, 1],
1882
+ :tSTRING_CONTENT, '^[\\xd\\xa]{2}', [1, 13],
1883
+ :tSTRING_END, "/", [13, 14],
1884
+ :tREGEXP_OPT, 'on', [14, 16])
1885
+ end
1886
+
1887
+ def test_regexp_escape_oct1
1888
+ assert_scanned('/regex\\0xp/',
1889
+ :tREGEXP_BEG, "/", [0, 1],
1890
+ :tSTRING_CONTENT, "regex\\0xp", [1, 10],
1891
+ :tSTRING_END, "/", [10, 11],
1892
+ :tREGEXP_OPT, "", [11, 11])
1893
+ end
1894
+
1895
+ def test_regexp_escape_oct2
1896
+ assert_scanned('/regex\\07xp/',
1897
+ :tREGEXP_BEG, "/", [0, 1],
1898
+ :tSTRING_CONTENT, "regex\\07xp", [1, 11],
1899
+ :tSTRING_END, "/", [11, 12],
1900
+ :tREGEXP_OPT, "", [12, 12])
1901
+ end
1902
+
1903
+ def test_regexp_escape_oct3
1904
+ assert_scanned('/regex\\10142/',
1905
+ :tREGEXP_BEG, "/", [0, 1],
1906
+ :tSTRING_CONTENT, "regex\\10142", [1, 12],
1907
+ :tSTRING_END, "/", [12, 13],
1908
+ :tREGEXP_OPT, "", [13, 13])
1909
+ end
1910
+
1911
+ def test_regexp_escape_return
1912
+ assert_scanned("/regex\\\nregex/",
1913
+ :tREGEXP_BEG, "/", [0, 1],
1914
+ :tSTRING_CONTENT, "regexregex", [1, 13],
1915
+ :tSTRING_END, "/", [13, 14],
1916
+ :tREGEXP_OPT, "", [14, 14])
1917
+ end
1918
+
1919
+ def test_regexp_escape_delimiter_meta
1920
+ assert_scanned("%r(\\))",
1921
+ :tREGEXP_BEG, "%r(", [0, 3],
1922
+ :tSTRING_CONTENT, "\\)", [3, 5],
1923
+ :tSTRING_END, ")", [5, 6],
1924
+ :tREGEXP_OPT, "", [6, 6])
1925
+ end
1926
+
1927
+ def test_regexp_escape_delimiter_nonmeta
1928
+ assert_scanned("%r'\\''",
1929
+ :tREGEXP_BEG, "%r'", [0, 3],
1930
+ :tSTRING_CONTENT, "'", [3, 5],
1931
+ :tSTRING_END, "'", [5, 6],
1932
+ :tREGEXP_OPT, "", [6, 6])
1933
+ end
1934
+
1935
+ def test_regexp_escape_other_meta
1936
+ assert_scanned("/\\.\\$\\*\\+\\.\\?\\|/",
1937
+ :tREGEXP_BEG, "/", [0, 1],
1938
+ :tSTRING_CONTENT, "\\.\\$\\*\\+\\.\\?\\|", [1, 15],
1939
+ :tSTRING_END, "/", [15, 16],
1940
+ :tREGEXP_OPT, "", [16, 16])
1941
+ end
1942
+
1943
+ def test_regexp_nm
1944
+ assert_scanned("/.*/nm",
1945
+ :tREGEXP_BEG, "/", [0, 1],
1946
+ :tSTRING_CONTENT, ".*", [1, 3],
1947
+ :tSTRING_END, "/", [3, 4],
1948
+ :tREGEXP_OPT, "nm", [4, 6])
1949
+ end
1950
+
1951
+ def test_rparen
1952
+ assert_scanned ")", :tRPAREN, ")", [0, 1]
1953
+ end
1954
+
1955
+ def test_rshft
1956
+ assert_scanned("a >> 2",
1957
+ :tIDENTIFIER, "a", [0, 1],
1958
+ :tRSHFT, ">>", [2, 4],
1959
+ :tINTEGER, 2, [5, 6])
1960
+ end
1961
+
1962
+ def test_rshft_equals
1963
+ assert_scanned("a >>= 2",
1964
+ :tIDENTIFIER, "a", [0, 1],
1965
+ :tOP_ASGN, ">>", [2, 5],
1966
+ :tINTEGER, 2, [6, 7])
1967
+ end
1968
+
1969
+ def test_star
1970
+ assert_scanned("a * ",
1971
+ :tIDENTIFIER, "a", [0, 1],
1972
+ :tSTAR2, "*", [2, 3])
1973
+
1974
+ assert_equal :expr_value, @lex.state
1975
+ end
1976
+
1977
+ def test_star2
1978
+ assert_scanned("a ** ",
1979
+ :tIDENTIFIER, "a", [0, 1],
1980
+ :tPOW, "**", [2, 4])
1981
+
1982
+ assert_equal :expr_value, @lex.state
1983
+ end
1984
+
1985
+ def test_star2_equals
1986
+ assert_scanned("a **= ",
1987
+ :tIDENTIFIER, "a", [0, 1],
1988
+ :tOP_ASGN, "**", [2, 5])
1989
+
1990
+ assert_equal :expr_beg, @lex.state
1991
+ end
1992
+
1993
+ def test_star2_beg
1994
+ assert_scanned("** ",
1995
+ :tDSTAR, "**", [0, 2])
1996
+
1997
+ assert_equal :expr_beg, @lex.state
1998
+ end
1999
+
2000
+ def test_star_arg
2001
+ @lex.state = :expr_arg
2002
+
2003
+ assert_scanned(" *a",
2004
+ :tSTAR, "*", [1, 2],
2005
+ :tIDENTIFIER, "a", [2, 3])
2006
+
2007
+ assert_equal :expr_arg, @lex.state
2008
+ end
2009
+
2010
+ def test_star_arg_beg
2011
+ @lex.state = :expr_beg
2012
+
2013
+ assert_scanned("*a",
2014
+ :tSTAR, "*", [0, 1],
2015
+ :tIDENTIFIER, "a", [1, 2])
2016
+
2017
+ assert_equal :expr_arg, @lex.state
2018
+ end
2019
+
2020
+ def test_star_arg_beg_fname
2021
+ @lex.state = :expr_fname
2022
+
2023
+ assert_scanned("*a",
2024
+ :tSTAR2, "*", [0, 1],
2025
+ :tIDENTIFIER, "a", [1, 2])
2026
+
2027
+ assert_equal :expr_arg, @lex.state
2028
+ end
2029
+
2030
+ def test_star_equals
2031
+ assert_scanned("a *= ",
2032
+ :tIDENTIFIER, "a", [0, 1],
2033
+ :tOP_ASGN, "*", [2, 4])
2034
+
2035
+ assert_equal :expr_beg, @lex.state
2036
+ end
2037
+
2038
+ def test_string_bad_eos
2039
+ refute_scanned('%',
2040
+ :tSTRING_BEG, '%', [0, 1])
2041
+ end
2042
+
2043
+ def test_string_bad_eos_quote
2044
+ refute_scanned('%{nest',
2045
+ :tSTRING_BEG, '%}', [0, 2])
2046
+ end
2047
+
2048
+ def test_string_double
2049
+ assert_scanned('"string"',
2050
+ :tSTRING, "string", [0, 8])
2051
+ end
2052
+
2053
+ def test_string_double_escape_C
2054
+ assert_scanned('"\\C-a"',
2055
+ :tSTRING, "\001", [0, 6])
2056
+ end
2057
+
2058
+ def test_string_double_escape_C_backslash
2059
+ assert_scanned('"\\C-\\\\"',
2060
+ :tSTRING, "\034", [0, 7])
2061
+ end
2062
+
2063
+ def test_string_double_escape_C_escape
2064
+ assert_scanned('"\\C-\\M-a"',
2065
+ :tSTRING, "\201", [0, 9])
2066
+ end
2067
+
2068
+ def test_string_double_escape_C_question
2069
+ assert_scanned('"\\C-?"',
2070
+ :tSTRING, "\177", [0, 6])
2071
+ end
2072
+
2073
+ def test_string_double_escape_M
2074
+ assert_scanned('"\\M-a"',
2075
+ :tSTRING, "\341", [0, 6])
2076
+ end
2077
+
2078
+ def test_string_double_escape_M_backslash
2079
+ assert_scanned('"\\M-\\\\"',
2080
+ :tSTRING, "\334", [0, 7])
2081
+ end
2082
+
2083
+ def test_string_double_escape_M_escape
2084
+ assert_scanned('"\\M-\\C-a"',
2085
+ :tSTRING, "\201", [0, 9])
2086
+ end
2087
+
2088
+ def test_string_double_escape_bs1
2089
+ assert_scanned('"a\\a\\a"',
2090
+ :tSTRING, "a\a\a", [0, 7])
2091
+ end
2092
+
2093
+ def test_string_double_escape_bs2
2094
+ assert_scanned('"a\\\\a"',
2095
+ :tSTRING, "a\\a", [0, 6])
2096
+ end
2097
+
2098
+ def test_string_double_escape_c
2099
+ assert_scanned('"\\ca"',
2100
+ :tSTRING, "\001", [0, 5])
2101
+ end
2102
+
2103
+ def test_string_double_escape_c_escape
2104
+ assert_scanned('"\\c\\M-a"',
2105
+ :tSTRING, "\201", [0, 8])
2106
+ end
2107
+
2108
+ def test_string_double_escape_c_question
2109
+ assert_scanned('"\\c?"',
2110
+ :tSTRING, "\177", [0, 5])
2111
+ end
2112
+
2113
+ def test_string_double_escape_chars
2114
+ assert_scanned('"s\\tri\\ng"',
2115
+ :tSTRING, "s\tri\ng", [0, 10])
2116
+ end
2117
+
2118
+ def test_string_double_escape_hex
2119
+ assert_scanned('"n = \\x61\\x62\\x63"',
2120
+ :tSTRING, "n = abc", [0, 18])
2121
+ end
2122
+
2123
+ def test_string_double_escape_octal
2124
+ assert_scanned('"n = \\101\\102\\103"',
2125
+ :tSTRING, "n = ABC", [0, 18])
2126
+ end
2127
+
2128
+ def test_string_double_escape_octal_wrap
2129
+ assert_scanned('"\\753"',
2130
+ :tSTRING, "\xEB", [0, 6])
2131
+ end
2132
+
2133
+ def test_string_double_interp
2134
+ assert_scanned("\"blah #x a \#@a b \#$b c \#{3} # \"",
2135
+ :tSTRING_BEG, "\"", [0, 1],
2136
+ :tSTRING_CONTENT, "blah #x a ", [1, 11],
2137
+ :tSTRING_DVAR, nil, [11, 12],
2138
+ :tIVAR, "@a", [12, 14],
2139
+ :tSTRING_CONTENT, " b ", [14, 17],
2140
+ :tSTRING_DVAR, nil, [17, 18],
2141
+ :tGVAR, "$b", [18, 20],
2142
+ :tSTRING_CONTENT, " c ", [20, 23],
2143
+ :tSTRING_DBEG, '#{', [23, 25],
2144
+ :tINTEGER, 3, [25, 26],
2145
+ :tRCURLY, "}", [26, 27],
2146
+ :tSTRING_CONTENT, " # ", [27, 30],
2147
+ :tSTRING_END, "\"", [30, 31])
2148
+ end
2149
+
2150
+ def test_string_double_interp_label
2151
+ assert_scanned('"#{foo:bar}"',
2152
+ :tSTRING_BEG, '"', [0, 1],
2153
+ :tSTRING_DBEG, '#{', [1, 3],
2154
+ :tIDENTIFIER, 'foo', [3, 6],
2155
+ :tSYMBOL, 'bar', [6, 10],
2156
+ :tRCURLY, '}', [10, 11],
2157
+ :tSTRING_END, '"', [11, 12])
2158
+ end
2159
+
2160
+ def test_string_double_nested_curlies
2161
+ assert_scanned('%{nest{one{two}one}nest}',
2162
+ :tSTRING_BEG, '%{', [0, 2],
2163
+ :tSTRING_CONTENT, "nest{one{two}one}nest", [2, 23],
2164
+ :tSTRING_END, '}', [23, 24])
2165
+ end
2166
+
2167
+ def test_string_double_no_interp
2168
+ assert_scanned("\"# blah\"", # pound first
2169
+ :tSTRING, "# blah", [0, 8])
2170
+
2171
+ assert_scanned("\"blah # blah\"", # pound not first
2172
+ :tSTRING, "blah # blah", [0, 13])
2173
+ end
2174
+
2175
+ def test_string_escape_x_single
2176
+ assert_scanned('"\\x0"',
2177
+ :tSTRING, "\000", [0, 5])
2178
+ end
2179
+
2180
+ def test_string_pct_Q
2181
+ assert_scanned("%Q[s1 s2]",
2182
+ :tSTRING_BEG, '%Q[', [0, 3],
2183
+ :tSTRING_CONTENT, "s1 s2", [3, 8],
2184
+ :tSTRING_END, ']', [8, 9])
2185
+ end
2186
+
2187
+ def test_string_pct_W
2188
+ assert_scanned("%W[s1 s2\ns3]",
2189
+ :tWORDS_BEG, "%W[", [0, 3],
2190
+ :tSTRING_CONTENT, "s1", [3, 5],
2191
+ :tSPACE, nil, [5, 6],
2192
+ :tSTRING_CONTENT, "s2", [6, 8],
2193
+ :tSPACE, nil, [8, 9],
2194
+ :tSTRING_CONTENT, "s3", [9, 11],
2195
+ :tSPACE, nil, [11, 11],
2196
+ :tSTRING_END, ']', [11, 12])
2197
+ end
2198
+
2199
+ def test_string_pct_W_bs_nl
2200
+ assert_scanned("%W[s1 \\\ns2]",
2201
+ :tWORDS_BEG, "%W[", [0, 3],
2202
+ :tSTRING_CONTENT, "s1", [3, 5],
2203
+ :tSPACE, nil, [5, 6],
2204
+ :tSTRING_CONTENT, "\ns2", [6, 10],
2205
+ :tSPACE, nil, [10, 10],
2206
+ :tSTRING_END, ']', [10, 11])
2207
+ end
2208
+
2209
+ def test_string_pct_W_interp
2210
+ assert_scanned('%W[#{1}#{2} #@a]',
2211
+ :tWORDS_BEG, '%W[', [0, 3],
2212
+ :tSTRING_DBEG, '#{', [3, 5],
2213
+ :tINTEGER, 1, [5, 6],
2214
+ :tRCURLY, '}', [6, 7],
2215
+ :tSTRING_DBEG, '#{', [7, 9],
2216
+ :tINTEGER, 2, [9, 10],
2217
+ :tRCURLY, '}', [10, 11],
2218
+ :tSPACE, nil, [11, 12],
2219
+ :tSTRING_DVAR, nil, [12, 13],
2220
+ :tIVAR, '@a', [13, 15],
2221
+ :tSPACE, nil, [15, 15],
2222
+ :tSTRING_END, ']', [15, 16])
2223
+ end
2224
+
2225
+ def test_string_pct_I
2226
+ assert_scanned("%I(s1 s2)",
2227
+ :tSYMBOLS_BEG, "%I(", [0, 3],
2228
+ :tSTRING_CONTENT, "s1", [3, 5],
2229
+ :tSPACE, nil, [5, 6],
2230
+ :tSTRING_CONTENT, "s2", [6, 8],
2231
+ :tSPACE, nil, [8, 8],
2232
+ :tSTRING_END, ')', [8, 9])
2233
+ end
2234
+
2235
+ def test_string_pct_angle
2236
+ assert_scanned("%<blah>",
2237
+ :tSTRING_BEG, '%<', [0, 2],
2238
+ :tSTRING_CONTENT, "blah", [2, 6],
2239
+ :tSTRING_END, '>', [6, 7])
2240
+ end
2241
+
2242
+ def test_string_pct_pct
2243
+ assert_scanned("%%blah%",
2244
+ :tSTRING_BEG, '%%', [0, 2],
2245
+ :tSTRING_CONTENT, "blah", [2, 6],
2246
+ :tSTRING_END, '%', [6, 7])
2247
+ end
2248
+
2249
+ def test_string_pct_w
2250
+ assert_scanned("%w[s1 s2 ]",
2251
+ :tQWORDS_BEG, "%w[", [0, 3],
2252
+ :tSTRING_CONTENT, "s1", [3, 5],
2253
+ :tSPACE, nil, [5, 6],
2254
+ :tSTRING_CONTENT, "s2", [6, 8],
2255
+ :tSPACE, nil, [8, 9],
2256
+ :tSTRING_END, "]", [9, 10])
2257
+ end
2258
+
2259
+ def test_string_pct_w_incomplete
2260
+ refute_scanned("%w[s1 ",
2261
+ :tQWORDS_BEG, "%w[", [0, 3],
2262
+ :tSTRING_CONTENT, "s1", [3, 5],
2263
+ :tSPACE, nil, [5, 6])
2264
+ end
2265
+
2266
+ def test_string_pct_w_bs_nl
2267
+ assert_scanned("%w[s1 \\\ns2]",
2268
+ :tQWORDS_BEG, "%w[", [0, 3],
2269
+ :tSTRING_CONTENT, "s1", [3, 5],
2270
+ :tSPACE, nil, [5, 6],
2271
+ :tSTRING_CONTENT, "\ns2", [6, 10],
2272
+ :tSPACE, nil, [10, 10],
2273
+ :tSTRING_END, ']', [10, 11])
2274
+ end
2275
+
2276
+ def test_string_pct_w_bs_sp
2277
+ assert_scanned("%w[s\\ 1 s\\ 2]",
2278
+ :tQWORDS_BEG, "%w[", [0, 3],
2279
+ :tSTRING_CONTENT, "s 1", [3, 7],
2280
+ :tSPACE, nil, [7, 8],
2281
+ :tSTRING_CONTENT, "s 2", [8, 12],
2282
+ :tSPACE, nil, [12, 12],
2283
+ :tSTRING_END, ']', [12, 13])
2284
+ end
2285
+
2286
+ def test_string_pct_w_tab
2287
+ assert_scanned("%w[abc\tdef]",
2288
+ :tQWORDS_BEG, "%w[", [0, 3],
2289
+ :tSTRING_CONTENT, "abc", [3, 6],
2290
+ :tSPACE, nil, [6, 7],
2291
+ :tSTRING_CONTENT, "def", [7, 10],
2292
+ :tSPACE, nil, [10, 10],
2293
+ :tSTRING_END, ']', [10, 11])
2294
+ end
2295
+
2296
+ def test_string_pct_i
2297
+ assert_scanned("%i(s1 s2)",
2298
+ :tQSYMBOLS_BEG, "%i(", [0, 3],
2299
+ :tSTRING_CONTENT, "s1", [3, 5],
2300
+ :tSPACE, nil, [5, 6],
2301
+ :tSTRING_CONTENT, "s2", [6, 8],
2302
+ :tSPACE, nil, [8, 8],
2303
+ :tSTRING_END, ')', [8, 9])
2304
+ end
2305
+
2306
+ def test_string_pct_backslash
2307
+ assert_scanned("%\\a\\",
2308
+ :tSTRING_BEG, "%\\", [0, 2],
2309
+ :tSTRING_CONTENT, "a", [2, 3],
2310
+ :tSTRING_END, "\\", [3, 4])
2311
+ end
2312
+
2313
+ def test_string_pct_w_backslash
2314
+ assert_scanned("%w\\s1 s2 \\",
2315
+ :tQWORDS_BEG, "%w\\", [0, 3],
2316
+ :tSTRING_CONTENT, "s1", [3, 5],
2317
+ :tSPACE, nil, [5, 6],
2318
+ :tSTRING_CONTENT, "s2", [6, 8],
2319
+ :tSPACE, nil, [8, 9],
2320
+ :tSTRING_END, "\\", [9, 10])
2321
+ end
2322
+
2323
+ def test_string_pct_w_backslash_nl
2324
+ assert_scanned("%w\\s1 s2 \\\n",
2325
+ :tQWORDS_BEG, "%w\\", [0, 3],
2326
+ :tSTRING_CONTENT, "s1", [3, 5],
2327
+ :tSPACE, nil, [5, 6],
2328
+ :tSTRING_CONTENT, "s2", [6, 8],
2329
+ :tSPACE, nil, [8, 9],
2330
+ :tSTRING_END, "\\", [9, 10],
2331
+ :tNL, nil, [10, 11])
2332
+ end
2333
+
2334
+ def test_string_pct_w_backslash_interp_nl
2335
+ assert_scanned("%W\\blah #x a \#@a b \#$b c \#{3} # \\",
2336
+ :tWORDS_BEG, "%W\\", [0, 3],
2337
+ :tSTRING_CONTENT, "blah", [3, 7],
2338
+ :tSPACE, nil, [7, 8],
2339
+ :tSTRING_CONTENT, "#x", [8, 10],
2340
+ :tSPACE, nil, [10, 11],
2341
+ :tSTRING_CONTENT, "a", [11, 12],
2342
+ :tSPACE, nil, [12, 13],
2343
+ :tSTRING_DVAR, nil, [13, 14],
2344
+ :tIVAR, "@a", [14, 16],
2345
+ :tSPACE, nil, [16, 17],
2346
+ :tSTRING_CONTENT, "b", [17, 18],
2347
+ :tSPACE, nil, [18, 19],
2348
+ :tSTRING_DVAR, nil, [19, 20],
2349
+ :tGVAR, "$b", [20, 22],
2350
+ :tSPACE, nil, [22, 23],
2351
+ :tSTRING_CONTENT, "c", [23, 24],
2352
+ :tSPACE, nil, [24, 25],
2353
+ :tSTRING_DBEG, '#{', [25, 27],
2354
+ :tINTEGER, 3, [27, 28],
2355
+ :tRCURLY, "}", [28, 29],
2356
+ :tSPACE, nil, [29, 30],
2357
+ :tSTRING_CONTENT, "#", [30, 31],
2358
+ :tSPACE, nil, [31, 32],
2359
+ :tSTRING_END, "\\", [32, 33])
2360
+ end
2361
+
2362
+ def test_string_pct_backslash_with_bad_escape
2363
+ # No escapes are allowed in a backslash-delimited string
2364
+ refute_scanned("%\\a\\n\\",
2365
+ :tSTRING_BEG, "%\\", [0, 2],
2366
+ :tSTRING_CONTENT, "a", [2, 3],
2367
+ :tSTRING_END, "\\", [3, 4],
2368
+ :tIDENTIFIER, "n", [4, 5])
2369
+ end
2370
+
2371
+ def test_string_pct_intertwined_with_heredoc
2372
+ assert_scanned("<<-foo + %\\a\nbar\nfoo\nb\\",
2373
+ :tSTRING_BEG, "<<\"", [0, 6],
2374
+ :tSTRING_CONTENT, "bar\n", [13, 17],
2375
+ :tSTRING_END, "foo", [17, 20],
2376
+ :tPLUS, "+", [7, 8],
2377
+ :tSTRING_BEG, "%\\", [9, 11],
2378
+ :tSTRING_CONTENT, "a\n", [11, 13],
2379
+ :tSTRING_CONTENT, "b", [21, 22],
2380
+ :tSTRING_END, "\\", [22, 23])
2381
+ end
2382
+
2383
+ def test_string_pct_q_backslash
2384
+ assert_scanned("%q\\a\\",
2385
+ :tSTRING_BEG, "%q\\", [0, 3],
2386
+ :tSTRING_CONTENT, "a", [3, 4],
2387
+ :tSTRING_END, "\\", [4, 5])
2388
+ end
2389
+
2390
+ def test_string_pct_Q_backslash
2391
+ assert_scanned("%Q\\a\\",
2392
+ :tSTRING_BEG, "%Q\\", [0, 3],
2393
+ :tSTRING_CONTENT, "a", [3, 4],
2394
+ :tSTRING_END, "\\", [4, 5])
2395
+ end
2396
+
2397
+ def test_string_single
2398
+ assert_scanned("'string'",
2399
+ :tSTRING, "string", [0, 8])
2400
+ end
2401
+
2402
+ def test_string_single_escape_chars
2403
+ assert_scanned("'s\\tri\\ng'",
2404
+ :tSTRING, "s\\tri\\ng", [0, 10])
2405
+ end
2406
+
2407
+ def test_string_single_nl
2408
+ assert_scanned("'blah\\\nblah'",
2409
+ :tSTRING_BEG, "'", [0, 1],
2410
+ :tSTRING_CONTENT, "blah\\\n", [1, 7],
2411
+ :tSTRING_CONTENT, "blah", [7, 11],
2412
+ :tSTRING_END, "'", [11, 12])
2413
+ end
2414
+
2415
+ def test_symbol
2416
+ assert_scanned(":symbol",
2417
+ :tSYMBOL, "symbol", [0, 7])
2418
+ end
2419
+
2420
+ def test_symbol_double
2421
+ assert_scanned(":\"symbol\"",
2422
+ :tSYMBEG, ":\"", [0, 2],
2423
+ :tSTRING_CONTENT, "symbol", [2, 8],
2424
+ :tSTRING_END, "\"", [8, 9])
2425
+ end
2426
+
2427
+ def test_symbol_single
2428
+ assert_scanned(":'symbol'",
2429
+ :tSYMBEG, ":'", [0, 2],
2430
+ :tSTRING_CONTENT, "symbol", [2, 8],
2431
+ :tSTRING_END, "'", [8, 9])
2432
+ end
2433
+
2434
+ def test_ternary
2435
+ assert_scanned("a ? b : c",
2436
+ :tIDENTIFIER, "a", [0, 1],
2437
+ :tEH, "?", [2, 3],
2438
+ :tIDENTIFIER, "b", [4, 5],
2439
+ :tCOLON, ":", [6, 7],
2440
+ :tIDENTIFIER, "c", [8, 9])
2441
+
2442
+ assert_scanned("a ?b : c",
2443
+ :tIDENTIFIER, "a", [0, 1],
2444
+ :tINTEGER, 98, [2, 4],
2445
+ :tCOLON, ":", [5, 6],
2446
+ :tIDENTIFIER, "c", [7, 8])
2447
+
2448
+ assert_scanned("a ?bb : c", # GAH! MATZ!!!
2449
+ :tIDENTIFIER, "a", [0, 1],
2450
+ :tEH, "?", [2, 3],
2451
+ :tIDENTIFIER, "bb", [3, 5],
2452
+ :tCOLON, ":", [6, 7],
2453
+ :tIDENTIFIER, "c", [8, 9])
2454
+
2455
+ assert_scanned("42 ?", # 42 forces expr_end
2456
+ :tINTEGER, 42, [0, 2],
2457
+ :tEH, "?", [3, 4])
2458
+ end
2459
+
2460
+ def test_tilde
2461
+ assert_scanned "~", :tTILDE, "~", [0, 1]
2462
+ end
2463
+
2464
+ def test_tilde_unary
2465
+ @lex.state = :expr_fname
2466
+ assert_scanned "~@", :tTILDE, "~@", [0, 2]
2467
+ end
2468
+
2469
+ def test_uminus
2470
+ assert_scanned("-blah",
2471
+ :tUMINUS, "-", [0, 1],
2472
+ :tIDENTIFIER, "blah", [1, 5])
2473
+ end
2474
+
2475
+ def test_underscore
2476
+ assert_scanned("_var", :tIDENTIFIER, "_var", [0, 4])
2477
+ end
2478
+
2479
+ def test_underscore_end
2480
+ assert_scanned("__END__\n")
2481
+ assert_scanned("__END__")
2482
+ assert_scanned("__END__ foo",
2483
+ :tIDENTIFIER, '__END__', [0, 7],
2484
+ :tIDENTIFIER, 'foo', [8, 11])
2485
+ assert_scanned("__END__\rfoo",
2486
+ :tIDENTIFIER, '__END__', [0, 7],
2487
+ :tIDENTIFIER, 'foo', [8, 11])
2488
+ end
2489
+
2490
+ def test_uplus
2491
+ assert_scanned("+blah",
2492
+ :tUPLUS, "+", [0, 1],
2493
+ :tIDENTIFIER, "blah", [1, 5])
2494
+ end
2495
+
2496
+ def test_if_unless_mod
2497
+ assert_scanned("return if true unless false",
2498
+ :kRETURN, "return", [0, 6],
2499
+ :kIF_MOD, "if", [7, 9],
2500
+ :kTRUE, "true", [10, 14],
2501
+ :kUNLESS_MOD, "unless", [15, 21],
2502
+ :kFALSE, "false", [22, 27])
2503
+ end
2504
+
2505
+ def test_if_stmt
2506
+ assert_scanned("if true\n return end",
2507
+ :kIF, "if", [0, 2],
2508
+ :kTRUE, "true", [3, 7],
2509
+ :tNL, nil, [7, 8],
2510
+ :kRETURN, "return", [9, 15],
2511
+ :kEND, "end", [16, 19])
2512
+ end
2513
+
2514
+ def test_sclass_label
2515
+ setup_lexer 20
2516
+ assert_scanned("class << a:b",
2517
+ :kCLASS, 'class', [0, 5],
2518
+ :tLSHFT, '<<', [6, 8],
2519
+ :tIDENTIFIER, 'a', [9, 10],
2520
+ :tSYMBOL, 'b', [10, 12])
2521
+ end
2522
+
2523
+ def test_fname_pct_s__22
2524
+ setup_lexer 22
2525
+ @lex.state = :expr_fname
2526
+ assert_scanned("%s(a)",
2527
+ :tPERCENT, '%', [0, 1],
2528
+ :tIDENTIFIER, 's', [1, 2],
2529
+ :tLPAREN2, '(', [2, 3],
2530
+ :tIDENTIFIER, 'a', [3, 4],
2531
+ :tRPAREN, ')', [4, 5])
2532
+ end
2533
+
2534
+ def test_fname_pct_s__23
2535
+ setup_lexer 23
2536
+ @lex.state = :expr_fname
2537
+ assert_scanned("%s(a)",
2538
+ :tSYMBEG, '%s(', [0, 3],
2539
+ :tSTRING_CONTENT, 'a', [3, 4],
2540
+ :tSTRING_END, ')', [4, 5])
2541
+ end
2542
+
2543
+ def test_static_env
2544
+ env = Parser::StaticEnvironment.new
2545
+ env.declare "a"
2546
+
2547
+ @lex.static_env = env
2548
+ assert_scanned("a [42]",
2549
+ :tIDENTIFIER, "a", [0, 1],
2550
+ :tLBRACK2, "[", [2, 3],
2551
+ :tINTEGER, 42, [3, 5],
2552
+ :tRBRACK, "]", [5, 6])
2553
+ end
2554
+
2555
+ def test_int_suffix
2556
+ [18, 19, 20].each do |version|
2557
+ setup_lexer version
2558
+
2559
+ assert_scanned("42r",
2560
+ :tINTEGER, 42, [0, 2],
2561
+ :tIDENTIFIER, 'r', [2, 3])
2562
+
2563
+ assert_scanned("42if",
2564
+ :tINTEGER, 42, [0, 2],
2565
+ :kIF_MOD, 'if', [2, 4])
2566
+ end
2567
+
2568
+ setup_lexer 21
2569
+
2570
+ assert_scanned("42r", :tRATIONAL, Rational(42), [0, 3])
2571
+ assert_scanned("42i", :tIMAGINARY, Complex(0, 42), [0, 3])
2572
+ assert_scanned("42ri", :tIMAGINARY, Complex(0, Rational(42)), [0, 4])
2573
+ end
2574
+
2575
+ def test_float_suffix
2576
+ [18, 19, 20].each do |version|
2577
+ setup_lexer version
2578
+
2579
+ assert_scanned("42.1r",
2580
+ :tFLOAT, 42.1, [0, 4],
2581
+ :tIDENTIFIER, 'r', [4, 5])
2582
+
2583
+ assert_scanned("42.1if",
2584
+ :tFLOAT, 42.1, [0, 4],
2585
+ :kIF_MOD, 'if', [4, 6])
2586
+
2587
+ assert_scanned("1e1r",
2588
+ :tFLOAT, 1e1, [0, 3],
2589
+ :tIDENTIFIER, 'r', [3, 4])
2590
+ end
2591
+
2592
+ begin
2593
+ # Feature-check.
2594
+ Rational("10")
2595
+
2596
+ setup_lexer 21
2597
+
2598
+ assert_scanned("42.1r", :tRATIONAL, Rational(421, 10), [0, 5])
2599
+ assert_scanned("42.1i", :tIMAGINARY, Complex(0, 42.1), [0, 5])
2600
+ assert_scanned("42.1ri", :tIMAGINARY, Complex(0, Rational(421, 10)), [0, 6])
2601
+ assert_scanned("42.1ir",
2602
+ :tIMAGINARY, Complex(0, 42.1), [0, 5],
2603
+ :tIDENTIFIER, 'r', [5, 6])
2604
+
2605
+ assert_scanned("1e1i", :tIMAGINARY, Complex(0, 1e1), [0, 4])
2606
+ assert_scanned("1e1r",
2607
+ :tFLOAT, 1e1, [0, 3],
2608
+ :tIDENTIFIER, 'r', [3, 4])
2609
+ assert_scanned("1e1ri",
2610
+ :tFLOAT, 1e1, [0, 3],
2611
+ :tIDENTIFIER, 'ri', [3, 5])
2612
+ assert_scanned("1e1ir",
2613
+ :tIMAGINARY, Complex(0, 1e1), [0, 4],
2614
+ :tIDENTIFIER, 'r', [4, 5])
2615
+ rescue NoMethodError
2616
+ # Ruby not modern enough
2617
+ end
2618
+ end
2619
+
2620
+ def test_eof
2621
+ assert_scanned("self",
2622
+ :kSELF, "self", [0, 4])
2623
+ assert_equal([false, ["$eof", Parser::Source::Range.new(@lex.source_buffer, 4, 4)]],
2624
+ @lex.advance)
2625
+ end
2626
+
2627
+ #
2628
+ # Test for 'fluent interface'
2629
+ #
2630
+
2631
+ def test_fluent_dot
2632
+ assert_scanned("x\n.y",
2633
+ :tIDENTIFIER, 'x', [0, 1],
2634
+ :tDOT, '.', [2, 3],
2635
+ :tIDENTIFIER, 'y', [3, 4])
2636
+
2637
+ assert_scanned("x\n .y",
2638
+ :tIDENTIFIER, 'x', [0, 1],
2639
+ :tDOT, '.', [4, 5],
2640
+ :tIDENTIFIER, 'y', [5, 6])
2641
+
2642
+ assert_scanned("x # comment\n .y",
2643
+ :tIDENTIFIER, 'x', [0, 1],
2644
+ :tDOT, '.', [14, 15],
2645
+ :tIDENTIFIER, 'y', [15, 16])
2646
+ end
2647
+
2648
+ def test_fluent_and_dot
2649
+ assert_scanned("x\n&.y",
2650
+ :tIDENTIFIER, 'x', [0, 1],
2651
+ :tANDDOT, '&.', [2, 4],
2652
+ :tIDENTIFIER, 'y', [4, 5])
2653
+ end
2654
+
2655
+ #
2656
+ # Tests for whitespace.
2657
+ #
2658
+
2659
+ def test_whitespace_fname
2660
+ @lex.state = :expr_fname
2661
+ assert_scanned('class',
2662
+ :kCLASS, 'class', [0, 5])
2663
+
2664
+ @lex.state = :expr_fname
2665
+ assert_scanned(' class',
2666
+ :kCLASS, 'class', [1, 6])
2667
+
2668
+ @lex.state = :expr_fname
2669
+ assert_scanned("\nclass",
2670
+ :kCLASS, 'class', [1, 6])
2671
+
2672
+ @lex.state = :expr_fname
2673
+ assert_scanned("\\\nclass",
2674
+ :kCLASS, 'class', [2, 7])
2675
+
2676
+ @lex.state = :expr_fname
2677
+ assert_scanned("#foo\nclass",
2678
+ :kCLASS, 'class', [5, 10])
2679
+ end
2680
+
2681
+ def test_whitespace_endfn
2682
+ setup_lexer(21)
2683
+
2684
+ @lex.state = :expr_endfn
2685
+ assert_scanned('foo:',
2686
+ :tLABEL, 'foo', [0, 4])
2687
+
2688
+ @lex.state = :expr_endfn
2689
+ assert_scanned(' foo:',
2690
+ :tLABEL, 'foo', [1, 5])
2691
+
2692
+ @lex.state = :expr_endfn
2693
+ assert_scanned("\nfoo:",
2694
+ :tNL, nil, [0, 1],
2695
+ :tIDENTIFIER, 'foo', [1, 4],
2696
+ :tCOLON, ':', [4, 5])
2697
+
2698
+ @lex.state = :expr_endfn
2699
+ assert_scanned("\nfoo: ",
2700
+ :tNL, nil, [0, 1],
2701
+ :tIDENTIFIER, 'foo', [1, 4],
2702
+ :tCOLON, ':', [4, 5])
2703
+
2704
+ @lex.state = :expr_endfn
2705
+ assert_scanned("\\\nfoo:",
2706
+ :tLABEL, 'foo', [2, 6])
2707
+
2708
+ @lex.state = :expr_endfn
2709
+ assert_scanned("#foo\nfoo:",
2710
+ :tNL, nil, [4, 5],
2711
+ :tIDENTIFIER, 'foo', [5, 8],
2712
+ :tCOLON, ':', [8, 9])
2713
+
2714
+ @lex.state = :expr_endfn
2715
+ assert_scanned("#foo\nfoo: ",
2716
+ :tNL, nil, [4, 5],
2717
+ :tIDENTIFIER, 'foo', [5, 8],
2718
+ :tCOLON, ':', [8, 9])
2719
+ end
2720
+
2721
+ def test_whitespace_dot
2722
+ @lex.state = :expr_dot
2723
+ assert_scanned('class',
2724
+ :tIDENTIFIER, 'class', [0, 5])
2725
+
2726
+ @lex.state = :expr_dot
2727
+ assert_scanned(' class',
2728
+ :tIDENTIFIER, 'class', [1, 6])
2729
+
2730
+ @lex.state = :expr_dot
2731
+ assert_scanned("\nclass",
2732
+ :tIDENTIFIER, 'class', [1, 6])
2733
+
2734
+ @lex.state = :expr_dot
2735
+ assert_scanned("\\\nclass",
2736
+ :tIDENTIFIER, 'class', [2, 7])
2737
+
2738
+ @lex.state = :expr_dot
2739
+ assert_scanned("#foo\nclass",
2740
+ :tIDENTIFIER, 'class', [5, 10])
2741
+ end
2742
+
2743
+ def test_whitespace_arg
2744
+ @lex.state = :expr_arg
2745
+ assert_scanned('+',
2746
+ :tPLUS, '+', [0, 1])
2747
+
2748
+ @lex.state = :expr_arg
2749
+ assert_scanned(' +',
2750
+ :tUPLUS, '+', [1, 2])
2751
+
2752
+ @lex.state = :expr_arg
2753
+ assert_scanned("\n+",
2754
+ :tNL, nil, [0, 1],
2755
+ :tUPLUS, '+', [1, 2])
2756
+
2757
+ @lex.state = :expr_arg
2758
+ assert_scanned("\\\n+",
2759
+ :tUPLUS, '+', [2, 3])
2760
+
2761
+ @lex.state = :expr_arg
2762
+ assert_scanned("\\\n +",
2763
+ :tUPLUS, '+', [3, 4])
2764
+
2765
+ @lex.state = :expr_arg
2766
+ assert_scanned("#foo\n+",
2767
+ :tNL, nil, [4, 5],
2768
+ :tUPLUS, '+', [5, 6])
2769
+ end
2770
+
2771
+ def test_whitespace_endarg
2772
+ @lex.state = :expr_endarg
2773
+ assert_scanned('{',
2774
+ :tLBRACE_ARG, '{', [0, 1])
2775
+
2776
+ @lex.state = :expr_endarg
2777
+ assert_scanned(' {',
2778
+ :tLBRACE_ARG, '{', [1, 2])
2779
+
2780
+ @lex.state = :expr_endarg
2781
+ assert_scanned("\n{",
2782
+ :tNL, nil, [0, 1],
2783
+ :tLBRACE, '{', [1, 2])
2784
+
2785
+ @lex.state = :expr_endarg
2786
+ assert_scanned("\\\n{",
2787
+ :tLBRACE_ARG, '{', [2, 3])
2788
+
2789
+ @lex.state = :expr_endarg
2790
+ assert_scanned("#foo\n{",
2791
+ :tNL, nil, [4, 5],
2792
+ :tLBRACE, '{', [5, 6])
2793
+ end
2794
+
2795
+ def test_whitespace_mid
2796
+ @lex.state = :expr_mid
2797
+ assert_scanned('+',
2798
+ :tUPLUS, '+', [0, 1])
2799
+
2800
+ @lex.state = :expr_mid
2801
+ assert_scanned(' +',
2802
+ :tUPLUS, '+', [1, 2])
2803
+
2804
+ @lex.state = :expr_mid
2805
+ assert_scanned("\n+",
2806
+ :tNL, nil, [0, 1],
2807
+ :tUPLUS, '+', [1, 2])
2808
+
2809
+ @lex.state = :expr_mid
2810
+ assert_scanned("\\\n+",
2811
+ :tUPLUS, '+', [2, 3])
2812
+
2813
+ @lex.state = :expr_mid
2814
+ assert_scanned("#foo\n+",
2815
+ :tNL, nil, [4, 5],
2816
+ :tUPLUS, '+', [5, 6])
2817
+ end
2818
+
2819
+ def test_whitespace_beg
2820
+ @lex.state = :expr_beg
2821
+ assert_scanned('+',
2822
+ :tUPLUS, '+', [0, 1])
2823
+
2824
+ @lex.state = :expr_beg
2825
+ assert_scanned(' +',
2826
+ :tUPLUS, '+', [1, 2])
2827
+
2828
+ @lex.state = :expr_beg
2829
+ assert_scanned("\n+",
2830
+ :tUPLUS, '+', [1, 2])
2831
+
2832
+ @lex.state = :expr_beg
2833
+ assert_scanned("\\\n+",
2834
+ :tUPLUS, '+', [2, 3])
2835
+
2836
+ @lex.state = :expr_beg
2837
+ assert_scanned("#foo\n+",
2838
+ :tUPLUS, '+', [5, 6])
2839
+ end
2840
+
2841
+ def test_whitespace_value
2842
+ setup_lexer(20)
2843
+
2844
+ @lex.state = :expr_value
2845
+ assert_scanned('a:b',
2846
+ :tIDENTIFIER, 'a', [0, 1],
2847
+ :tSYMBOL, 'b', [1, 3])
2848
+
2849
+ @lex.state = :expr_value
2850
+ assert_scanned(' a:b',
2851
+ :tIDENTIFIER, 'a', [1, 2],
2852
+ :tSYMBOL, 'b', [2, 4])
2853
+
2854
+ @lex.state = :expr_value
2855
+ assert_scanned("\na:b",
2856
+ :tIDENTIFIER, 'a', [1, 2],
2857
+ :tSYMBOL, 'b', [2, 4])
2858
+
2859
+ @lex.state = :expr_value
2860
+ assert_scanned("\\\na:b",
2861
+ :tIDENTIFIER, 'a', [2, 3],
2862
+ :tSYMBOL, 'b', [3, 5])
2863
+
2864
+ @lex.state = :expr_value
2865
+ assert_scanned("#foo\na:b",
2866
+ :tIDENTIFIER, 'a', [5, 6],
2867
+ :tSYMBOL, 'b', [6, 8])
2868
+ end
2869
+
2870
+ def test_whitespace_end
2871
+ @lex.state = :expr_end
2872
+ assert_scanned('+ 1',
2873
+ :tPLUS, '+', [0, 1],
2874
+ :tINTEGER, 1, [2, 3])
2875
+
2876
+ @lex.state = :expr_end
2877
+ assert_scanned(' + 1',
2878
+ :tPLUS, '+', [1, 2],
2879
+ :tINTEGER, 1, [3, 4])
2880
+
2881
+ @lex.state = :expr_end
2882
+ assert_scanned("\n+ 1",
2883
+ :tNL, nil, [0, 1],
2884
+ :tUNARY_NUM, '+', [1, 2],
2885
+ :tINTEGER, 1, [3, 4])
2886
+
2887
+ @lex.state = :expr_end
2888
+ assert_scanned("\\\n+ 1",
2889
+ :tPLUS, '+', [2, 3],
2890
+ :tINTEGER, 1, [4, 5])
2891
+
2892
+ @lex.state = :expr_end
2893
+ assert_scanned("#foo\n+ 1",
2894
+ :tNL, nil, [4, 5],
2895
+ :tUNARY_NUM, '+', [5, 6],
2896
+ :tINTEGER, 1, [7, 8])
2897
+ end
2898
+
2899
+ def test_whitespace_cr
2900
+ setup_lexer(20)
2901
+ assert_scanned("<<E\nfoo\nE\rO",
2902
+ :tSTRING_BEG, '<<"', [0, 3],
2903
+ :tSTRING_CONTENT, "foo\n", [4, 8],
2904
+ :tSTRING_END, 'E', [8, 11],
2905
+ :tNL, nil, [3, 4])
2906
+
2907
+ setup_lexer(21)
2908
+ refute_scanned("<<E\nfoo\nE\rO",
2909
+ :tSTRING_BEG, '<<"', [0, 3],
2910
+ :tSTRING_CONTENT, "foo\n", [4, 8])
2911
+ end
2912
+
2913
+ #
2914
+ # Handling of encoding-related issues.
2915
+ #
2916
+
2917
+ def test_transcoded_source_is_converted_back_to_original_encoding
2918
+ setup_lexer(19)
2919
+ @lex.force_utf32 = true
2920
+ @lex.tokens = []
2921
+ assert_scanned(utf('"a" + "b"'),
2922
+ :tSTRING, "a", [0, 3],
2923
+ :tPLUS, "+", [4, 5],
2924
+ :tSTRING, "b", [6, 9])
2925
+
2926
+ @lex.tokens.each do |_type, (str, _range)|
2927
+ assert_equal Encoding::UTF_8, str.encoding
2928
+ end
2929
+ end
2930
+
2931
+ #
2932
+ # Tests for bugs.
2933
+ #
2934
+ # These tests should be moved from nursery and properly
2935
+ # categorized when it's clear how to do that.
2936
+ #
2937
+
2938
+ def test_bug_sclass_joined
2939
+ assert_scanned("class<<self",
2940
+ :kCLASS, "class", [0, 5],
2941
+ :tLSHFT, "<<", [5, 7],
2942
+ :kSELF, "self", [7, 11])
2943
+ end
2944
+
2945
+ def test_bug_const_expr_end
2946
+ assert_scanned("Option",
2947
+ :tCONSTANT, 'Option', [0, 6])
2948
+
2949
+ assert_equal :expr_cmdarg, @lex.state
2950
+ end
2951
+
2952
+ def test_bug_expr_beg_div
2953
+ @lex.state = :expr_beg
2954
+ assert_scanned("/=/",
2955
+ :tREGEXP_BEG, "/", [0, 1],
2956
+ :tSTRING_CONTENT, "=", [1, 2],
2957
+ :tSTRING_END, "/", [2, 3],
2958
+ :tREGEXP_OPT, "", [3, 3])
2959
+
2960
+ @lex.state = :expr_beg
2961
+ assert_scanned("/ = /",
2962
+ :tREGEXP_BEG, "/", [0, 1],
2963
+ :tSTRING_CONTENT, " = ", [1, 4],
2964
+ :tSTRING_END, "/", [4, 5],
2965
+ :tREGEXP_OPT, "", [5, 5])
2966
+ end
2967
+
2968
+ def test_bug_expr_beg_percent
2969
+ @lex.state = :expr_beg
2970
+ assert_scanned("%=foo=",
2971
+ :tSTRING_BEG, "%=", [0, 2],
2972
+ :tSTRING_CONTENT, 'foo', [2, 5],
2973
+ :tSTRING_END, "=", [5, 6])
2974
+
2975
+ @lex.state = :expr_beg
2976
+ assert_scanned("% = ",
2977
+ :tSTRING_BEG, "% ", [0, 2],
2978
+ :tSTRING_CONTENT, '=', [2, 3],
2979
+ :tSTRING_END, ' ', [3, 4])
2980
+ end
2981
+
2982
+ def test_bug_expr_beg_document
2983
+ @lex.state = :expr_beg
2984
+ assert_scanned(" \n=begin\n=end\nend",
2985
+ :kEND, "end", [14, 17])
2986
+
2987
+ end
2988
+
2989
+ def test_bug_expr_beg_number
2990
+ @lex.state = :expr_beg
2991
+ assert_scanned("86400_000_000",
2992
+ :tINTEGER, 86400_000_000, [0, 13])
2993
+ end
2994
+
2995
+ def test_bug_expr_beg_backspace_nl
2996
+ @lex.state = :expr_beg
2997
+ assert_scanned("\n/foo/",
2998
+ :tREGEXP_BEG, "/", [1, 2],
2999
+ :tSTRING_CONTENT, "foo", [2, 5],
3000
+ :tSTRING_END, "/", [5, 6],
3001
+ :tREGEXP_OPT, "", [6, 6])
3002
+ end
3003
+
3004
+ def test_bug_expr_beg_heredoc
3005
+ assert_scanned("<<EOL % [\nfoo\nEOL\n]",
3006
+ :tSTRING_BEG, '<<"', [0, 5],
3007
+ :tSTRING_CONTENT, "foo\n", [10, 14],
3008
+ :tSTRING_END, 'EOL', [14, 17],
3009
+ :tPERCENT, '%', [6, 7],
3010
+ :tLBRACK, '[', [8, 9],
3011
+ :tRBRACK, ']', [18, 19])
3012
+ end
3013
+
3014
+ def test_bug_expr_beg_fid
3015
+ assert_scanned("Rainbows!",
3016
+ :tFID, 'Rainbows!', [0, 9])
3017
+ end
3018
+
3019
+ def test_bug_expr_beg_rescue_assoc
3020
+ assert_scanned("rescue=>",
3021
+ :kRESCUE, 'rescue', [0, 6],
3022
+ :tASSOC, '=>', [6, 8])
3023
+ end
3024
+
3025
+ def test_bug_expr_arg_percent
3026
+ @lex.state = :expr_arg
3027
+ assert_scanned("%[",
3028
+ :tPERCENT, "%", [0, 1],
3029
+ :tLBRACK, "[", [1, 2])
3030
+
3031
+ @lex.state = :expr_arg
3032
+ assert_scanned("%=1",
3033
+ :tOP_ASGN, "%", [0, 2],
3034
+ :tINTEGER, 1, [2, 3])
3035
+
3036
+ @lex.state = :expr_arg
3037
+ assert_scanned(" %[1]",
3038
+ :tSTRING_BEG, "%[", [1, 3],
3039
+ :tSTRING_CONTENT, '1', [3, 4],
3040
+ :tSTRING_END, ']', [4, 5])
3041
+
3042
+ @lex.state = :expr_arg
3043
+ assert_scanned(" %=1=",
3044
+ :tOP_ASGN, "%", [1, 3],
3045
+ :tINTEGER, 1, [3, 4],
3046
+ :tEQL, "=", [4, 5])
3047
+
3048
+ @lex.state = :expr_arg
3049
+ assert_scanned(" %\n",
3050
+ :tPERCENT, '%', [1, 2])
3051
+ end
3052
+
3053
+ def test_bug_expr_arg_lt_lt
3054
+ @lex.state = :expr_arg
3055
+ assert_scanned("<<EOS\nEOS",
3056
+ :tLSHFT, "<<", [0, 2],
3057
+ :tCONSTANT, "EOS", [2, 5],
3058
+ :tNL, nil, [5, 6],
3059
+ :tCONSTANT, "EOS", [6, 9])
3060
+
3061
+ @lex.state = :expr_arg
3062
+ assert_scanned(" <<EOS\nEOS",
3063
+ :tSTRING_BEG, "<<\"", [1, 6],
3064
+ :tSTRING_END, "EOS", [7, 10],
3065
+ :tNL, nil, [6, 7])
3066
+ end
3067
+
3068
+ def test_bug_expr_arg_slash
3069
+ @lex.state = :expr_arg
3070
+ assert_scanned("/1",
3071
+ :tDIVIDE, "/", [0, 1],
3072
+ :tINTEGER, 1, [1, 2])
3073
+
3074
+ @lex.state = :expr_arg
3075
+ assert_scanned("/ 1",
3076
+ :tDIVIDE, "/", [0, 1],
3077
+ :tINTEGER, 1, [2, 3])
3078
+
3079
+ @lex.state = :expr_arg
3080
+ assert_scanned(" /1/",
3081
+ :tREGEXP_BEG, "/", [1, 2],
3082
+ :tSTRING_CONTENT, "1", [2, 3],
3083
+ :tSTRING_END, "/", [3, 4],
3084
+ :tREGEXP_OPT, "", [4, 4])
3085
+
3086
+ @lex.state = :expr_arg
3087
+ assert_scanned(" / 1",
3088
+ :tDIVIDE, "/", [1, 2],
3089
+ :tINTEGER, 1, [3, 4])
3090
+ end
3091
+
3092
+ def test_bug_expr_arg_label
3093
+ setup_lexer 19
3094
+
3095
+ @lex.state = :expr_arg
3096
+ assert_scanned(" unless:",
3097
+ :tLABEL, 'unless', [1, 8])
3098
+
3099
+ @lex.state = :expr_arg
3100
+ assert_scanned(" unless: ",
3101
+ :tLABEL, 'unless', [1, 8])
3102
+ end
3103
+
3104
+ def test_bug_heredoc_continuation
3105
+ @lex.state = :expr_arg
3106
+ assert_scanned(" <<EOS\nEOS\nend",
3107
+ :tSTRING_BEG, "<<\"", [1, 6],
3108
+ :tSTRING_END, "EOS", [7, 10],
3109
+ :tNL, nil, [6, 7],
3110
+ :kEND, "end", [11, 14])
3111
+ end
3112
+
3113
+ def test_bug_heredoc_cr_lf
3114
+ assert_scanned("<<FIN\r\nfoo\r\nFIN\r\n",
3115
+ :tSTRING_BEG, "<<\"", [0, 5],
3116
+ :tSTRING_CONTENT, "foo\n", [6, 10],
3117
+ :tSTRING_END, "FIN", [10, 13],
3118
+ :tNL, nil, [5, 6])
3119
+ end
3120
+
3121
+ def test_bug_eh_symbol_no_newline
3122
+ assert_scanned("?\"\nfoo",
3123
+ :tINTEGER, 34, [0, 2],
3124
+ :tNL, nil, [2, 3],
3125
+ :tIDENTIFIER, "foo", [3, 6])
3126
+ end
3127
+
3128
+ def test_bug_expr_arg_newline
3129
+ @lex.state = :expr_arg
3130
+ assert_scanned("\nfoo",
3131
+ :tNL, nil, [0, 1],
3132
+ :tIDENTIFIER, "foo", [1, 4])
3133
+
3134
+ @lex.state = :expr_arg
3135
+ assert_scanned(" \nfoo",
3136
+ :tNL, nil, [1, 2],
3137
+ :tIDENTIFIER, "foo", [2, 5])
3138
+
3139
+ @lex.state = :expr_arg
3140
+ assert_scanned("#foo\nfoo",
3141
+ :tNL, nil, [4, 5],
3142
+ :tIDENTIFIER, "foo", [5, 8])
3143
+ end
3144
+
3145
+ def test_bug_expr_arg_comment_newline
3146
+ @lex.state = :expr_arg
3147
+ assert_scanned(" #\nfoo",
3148
+ :tNL, nil, [2, 3],
3149
+ :tIDENTIFIER, 'foo', [3, 6])
3150
+ end
3151
+
3152
+ def test_bug_expr_arg_eh_crlf
3153
+ @lex.state = :expr_arg
3154
+ assert_scanned(" ?\r\n",
3155
+ :tEH, '?', [1, 2])
3156
+ end
3157
+
3158
+ def test_bug_heredoc_backspace_nl
3159
+ assert_scanned(" <<'XXX'\nf \\\nXXX\n",
3160
+ :tSTRING_BEG, "<<'", [1, 8],
3161
+ :tSTRING_CONTENT, "f \\\n", [9, 13],
3162
+ :tSTRING_END, "XXX", [13, 16],
3163
+ :tNL, nil, [8, 9])
3164
+ end
3165
+
3166
+ def test_bug_heredoc_lshft
3167
+ assert_scanned("<<RULES << CLEANINGS\nRULES",
3168
+ :tSTRING_BEG, '<<"', [0, 7],
3169
+ :tSTRING_END, 'RULES', [21, 26],
3170
+ :tLSHFT, '<<', [8, 10],
3171
+ :tCONSTANT, 'CLEANINGS', [11, 20])
3172
+ end
3173
+
3174
+ def test_bug_sclass_comment_lshft_label
3175
+ assert_scanned("class # foo\n<< a:b;end",
3176
+ :kCLASS, 'class', [0, 5],
3177
+ :tLSHFT, '<<', [12, 14],
3178
+ :tIDENTIFIER, 'a', [15, 16],
3179
+ :tSYMBOL, 'b', [16, 18],
3180
+ :tSEMI, ';', [18, 19],
3181
+ :kEND, 'end', [19, 22])
3182
+ end
3183
+
3184
+ def test_bug_expr_dot_comment
3185
+ assert_scanned("foo. #bar\nbaz",
3186
+ :tIDENTIFIER, 'foo', [0, 3],
3187
+ :tDOT, '.', [3, 4],
3188
+ :tIDENTIFIER, 'baz', [10, 13])
3189
+ end
3190
+
3191
+ def test_bug_expr_dot_fid
3192
+ assert_scanned("foo.S?",
3193
+ :tIDENTIFIER, 'foo', [0, 3],
3194
+ :tDOT, '.', [3, 4],
3195
+ :tFID, 'S?', [4, 6])
3196
+ end
3197
+
3198
+ def test_bug_expr_dot_id_eq
3199
+ assert_scanned("foo.x= 1",
3200
+ :tIDENTIFIER, 'foo', [0, 3],
3201
+ :tDOT, '.', [3, 4],
3202
+ :tIDENTIFIER, 'x', [4, 5],
3203
+ :tEQL, '=', [5, 6],
3204
+ :tINTEGER, 1, [7, 8])
3205
+ end
3206
+
3207
+ def test_bug_expr_dot_fid_mod
3208
+ assert_scanned("foo.x!if 1",
3209
+ :tIDENTIFIER, 'foo', [0, 3],
3210
+ :tDOT, '.', [3, 4],
3211
+ :tFID, 'x!', [4, 6],
3212
+ :kIF_MOD, 'if', [6, 8],
3213
+ :tINTEGER, 1, [9, 10])
3214
+ end
3215
+
3216
+ def test_bug_expr_mid_comment
3217
+ assert_scanned("rescue #bar\nprint",
3218
+ :kRESCUE, 'rescue', [0, 6],
3219
+ :tNL, nil, [11, 12],
3220
+ :tIDENTIFIER, 'print', [12, 17])
3221
+ end
3222
+
3223
+ def test_bug_expr_mid_bareword
3224
+ assert_scanned("begin; rescue rescue1",
3225
+ :kBEGIN, 'begin', [0, 5],
3226
+ :tSEMI, ';', [5, 6],
3227
+ :kRESCUE, 'rescue', [7, 13],
3228
+ :tIDENTIFIER, 'rescue1', [14, 21])
3229
+ end
3230
+
3231
+ def test_bug_expr_value_document
3232
+ assert_scanned("1;\n=begin\n=end",
3233
+ :tINTEGER, 1, [0, 1],
3234
+ :tSEMI, ';', [1, 2])
3235
+ end
3236
+
3237
+ def test_bug_expr_end_colon
3238
+ assert_scanned("'foo':'bar'",
3239
+ :tSTRING, 'foo', [0, 5],
3240
+ :tCOLON, ':', [5, 6],
3241
+ :tSTRING, 'bar', [6, 11])
3242
+ end
3243
+
3244
+ def test_bug_expr_value_rescue_colon2
3245
+ @lex.state = :expr_value
3246
+ assert_scanned("rescue::Exception",
3247
+ :kRESCUE, 'rescue', [0, 6],
3248
+ :tCOLON3, '::', [6, 8],
3249
+ :tCONSTANT, 'Exception', [8, 17])
3250
+ end
3251
+
3252
+ def test_bug_expr_endarg_braces
3253
+ assert_scanned("let [] {",
3254
+ :tIDENTIFIER, 'let', [0, 3],
3255
+ :tLBRACK, '[', [4, 5],
3256
+ :tRBRACK, ']', [5, 6],
3257
+ :tLBRACE_ARG, '{', [7, 8])
3258
+ end
3259
+
3260
+ def test_bug_line_begin_label
3261
+ setup_lexer(19)
3262
+ assert_scanned("foo:bar",
3263
+ :tIDENTIFIER, 'foo', [0, 3],
3264
+ :tSYMBOL, 'bar', [3, 7])
3265
+ end
3266
+
3267
+ def test_bug_interp_expr_value
3268
+ assert_scanned('"#{f:a}"',
3269
+ :tSTRING_BEG, '"', [0, 1],
3270
+ :tSTRING_DBEG, '#{', [1, 3],
3271
+ :tIDENTIFIER, 'f', [3, 4],
3272
+ :tSYMBOL, 'a', [4, 6],
3273
+ :tRCURLY, '}', [6, 7],
3274
+ :tSTRING_END, '"', [7, 8])
3275
+ end
3276
+
3277
+ def test_bug_const_e
3278
+ assert_scanned('E10',
3279
+ :tCONSTANT, 'E10', [0, 3])
3280
+ assert_scanned('E4U',
3281
+ :tCONSTANT, 'E4U', [0, 3])
3282
+ end
3283
+
3284
+ def test_bug_symbol_newline
3285
+ assert_scanned(":foo\n",
3286
+ :tSYMBOL, 'foo', [0, 4],
3287
+ :tNL, nil, [4, 5])
3288
+
3289
+ assert_scanned(":foo=\n",
3290
+ :tSYMBOL, 'foo=', [0, 5],
3291
+ :tNL, nil, [5, 6])
3292
+ end
3293
+
3294
+ def test_bug_interleaved_heredoc
3295
+ assert_scanned(%Q{<<w; "\nfoo\nw\n"},
3296
+ :tSTRING_BEG, '<<"', [0, 3],
3297
+ :tSTRING_CONTENT, "foo\n", [7, 11],
3298
+ :tSTRING_END, 'w', [11, 12],
3299
+ :tSEMI, ';', [3, 4],
3300
+ :tSTRING_BEG, '"', [5, 6],
3301
+ :tSTRING_CONTENT, "\n", [6, 7],
3302
+ :tSTRING_END, '"', [13, 14])
3303
+
3304
+ @lex.state = :expr_beg
3305
+ assert_scanned(%Q{<<w; %w[\nfoo\nw\n1]},
3306
+ :tSTRING_BEG, '<<"', [0, 3],
3307
+ :tSTRING_CONTENT, "foo\n", [9, 13],
3308
+ :tSTRING_END, 'w', [13, 14],
3309
+ :tSEMI, ';', [3, 4],
3310
+ :tQWORDS_BEG, '%w[', [5, 8],
3311
+ :tSTRING_CONTENT, "1", [15, 16],
3312
+ :tSPACE, nil, [16, 16],
3313
+ :tSTRING_END, ']', [16, 17])
3314
+
3315
+ @lex.state = :expr_beg
3316
+ assert_scanned(%Q{<<w; "\#{\nfoo\nw\n}"},
3317
+ :tSTRING_BEG, '<<"', [0, 3],
3318
+ :tSTRING_CONTENT, "foo\n", [9, 13],
3319
+ :tSTRING_END, 'w', [13, 14],
3320
+ :tSEMI, ';', [3, 4],
3321
+ :tSTRING_BEG, '"', [5, 6],
3322
+ :tSTRING_DBEG, '#{', [6, 8],
3323
+ :tRCURLY, '}', [15, 16],
3324
+ :tSTRING_END, '"', [16, 17])
3325
+ end
3326
+
3327
+ def test_bug_fid_char
3328
+ setup_lexer(19)
3329
+ assert_scanned('eof??a',
3330
+ :tFID, 'eof?', [0, 4],
3331
+ :tCHARACTER, 'a', [4, 6])
3332
+ end
3333
+
3334
+ def test_bug_nonlabel_context__18
3335
+ env = Parser::StaticEnvironment.new
3336
+ env.declare "a"
3337
+
3338
+ @lex.static_env = env
3339
+ assert_scanned("1+a:a",
3340
+ :tINTEGER, 1, [0, 1],
3341
+ :tPLUS, '+', [1, 2],
3342
+ :tIDENTIFIER, 'a', [2, 3],
3343
+ :tCOLON, ':', [3, 4],
3344
+ :tIDENTIFIER, 'a', [4, 5])
3345
+ end
3346
+
3347
+ def test_bug_string_percent_newline
3348
+ assert_scanned(%Q{%\nfoo\n},
3349
+ :tSTRING_BEG, "%\n", [0, 2],
3350
+ :tSTRING_CONTENT, 'foo', [2, 5],
3351
+ :tSTRING_END, "\n", [5, 6])
3352
+ end
3353
+
3354
+ def test_bug_string_percent_zero
3355
+ assert_scanned(%Q{%\0foo\0},
3356
+ :tSTRING_BEG, "%\0", [0, 2],
3357
+ :tSTRING_CONTENT, 'foo', [2, 5],
3358
+ :tSTRING_END, "\0", [5, 6])
3359
+ end
3360
+
3361
+ def test_bug_string_utf_escape_composition
3362
+ assert_scanned(%q{"\xE2\x80\x99"},
3363
+ :tSTRING, "\xE2\x80\x99", [0, 14])
3364
+
3365
+ assert_scanned(utf(%q{"\xE2\x80\x99"}),
3366
+ :tSTRING, utf('’'), [0, 14])
3367
+ assert_scanned(utf(%q{"\342\200\231"}),
3368
+ :tSTRING, utf('’'), [0, 14])
3369
+ assert_scanned(utf(%q{"\M-b\C-\M-@\C-\M-Y"}),
3370
+ :tSTRING, utf('’'), [0, 20])
3371
+ end
3372
+
3373
+ def test_bug_string_utf_escape_noop
3374
+ assert_scanned(utf(%q{"\あ"}),
3375
+ :tSTRING, utf("あ"), [0, 4])
3376
+ end
3377
+
3378
+ def test_bug_string_non_utf
3379
+ assert_scanned(%Q{"caf\xE9"},
3380
+ :tSTRING, "caf\xE9", [0, 6])
3381
+ assert_scanned(%Q{"caf\xC3\xA9"},
3382
+ :tSTRING, "caf\xC3\xA9", [0, 7])
3383
+
3384
+ assert_scanned(utf(%q{"café"}),
3385
+ :tSTRING, utf("café"), [0, 6])
3386
+ end
3387
+
3388
+ def test_bug_semi__END__
3389
+ assert_scanned(%Q{foo;\n__END__},
3390
+ :tIDENTIFIER, 'foo', [0, 3],
3391
+ :tSEMI, ';', [3, 4])
3392
+ end
3393
+
3394
+ def test_bug_eql_end
3395
+ assert_scanned(%Q{=begin\n#=end\n=end})
3396
+ end
3397
+
3398
+ def test_bug_hidden_eof
3399
+ @lex.state = :expr_beg
3400
+ assert_scanned(%Q{"foo\0\x1a\x04bar"},
3401
+ :tSTRING_BEG, '"', [0, 1],
3402
+ :tSTRING_CONTENT, "foo\0", [1, 5],
3403
+ :tSTRING_CONTENT, "\x1a", [5, 6],
3404
+ :tSTRING_CONTENT, "\x04", [6, 7],
3405
+ :tSTRING_CONTENT, "bar", [7, 10],
3406
+ :tSTRING_END, '"', [10, 11])
3407
+
3408
+ @lex.state = :expr_beg
3409
+ assert_scanned(%Q{'foo\0\x1a\x04bar'},
3410
+ :tSTRING_BEG, "'", [0, 1],
3411
+ :tSTRING_CONTENT, "foo\0", [1, 5],
3412
+ :tSTRING_CONTENT, "\x1a", [5, 6],
3413
+ :tSTRING_CONTENT, "\x04", [6, 7],
3414
+ :tSTRING_CONTENT, "bar", [7, 10],
3415
+ :tSTRING_END, "'", [10, 11])
3416
+
3417
+ @lex.state = :expr_beg
3418
+ assert_scanned(%Q{%w[foo\0\x1a\x04bar]},
3419
+ :tQWORDS_BEG, '%w[', [0, 3],
3420
+ :tSTRING_CONTENT, "foo\0", [3, 7],
3421
+ :tSTRING_CONTENT, "\x1a", [7, 8],
3422
+ :tSTRING_CONTENT, "\x04", [8, 9],
3423
+ :tSTRING_CONTENT, "bar", [9, 12],
3424
+ :tSPACE, nil, [12, 12],
3425
+ :tSTRING_END, ']', [12, 13])
3426
+
3427
+ @lex.state = :expr_beg
3428
+ assert_scanned(%Q{%W[foo\0\x1a\x04bar]},
3429
+ :tWORDS_BEG, '%W[', [0, 3],
3430
+ :tSTRING_CONTENT, "foo\0", [3, 7],
3431
+ :tSTRING_CONTENT, "\x1a", [7, 8],
3432
+ :tSTRING_CONTENT, "\x04", [8, 9],
3433
+ :tSTRING_CONTENT, "bar", [9, 12],
3434
+ :tSPACE, nil, [12, 12],
3435
+ :tSTRING_END, ']', [12, 13])
3436
+
3437
+ @lex.state = :expr_beg
3438
+ assert_scanned(%Q{# foo\0\nbar},
3439
+ :tIDENTIFIER, 'bar', [7, 10])
3440
+
3441
+ @lex.state = :line_begin
3442
+ assert_scanned(%Q{=begin\n\0\n=end\nbar},
3443
+ :tIDENTIFIER, 'bar', [14, 17])
3444
+ end
3445
+
3446
+ def test_bug_num_adj_kw
3447
+ assert_scanned('1if',
3448
+ :tINTEGER, 1, [0, 1],
3449
+ :kIF_MOD, 'if', [1, 3])
3450
+
3451
+ assert_scanned('1.0if',
3452
+ :tFLOAT, 1.0, [0, 3],
3453
+ :kIF_MOD, 'if', [3, 5])
3454
+ end
3455
+
3456
+ def test_bug_unicode_in_literal
3457
+ setup_lexer(19)
3458
+ assert_scanned('"\u00a4"',
3459
+ :tSTRING, "\u00a4", [0, 8])
3460
+ end
3461
+
3462
+ def test_bug_utf32le_leak
3463
+ setup_lexer(19)
3464
+ @lex.force_utf32 = true
3465
+ assert_scanned('"F0"',
3466
+ :tSTRING, "F0", [0, 4])
3467
+ end
3468
+
3469
+ def test_bug_ragel_stack
3470
+ assert_scanned("\"\#{$2 ? $2 : 1}\"",
3471
+ :tSTRING_BEG, "\"", [0, 1],
3472
+ :tSTRING_DBEG, "\#{", [1, 3],
3473
+ :tNTH_REF, 2, [3, 5],
3474
+ :tEH, "?", [6, 7],
3475
+ :tNTH_REF, 2, [8, 10],
3476
+ :tCOLON, ":", [11, 12],
3477
+ :tINTEGER, 1, [13, 14],
3478
+ :tRCURLY, "}", [14, 15],
3479
+ :tSTRING_END, "\"", [15, 16])
3480
+ end
3481
+
3482
+ def test_bug_423
3483
+ @lex.state = :expr_beg
3484
+ assert_scanned(':&&',
3485
+ :tSYMBEG, ':', [0, 1],
3486
+ :tANDOP, '&&', [1, 3])
3487
+
3488
+ @lex.state = :expr_beg
3489
+ assert_scanned(':||',
3490
+ :tSYMBEG, ':', [0, 1],
3491
+ :tOROP, '||', [1, 3])
3492
+ end
3493
+
3494
+ def test_bug_418
3495
+ setup_lexer 19
3496
+
3497
+ assert_scanned("{\n=begin\nx: 1,\n=end\ny: 2}",
3498
+ :tLBRACE, '{', [0, 1],
3499
+ :tLABEL, 'y', [20, 22],
3500
+ :tINTEGER, 2, [23, 24],
3501
+ :tRCURLY, '}', [24, 25])
3502
+ end
3503
+
3504
+ def test_bug_407
3505
+ setup_lexer(21)
3506
+
3507
+ assert_scanned('123if cond',
3508
+ :tINTEGER, 123, [0, 3],
3509
+ :kIF_MOD, 'if', [3, 5],
3510
+ :tIDENTIFIER, 'cond', [6, 10])
3511
+
3512
+ assert_scanned('1.23if cond',
3513
+ :tFLOAT, 1.23, [0, 4],
3514
+ :kIF_MOD, 'if', [4, 6],
3515
+ :tIDENTIFIER, 'cond', [7, 11])
3516
+
3517
+ assert_scanned('123rescue cond',
3518
+ :tINTEGER, 123, [0, 3],
3519
+ :kRESCUE_MOD, 'rescue', [3, 9],
3520
+ :tIDENTIFIER, 'cond', [10, 14])
3521
+
3522
+ assert_scanned('1.23rescue cond',
3523
+ :tFLOAT, 1.23, [0, 4],
3524
+ :kRESCUE_MOD, 'rescue', [4, 10],
3525
+ :tIDENTIFIER, 'cond', [11, 15])
3526
+ end
3527
+
3528
+ def test_parser_bug_486
3529
+ setup_lexer(19)
3530
+ assert_scanned(':!@',
3531
+ :tSYMBOL, '!', [0, 3])
3532
+
3533
+ setup_lexer(19)
3534
+ assert_scanned(':~@',
3535
+ :tSYMBOL, '~', [0, 3])
3536
+ end
3537
+
3538
+ def test_slash_only_in_heredocs
3539
+ setup_lexer(23)
3540
+ refute_scanned(%Q{<<~E\n\\\nE})
3541
+
3542
+ setup_lexer(23)
3543
+ refute_scanned(%Q{<<-E\n\\\nE})
3544
+ end
3545
+
3546
+ def test_escapes_in_squiggly_heredoc
3547
+ setup_lexer(23)
3548
+
3549
+ assert_scanned(%Q{<<~E\n\a\b\e\f\r\t\\\v\nE},
3550
+ :tSTRING_BEG, '<<"', [0, 4],
3551
+ :tSTRING_CONTENT, "\a\b\e\f\r\t\v\n", [5, 14],
3552
+ :tSTRING_END, 'E', [14, 15],
3553
+ :tNL, nil, [4, 5])
3554
+
3555
+ setup_lexer(23)
3556
+
3557
+ assert_scanned(%Q{<<-E\n\a\b\e\f\r\t\\\v\nE},
3558
+ :tSTRING_BEG, '<<"', [0, 4],
3559
+ :tSTRING_CONTENT, "\a\b\e\f\r\t\v\n", [5, 14],
3560
+ :tSTRING_END, 'E', [14, 15],
3561
+ :tNL, nil, [4, 5])
3562
+ end
3563
+
3564
+ def test_ambiguous_integer_re
3565
+ assert_scanned('1re',
3566
+ :tINTEGER, 1, [0, 1],
3567
+ :tIDENTIFIER, 're', [1, 3])
3568
+ end
3569
+
3570
+ def test_endless_method
3571
+ setup_lexer(28)
3572
+
3573
+ assert_scanned('def foo() = 42',
3574
+ :kDEF, "def", [0, 3],
3575
+ :tIDENTIFIER, "foo", [4, 7],
3576
+ :tLPAREN2, "(", [7, 8],
3577
+ :tRPAREN, ")", [8, 9],
3578
+ :tEQL, "=", [10, 11],
3579
+ :tINTEGER, 42, [12, 14])
3580
+ end
3581
+
3582
+ def lex_numbered_parameter(input)
3583
+ @lex.max_numparam_stack.push
3584
+
3585
+ @lex.context = Parser::Context.new
3586
+ @lex.context.push(:block)
3587
+
3588
+ source_buffer = Parser::Source::Buffer.new('(assert_lex_numbered_parameter)', source: input)
3589
+
3590
+ @lex.source_buffer = source_buffer
3591
+
3592
+ @lex.advance
3593
+ end
3594
+
3595
+ def assert_scanned_numbered_parameter(input)
3596
+ lex_token, (lex_value, lex_range) = lex_numbered_parameter(input)
3597
+
3598
+ assert_equal(lex_token, :tNUMPARAM)
3599
+ assert_equal(lex_value, input.tr('@', ''))
3600
+ assert_equal(lex_range.begin_pos, 0)
3601
+ assert_equal(lex_range.end_pos, input.length)
3602
+ end
3603
+
3604
+ def refute_scanned_numbered_parameter(input, message = nil)
3605
+ err = assert_raises Parser::SyntaxError do
3606
+ _lex_token, (_lex_value, _lex_range) = lex_numbered_parameter(input)
3607
+ end
3608
+
3609
+ if message
3610
+ assert_equal(err.message, Parser::MESSAGES[message])
3611
+
3612
+ assert_equal(err.diagnostic.location.begin_pos, 0)
3613
+ assert_equal(err.diagnostic.location.end_pos, input.length)
3614
+ end
3615
+ end
3616
+
3617
+ end