zuora_connect_ui 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2203) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/zuora_connect_ui/datatable.js +6 -3
  3. data/app/assets/stylesheets/zuora_connect_ui/input.scss +4 -2
  4. data/app/helpers/zuora_connect_ui/application_helper.rb +2 -2
  5. data/app/views/partials/_table.html.erb +10 -2
  6. data/lib/zuora_connect_ui.rb +1 -0
  7. data/lib/zuora_connect_ui/serializer.rb +87 -0
  8. data/lib/zuora_connect_ui/version.rb +1 -1
  9. data/vendor/ruby/2.6.0/cache/autoprefixer-rails-9.7.3.gem +0 -0
  10. data/vendor/ruby/2.6.0/cache/brakeman-4.7.2.gem +0 -0
  11. data/vendor/ruby/2.6.0/cache/ffi-1.11.3.gem +0 -0
  12. data/vendor/ruby/2.6.0/cache/loofah-2.4.0.gem +0 -0
  13. data/vendor/ruby/2.6.0/cache/nokogiri-1.10.7.gem +0 -0
  14. data/vendor/ruby/2.6.0/cache/oj-3.10.0.gem +0 -0
  15. data/vendor/ruby/2.6.0/cache/parallel-1.19.1.gem +0 -0
  16. data/vendor/ruby/2.6.0/cache/rubocop-0.77.0.gem +0 -0
  17. data/vendor/ruby/2.6.0/cache/zeitwerk-2.2.2.gem +0 -0
  18. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.11.3/ffi_c.so +0 -0
  19. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.11.3/gem.build_complete +0 -0
  20. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.11.3/gem_make.out +47 -0
  21. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.11.3/mkmf.log +432 -0
  22. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.7/gem.build_complete +0 -0
  23. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.7/gem_make.out +437 -0
  24. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.7/mkmf.log +558 -0
  25. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.7/nokogiri/nokogiri.so +0 -0
  26. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/oj-3.10.0/gem.build_complete +0 -0
  27. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/oj-3.10.0/gem_make.out +54 -0
  28. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/oj-3.10.0/oj/oj.so +0 -0
  29. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/CHANGELOG.md +1111 -0
  30. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/Gemfile +10 -0
  31. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/LICENSE +20 -0
  32. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/README.md +237 -0
  33. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/Rakefile +53 -0
  34. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/autoprefixer-rails.gemspec +32 -0
  35. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails.rb +41 -0
  36. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails/processor.rb +194 -0
  37. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails/railtie.rb +50 -0
  38. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails/result.rb +24 -0
  39. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails/sprockets.rb +62 -0
  40. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/autoprefixer-rails/version.rb +3 -0
  41. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/rake/autoprefixer_tasks.rb +28 -0
  42. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/Rakefile +2 -0
  43. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/config/manifest.js +0 -0
  44. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/stylesheets/evaluate.css.erb +1 -0
  45. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/stylesheets/loaded.sass +2 -0
  46. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/stylesheets/sass.sass +1 -0
  47. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/stylesheets/test.css +3 -0
  48. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/assets/stylesheets/wrong.css +2 -0
  49. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/controllers/application_controller.rb +2 -0
  50. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/app/controllers/css_controller.rb +6 -0
  51. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config.ru +2 -0
  52. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/application.rb +16 -0
  53. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/autoprefixer.yml +2 -0
  54. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/boot.rb +2 -0
  55. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/environment.rb +3 -0
  56. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/environments/test.rb +9 -0
  57. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/initializers/secret_token.rb +1 -0
  58. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/app/config/routes.rb +3 -0
  59. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/autoprefixer_spec.rb +121 -0
  60. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/processor_spec.rb +25 -0
  61. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/rails_spec.rb +40 -0
  62. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/railtie_spec.rb +29 -0
  63. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/spec/spec_helper.rb +16 -0
  64. data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/vendor/autoprefixer.js +68026 -0
  65. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/CHANGES.md +1185 -0
  66. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/FEATURES +16 -0
  67. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/README.md +199 -0
  68. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bin/brakeman +10 -0
  69. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/load.rb +14 -0
  70. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
  71. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  72. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/README.txt +102 -0
  73. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
  74. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  75. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
  76. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  77. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  78. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  79. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  80. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  81. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  82. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  83. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  84. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  85. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  86. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  87. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  88. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  89. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  90. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  91. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  92. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  93. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  94. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  95. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  96. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  97. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  98. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  99. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  100. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  101. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  102. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/erubis-2.7.0/setup.rb +1331 -0
  103. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/CHANGELOG.md +1481 -0
  104. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/FAQ.md +147 -0
  105. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/Gemfile +19 -0
  106. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/MIT-LICENSE +20 -0
  107. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/README.md +211 -0
  108. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/REFERENCE.md +1351 -0
  109. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/TODO +24 -0
  110. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/haml.gemspec +44 -0
  111. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml.rb +25 -0
  112. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_builder.rb +164 -0
  113. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_compiler.rb +224 -0
  114. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/attribute_parser.rb +150 -0
  115. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/buffer.rb +238 -0
  116. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/compiler.rb +330 -0
  117. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/engine.rb +238 -0
  118. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/error.rb +65 -0
  119. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/escapable.rb +50 -0
  120. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/exec.rb +347 -0
  121. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/filters.rb +399 -0
  122. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/generator.rb +42 -0
  123. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers.rb +703 -0
  124. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_extensions.rb +60 -0
  125. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_mods.rb +132 -0
  126. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/action_view_xss_mods.rb +60 -0
  127. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/safe_erubi_template.rb +20 -0
  128. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/safe_erubis_template.rb +33 -0
  129. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/helpers/xss_mods.rb +111 -0
  130. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/options.rb +273 -0
  131. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/parser.rb +828 -0
  132. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/plugin.rb +37 -0
  133. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/railtie.rb +48 -0
  134. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/sass_rails_filter.rb +47 -0
  135. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/template.rb +39 -0
  136. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/template/options.rb +27 -0
  137. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/temple_engine.rb +123 -0
  138. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/temple_line_counter.rb +30 -0
  139. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/util.rb +258 -0
  140. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/lib/haml/version.rb +5 -0
  141. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/yard/default/fulldoc/html/css/common.sass +15 -0
  142. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/haml-5.1.2/yard/default/layout/html/footer.erb +12 -0
  143. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/AUTHORS +3 -0
  144. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/COPYING +339 -0
  145. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/Changelog.md +620 -0
  146. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/Gemfile +22 -0
  147. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/LICENSE +7 -0
  148. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/README.md +202 -0
  149. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/TODO +6 -0
  150. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/appveyor.yml +37 -0
  151. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/highline.gemspec +35 -0
  152. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline.rb +650 -0
  153. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/builtin_styles.rb +129 -0
  154. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/color_scheme.rb +151 -0
  155. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/compatibility.rb +23 -0
  156. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/custom_errors.rb +57 -0
  157. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/import.rb +48 -0
  158. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/io_console_compatible.rb +37 -0
  159. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/list.rb +177 -0
  160. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/list_renderer.rb +261 -0
  161. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/menu.rb +576 -0
  162. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/menu/item.rb +32 -0
  163. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/paginator.rb +52 -0
  164. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question.rb +630 -0
  165. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question/answer_converter.rb +103 -0
  166. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/question_asker.rb +150 -0
  167. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/simulate.rb +59 -0
  168. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/statement.rb +88 -0
  169. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/string.rb +36 -0
  170. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/string_extensions.rb +130 -0
  171. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/style.rb +325 -0
  172. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/template_renderer.rb +62 -0
  173. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal.rb +190 -0
  174. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/io_console.rb +36 -0
  175. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/ncurses.rb +38 -0
  176. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/terminal/unix_stty.rb +51 -0
  177. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/version.rb +6 -0
  178. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/highline-2.0.3/lib/highline/wrapper.rb +53 -0
  179. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/History.rdoc +435 -0
  180. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/Manifest.txt +8 -0
  181. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/README.rdoc +87 -0
  182. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.4/lib/ruby2ruby.rb +1309 -0
  183. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/History.rdoc +1115 -0
  184. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/Manifest.txt +37 -0
  185. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/README.rdoc +109 -0
  186. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/compare/normalize.rb +173 -0
  187. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/debugging.md +18 -0
  188. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/rp_extensions.rb +74 -0
  189. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/rp_stringscanner.rb +64 -0
  190. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby20_parser.rb +7045 -0
  191. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby20_parser.y +2575 -0
  192. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby21_parser.rb +7116 -0
  193. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby21_parser.y +2594 -0
  194. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby22_parser.rb +7149 -0
  195. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby22_parser.y +2603 -0
  196. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby23_parser.rb +7166 -0
  197. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby23_parser.y +2605 -0
  198. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby24_parser.rb +7178 -0
  199. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby24_parser.y +2613 -0
  200. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby25_parser.rb +7178 -0
  201. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby25_parser.y +2613 -0
  202. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby26_parser.rb +7198 -0
  203. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby26_parser.y +2627 -0
  204. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_lexer.rb +1441 -0
  205. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_lexer.rex +179 -0
  206. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_lexer.rex.rb +365 -0
  207. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_parser.rb +92 -0
  208. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_parser.yy +2732 -0
  209. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/lib/ruby_parser_extras.rb +1604 -0
  210. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/tools/munge.rb +217 -0
  211. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-3.14.1/tools/ripper.rb +39 -0
  212. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/History.rdoc +6 -0
  213. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt +19 -0
  214. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/README.rdoc +54 -0
  215. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +5 -0
  216. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +5794 -0
  217. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +1909 -0
  218. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +6186 -0
  219. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +2117 -0
  220. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +1412 -0
  221. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +179 -0
  222. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +323 -0
  223. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +30 -0
  224. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +1388 -0
  225. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +154 -0
  226. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +11 -0
  227. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +22 -0
  228. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +191 -0
  229. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +11 -0
  230. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +94 -0
  231. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +34 -0
  232. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +36 -0
  233. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +181 -0
  234. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +37 -0
  235. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +12 -0
  236. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +26 -0
  237. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +99 -0
  238. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +52 -0
  239. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +94 -0
  240. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
  241. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +39 -0
  242. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +36 -0
  243. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
  244. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +38 -0
  245. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +41 -0
  246. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +21 -0
  247. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +13 -0
  248. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +33 -0
  249. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +26 -0
  250. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +18 -0
  251. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +17 -0
  252. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +47 -0
  253. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +3 -0
  254. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +38 -0
  255. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +19 -0
  256. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/History.rdoc +393 -0
  257. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/Manifest.txt +15 -0
  258. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/README.rdoc +93 -0
  259. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/composite_sexp_processor.rb +49 -0
  260. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/pt_testcase.rb +3128 -0
  261. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp.rb +381 -0
  262. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp_matcher.rb +1063 -0
  263. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/sexp_processor.rb +754 -0
  264. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/strict_sexp.rb +126 -0
  265. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/sexp_processor-4.13.0/lib/unique.rb +21 -0
  266. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/CHANGES +456 -0
  267. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/Gemfile +71 -0
  268. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/LICENSE +21 -0
  269. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/README.jp.md +1289 -0
  270. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/README.md +1290 -0
  271. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim.rb +14 -0
  272. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/code_attributes.rb +67 -0
  273. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/command.rb +128 -0
  274. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/controls.rb +60 -0
  275. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/do_inserter.rb +33 -0
  276. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/embedded.rb +248 -0
  277. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/end_inserter.rb +62 -0
  278. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/engine.rb +39 -0
  279. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/erb_converter.rb +14 -0
  280. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/filter.rb +30 -0
  281. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/grammar.rb +23 -0
  282. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/include.rb +57 -0
  283. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/interpolation.rb +35 -0
  284. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less.rb +5 -0
  285. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/context.rb +127 -0
  286. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/filter.rb +80 -0
  287. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/parser.rb +548 -0
  288. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart.rb +8 -0
  289. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/escaper.rb +42 -0
  290. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/filter.rb +96 -0
  291. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/parser.rb +34 -0
  292. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/builder.rb +107 -0
  293. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/filter.rb +91 -0
  294. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/template.rb +19 -0
  295. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/translator.rb +118 -0
  296. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/version.rb +5 -0
  297. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/slim-4.0.1/slim.gemspec +24 -0
  298. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/CHANGES +260 -0
  299. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/EXPRESSIONS.md +262 -0
  300. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/Gemfile +3 -0
  301. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/LICENSE +20 -0
  302. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/README.md +267 -0
  303. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple.rb +67 -0
  304. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/engine.rb +67 -0
  305. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/engine.rb +15 -0
  306. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/parser.rb +40 -0
  307. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/template.rb +11 -0
  308. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/erb/trimming.rb +23 -0
  309. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/exceptions.rb +13 -0
  310. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filter.rb +9 -0
  311. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/code_merger.rb +30 -0
  312. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/control_flow.rb +42 -0
  313. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/dynamic_inliner.rb +71 -0
  314. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/encoding.rb +24 -0
  315. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/eraser.rb +22 -0
  316. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/escapable.rb +40 -0
  317. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/multi_flattener.rb +25 -0
  318. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/remove_bom.rb +13 -0
  319. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/static_analyzer.rb +30 -0
  320. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/static_merger.rb +37 -0
  321. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/string_splitter.rb +130 -0
  322. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/filters/validator.rb +15 -0
  323. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generator.rb +88 -0
  324. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/array.rb +21 -0
  325. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/array_buffer.rb +29 -0
  326. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/erb.rb +32 -0
  327. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/rails_output_buffer.rb +35 -0
  328. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/generators/string_buffer.rb +25 -0
  329. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/grammar.rb +57 -0
  330. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_merger.rb +42 -0
  331. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_remover.rb +35 -0
  332. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/attribute_sorter.rb +21 -0
  333. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/dispatcher.rb +31 -0
  334. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/fast.rb +130 -0
  335. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/filter.rb +21 -0
  336. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/pretty.rb +103 -0
  337. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/html/safe.rb +23 -0
  338. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/map.rb +105 -0
  339. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/dispatcher.rb +161 -0
  340. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/engine_dsl.rb +145 -0
  341. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb +170 -0
  342. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/options.rb +87 -0
  343. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/mixins/template.rb +28 -0
  344. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/parser.rb +8 -0
  345. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/static_analyzer.rb +77 -0
  346. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates.rb +11 -0
  347. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates/rails.rb +26 -0
  348. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/templates/tilt.rb +46 -0
  349. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/utils.rb +101 -0
  350. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/lib/temple/version.rb +3 -0
  351. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/temple-0.8.2/temple.gemspec +29 -0
  352. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Gemfile +6 -0
  353. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/History.rdoc +85 -0
  354. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
  355. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Manifest +27 -0
  356. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/README.rdoc +247 -0
  357. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Todo.rdoc +14 -0
  358. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table.rb +26 -0
  359. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +94 -0
  360. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +3 -0
  361. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +52 -0
  362. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +14 -0
  363. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +79 -0
  364. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +343 -0
  365. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +9 -0
  366. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +5 -0
  367. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/terminal-table.gemspec +26 -0
  368. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/COPYING +18 -0
  369. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt.rb +166 -0
  370. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/asciidoc.rb +27 -0
  371. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/babel.rb +16 -0
  372. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/bluecloth.rb +24 -0
  373. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/builder.rb +37 -0
  374. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/coffee.rb +58 -0
  375. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +78 -0
  376. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/creole.rb +25 -0
  377. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/csv.rb +65 -0
  378. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/dummy.rb +3 -0
  379. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erb.rb +63 -0
  380. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erubi.rb +32 -0
  381. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/erubis.rb +43 -0
  382. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/etanni.rb +27 -0
  383. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/haml.rb +86 -0
  384. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/kramdown.rb +25 -0
  385. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/less.rb +30 -0
  386. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/liquid.rb +44 -0
  387. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/livescript.rb +23 -0
  388. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/mapping.rb +293 -0
  389. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/markaby.rb +45 -0
  390. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/maruku.rb +22 -0
  391. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/nokogiri.rb +36 -0
  392. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/pandoc.rb +49 -0
  393. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/plain.rb +16 -0
  394. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/prawn.rb +43 -0
  395. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/radius.rb +48 -0
  396. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rdiscount.rb +39 -0
  397. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rdoc.rb +40 -0
  398. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/redcarpet.rb +83 -0
  399. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/redcloth.rb +23 -0
  400. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/rst-pandoc.rb +18 -0
  401. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/sass.rb +52 -0
  402. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/sigil.rb +34 -0
  403. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/string.rb +21 -0
  404. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/template.rb +297 -0
  405. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/typescript.rb +26 -0
  406. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/wikicloth.rb +22 -0
  407. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/tilt-2.0.10/lib/tilt/yajl.rb +87 -0
  408. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/CHANGELOG.md +125 -0
  409. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/MIT-LICENSE.txt +22 -0
  410. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/README.md +124 -0
  411. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
  412. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width.rb +51 -0
  413. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/constants.rb +8 -0
  414. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/index.rb +12 -0
  415. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/no_string_ext.rb +7 -0
  416. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb +17 -0
  417. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman.rb +553 -0
  418. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/app_tree.rb +217 -0
  419. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/call_index.rb +261 -0
  420. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks.rb +217 -0
  421. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/base_check.rb +507 -0
  422. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_basic_auth.rb +88 -0
  423. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_basic_auth_timing_attack.rb +33 -0
  424. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_content_tag.rb +212 -0
  425. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
  426. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_create_with.rb +74 -0
  427. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_cross_site_scripting.rb +386 -0
  428. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_default_routes.rb +91 -0
  429. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_deserialize.rb +105 -0
  430. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_detailed_exceptions.rb +55 -0
  431. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_digest_dos.rb +38 -0
  432. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_divide_by_zero.rb +42 -0
  433. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_dynamic_finders.rb +48 -0
  434. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_escape_function.rb +21 -0
  435. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_evaluation.rb +34 -0
  436. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_execute.rb +233 -0
  437. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_file_access.rb +87 -0
  438. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_file_disclosure.rb +35 -0
  439. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_filter_skipping.rb +31 -0
  440. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_force_ssl.rb +27 -0
  441. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_forgery_setting.rb +81 -0
  442. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_header_dos.rb +31 -0
  443. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_i18n_xss.rb +48 -0
  444. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_jruby_xml.rb +36 -0
  445. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_json_encoding.rb +47 -0
  446. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_json_parsing.rb +109 -0
  447. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_link_to.rb +132 -0
  448. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_link_to_href.rb +151 -0
  449. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_mail_to.rb +49 -0
  450. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_mass_assignment.rb +196 -0
  451. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_mime_type_dos.rb +39 -0
  452. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_model_attr_accessible.rb +55 -0
  453. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_model_attributes.rb +81 -0
  454. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_model_serialize.rb +67 -0
  455. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_nested_attributes.rb +38 -0
  456. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_nested_attributes_bypass.rb +58 -0
  457. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_number_to_currency.rb +74 -0
  458. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_permit_attributes.rb +43 -0
  459. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_quote_table_name.rb +40 -0
  460. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_redirect.rb +256 -0
  461. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_regex_dos.rb +68 -0
  462. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_render.rb +97 -0
  463. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_render_dos.rb +37 -0
  464. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_render_inline.rb +53 -0
  465. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_response_splitting.rb +21 -0
  466. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_reverse_tabnabbing.rb +58 -0
  467. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_route_dos.rb +42 -0
  468. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_safe_buffer_manipulation.rb +31 -0
  469. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_sanitize_methods.rb +112 -0
  470. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_secrets.rb +40 -0
  471. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_select_tag.rb +59 -0
  472. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_select_vulnerability.rb +60 -0
  473. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_send.rb +46 -0
  474. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_send_file.rb +19 -0
  475. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_session_manipulation.rb +34 -0
  476. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_session_settings.rb +179 -0
  477. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_simple_format.rb +63 -0
  478. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_single_quotes.rb +105 -0
  479. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_skip_before_filter.rb +60 -0
  480. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
  481. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_sql.rb +709 -0
  482. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_sql_cves.rb +106 -0
  483. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_ssl_verify.rb +48 -0
  484. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_strip_tags.rb +91 -0
  485. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_symbol_dos.rb +71 -0
  486. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_symbol_dos_cve.rb +30 -0
  487. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_translate_bug.rb +45 -0
  488. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_unsafe_reflection.rb +50 -0
  489. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_unscoped_find.rb +57 -0
  490. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_validation_regex.rb +116 -0
  491. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_weak_hash.rb +147 -0
  492. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_without_protection.rb +80 -0
  493. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_xml_dos.rb +45 -0
  494. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/checks/check_yaml_parsing.rb +113 -0
  495. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/codeclimate/engine_configuration.rb +97 -0
  496. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/commandline.rb +179 -0
  497. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/differ.rb +54 -0
  498. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/file_parser.rb +52 -0
  499. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/file_path.rb +85 -0
  500. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/format/style.css +141 -0
  501. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/messages.rb +220 -0
  502. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/options.rb +359 -0
  503. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/haml_embedded.rb +44 -0
  504. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/rails2_erubis.rb +6 -0
  505. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/rails2_xss_plugin_erubis.rb +48 -0
  506. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/rails3_erubis.rb +81 -0
  507. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/slim_embedded.rb +44 -0
  508. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/parsers/template_parser.rb +108 -0
  509. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processor.rb +101 -0
  510. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/alias_processor.rb +1278 -0
  511. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/base_processor.rb +298 -0
  512. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/config_processor.rb +17 -0
  513. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/controller_alias_processor.rb +281 -0
  514. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/controller_processor.rb +245 -0
  515. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/erb_template_processor.rb +77 -0
  516. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/erubis_template_processor.rb +92 -0
  517. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/gem_processor.rb +100 -0
  518. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/haml_template_processor.rb +160 -0
  519. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/basic_processor.rb +37 -0
  520. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/call_conversion_helper.rb +96 -0
  521. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/find_all_calls.rb +247 -0
  522. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/find_call.rb +122 -0
  523. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/find_return_value.rb +166 -0
  524. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/module_helper.rb +111 -0
  525. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/processor_helper.rb +88 -0
  526. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/rails2_config_processor.rb +145 -0
  527. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/rails2_route_processor.rb +313 -0
  528. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/rails3_config_processor.rb +132 -0
  529. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/rails3_route_processor.rb +306 -0
  530. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
  531. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/render_helper.rb +186 -0
  532. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/render_path.rb +139 -0
  533. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/route_helper.rb +68 -0
  534. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/lib/safe_call_helper.rb +16 -0
  535. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/library_processor.rb +74 -0
  536. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/model_processor.rb +90 -0
  537. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/output_processor.rb +149 -0
  538. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/route_processor.rb +17 -0
  539. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/slim_template_processor.rb +127 -0
  540. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/template_alias_processor.rb +145 -0
  541. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/processors/template_processor.rb +89 -0
  542. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report.rb +88 -0
  543. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/config/remediation.yml +71 -0
  544. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/ignore/config.rb +152 -0
  545. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/ignore/interactive.rb +362 -0
  546. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/pager.rb +113 -0
  547. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/renderer.rb +24 -0
  548. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_base.rb +193 -0
  549. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_codeclimate.rb +79 -0
  550. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_csv.rb +72 -0
  551. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_hash.rb +23 -0
  552. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_html.rb +219 -0
  553. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_json.rb +43 -0
  554. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_markdown.rb +114 -0
  555. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_table.rb +290 -0
  556. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_tabs.rb +19 -0
  557. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/report_text.rb +213 -0
  558. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/controller_overview.html.erb +22 -0
  559. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/controller_warnings.html.erb +21 -0
  560. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/error_overview.html.erb +29 -0
  561. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/header.html.erb +58 -0
  562. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/ignored_warnings.html.erb +25 -0
  563. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/model_warnings.html.erb +21 -0
  564. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/overview.html.erb +38 -0
  565. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/security_warnings.html.erb +23 -0
  566. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/template_overview.html.erb +21 -0
  567. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/view_warnings.html.erb +34 -0
  568. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/report/templates/warning_overview.html.erb +17 -0
  569. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/rescanner.rb +484 -0
  570. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/scanner.rb +331 -0
  571. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker.rb +390 -0
  572. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/collection.rb +94 -0
  573. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/config.rb +150 -0
  574. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/constants.rb +172 -0
  575. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/controller.rb +161 -0
  576. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/library.rb +17 -0
  577. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/model.rb +90 -0
  578. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/tracker/template.rb +33 -0
  579. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/util.rb +359 -0
  580. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/version.rb +3 -0
  581. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/warning.rb +313 -0
  582. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/brakeman/warning_codes.rb +122 -0
  583. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/ruby_parser/bm_sexp.rb +631 -0
  584. data/vendor/ruby/2.6.0/gems/brakeman-4.7.2/lib/ruby_parser/bm_sexp_processor.rb +117 -0
  585. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/CHANGELOG.md +154 -0
  586. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/COPYING +49 -0
  587. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/Gemfile +15 -0
  588. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/LICENSE +24 -0
  589. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/LICENSE.SPECS +22 -0
  590. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/README.md +115 -0
  591. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/Rakefile +196 -0
  592. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/AbstractMemory.c +1105 -0
  593. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/AbstractMemory.h +175 -0
  594. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/AbstractMemory.o +0 -0
  595. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ArrayType.c +162 -0
  596. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ArrayType.h +59 -0
  597. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ArrayType.o +0 -0
  598. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Buffer.c +365 -0
  599. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Buffer.o +0 -0
  600. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Call.c +499 -0
  601. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Call.h +107 -0
  602. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Call.o +0 -0
  603. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ClosurePool.c +283 -0
  604. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ClosurePool.h +57 -0
  605. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ClosurePool.o +0 -0
  606. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/DynamicLibrary.c +339 -0
  607. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/DynamicLibrary.h +98 -0
  608. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/DynamicLibrary.o +0 -0
  609. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Function.c +917 -0
  610. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Function.h +87 -0
  611. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Function.o +0 -0
  612. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/FunctionInfo.c +271 -0
  613. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/FunctionInfo.o +0 -0
  614. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LastError.c +229 -0
  615. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LastError.h +47 -0
  616. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LastError.o +0 -0
  617. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LongDouble.c +63 -0
  618. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LongDouble.h +51 -0
  619. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/LongDouble.o +0 -0
  620. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Makefile +266 -0
  621. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MappedType.c +168 -0
  622. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MappedType.h +59 -0
  623. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MappedType.o +0 -0
  624. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MemoryPointer.c +197 -0
  625. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MemoryPointer.h +53 -0
  626. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MemoryPointer.o +0 -0
  627. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MethodHandle.c +358 -0
  628. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MethodHandle.h +55 -0
  629. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/MethodHandle.o +0 -0
  630. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Platform.c +82 -0
  631. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Platform.h +45 -0
  632. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Platform.o +0 -0
  633. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Pointer.c +508 -0
  634. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Pointer.h +63 -0
  635. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Pointer.o +0 -0
  636. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Struct.c +829 -0
  637. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Struct.h +106 -0
  638. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Struct.o +0 -0
  639. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/StructByValue.c +150 -0
  640. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/StructByValue.h +55 -0
  641. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/StructByValue.o +0 -0
  642. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/StructLayout.c +698 -0
  643. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/StructLayout.o +0 -0
  644. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Thread.c +137 -0
  645. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Thread.h +84 -0
  646. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Thread.o +0 -0
  647. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Type.c +379 -0
  648. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Type.h +61 -0
  649. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Type.o +0 -0
  650. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Types.c +139 -0
  651. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Types.h +89 -0
  652. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Types.o +0 -0
  653. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Variadic.c +298 -0
  654. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/Variadic.o +0 -0
  655. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/compat.h +78 -0
  656. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/extconf.h +12 -0
  657. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/extconf.rb +86 -0
  658. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ffi.c +93 -0
  659. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ffi.o +0 -0
  660. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/ffi_c.so +0 -0
  661. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.bsd.mk +40 -0
  662. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.darwin.mk +105 -0
  663. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.gnu.mk +32 -0
  664. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.mk +18 -0
  665. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.vc.mk +26 -0
  666. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi.vc64.mk +26 -0
  667. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
  668. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/ChangeLog.libffi-3.1 +6000 -0
  669. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
  670. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
  671. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/LICENSE +21 -0
  672. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
  673. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/Makefile.am +158 -0
  674. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/Makefile.in +1809 -0
  675. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/README.md +470 -0
  676. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/acinclude.m4 +479 -0
  677. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/autogen.sh +2 -0
  678. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/config.guess +1466 -0
  679. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/config.sub +1836 -0
  680. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/configure +21978 -0
  681. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/configure.ac +394 -0
  682. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/configure.host +303 -0
  683. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/doc/Makefile.am +3 -0
  684. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/doc/Makefile.in +811 -0
  685. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/doc/libffi.texi +985 -0
  686. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/doc/version.texi +4 -0
  687. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/fficonfig.h.in +210 -0
  688. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +203 -0
  689. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/include/Makefile.am +9 -0
  690. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/include/Makefile.in +604 -0
  691. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/include/ffi.h.in +515 -0
  692. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
  693. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/include/ffi_common.h +153 -0
  694. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/install-sh +508 -0
  695. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/libffi.map.in +80 -0
  696. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/libffi.pc.in +11 -0
  697. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +1043 -0
  698. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/libtool-ldflags +106 -0
  699. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/libtool-version +29 -0
  700. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/ltmain.sh +11156 -0
  701. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
  702. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_append_flag.m4 +71 -0
  703. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
  704. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
  705. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +74 -0
  706. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +87 -0
  707. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
  708. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
  709. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +263 -0
  710. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
  711. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
  712. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/make_sunver.pl +333 -0
  713. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/Makefile.am +8 -0
  714. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/Makefile.in +558 -0
  715. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/ffi.3 +41 -0
  716. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
  717. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
  718. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
  719. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/missing +215 -0
  720. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
  721. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
  722. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
  723. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
  724. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
  725. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
  726. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/msvcc.sh +353 -0
  727. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/aarch64/ffi.c +1009 -0
  728. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/aarch64/ffitarget.h +92 -0
  729. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
  730. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/aarch64/sysv.S +440 -0
  731. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
  732. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
  733. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
  734. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
  735. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
  736. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
  737. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
  738. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
  739. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arm/ffi.c +854 -0
  740. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
  741. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arm/internal.h +7 -0
  742. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
  743. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
  744. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
  745. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
  746. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
  747. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
  748. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
  749. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
  750. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/closures.c +990 -0
  751. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
  752. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
  753. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
  754. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/debug.c +64 -0
  755. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
  756. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
  757. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
  758. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
  759. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
  760. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
  761. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
  762. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
  763. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
  764. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
  765. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
  766. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
  767. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
  768. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
  769. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
  770. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
  771. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
  772. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
  773. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
  774. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
  775. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
  776. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
  777. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
  778. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
  779. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/mips/ffi.c +1130 -0
  780. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
  781. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/mips/n32.S +663 -0
  782. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/mips/o32.S +502 -0
  783. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
  784. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
  785. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
  786. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
  787. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
  788. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
  789. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
  790. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
  791. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
  792. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
  793. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/pa/ffitarget.h +85 -0
  794. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
  795. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/pa/linux.S +378 -0
  796. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
  797. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
  798. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
  799. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
  800. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
  801. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffi.c +174 -0
  802. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1440 -0
  803. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1007 -0
  804. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +94 -0
  805. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
  806. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ffitarget.h +198 -0
  807. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/linux64.S +228 -0
  808. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +488 -0
  809. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
  810. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/powerpc/sysv.S +175 -0
  811. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/prep_cif.c +263 -0
  812. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/raw_api.c +267 -0
  813. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
  814. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
  815. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
  816. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
  817. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
  818. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/s390/internal.h +11 -0
  819. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
  820. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
  821. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
  822. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
  823. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
  824. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
  825. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
  826. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
  827. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
  828. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
  829. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
  830. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
  831. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
  832. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
  833. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
  834. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/tile/tile.S +360 -0
  835. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/types.c +108 -0
  836. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
  837. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
  838. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
  839. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
  840. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/ffi.c +761 -0
  841. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/ffi64.c +886 -0
  842. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/ffitarget.h +147 -0
  843. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/ffiw64.c +311 -0
  844. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/internal.h +29 -0
  845. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
  846. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/sysv.S +1129 -0
  847. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
  848. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/unix64.S +566 -0
  849. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/win64.S +237 -0
  850. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
  851. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
  852. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
  853. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
  854. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/stamp-h.in +1 -0
  855. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/Makefile.am +119 -0
  856. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/Makefile.in +608 -0
  857. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
  858. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/lib/libffi.exp +657 -0
  859. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
  860. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
  861. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
  862. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
  863. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
  864. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +58 -0
  865. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
  866. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
  867. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
  868. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
  869. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
  870. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +43 -0
  871. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
  872. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
  873. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
  874. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
  875. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
  876. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
  877. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
  878. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
  879. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_simple.c +55 -0
  880. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
  881. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
  882. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
  883. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
  884. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
  885. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
  886. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
  887. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
  888. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
  889. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
  890. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
  891. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
  892. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c +95 -0
  893. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
  894. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
  895. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
  896. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
  897. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
  898. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
  899. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
  900. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
  901. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
  902. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
  903. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
  904. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
  905. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
  906. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
  907. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
  908. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +132 -0
  909. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +115 -0
  910. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
  911. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
  912. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
  913. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
  914. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
  915. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
  916. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
  917. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
  918. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
  919. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +61 -0
  920. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
  921. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
  922. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +61 -0
  923. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c +70 -0
  924. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c +55 -0
  925. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
  926. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
  927. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
  928. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
  929. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
  930. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
  931. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
  932. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +142 -0
  933. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
  934. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
  935. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
  936. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c +114 -0
  937. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
  938. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +44 -0
  939. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
  940. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c +45 -0
  941. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c +45 -0
  942. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
  943. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
  944. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +44 -0
  945. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
  946. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
  947. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
  948. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
  949. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
  950. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
  951. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
  952. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
  953. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
  954. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +341 -0
  955. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
  956. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
  957. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
  958. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
  959. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
  960. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
  961. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
  962. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +134 -0
  963. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c +121 -0
  964. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
  965. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
  966. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
  967. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
  968. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
  969. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
  970. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
  971. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
  972. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
  973. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
  974. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
  975. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
  976. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
  977. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
  978. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
  979. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
  980. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
  981. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
  982. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
  983. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
  984. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
  985. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
  986. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
  987. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
  988. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
  989. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
  990. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
  991. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
  992. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
  993. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
  994. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
  995. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
  996. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
  997. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
  998. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
  999. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
  1000. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
  1001. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
  1002. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
  1003. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
  1004. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
  1005. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
  1006. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
  1007. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
  1008. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
  1009. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
  1010. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
  1011. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest.cc +117 -0
  1012. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest_ffi_call.cc +54 -0
  1013. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
  1014. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
  1015. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
  1016. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
  1017. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
  1018. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
  1019. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
  1020. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
  1021. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
  1022. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
  1023. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
  1024. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
  1025. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
  1026. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
  1027. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
  1028. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
  1029. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
  1030. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
  1031. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
  1032. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
  1033. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
  1034. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
  1035. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
  1036. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
  1037. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
  1038. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
  1039. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
  1040. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
  1041. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
  1042. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
  1043. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
  1044. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
  1045. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
  1046. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
  1047. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
  1048. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
  1049. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
  1050. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
  1051. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
  1052. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
  1053. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
  1054. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
  1055. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
  1056. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
  1057. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
  1058. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
  1059. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
  1060. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
  1061. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
  1062. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
  1063. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
  1064. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/rbffi.h +55 -0
  1065. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/rbffi_endian.h +59 -0
  1066. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/win32/stdbool.h +8 -0
  1067. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/win32/stdint.h +201 -0
  1068. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/ffi.gemspec +43 -0
  1069. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi.rb +20 -0
  1070. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/autopointer.rb +203 -0
  1071. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/buffer.rb +4 -0
  1072. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/callback.rb +4 -0
  1073. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/data_converter.rb +67 -0
  1074. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/enum.rb +296 -0
  1075. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/errno.rb +43 -0
  1076. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/ffi.rb +45 -0
  1077. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/io.rb +62 -0
  1078. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/library.rb +588 -0
  1079. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/managedstruct.rb +84 -0
  1080. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/memorypointer.rb +1 -0
  1081. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform.rb +175 -0
  1082. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
  1083. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/aarch64-freebsd12/types.conf +128 -0
  1084. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/aarch64-linux/types.conf +104 -0
  1085. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/arm-freebsd/types.conf +152 -0
  1086. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
  1087. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/arm-linux/types.conf +104 -0
  1088. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-cygwin/types.conf +3 -0
  1089. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-darwin/types.conf +100 -0
  1090. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  1091. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
  1092. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-gnu/types.conf +107 -0
  1093. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-linux/types.conf +103 -0
  1094. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  1095. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-openbsd/types.conf +128 -0
  1096. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-solaris/types.conf +122 -0
  1097. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/i386-windows/types.conf +105 -0
  1098. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/ia64-linux/types.conf +104 -0
  1099. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mips-linux/types.conf +102 -0
  1100. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mips64-linux/types.conf +104 -0
  1101. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mips64el-linux/types.conf +104 -0
  1102. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  1103. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
  1104. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
  1105. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
  1106. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
  1107. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/powerpc-aix/types.conf +180 -0
  1108. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
  1109. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/powerpc-linux/types.conf +100 -0
  1110. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
  1111. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/s390-linux/types.conf +102 -0
  1112. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/s390x-linux/types.conf +102 -0
  1113. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/sparc-linux/types.conf +102 -0
  1114. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/sparc-solaris/types.conf +128 -0
  1115. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/sparc64-linux/types.conf +102 -0
  1116. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
  1117. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
  1118. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-darwin/types.conf +126 -0
  1119. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-dragonflybsd/types.conf +148 -0
  1120. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
  1121. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
  1122. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-linux/types.conf +111 -0
  1123. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
  1124. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
  1125. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
  1126. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/platform/x86_64-windows/types.conf +120 -0
  1127. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/pointer.rb +160 -0
  1128. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/struct.rb +311 -0
  1129. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/struct_by_reference.rb +72 -0
  1130. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/struct_layout.rb +96 -0
  1131. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/struct_layout_builder.rb +227 -0
  1132. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/tools/const_generator.rb +230 -0
  1133. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/tools/generator.rb +105 -0
  1134. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/tools/generator_task.rb +32 -0
  1135. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/tools/struct_generator.rb +194 -0
  1136. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/tools/types_generator.rb +135 -0
  1137. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/types.rb +194 -0
  1138. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/union.rb +43 -0
  1139. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/variadic.rb +78 -0
  1140. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi/version.rb +3 -0
  1141. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/lib/ffi_c.so +0 -0
  1142. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/getlogin.rb +8 -0
  1143. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/getpid.rb +8 -0
  1144. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/gettimeofday.rb +18 -0
  1145. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/hello.rb +7 -0
  1146. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/inotify.rb +60 -0
  1147. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/pty.rb +76 -0
  1148. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/qsort.rb +21 -0
  1149. data/vendor/ruby/2.6.0/gems/ffi-1.11.3/samples/sample_helper.rb +6 -0
  1150. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/CHANGELOG.md +345 -0
  1151. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/Gemfile +23 -0
  1152. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/MIT-LICENSE.txt +23 -0
  1153. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/Manifest.txt +41 -0
  1154. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/README.md +363 -0
  1155. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/Rakefile +91 -0
  1156. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/SECURITY.md +18 -0
  1157. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/benchmark/benchmark.rb +149 -0
  1158. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/benchmark/fragment.html +96 -0
  1159. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/benchmark/helper.rb +73 -0
  1160. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/benchmark/www.slashdot.com.html +2560 -0
  1161. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah.rb +84 -0
  1162. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/elements.rb +93 -0
  1163. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/helpers.rb +104 -0
  1164. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/html/document.rb +19 -0
  1165. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/html/document_fragment.rb +41 -0
  1166. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/html5/libxml2_workarounds.rb +27 -0
  1167. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/html5/safelist.rb +798 -0
  1168. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/html5/scrub.rb +134 -0
  1169. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/instance_methods.rb +128 -0
  1170. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/metahelpers.rb +14 -0
  1171. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/scrubber.rb +134 -0
  1172. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/scrubbers.rb +298 -0
  1173. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/xml/document.rb +14 -0
  1174. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/lib/loofah/xml/document_fragment.rb +24 -0
  1175. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/assets/msword.html +63 -0
  1176. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/assets/testdata_sanitizer_tests1.dat +502 -0
  1177. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/helper.rb +18 -0
  1178. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/html5/test_sanitizer.rb +414 -0
  1179. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/html5/test_scrub.rb +10 -0
  1180. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/integration/test_ad_hoc.rb +220 -0
  1181. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/integration/test_helpers.rb +43 -0
  1182. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/integration/test_html.rb +72 -0
  1183. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/integration/test_scrubbers.rb +400 -0
  1184. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/integration/test_xml.rb +55 -0
  1185. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/unit/test_api.rb +142 -0
  1186. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/unit/test_encoding.rb +20 -0
  1187. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/unit/test_helpers.rb +62 -0
  1188. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/unit/test_scrubber.rb +229 -0
  1189. data/vendor/ruby/2.6.0/gems/loofah-2.4.0/test/unit/test_scrubbers.rb +14 -0
  1190. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/LICENSE-DEPENDENCIES.md +1614 -0
  1191. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/LICENSE.md +9 -0
  1192. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/README.md +198 -0
  1193. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/bin/nokogiri +118 -0
  1194. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/dependencies.yml +74 -0
  1195. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/Makefile +628 -0
  1196. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/depend +358 -0
  1197. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/extconf.rb +686 -0
  1198. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_document.c +170 -0
  1199. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_document.h +10 -0
  1200. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_document.o +0 -0
  1201. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_element_description.c +279 -0
  1202. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_element_description.h +10 -0
  1203. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_element_description.o +0 -0
  1204. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_entity_lookup.c +32 -0
  1205. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_entity_lookup.h +8 -0
  1206. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_entity_lookup.o +0 -0
  1207. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_parser_context.c +116 -0
  1208. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_parser_context.h +11 -0
  1209. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_parser_context.o +0 -0
  1210. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_push_parser.c +87 -0
  1211. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_push_parser.h +9 -0
  1212. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/html_sax_push_parser.o +0 -0
  1213. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/nokogiri.c +141 -0
  1214. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/nokogiri.h +121 -0
  1215. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/nokogiri.o +0 -0
  1216. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/nokogiri.so +0 -0
  1217. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attr.c +103 -0
  1218. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attr.h +9 -0
  1219. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attr.o +0 -0
  1220. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attribute_decl.c +70 -0
  1221. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attribute_decl.h +9 -0
  1222. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_attribute_decl.o +0 -0
  1223. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_cdata.c +62 -0
  1224. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_cdata.h +9 -0
  1225. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_cdata.o +0 -0
  1226. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_comment.c +69 -0
  1227. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_comment.h +9 -0
  1228. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_comment.o +0 -0
  1229. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document.c +608 -0
  1230. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document.h +23 -0
  1231. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document.o +0 -0
  1232. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document_fragment.c +48 -0
  1233. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document_fragment.h +10 -0
  1234. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_document_fragment.o +0 -0
  1235. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_dtd.c +202 -0
  1236. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_dtd.h +10 -0
  1237. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_dtd.o +0 -0
  1238. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_content.c +123 -0
  1239. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_content.h +10 -0
  1240. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_content.o +0 -0
  1241. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_decl.c +69 -0
  1242. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_decl.h +9 -0
  1243. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_element_decl.o +0 -0
  1244. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_encoding_handler.c +79 -0
  1245. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_encoding_handler.h +8 -0
  1246. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_encoding_handler.o +0 -0
  1247. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_decl.c +110 -0
  1248. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_decl.h +10 -0
  1249. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_decl.o +0 -0
  1250. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_reference.c +52 -0
  1251. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_reference.h +9 -0
  1252. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_entity_reference.o +0 -0
  1253. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_io.c +61 -0
  1254. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_io.h +11 -0
  1255. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_io.o +0 -0
  1256. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  1257. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  1258. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  1259. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_namespace.c +111 -0
  1260. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_namespace.h +14 -0
  1261. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_namespace.o +0 -0
  1262. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node.c +1753 -0
  1263. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node.h +13 -0
  1264. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node.o +0 -0
  1265. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node_set.c +486 -0
  1266. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node_set.h +12 -0
  1267. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_node_set.o +0 -0
  1268. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_processing_instruction.c +56 -0
  1269. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_processing_instruction.h +9 -0
  1270. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_processing_instruction.o +0 -0
  1271. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_reader.c +668 -0
  1272. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_reader.h +10 -0
  1273. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_reader.o +0 -0
  1274. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_relax_ng.c +161 -0
  1275. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_relax_ng.h +9 -0
  1276. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_relax_ng.o +0 -0
  1277. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser.c +310 -0
  1278. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser.h +39 -0
  1279. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser.o +0 -0
  1280. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser_context.c +262 -0
  1281. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser_context.h +10 -0
  1282. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_parser_context.o +0 -0
  1283. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_push_parser.c +159 -0
  1284. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_push_parser.h +9 -0
  1285. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_sax_push_parser.o +0 -0
  1286. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_schema.c +205 -0
  1287. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_schema.h +9 -0
  1288. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_schema.o +0 -0
  1289. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_syntax_error.c +64 -0
  1290. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_syntax_error.h +13 -0
  1291. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_syntax_error.o +0 -0
  1292. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_text.c +52 -0
  1293. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_text.h +9 -0
  1294. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_text.o +0 -0
  1295. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_xpath_context.c +298 -0
  1296. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_xpath_context.h +10 -0
  1297. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xml_xpath_context.o +0 -0
  1298. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xslt_stylesheet.c +270 -0
  1299. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xslt_stylesheet.h +14 -0
  1300. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/ext/nokogiri/xslt_stylesheet.o +0 -0
  1301. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri.rb +144 -0
  1302. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css.rb +27 -0
  1303. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/node.rb +52 -0
  1304. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/parser.rb +750 -0
  1305. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/parser.y +272 -0
  1306. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/parser_extras.rb +91 -0
  1307. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/syntax_error.rb +7 -0
  1308. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/tokenizer.rb +153 -0
  1309. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/tokenizer.rex +55 -0
  1310. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/css/xpath_visitor.rb +230 -0
  1311. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/decorators/slop.rb +42 -0
  1312. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html.rb +37 -0
  1313. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/builder.rb +35 -0
  1314. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/document.rb +335 -0
  1315. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/document_fragment.rb +49 -0
  1316. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/element_description.rb +23 -0
  1317. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/element_description_defaults.rb +671 -0
  1318. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/entity_lookup.rb +13 -0
  1319. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/sax/parser.rb +62 -0
  1320. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/sax/parser_context.rb +16 -0
  1321. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/html/sax/push_parser.rb +36 -0
  1322. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/nokogiri.so +0 -0
  1323. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/syntax_error.rb +4 -0
  1324. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/version.rb +109 -0
  1325. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml.rb +75 -0
  1326. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/attr.rb +14 -0
  1327. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/attribute_decl.rb +18 -0
  1328. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/builder.rb +446 -0
  1329. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/cdata.rb +11 -0
  1330. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/character_data.rb +7 -0
  1331. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/document.rb +285 -0
  1332. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/document_fragment.rb +160 -0
  1333. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/dtd.rb +32 -0
  1334. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/element_content.rb +36 -0
  1335. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/element_decl.rb +13 -0
  1336. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/entity_decl.rb +19 -0
  1337. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/entity_reference.rb +18 -0
  1338. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/namespace.rb +13 -0
  1339. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/node.rb +902 -0
  1340. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/node/save_options.rb +61 -0
  1341. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/node_set.rb +371 -0
  1342. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/notation.rb +6 -0
  1343. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/parse_options.rb +120 -0
  1344. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp.rb +2 -0
  1345. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp/character_data.rb +18 -0
  1346. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp/node.rb +56 -0
  1347. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/processing_instruction.rb +8 -0
  1348. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/reader.rb +112 -0
  1349. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/relax_ng.rb +32 -0
  1350. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/sax.rb +4 -0
  1351. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/sax/document.rb +171 -0
  1352. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/sax/parser.rb +122 -0
  1353. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  1354. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  1355. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/schema.rb +63 -0
  1356. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/searchable.rb +230 -0
  1357. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/syntax_error.rb +70 -0
  1358. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/text.rb +9 -0
  1359. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/xpath.rb +10 -0
  1360. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  1361. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/xpath_context.rb +16 -0
  1362. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xslt.rb +56 -0
  1363. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xslt/stylesheet.rb +25 -0
  1364. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/xsd/xmlparser/nokogiri.rb +102 -0
  1365. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +78 -0
  1366. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
  1367. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
  1368. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.7/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch +25 -0
  1369. data/vendor/ruby/2.6.0/gems/oj-3.10.0/LICENSE +21 -0
  1370. data/vendor/ruby/2.6.0/gems/oj-3.10.0/README.md +104 -0
  1371. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/Makefile +266 -0
  1372. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/buf.h +103 -0
  1373. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/cache8.c +107 -0
  1374. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/cache8.h +48 -0
  1375. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/cache8.o +0 -0
  1376. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/circarray.c +68 -0
  1377. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/circarray.h +23 -0
  1378. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/circarray.o +0 -0
  1379. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/code.c +235 -0
  1380. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/code.h +42 -0
  1381. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/code.o +0 -0
  1382. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/compat.c +299 -0
  1383. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/compat.o +0 -0
  1384. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/custom.c +1216 -0
  1385. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/custom.o +0 -0
  1386. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump.c +1249 -0
  1387. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump.h +96 -0
  1388. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump.o +0 -0
  1389. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_compat.c +974 -0
  1390. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_compat.o +0 -0
  1391. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_leaf.c +252 -0
  1392. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_leaf.o +0 -0
  1393. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_object.c +842 -0
  1394. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_object.o +0 -0
  1395. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_strict.c +433 -0
  1396. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/dump_strict.o +0 -0
  1397. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/encode.h +45 -0
  1398. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/err.c +57 -0
  1399. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/err.h +70 -0
  1400. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/err.o +0 -0
  1401. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/extconf.rb +48 -0
  1402. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/fast.c +1771 -0
  1403. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/fast.o +0 -0
  1404. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/hash.c +163 -0
  1405. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/hash.h +46 -0
  1406. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/hash.o +0 -0
  1407. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/hash_test.c +512 -0
  1408. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/hash_test.o +0 -0
  1409. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/mimic_json.c +880 -0
  1410. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/mimic_json.o +0 -0
  1411. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/object.c +774 -0
  1412. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/object.o +0 -0
  1413. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/odd.c +231 -0
  1414. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/odd.h +44 -0
  1415. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/odd.o +0 -0
  1416. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/oj.c +1721 -0
  1417. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/oj.h +387 -0
  1418. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/oj.o +0 -0
  1419. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/oj.so +0 -0
  1420. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/parse.c +1099 -0
  1421. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/parse.h +112 -0
  1422. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/parse.o +0 -0
  1423. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rails.c +1500 -0
  1424. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rails.h +21 -0
  1425. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rails.o +0 -0
  1426. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/reader.c +231 -0
  1427. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/reader.h +151 -0
  1428. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/reader.o +0 -0
  1429. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/resolve.c +102 -0
  1430. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/resolve.h +14 -0
  1431. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/resolve.o +0 -0
  1432. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rxclass.c +147 -0
  1433. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rxclass.h +27 -0
  1434. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rxclass.o +0 -0
  1435. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/saj.c +714 -0
  1436. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/saj.o +0 -0
  1437. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/scp.c +224 -0
  1438. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/scp.o +0 -0
  1439. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/sparse.c +914 -0
  1440. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/sparse.o +0 -0
  1441. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/stream_writer.c +363 -0
  1442. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/stream_writer.o +0 -0
  1443. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/strict.c +212 -0
  1444. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/strict.o +0 -0
  1445. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/string_writer.c +534 -0
  1446. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/string_writer.o +0 -0
  1447. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/trace.c +79 -0
  1448. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/trace.h +28 -0
  1449. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/trace.o +0 -0
  1450. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/util.c +136 -0
  1451. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/util.h +19 -0
  1452. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/util.o +0 -0
  1453. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/val_stack.c +118 -0
  1454. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/val_stack.h +185 -0
  1455. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/val_stack.o +0 -0
  1456. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/wab.c +631 -0
  1457. data/vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/wab.o +0 -0
  1458. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj.rb +21 -0
  1459. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/active_support_helper.rb +41 -0
  1460. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/bag.rb +88 -0
  1461. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/easy_hash.rb +52 -0
  1462. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/error.rb +22 -0
  1463. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/json.rb +176 -0
  1464. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/mimic.rb +267 -0
  1465. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/oj.so +0 -0
  1466. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/saj.rb +66 -0
  1467. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/schandler.rb +142 -0
  1468. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/state.rb +131 -0
  1469. data/vendor/ruby/2.6.0/gems/oj-3.10.0/lib/oj/version.rb +5 -0
  1470. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Advanced.md +22 -0
  1471. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Compatibility.md +25 -0
  1472. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Custom.md +23 -0
  1473. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Encoding.md +65 -0
  1474. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/JsonGem.md +79 -0
  1475. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Modes.md +155 -0
  1476. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Options.md +287 -0
  1477. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Rails.md +116 -0
  1478. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/Security.md +20 -0
  1479. data/vendor/ruby/2.6.0/gems/oj-3.10.0/pages/WAB.md +13 -0
  1480. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/_test_active.rb +76 -0
  1481. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/_test_active_mimic.rb +96 -0
  1482. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/_test_mimic_rails.rb +126 -0
  1483. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activerecord/result_test.rb +27 -0
  1484. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport4/decoding_test.rb +108 -0
  1485. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport4/encoding_test.rb +531 -0
  1486. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport4/test_helper.rb +41 -0
  1487. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/abstract_unit.rb +45 -0
  1488. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/decoding_test.rb +133 -0
  1489. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/encoding_test.rb +500 -0
  1490. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/encoding_test_cases.rb +98 -0
  1491. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/test_helper.rb +72 -0
  1492. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport5/time_zone_test_helpers.rb +39 -0
  1493. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/abstract_unit.rb +44 -0
  1494. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/decoding_test.rb +133 -0
  1495. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/encoding_test.rb +507 -0
  1496. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/encoding_test_cases.rb +98 -0
  1497. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/test_common.rb +17 -0
  1498. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/test_helper.rb +163 -0
  1499. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/activesupport6/time_zone_test_helpers.rb +39 -0
  1500. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/bar.rb +22 -0
  1501. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/baz.rb +16 -0
  1502. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/files.rb +29 -0
  1503. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/foo.rb +167 -0
  1504. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/helper.rb +26 -0
  1505. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/shared.rb +308 -0
  1506. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_after.rb +13 -0
  1507. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_alone.rb +12 -0
  1508. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_as_json.rb +45 -0
  1509. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_before.rb +13 -0
  1510. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_define.rb +28 -0
  1511. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_rails_after.rb +22 -0
  1512. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_rails_before.rb +21 -0
  1513. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/isolated/test_mimic_redefine.rb +15 -0
  1514. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_addition_test.rb +216 -0
  1515. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_common_interface_test.rb +148 -0
  1516. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_encoding_test.rb +107 -0
  1517. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_ext_parser_test.rb +20 -0
  1518. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_fixtures_test.rb +35 -0
  1519. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_generator_test.rb +383 -0
  1520. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_generic_object_test.rb +90 -0
  1521. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_parser_test.rb +470 -0
  1522. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/json_string_matching_test.rb +42 -0
  1523. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/json_gem/test_helper.rb +18 -0
  1524. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf.rb +107 -0
  1525. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_compat.rb +130 -0
  1526. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_fast.rb +164 -0
  1527. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_file.rb +64 -0
  1528. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_object.rb +138 -0
  1529. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_saj.rb +109 -0
  1530. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_scp.rb +151 -0
  1531. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_simple.rb +287 -0
  1532. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_strict.rb +145 -0
  1533. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/perf_wab.rb +131 -0
  1534. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample.rb +54 -0
  1535. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/change.rb +14 -0
  1536. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/dir.rb +19 -0
  1537. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/doc.rb +36 -0
  1538. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/file.rb +48 -0
  1539. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/group.rb +16 -0
  1540. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/hasprops.rb +16 -0
  1541. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/layer.rb +12 -0
  1542. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/line.rb +20 -0
  1543. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/oval.rb +10 -0
  1544. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/rect.rb +10 -0
  1545. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/shape.rb +35 -0
  1546. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample/text.rb +20 -0
  1547. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/sample_json.rb +37 -0
  1548. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_compat.rb +502 -0
  1549. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_custom.rb +507 -0
  1550. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_debian.rb +53 -0
  1551. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_fast.rb +470 -0
  1552. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_file.rb +239 -0
  1553. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_gc.rb +49 -0
  1554. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_hash.rb +29 -0
  1555. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_integer_range.rb +72 -0
  1556. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_null.rb +376 -0
  1557. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_object.rb +1019 -0
  1558. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_saj.rb +186 -0
  1559. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_scp.rb +433 -0
  1560. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_strict.rb +433 -0
  1561. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_various.rb +720 -0
  1562. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_wab.rb +307 -0
  1563. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/test_writer.rb +380 -0
  1564. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/tests.rb +24 -0
  1565. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/tests_mimic.rb +14 -0
  1566. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/tests_mimic_addition.rb +7 -0
  1567. data/vendor/ruby/2.6.0/gems/oj-3.10.0/test/zoo.rb +13 -0
  1568. data/vendor/ruby/2.6.0/gems/parallel-1.19.1/MIT-LICENSE.txt +20 -0
  1569. data/vendor/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel.rb +523 -0
  1570. data/vendor/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel/processor_count.rb +42 -0
  1571. data/vendor/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel/version.rb +3 -0
  1572. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/LICENSE.txt +20 -0
  1573. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/README.md +217 -0
  1574. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/assets/logo.png +0 -0
  1575. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/assets/output.html.erb +261 -0
  1576. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/bin/console +10 -0
  1577. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/bin/setup +7 -0
  1578. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/config/default.yml +3951 -0
  1579. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/exe/rubocop +17 -0
  1580. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop.rb +616 -0
  1581. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/builder.rb +82 -0
  1582. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node.rb +644 -0
  1583. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/alias_node.rb +24 -0
  1584. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/and_node.rb +29 -0
  1585. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/args_node.rb +29 -0
  1586. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/array_node.rb +57 -0
  1587. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/block_node.rb +117 -0
  1588. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/break_node.rb +17 -0
  1589. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/case_node.rb +56 -0
  1590. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/class_node.rb +31 -0
  1591. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/def_node.rb +71 -0
  1592. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/defined_node.rb +17 -0
  1593. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
  1594. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/float_node.rb +12 -0
  1595. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/for_node.rb +53 -0
  1596. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/hash_node.rb +109 -0
  1597. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/if_node.rb +175 -0
  1598. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/int_node.rb +12 -0
  1599. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
  1600. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
  1601. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
  1602. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
  1603. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
  1604. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
  1605. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +261 -0
  1606. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
  1607. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
  1608. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
  1609. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
  1610. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
  1611. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/module_node.rb +24 -0
  1612. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/or_node.rb +29 -0
  1613. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/pair_node.rb +63 -0
  1614. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/range_node.rb +18 -0
  1615. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
  1616. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
  1617. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/retry_node.rb +17 -0
  1618. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/return_node.rb +24 -0
  1619. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
  1620. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/send_node.rb +13 -0
  1621. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/str_node.rb +16 -0
  1622. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/super_node.rb +21 -0
  1623. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
  1624. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/until_node.rb +35 -0
  1625. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/when_node.rb +53 -0
  1626. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/while_node.rb +35 -0
  1627. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/node/yield_node.rb +21 -0
  1628. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/sexp.rb +16 -0
  1629. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/ast/traversal.rb +183 -0
  1630. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cached_data.rb +58 -0
  1631. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli.rb +127 -0
  1632. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command.rb +21 -0
  1633. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/auto_genenerate_config.rb +105 -0
  1634. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/base.rb +33 -0
  1635. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/execute_runner.rb +76 -0
  1636. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/init_dotfile.rb +45 -0
  1637. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/show_cops.rb +73 -0
  1638. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/command/version.rb +17 -0
  1639. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cli/environment.rb +21 -0
  1640. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/comment_config.rb +201 -0
  1641. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config.rb +251 -0
  1642. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config_loader.rb +273 -0
  1643. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config_loader_resolver.rb +195 -0
  1644. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config_obsoletion.rb +275 -0
  1645. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config_store.rb +48 -0
  1646. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/config_validator.rb +246 -0
  1647. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/autocorrect_logic.rb +103 -0
  1648. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/badge.rb +73 -0
  1649. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
  1650. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
  1651. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
  1652. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
  1653. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/commissioner.rb +145 -0
  1654. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/cop.rb +294 -0
  1655. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/corrector.rb +172 -0
  1656. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/alignment_corrector.rb +146 -0
  1657. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
  1658. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
  1659. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
  1660. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
  1661. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
  1662. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
  1663. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
  1664. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
  1665. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
  1666. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
  1667. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
  1668. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/space_corrector.rb +48 -0
  1669. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
  1670. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
  1671. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/force.rb +42 -0
  1672. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
  1673. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
  1674. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
  1675. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
  1676. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/generator.rb +223 -0
  1677. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
  1678. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
  1679. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/ignored_node.rb +38 -0
  1680. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs.rb +9 -0
  1681. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/method_name_equal.rb +59 -0
  1682. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
  1683. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
  1684. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
  1685. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
  1686. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
  1687. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
  1688. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
  1689. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
  1690. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/array_alignment.rb +39 -0
  1691. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
  1692. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
  1693. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
  1694. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
  1695. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
  1696. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
  1697. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
  1698. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
  1699. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
  1700. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
  1701. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
  1702. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
  1703. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_comment.rb +151 -0
  1704. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
  1705. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
  1706. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
  1707. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
  1708. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
  1709. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
  1710. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
  1711. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
  1712. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
  1713. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
  1714. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
  1715. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
  1716. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
  1717. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/end_of_line.rb +92 -0
  1718. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
  1719. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_argument_indentation.rb +249 -0
  1720. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_array_element_indentation.rb +167 -0
  1721. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
  1722. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
  1723. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
  1724. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
  1725. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
  1726. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
  1727. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/hash_alignment.rb +362 -0
  1728. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
  1729. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/heredoc_indentation.rb +256 -0
  1730. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
  1731. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
  1732. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
  1733. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
  1734. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/leading_empty_lines.rb +53 -0
  1735. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
  1736. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
  1737. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
  1738. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_block_layout.rb +146 -0
  1739. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
  1740. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
  1741. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
  1742. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
  1743. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
  1744. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
  1745. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
  1746. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
  1747. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
  1748. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
  1749. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
  1750. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
  1751. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
  1752. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
  1753. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
  1754. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
  1755. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_around_keyword.rb +244 -0
  1756. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_around_operators.rb +182 -0
  1757. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
  1758. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
  1759. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
  1760. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
  1761. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
  1762. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
  1763. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +231 -0
  1764. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
  1765. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
  1766. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
  1767. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
  1768. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
  1769. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
  1770. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
  1771. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
  1772. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/tab.rb +75 -0
  1773. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/trailing_empty_lines.rb +113 -0
  1774. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
  1775. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
  1776. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
  1777. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
  1778. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
  1779. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
  1780. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
  1781. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
  1782. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/debugger.rb +77 -0
  1783. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
  1784. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
  1785. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
  1786. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
  1787. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
  1788. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
  1789. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
  1790. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
  1791. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
  1792. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
  1793. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
  1794. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
  1795. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
  1796. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/erb_new_arguments.rb +164 -0
  1797. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
  1798. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
  1799. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +159 -0
  1800. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
  1801. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
  1802. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
  1803. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
  1804. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
  1805. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
  1806. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
  1807. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/loop.rb +63 -0
  1808. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
  1809. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
  1810. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
  1811. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
  1812. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
  1813. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
  1814. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
  1815. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
  1816. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
  1817. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
  1818. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
  1819. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
  1820. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +263 -0
  1821. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +114 -0
  1822. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
  1823. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
  1824. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_string_coercion.rb +59 -0
  1825. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
  1826. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
  1827. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
  1828. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
  1829. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
  1830. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
  1831. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
  1832. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
  1833. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
  1834. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
  1835. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
  1836. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
  1837. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
  1838. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
  1839. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
  1840. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/suppressed_exception.rb +95 -0
  1841. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/syntax.rb +59 -0
  1842. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/to_json.rb +41 -0
  1843. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
  1844. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
  1845. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
  1846. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
  1847. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/unused_method_argument.rb +86 -0
  1848. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
  1849. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
  1850. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/useless_access_modifier.rb +274 -0
  1851. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
  1852. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
  1853. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
  1854. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
  1855. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/lint/void.rb +151 -0
  1856. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/message_annotator.rb +129 -0
  1857. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
  1858. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
  1859. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
  1860. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
  1861. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
  1862. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/line_length.rb +321 -0
  1863. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
  1864. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
  1865. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
  1866. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
  1867. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
  1868. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/migration/department_name.rb +44 -0
  1869. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
  1870. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
  1871. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
  1872. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
  1873. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
  1874. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
  1875. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
  1876. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
  1877. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
  1878. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
  1879. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
  1880. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
  1881. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
  1882. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
  1883. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
  1884. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
  1885. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
  1886. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
  1887. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
  1888. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
  1889. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
  1890. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +53 -0
  1891. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
  1892. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
  1893. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
  1894. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
  1895. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
  1896. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
  1897. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
  1898. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/method_complexity.rb +57 -0
  1899. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
  1900. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
  1901. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
  1902. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
  1903. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
  1904. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
  1905. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
  1906. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
  1907. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
  1908. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
  1909. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
  1910. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
  1911. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
  1912. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
  1913. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
  1914. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
  1915. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
  1916. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
  1917. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
  1918. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
  1919. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
  1920. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/statement_modifier.rb +71 -0
  1921. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
  1922. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
  1923. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
  1924. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
  1925. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
  1926. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
  1927. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/trailing_comma.rb +218 -0
  1928. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
  1929. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
  1930. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
  1931. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
  1932. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
  1933. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
  1934. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
  1935. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
  1936. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/file_name.rb +212 -0
  1937. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
  1938. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
  1939. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
  1940. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/method_name.rb +53 -0
  1941. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
  1942. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
  1943. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
  1944. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/variable_name.rb +52 -0
  1945. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
  1946. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/offense.rb +205 -0
  1947. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/registry.rb +211 -0
  1948. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/security/eval.rb +31 -0
  1949. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/security/json_load.rb +46 -0
  1950. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
  1951. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/security/open.rb +71 -0
  1952. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
  1953. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/severity.rb +77 -0
  1954. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/access_modifier_declarations.rb +112 -0
  1955. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/alias.rb +147 -0
  1956. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/and_or.rb +146 -0
  1957. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/array_join.rb +39 -0
  1958. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
  1959. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/attr.rb +62 -0
  1960. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
  1961. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
  1962. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/begin_block.rb +22 -0
  1963. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/block_comments.rb +70 -0
  1964. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/block_delimiters.rb +331 -0
  1965. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +209 -0
  1966. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/case_equality.rb +30 -0
  1967. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/character_literal.rb +53 -0
  1968. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
  1969. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/class_check.rb +59 -0
  1970. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/class_methods.rb +60 -0
  1971. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/class_vars.rb +48 -0
  1972. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
  1973. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
  1974. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
  1975. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/command_literal.rb +187 -0
  1976. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
  1977. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/commented_keyword.rb +73 -0
  1978. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
  1979. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
  1980. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/copyright.rb +99 -0
  1981. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/date_time.rb +77 -0
  1982. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
  1983. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/dir.rb +48 -0
  1984. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/documentation.rb +97 -0
  1985. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/documentation_method.rb +125 -0
  1986. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
  1987. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/double_negation.rb +35 -0
  1988. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
  1989. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
  1990. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
  1991. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
  1992. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_else.rb +175 -0
  1993. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
  1994. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
  1995. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/empty_method.rb +115 -0
  1996. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/encoding.rb +56 -0
  1997. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/end_block.rb +25 -0
  1998. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
  1999. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/even_odd.rb +58 -0
  2000. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
  2001. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/float_division.rb +94 -0
  2002. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/for.rb +88 -0
  2003. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/format_string.rb +127 -0
  2004. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/format_string_token.rb +121 -0
  2005. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +159 -0
  2006. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/global_vars.rb +80 -0
  2007. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/guard_clause.rb +121 -0
  2008. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
  2009. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
  2010. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
  2011. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/if_unless_modifier.rb +134 -0
  2012. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
  2013. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
  2014. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
  2015. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/infinite_loop.rb +128 -0
  2016. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
  2017. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/inverse_methods.rb +193 -0
  2018. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
  2019. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/lambda.rb +131 -0
  2020. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
  2021. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
  2022. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +388 -0
  2023. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
  2024. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
  2025. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
  2026. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
  2027. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/min_max.rb +68 -0
  2028. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/missing_else.rb +180 -0
  2029. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
  2030. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
  2031. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/mixin_usage.rb +90 -0
  2032. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/module_function.rb +104 -0
  2033. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
  2034. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
  2035. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
  2036. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
  2037. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
  2038. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
  2039. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiline_when_then.rb +55 -0
  2040. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
  2041. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
  2042. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/negated_if.rb +99 -0
  2043. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
  2044. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/negated_while.rb +48 -0
  2045. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/nested_modifier.rb +107 -0
  2046. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
  2047. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
  2048. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/next.rb +244 -0
  2049. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
  2050. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/non_nil_check.rb +136 -0
  2051. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/not.rb +82 -0
  2052. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
  2053. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/numeric_literals.rb +114 -0
  2054. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/numeric_predicate.rb +137 -0
  2055. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
  2056. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/option_hash.rb +55 -0
  2057. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
  2058. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/or_assignment.rb +95 -0
  2059. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
  2060. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
  2061. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
  2062. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
  2063. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
  2064. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
  2065. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/proc.rb +34 -0
  2066. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/raise_args.rb +145 -0
  2067. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
  2068. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
  2069. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
  2070. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_condition.rb +112 -0
  2071. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
  2072. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
  2073. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
  2074. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
  2075. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_parentheses.rb +231 -0
  2076. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
  2077. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_return.rb +171 -0
  2078. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_self.rb +171 -0
  2079. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_sort.rb +165 -0
  2080. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
  2081. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
  2082. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
  2083. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
  2084. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/return_nil.rb +89 -0
  2085. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/safe_navigation.rb +275 -0
  2086. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/sample.rb +144 -0
  2087. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
  2088. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/semicolon.rb +101 -0
  2089. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/send.rb +31 -0
  2090. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
  2091. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
  2092. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/single_line_methods.rb +83 -0
  2093. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/special_global_vars.rb +211 -0
  2094. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
  2095. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
  2096. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
  2097. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/string_literals.rb +129 -0
  2098. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
  2099. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/string_methods.rb +46 -0
  2100. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/strip.rb +46 -0
  2101. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
  2102. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
  2103. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
  2104. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
  2105. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/ternary_parentheses.rb +223 -0
  2106. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
  2107. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
  2108. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
  2109. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
  2110. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
  2111. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
  2112. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
  2113. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
  2114. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
  2115. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/unless_else.rb +55 -0
  2116. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
  2117. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
  2118. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/when_then.rb +37 -0
  2119. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
  2120. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
  2121. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/word_array.rb +102 -0
  2122. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/yoda_condition.rb +141 -0
  2123. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
  2124. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/team.rb +196 -0
  2125. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/util.rb +127 -0
  2126. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/utils/format_string.rb +120 -0
  2127. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force.rb +466 -0
  2128. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
  2129. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
  2130. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
  2131. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
  2132. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
  2133. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/variable.rb +117 -0
  2134. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
  2135. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/core_ext/string.rb +23 -0
  2136. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/error.rb +34 -0
  2137. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/file_finder.rb +42 -0
  2138. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
  2139. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/base_formatter.rb +123 -0
  2140. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
  2141. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/colorizable.rb +41 -0
  2142. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
  2143. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
  2144. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
  2145. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
  2146. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/formatter_set.rb +106 -0
  2147. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
  2148. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/html_formatter.rb +141 -0
  2149. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/json_formatter.rb +80 -0
  2150. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
  2151. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/pacman_formatter.rb +80 -0
  2152. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
  2153. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
  2154. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
  2155. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/tap_formatter.rb +82 -0
  2156. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/text_util.rb +20 -0
  2157. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
  2158. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/magic_comment.rb +214 -0
  2159. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/name_similarity.rb +21 -0
  2160. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/node_pattern.rb +801 -0
  2161. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/options.rb +460 -0
  2162. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/path_util.rb +85 -0
  2163. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/platform.rb +11 -0
  2164. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/processed_source.rb +216 -0
  2165. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rake_task.rb +80 -0
  2166. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/remote_config.rb +106 -0
  2167. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/result_cache.rb +205 -0
  2168. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rspec/cop_helper.rb +94 -0
  2169. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rspec/expect_offense.rb +240 -0
  2170. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
  2171. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rspec/shared_contexts.rb +90 -0
  2172. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/rspec/support.rb +13 -0
  2173. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/runner.rb +375 -0
  2174. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/string_interpreter.rb +57 -0
  2175. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/string_util.rb +14 -0
  2176. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/target_finder.rb +196 -0
  2177. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/token.rb +114 -0
  2178. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/version.rb +21 -0
  2179. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/warning.rb +11 -0
  2180. data/vendor/ruby/2.6.0/gems/rubocop-0.77.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
  2181. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/MIT-LICENSE +20 -0
  2182. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/README.md +676 -0
  2183. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk.rb +12 -0
  2184. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/error.rb +10 -0
  2185. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/explicit_namespace.rb +80 -0
  2186. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/gem_inflector.rb +19 -0
  2187. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/inflector.rb +49 -0
  2188. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb +33 -0
  2189. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb +765 -0
  2190. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader/callbacks.rb +71 -0
  2191. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/real_mod_name.rb +21 -0
  2192. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/registry.rb +147 -0
  2193. data/vendor/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/version.rb +5 -0
  2194. data/vendor/ruby/2.6.0/specifications/autoprefixer-rails-9.7.3.gemspec +47 -0
  2195. data/vendor/ruby/2.6.0/specifications/brakeman-4.7.2.gemspec +24 -0
  2196. data/vendor/ruby/2.6.0/specifications/ffi-1.11.3.gemspec +50 -0
  2197. data/vendor/ruby/2.6.0/specifications/loofah-2.4.0.gemspec +75 -0
  2198. data/vendor/ruby/2.6.0/specifications/nokogiri-1.10.7.gemspec +85 -0
  2199. data/vendor/ruby/2.6.0/specifications/oj-3.10.0.gemspec +48 -0
  2200. data/vendor/ruby/2.6.0/specifications/parallel-1.19.1.gemspec +21 -0
  2201. data/vendor/ruby/2.6.0/specifications/rubocop-0.77.0.gemspec +56 -0
  2202. data/vendor/ruby/2.6.0/specifications/zeitwerk-2.2.2.gemspec +21 -0
  2203. metadata +2211 -2
@@ -0,0 +1,231 @@
1
+ /* odd.c
2
+ * Copyright (c) 2011, Peter Ohler
3
+ * All rights reserved.
4
+ */
5
+
6
+ #include <string.h>
7
+
8
+ #include "odd.h"
9
+
10
+ static struct _odd _odds[4]; // bump up if new initial Odd classes are added
11
+ static struct _odd *odds = _odds;
12
+ static long odd_cnt = 0;
13
+ static ID sec_id;
14
+ static ID sec_fraction_id;
15
+ static ID to_f_id;
16
+ static ID numerator_id;
17
+ static ID denominator_id;
18
+ static ID rational_id;
19
+ static VALUE rational_class;
20
+
21
+ static void
22
+ set_class(Odd odd, const char *classname) {
23
+ const char **np;
24
+ ID *idp;
25
+
26
+ odd->classname = classname;
27
+ odd->clen = strlen(classname);
28
+ odd->clas = rb_const_get(rb_cObject, rb_intern(classname));
29
+ odd->create_obj = odd->clas;
30
+ odd->create_op = rb_intern("new");
31
+ odd->is_module = (T_MODULE == rb_type(odd->clas));
32
+ odd->raw = 0;
33
+ for (np = odd->attr_names, idp = odd->attrs; 0 != *np; np++, idp++) {
34
+ *idp = rb_intern(*np);
35
+ }
36
+ *idp = 0;
37
+ }
38
+
39
+ static VALUE
40
+ get_datetime_secs(VALUE obj) {
41
+ volatile VALUE rsecs = rb_funcall(obj, sec_id, 0);
42
+ volatile VALUE rfrac = rb_funcall(obj, sec_fraction_id, 0);
43
+ long sec = NUM2LONG(rsecs);
44
+ long long num = rb_num2ll(rb_funcall(rfrac, numerator_id, 0));
45
+ long long den = rb_num2ll(rb_funcall(rfrac, denominator_id, 0));
46
+
47
+ num += sec * den;
48
+
49
+ return rb_funcall(rb_cObject, rational_id, 2, rb_ll2inum(num), rb_ll2inum(den));
50
+ }
51
+
52
+ void
53
+ oj_odd_init() {
54
+ Odd odd;
55
+ const char **np;
56
+
57
+ sec_id = rb_intern("sec");
58
+ sec_fraction_id = rb_intern("sec_fraction");
59
+ to_f_id = rb_intern("to_f");
60
+ numerator_id = rb_intern("numerator");
61
+ denominator_id = rb_intern("denominator");
62
+ rational_id = rb_intern("Rational");
63
+ rational_class = rb_const_get(rb_cObject, rational_id);
64
+
65
+ memset(_odds, 0, sizeof(_odds));
66
+ odd = odds;
67
+ // Rational
68
+ np = odd->attr_names;
69
+ *np++ = "numerator";
70
+ *np++ = "denominator";
71
+ *np = 0;
72
+ set_class(odd, "Rational");
73
+ odd->create_obj = rb_cObject;
74
+ odd->create_op = rational_id;
75
+ odd->attr_cnt = 2;
76
+ // Date
77
+ odd++;
78
+ np = odd->attr_names;
79
+ *np++ = "year";
80
+ *np++ = "month";
81
+ *np++ = "day";
82
+ *np++ = "start";
83
+ *np++ = 0;
84
+ set_class(odd, "Date");
85
+ odd->attr_cnt = 4;
86
+ // DateTime
87
+ odd++;
88
+ np = odd->attr_names;
89
+ *np++ = "year";
90
+ *np++ = "month";
91
+ *np++ = "day";
92
+ *np++ = "hour";
93
+ *np++ = "min";
94
+ *np++ = "sec";
95
+ *np++ = "offset";
96
+ *np++ = "start";
97
+ *np++ = 0;
98
+ set_class(odd, "DateTime");
99
+ odd->attr_cnt = 8;
100
+ odd->attrFuncs[5] = get_datetime_secs;
101
+ // Range
102
+ odd++;
103
+ np = odd->attr_names;
104
+ *np++ = "begin";
105
+ *np++ = "end";
106
+ *np++ = "exclude_end?";
107
+ *np++ = 0;
108
+ set_class(odd, "Range");
109
+ odd->attr_cnt = 3;
110
+
111
+ odd_cnt = odd - odds + 1;
112
+ }
113
+
114
+ Odd
115
+ oj_get_odd(VALUE clas) {
116
+ Odd odd;
117
+ const char *classname = NULL;
118
+
119
+ for (odd = odds + odd_cnt - 1; odds <= odd; odd--) {
120
+ if (clas == odd->clas) {
121
+ return odd;
122
+ }
123
+ if (odd->is_module) {
124
+ if (NULL == classname) {
125
+ classname = rb_class2name(clas);
126
+ }
127
+ if (0 == strncmp(odd->classname, classname, odd->clen) &&
128
+ ':' == classname[odd->clen]) {
129
+ return odd;
130
+ }
131
+ }
132
+ }
133
+ return NULL;
134
+ }
135
+
136
+ Odd
137
+ oj_get_oddc(const char *classname, size_t len) {
138
+ Odd odd;
139
+
140
+ for (odd = odds + odd_cnt - 1; odds <= odd; odd--) {
141
+ if (len == odd->clen && 0 == strncmp(classname, odd->classname, len)) {
142
+ return odd;
143
+ }
144
+ if (odd->is_module &&
145
+ 0 == strncmp(odd->classname, classname, odd->clen) &&
146
+ ':' == classname[odd->clen]) {
147
+ return odd;
148
+ }
149
+ }
150
+ return 0;
151
+ }
152
+
153
+ OddArgs
154
+ oj_odd_alloc_args(Odd odd) {
155
+ OddArgs oa = ALLOC_N(struct _oddArgs, 1);
156
+ VALUE *a;
157
+ int i;
158
+
159
+ oa->odd = odd;
160
+ for (i = odd->attr_cnt, a = oa->args; 0 < i; i--, a++) {
161
+ *a = Qnil;
162
+ }
163
+ return oa;
164
+ }
165
+
166
+ void
167
+ oj_odd_free(OddArgs args) {
168
+ xfree(args);
169
+ }
170
+
171
+ int
172
+ oj_odd_set_arg(OddArgs args, const char *key, size_t klen, VALUE value) {
173
+ const char **np;
174
+ VALUE *vp;
175
+ int i;
176
+
177
+ for (i = args->odd->attr_cnt, np = args->odd->attr_names, vp = args->args; 0 < i; i--, np++, vp++) {
178
+ if (0 == strncmp(key, *np, klen) && '\0' == *((*np) + klen)) {
179
+ *vp = value;
180
+ return 0;
181
+ }
182
+ }
183
+ return -1;
184
+ }
185
+
186
+ void
187
+ oj_reg_odd(VALUE clas, VALUE create_object, VALUE create_method, int mcnt, VALUE *members, bool raw) {
188
+ Odd odd;
189
+ const char **np;
190
+ ID *ap;
191
+ AttrGetFunc *fp;
192
+
193
+ if (_odds == odds) {
194
+ odds = ALLOC_N(struct _odd, odd_cnt + 1);
195
+
196
+ memcpy(odds, _odds, sizeof(struct _odd) * odd_cnt);
197
+ } else {
198
+ REALLOC_N(odds, struct _odd, odd_cnt + 1);
199
+ }
200
+ odd = odds + odd_cnt;
201
+ odd->clas = clas;
202
+ if (NULL == (odd->classname = strdup(rb_class2name(clas)))) {
203
+ rb_raise(rb_eNoMemError, "for attribute name.");
204
+ }
205
+ odd->clen = strlen(odd->classname);
206
+ odd->create_obj = create_object;
207
+ odd->create_op = SYM2ID(create_method);
208
+ odd->attr_cnt = mcnt;
209
+ odd->is_module = (T_MODULE == rb_type(clas));
210
+ odd->raw = raw;
211
+ for (ap = odd->attrs, np = odd->attr_names, fp = odd->attrFuncs; 0 < mcnt; mcnt--, ap++, np++, members++, fp++) {
212
+ *fp = 0;
213
+ switch (rb_type(*members)) {
214
+ case T_STRING:
215
+ if (NULL == (*np = strdup(rb_string_value_ptr(members)))) {
216
+ rb_raise(rb_eNoMemError, "for attribute name.");
217
+ }
218
+ break;
219
+ case T_SYMBOL:
220
+ *np = rb_id2name(SYM2ID(*members));
221
+ break;
222
+ default:
223
+ rb_raise(rb_eArgError, "registered member identifiers must be Strings or Symbols.");
224
+ break;
225
+ }
226
+ *ap = rb_intern(*np);
227
+ }
228
+ *np = 0;
229
+ *ap = 0;
230
+ odd_cnt++;
231
+ }
@@ -0,0 +1,44 @@
1
+ /* odd.h
2
+ * Copyright (c) 2011, Peter Ohler
3
+ * All rights reserved.
4
+ */
5
+
6
+ #ifndef OJ_ODD_H
7
+ #define OJ_ODD_H
8
+
9
+ #include <stdbool.h>
10
+
11
+ #include "ruby.h"
12
+
13
+ #define MAX_ODD_ARGS 10
14
+
15
+ typedef VALUE (*AttrGetFunc)(VALUE obj);
16
+
17
+ typedef struct _odd {
18
+ const char *classname;
19
+ size_t clen;
20
+ VALUE clas; // Ruby class or module
21
+ VALUE create_obj;
22
+ ID create_op;
23
+ int attr_cnt;
24
+ bool is_module;
25
+ bool raw;
26
+ const char *attr_names[MAX_ODD_ARGS]; // NULL terminated attr names
27
+ ID attrs[MAX_ODD_ARGS]; // 0 terminated attr IDs
28
+ AttrGetFunc attrFuncs[MAX_ODD_ARGS];
29
+ } *Odd;
30
+
31
+ typedef struct _oddArgs {
32
+ Odd odd;
33
+ VALUE args[MAX_ODD_ARGS];
34
+ } *OddArgs;
35
+
36
+ extern void oj_odd_init(void);
37
+ extern Odd oj_get_odd(VALUE clas);
38
+ extern Odd oj_get_oddc(const char *classname, size_t len);
39
+ extern OddArgs oj_odd_alloc_args(Odd odd);
40
+ extern void oj_odd_free(OddArgs args);
41
+ extern int oj_odd_set_arg(OddArgs args, const char *key, size_t klen, VALUE value);
42
+ extern void oj_reg_odd(VALUE clas, VALUE create_object, VALUE create_method, int mcnt, VALUE *members, bool raw);
43
+
44
+ #endif /* OJ_ODD_H */
@@ -0,0 +1,1721 @@
1
+ /* oj.c
2
+ * Copyright (c) 2012, Peter Ohler
3
+ * All rights reserved.
4
+ */
5
+
6
+ #include <stdlib.h>
7
+ #include <errno.h>
8
+ #include <stdio.h>
9
+ #include <string.h>
10
+ #include <sys/types.h>
11
+ #include <unistd.h>
12
+ #include <fcntl.h>
13
+
14
+ #include "oj.h"
15
+ #include "parse.h"
16
+ #include "hash.h"
17
+ #include "odd.h"
18
+ #include "dump.h"
19
+ #include "rails.h"
20
+ #include "encode.h"
21
+
22
+ typedef struct _yesNoOpt {
23
+ VALUE sym;
24
+ char *attr;
25
+ } *YesNoOpt;
26
+
27
+ void Init_oj();
28
+
29
+ VALUE Oj = Qnil;
30
+
31
+ ID oj_add_value_id;
32
+ ID oj_array_append_id;
33
+ ID oj_array_end_id;
34
+ ID oj_array_start_id;
35
+ ID oj_as_json_id;
36
+ ID oj_begin_id;
37
+ ID oj_bigdecimal_id;
38
+ ID oj_end_id;
39
+ ID oj_exclude_end_id;
40
+ ID oj_error_id;
41
+ ID oj_file_id;
42
+ ID oj_fileno_id;
43
+ ID oj_ftype_id;
44
+ ID oj_has_key_id;
45
+ ID oj_hash_end_id;
46
+ ID oj_hash_key_id;
47
+ ID oj_hash_set_id;
48
+ ID oj_hash_start_id;
49
+ ID oj_iconv_id;
50
+ ID oj_instance_variables_id;
51
+ ID oj_json_create_id;
52
+ ID oj_length_id;
53
+ ID oj_new_id;
54
+ ID oj_parse_id;
55
+ ID oj_pos_id;
56
+ ID oj_raw_json_id;
57
+ ID oj_read_id;
58
+ ID oj_readpartial_id;
59
+ ID oj_replace_id;
60
+ ID oj_stat_id;
61
+ ID oj_string_id;
62
+ ID oj_to_h_id;
63
+ ID oj_to_hash_id;
64
+ ID oj_to_json_id;
65
+ ID oj_to_s_id;
66
+ ID oj_to_sym_id;
67
+ ID oj_to_time_id;
68
+ ID oj_tv_nsec_id;
69
+ ID oj_tv_sec_id;
70
+ ID oj_tv_usec_id;
71
+ ID oj_utc_id;
72
+ ID oj_utc_offset_id;
73
+ ID oj_utcq_id;
74
+ ID oj_write_id;
75
+
76
+
77
+ VALUE oj_bag_class;
78
+ VALUE oj_bigdecimal_class;
79
+ VALUE oj_cstack_class;
80
+ VALUE oj_date_class;
81
+ VALUE oj_datetime_class;
82
+ VALUE oj_enumerable_class;
83
+ VALUE oj_parse_error_class;
84
+ VALUE oj_stream_writer_class;
85
+ VALUE oj_string_writer_class;
86
+ VALUE oj_stringio_class;
87
+ VALUE oj_struct_class;
88
+
89
+ VALUE oj_slash_string;
90
+
91
+ VALUE oj_allow_nan_sym;
92
+ VALUE oj_array_class_sym;
93
+ VALUE oj_create_additions_sym;
94
+ VALUE oj_hash_class_sym;
95
+ VALUE oj_indent_sym;
96
+ VALUE oj_object_class_sym;
97
+ VALUE oj_quirks_mode_sym;
98
+ VALUE oj_safe_sym;
99
+ VALUE oj_trace_sym;
100
+
101
+ static VALUE allow_blank_sym;
102
+ static VALUE allow_gc_sym;
103
+ static VALUE allow_invalid_unicode_sym;
104
+ static VALUE ascii_sym;
105
+ static VALUE auto_define_sym;
106
+ static VALUE auto_sym;
107
+ static VALUE bigdecimal_as_decimal_sym;
108
+ static VALUE bigdecimal_load_sym;
109
+ static VALUE bigdecimal_sym;
110
+ static VALUE circular_sym;
111
+ static VALUE class_cache_sym;
112
+ static VALUE compat_sym;
113
+ static VALUE create_id_sym;
114
+ static VALUE custom_sym;
115
+ static VALUE empty_string_sym;
116
+ static VALUE escape_mode_sym;
117
+ static VALUE integer_range_sym;
118
+ static VALUE float_prec_sym;
119
+ static VALUE float_sym;
120
+ static VALUE huge_sym;
121
+ static VALUE ignore_sym;
122
+ static VALUE ignore_under_sym;
123
+ static VALUE json_sym;
124
+ static VALUE match_string_sym;
125
+ static VALUE mode_sym;
126
+ static VALUE nan_sym;
127
+ static VALUE newline_sym;
128
+ static VALUE nilnil_sym;
129
+ static VALUE null_sym;
130
+ static VALUE object_sym;
131
+ static VALUE omit_nil_sym;
132
+ static VALUE rails_sym;
133
+ static VALUE raise_sym;
134
+ static VALUE ruby_sym;
135
+ static VALUE sec_prec_sym;
136
+ static VALUE strict_sym;
137
+ static VALUE symbol_keys_sym;
138
+ static VALUE time_format_sym;
139
+ static VALUE unicode_xss_sym;
140
+ static VALUE unix_sym;
141
+ static VALUE unix_zone_sym;
142
+ static VALUE use_as_json_sym;
143
+ static VALUE use_raw_json_sym;
144
+ static VALUE use_to_hash_sym;
145
+ static VALUE use_to_json_sym;
146
+ static VALUE wab_sym;
147
+ static VALUE word_sym;
148
+ static VALUE xmlschema_sym;
149
+ static VALUE xss_safe_sym;
150
+
151
+ rb_encoding *oj_utf8_encoding = 0;
152
+
153
+ #ifdef HAVE_PTHREAD_MUTEX_INIT
154
+ pthread_mutex_t oj_cache_mutex;
155
+ #else
156
+ VALUE oj_cache_mutex = Qnil;
157
+ #endif
158
+
159
+ const char oj_json_class[] = "json_class";
160
+
161
+ struct _options oj_default_options = {
162
+ 0, // indent
163
+ No, // circular
164
+ No, // auto_define
165
+ No, // sym_key
166
+ JSONEsc, // escape_mode
167
+ ObjectMode, // mode
168
+ Yes, // class_cache
169
+ UnixTime, // time_format
170
+ NotSet, // bigdec_as_num
171
+ AutoDec, // bigdec_load
172
+ No, // to_hash
173
+ No, // to_json
174
+ No, // as_json
175
+ No, // raw_json
176
+ No, // nilnil
177
+ Yes, // empty_string
178
+ Yes, // allow_gc
179
+ Yes, // quirks_mode
180
+ No, // allow_invalid
181
+ No, // create_ok
182
+ Yes, // allow_nan
183
+ No, // trace
184
+ No, // safe
185
+ false, // sec_prec_set
186
+ No, // ignore_under
187
+ 0, // int_range_min
188
+ 0, // int_range_max
189
+ oj_json_class, // create_id
190
+ 10, // create_id_len
191
+ 9, // sec_prec
192
+ 16, // float_prec
193
+ "%0.15g", // float_fmt
194
+ Qnil, // hash_class
195
+ Qnil, // array_class
196
+ { // dump_opts
197
+ false, //use
198
+ "", // indent
199
+ "", // before_sep
200
+ "", // after_sep
201
+ "", // hash_nl
202
+ "", // array_nl
203
+ 0, // indent_size
204
+ 0, // before_size
205
+ 0, // after_size
206
+ 0, // hash_size
207
+ 0, // array_size
208
+ AutoNan,// nan_dump
209
+ false, // omit_nil
210
+ MAX_DEPTH, // max_depth
211
+ },
212
+ { // str_rx
213
+ NULL, // head
214
+ NULL, // tail
215
+ { '\0' }, // err
216
+ },
217
+ NULL, // ignore
218
+ };
219
+
220
+ /* Document-method: default_options()
221
+ * call-seq: default_options()
222
+ *
223
+ * Returns the default load and dump options as a Hash. The options are
224
+ * - *:indent* [_Fixnum_|_String_|_nil_] number of spaces to indent each element in an JSON document, zero or nil is no newline between JSON elements, negative indicates no newline between top level JSON elements in a stream, a String indicates the string should be used for indentation
225
+ * - *:circular* [_Boolean_|_nil_] support circular references while dumping
226
+ * - *:auto_define* [_Boolean_|_nil_] automatically define classes if they do not exist
227
+ * - *:symbol_keys* [_Boolean_|_nil_] use symbols instead of strings for hash keys
228
+ * - *:escape_mode* [_:newline_|_:json_|_:xss_safe_|_:ascii_|_unicode_xss_|_nil_] determines the characters to escape
229
+ * - *:class_cache* [_Boolean_|_nil_] cache classes for faster parsing (if dynamically modifying classes or reloading classes then don't use this)
230
+ * - *:mode* [_:object_|_:strict_|_:compat_|_:null_|_:custom_|_:rails_|_:wab_] load and dump modes to use for JSON
231
+ * - *:time_format* [_:unix_|_:unix_zone_|_:xmlschema_|_:ruby_] time format when dumping
232
+ * - *:bigdecimal_as_decimal* [_Boolean_|_nil_] dump BigDecimal as a decimal number or as a String
233
+ * - *:bigdecimal_load* [_:bigdecimal_|_:float_|_:auto_] load decimals as BigDecimal instead of as a Float. :auto pick the most precise for the number of digits.
234
+ * - *:create_id* [_String_|_nil_] create id for json compatible object encoding, default is 'json_class'
235
+ * - *:create_additions* [_Boolean_|_nil_] if true allow creation of instances using create_id on load.
236
+ * - *:second_precision* [_Fixnum_|_nil_] number of digits after the decimal when dumping the seconds portion of time
237
+ * - *:float_precision* [_Fixnum_|_nil_] number of digits of precision when dumping floats, 0 indicates use Ruby
238
+ * - *:use_to_json* [_Boolean_|_nil_] call to_json() methods on dump, default is false
239
+ * - *:use_as_json* [_Boolean_|_nil_] call as_json() methods on dump, default is false
240
+ * - *:use_raw_json* [_Boolean_|_nil_] call raw_json() methods on dump, default is false
241
+ * - *:nilnil* [_Boolean_|_nil_] if true a nil input to load will return nil and not raise an Exception
242
+ * - *:empty_string* [_Boolean_|_nil_] if true an empty input will not raise an Exception
243
+ * - *:allow_gc* [_Boolean_|_nil_] allow or prohibit GC during parsing, default is true (allow)
244
+ * - *:quirks_mode* [_true,_|_false_|_nil_] Allow single JSON values instead of documents, default is true (allow)
245
+ * - *:allow_invalid_unicode* [_true,_|_false_|_nil_] Allow invalid unicode, default is false (don't allow)
246
+ * - *:allow_nan* [_true,_|_false_|_nil_] Allow Nan, Infinity, and -Infinity to be parsed, default is true (allow)
247
+ * - *:indent_str* [_String_|_nil_] String to use for indentation, overriding the indent option is not nil
248
+ * - *:space* [_String_|_nil_] String to use for the space after the colon in JSON object fields
249
+ * - *:space_before* [_String_|_nil_] String to use before the colon separator in JSON object fields
250
+ * - *:object_nl* [_String_|_nil_] String to use after a JSON object field value
251
+ * - *:array_nl* [_String_|_nil_] String to use after a JSON array value
252
+ * - *:nan* [_:null_|_:huge_|_:word_|_:raise_|_:auto_] how to dump Infinity and NaN. :null places a null, :huge places a huge number, :word places Infinity or NaN, :raise raises and exception, :auto uses default for each mode.
253
+ * - *:hash_class* [_Class_|_nil_] Class to use instead of Hash on load, :object_class can also be used
254
+ * - *:array_class* [_Class_|_nil_] Class to use instead of Array on load
255
+ * - *:omit_nil* [_true_|_false_] if true Hash and Object attributes with nil values are omitted
256
+ * - *:ignore* [_nil_|Array] either nil or an Array of classes to ignore when dumping
257
+ * - *:ignore_under* [Boolean] if true then attributes that start with _ are ignored when dumping in object or custom mode.
258
+ * - *:integer_range* [_Range_] Dump integers outside range as strings.
259
+ * - *:trace* [_true,_|_false_] Trace all load and dump calls, default is false (trace is off)
260
+ * - *:safe* [_true,_|_false_] Safe mimic breaks JSON mimic to be safer, default is false (safe is off)
261
+ *
262
+ * Return [_Hash_] all current option settings.
263
+ */
264
+ static VALUE
265
+ get_def_opts(VALUE self) {
266
+ VALUE opts = rb_hash_new();
267
+
268
+ if (0 == oj_default_options.dump_opts.indent_size) {
269
+ rb_hash_aset(opts, oj_indent_sym, INT2FIX(oj_default_options.indent));
270
+ } else {
271
+ rb_hash_aset(opts, oj_indent_sym, rb_str_new2(oj_default_options.dump_opts.indent_str));
272
+ }
273
+ rb_hash_aset(opts, sec_prec_sym, INT2FIX(oj_default_options.sec_prec));
274
+ rb_hash_aset(opts, circular_sym, (Yes == oj_default_options.circular) ? Qtrue : ((No == oj_default_options.circular) ? Qfalse : Qnil));
275
+ rb_hash_aset(opts, class_cache_sym, (Yes == oj_default_options.class_cache) ? Qtrue : ((No == oj_default_options.class_cache) ? Qfalse : Qnil));
276
+ rb_hash_aset(opts, auto_define_sym, (Yes == oj_default_options.auto_define) ? Qtrue : ((No == oj_default_options.auto_define) ? Qfalse : Qnil));
277
+ rb_hash_aset(opts, symbol_keys_sym, (Yes == oj_default_options.sym_key) ? Qtrue : ((No == oj_default_options.sym_key) ? Qfalse : Qnil));
278
+ rb_hash_aset(opts, bigdecimal_as_decimal_sym, (Yes == oj_default_options.bigdec_as_num) ? Qtrue : ((No == oj_default_options.bigdec_as_num) ? Qfalse : Qnil));
279
+ rb_hash_aset(opts, oj_create_additions_sym, (Yes == oj_default_options.create_ok) ? Qtrue : ((No == oj_default_options.create_ok) ? Qfalse : Qnil));
280
+ rb_hash_aset(opts, use_to_json_sym, (Yes == oj_default_options.to_json) ? Qtrue : ((No == oj_default_options.to_json) ? Qfalse : Qnil));
281
+ rb_hash_aset(opts, use_to_hash_sym, (Yes == oj_default_options.to_hash) ? Qtrue : ((No == oj_default_options.to_hash) ? Qfalse : Qnil));
282
+ rb_hash_aset(opts, use_as_json_sym, (Yes == oj_default_options.as_json) ? Qtrue : ((No == oj_default_options.as_json) ? Qfalse : Qnil));
283
+ rb_hash_aset(opts, use_raw_json_sym, (Yes == oj_default_options.raw_json) ? Qtrue : ((No == oj_default_options.raw_json) ? Qfalse : Qnil));
284
+ rb_hash_aset(opts, nilnil_sym, (Yes == oj_default_options.nilnil) ? Qtrue : ((No == oj_default_options.nilnil) ? Qfalse : Qnil));
285
+ rb_hash_aset(opts, empty_string_sym, (Yes == oj_default_options.empty_string) ? Qtrue : ((No == oj_default_options.empty_string) ? Qfalse : Qnil));
286
+ rb_hash_aset(opts, allow_gc_sym, (Yes == oj_default_options.allow_gc) ? Qtrue : ((No == oj_default_options.allow_gc) ? Qfalse : Qnil));
287
+ rb_hash_aset(opts, oj_quirks_mode_sym, (Yes == oj_default_options.quirks_mode) ? Qtrue : ((No == oj_default_options.quirks_mode) ? Qfalse : Qnil));
288
+ rb_hash_aset(opts, allow_invalid_unicode_sym, (Yes == oj_default_options.allow_invalid) ? Qtrue : ((No == oj_default_options.allow_invalid) ? Qfalse : Qnil));
289
+ rb_hash_aset(opts, oj_allow_nan_sym, (Yes == oj_default_options.allow_nan) ? Qtrue : ((No == oj_default_options.allow_nan) ? Qfalse : Qnil));
290
+ rb_hash_aset(opts, oj_trace_sym, (Yes == oj_default_options.trace) ? Qtrue : ((No == oj_default_options.trace) ? Qfalse : Qnil));
291
+ rb_hash_aset(opts, oj_safe_sym, (Yes == oj_default_options.safe) ? Qtrue : ((No == oj_default_options.safe) ? Qfalse : Qnil));
292
+ rb_hash_aset(opts, float_prec_sym, INT2FIX(oj_default_options.float_prec));
293
+ rb_hash_aset(opts, ignore_under_sym, (Yes == oj_default_options.ignore_under) ? Qtrue : ((No == oj_default_options.ignore_under) ? Qfalse : Qnil));
294
+ switch (oj_default_options.mode) {
295
+ case StrictMode: rb_hash_aset(opts, mode_sym, strict_sym); break;
296
+ case CompatMode: rb_hash_aset(opts, mode_sym, compat_sym); break;
297
+ case NullMode: rb_hash_aset(opts, mode_sym, null_sym); break;
298
+ case ObjectMode: rb_hash_aset(opts, mode_sym, object_sym); break;
299
+ case CustomMode: rb_hash_aset(opts, mode_sym, custom_sym); break;
300
+ case RailsMode: rb_hash_aset(opts, mode_sym, rails_sym); break;
301
+ case WabMode: rb_hash_aset(opts, mode_sym, wab_sym); break;
302
+ default: rb_hash_aset(opts, mode_sym, object_sym); break;
303
+ }
304
+
305
+ if (oj_default_options.int_range_max != 0 || oj_default_options.int_range_min != 0) {
306
+ VALUE range = rb_obj_alloc(rb_cRange);
307
+ VALUE min = LONG2FIX(oj_default_options.int_range_min);
308
+ VALUE max = LONG2FIX(oj_default_options.int_range_max);
309
+
310
+ rb_ivar_set(range, oj_begin_id, min);
311
+ rb_ivar_set(range, oj_end_id, max);
312
+ rb_hash_aset(opts, integer_range_sym, range);
313
+ } else {
314
+ rb_hash_aset(opts, integer_range_sym, Qnil);
315
+ }
316
+ switch (oj_default_options.escape_mode) {
317
+ case NLEsc: rb_hash_aset(opts, escape_mode_sym, newline_sym); break;
318
+ case JSONEsc: rb_hash_aset(opts, escape_mode_sym, json_sym); break;
319
+ case XSSEsc: rb_hash_aset(opts, escape_mode_sym, xss_safe_sym); break;
320
+ case ASCIIEsc: rb_hash_aset(opts, escape_mode_sym, ascii_sym); break;
321
+ case JXEsc: rb_hash_aset(opts, escape_mode_sym, unicode_xss_sym); break;
322
+ default: rb_hash_aset(opts, escape_mode_sym, json_sym); break;
323
+ }
324
+ switch (oj_default_options.time_format) {
325
+ case XmlTime: rb_hash_aset(opts, time_format_sym, xmlschema_sym); break;
326
+ case RubyTime: rb_hash_aset(opts, time_format_sym, ruby_sym); break;
327
+ case UnixZTime: rb_hash_aset(opts, time_format_sym, unix_zone_sym); break;
328
+ case UnixTime:
329
+ default: rb_hash_aset(opts, time_format_sym, unix_sym); break;
330
+ }
331
+ switch (oj_default_options.bigdec_load) {
332
+ case BigDec: rb_hash_aset(opts, bigdecimal_load_sym, bigdecimal_sym);break;
333
+ case FloatDec: rb_hash_aset(opts, bigdecimal_load_sym, float_sym); break;
334
+ case AutoDec:
335
+ default: rb_hash_aset(opts, bigdecimal_load_sym, auto_sym); break;
336
+ }
337
+ rb_hash_aset(opts, create_id_sym, (NULL == oj_default_options.create_id) ? Qnil : rb_str_new2(oj_default_options.create_id));
338
+ rb_hash_aset(opts, oj_space_sym, (0 == oj_default_options.dump_opts.after_size) ? Qnil : rb_str_new2(oj_default_options.dump_opts.after_sep));
339
+ rb_hash_aset(opts, oj_space_before_sym, (0 == oj_default_options.dump_opts.before_size) ? Qnil : rb_str_new2(oj_default_options.dump_opts.before_sep));
340
+ rb_hash_aset(opts, oj_object_nl_sym, (0 == oj_default_options.dump_opts.hash_size) ? Qnil : rb_str_new2(oj_default_options.dump_opts.hash_nl));
341
+ rb_hash_aset(opts, oj_array_nl_sym, (0 == oj_default_options.dump_opts.array_size) ? Qnil : rb_str_new2(oj_default_options.dump_opts.array_nl));
342
+
343
+ switch (oj_default_options.dump_opts.nan_dump) {
344
+ case NullNan: rb_hash_aset(opts, nan_sym, null_sym); break;
345
+ case RaiseNan: rb_hash_aset(opts, nan_sym, raise_sym); break;
346
+ case WordNan: rb_hash_aset(opts, nan_sym, word_sym); break;
347
+ case HugeNan: rb_hash_aset(opts, nan_sym, huge_sym); break;
348
+ case AutoNan:
349
+ default: rb_hash_aset(opts, nan_sym, auto_sym); break;
350
+ }
351
+ rb_hash_aset(opts, omit_nil_sym, oj_default_options.dump_opts.omit_nil ? Qtrue : Qfalse);
352
+ rb_hash_aset(opts, oj_hash_class_sym, oj_default_options.hash_class);
353
+ rb_hash_aset(opts, oj_array_class_sym, oj_default_options.array_class);
354
+
355
+ if (NULL == oj_default_options.ignore) {
356
+ rb_hash_aset(opts, ignore_sym, Qnil);
357
+ } else {
358
+ VALUE *vp;
359
+ volatile VALUE a = rb_ary_new();
360
+
361
+ for (vp = oj_default_options.ignore; Qnil != *vp; vp++) {
362
+ rb_ary_push(a, *vp);
363
+ }
364
+ rb_hash_aset(opts, ignore_sym, a);
365
+ }
366
+ return opts;
367
+ }
368
+
369
+ /* Document-method: default_options=
370
+ * call-seq: default_options=(opts)
371
+ *
372
+ * Sets the default options for load and dump.
373
+ * - *opts* [_Hash_] options to change
374
+ * - *:indent* [_Fixnum_|_String_|_nil_] number of spaces to indent each element in a JSON document or the String to use for identation.
375
+ * - :circular [_Boolean_|_nil_] support circular references while dumping.
376
+ * - *:auto_define* [_Boolean_|_nil_] automatically define classes if they do not exist.
377
+ * - *:symbol_keys* [_Boolean_|_nil_] convert hash keys to symbols.
378
+ * - *:class_cache* [_Boolean_|_nil_] cache classes for faster parsing.
379
+ * - *:escape* [_:newline_|_:json_|_:xss_safe_|_:ascii_|_unicode_xss_|_nil_] mode encodes all high-bit characters as escaped sequences if :ascii, :json is standand UTF-8 JSON encoding, :newline is the same as :json but newlines are not escaped, :unicode_xss allows unicode but escapes &, <, and >, and any \u20xx characters along with some others, and :xss_safe escapes &, <, and >, and some others.
380
+ * - *:bigdecimal_as_decimal* [_Boolean_|_nil_] dump BigDecimal as a decimal number or as a String.
381
+ * - *:bigdecimal_load* [_:bigdecimal_|_:float_|_:auto_|_nil_] load decimals as BigDecimal instead of as a Float. :auto pick the most precise for the number of digits.
382
+ * - *:mode* [_:object_|_:strict_|_:compat_|_:null_|_:custom_|_:rails_|_:wab_] load and dump mode to use for JSON :strict raises an exception when a non-supported Object is encountered. :compat attempts to extract variable values from an Object using to_json() or to_hash() then it walks the Object's variables if neither is found. The :object mode ignores to_hash() and to_json() methods and encodes variables using code internal to the Oj gem. The :null mode ignores non-supported Objects and replaces them with a null. The :custom mode honors all dump options. The :rails more mimics rails and Active behavior.
383
+ * - *:time_format* [_:unix_|_:xmlschema_|_:ruby_] time format when dumping in :compat mode :unix decimal number denoting the number of seconds since 1/1/1970, :unix_zone decimal number denoting the number of seconds since 1/1/1970 plus the utc_offset in the exponent, :xmlschema date-time format taken from XML Schema as a String, :ruby Time.to_s formatted String.
384
+ * - *:create_id* [_String_|_nil_] create id for json compatible object encoding
385
+ * - *:create_additions* [_Boolean_|_nil_] if true allow creation of instances using create_id on load.
386
+ * - *:second_precision* [_Fixnum_|_nil_] number of digits after the decimal when dumping the seconds portion of time.
387
+ * - *:float_precision* [_Fixnum_|_nil_] number of digits of precision when dumping floats, 0 indicates use Ruby.
388
+ * - *:use_to_json* [_Boolean_|_nil_] call to_json() methods on dump, default is false.
389
+ * - *:use_as_json* [_Boolean_|_nil_] call as_json() methods on dump, default is false.
390
+ * - *:use_to_hash* [_Boolean_|_nil_] call to_hash() methods on dump, default is false.
391
+ * - *:use_raw_json* [_Boolean_|_nil_] call raw_json() methods on dump, default is false.
392
+ * - *:nilnil* [_Boolean_|_nil_] if true a nil input to load will return nil and not raise an Exception.
393
+ * - *:allow_gc* [_Boolean_|_nil_] allow or prohibit GC during parsing, default is true (allow).
394
+ * - *:quirks_mode* [_Boolean_|_nil_] allow single JSON values instead of documents, default is true (allow).
395
+ * - *:allow_invalid_unicode* [_Boolean_|_nil_] allow invalid unicode, default is false (don't allow).
396
+ * - *:allow_nan* [_Boolean_|_nil_] allow Nan, Infinity, and -Infinity, default is true (allow).
397
+ * - *:space* [_String_|_nil_] String to use for the space after the colon in JSON object fields.
398
+ * - *:space_before* [_String_|_nil_] String to use before the colon separator in JSON object fields.
399
+ * - *:object_nl* [_String_|_nil_] String to use after a JSON object field value.
400
+ * - *:array_nl* [_String_|_nil_] String to use after a JSON array value
401
+ * - *:nan* [_:null_|_:huge_|_:word_|_:raise_] how to dump Infinity and NaN in null, strict, and compat mode. :null places a null, :huge places a huge number, :word places Infinity or NaN, :raise raises and exception, :auto uses default for each mode.
402
+ * - *:hash_class* [_Class_|_nil_] Class to use instead of Hash on load, :object_class can also be used.
403
+ * - *:array_class* [_Class_|_nil_] Class to use instead of Array on load.
404
+ * - *:omit_nil* [_true_|_false_] if true Hash and Object attributes with nil values are omitted.
405
+ * - *:ignore* [_nil_|Array] either nil or an Array of classes to ignore when dumping
406
+ * - *:ignore_under* [_Boolean_] if true then attributes that start with _ are ignored when dumping in object or custom mode.
407
+ * - *:integer_range* [_Range_] Dump integers outside range as strings.
408
+ * - *:trace* [_Boolean_] turn trace on or off.
409
+ * - *:safe* [_Boolean_] turn safe mimic on or off.
410
+ */
411
+ static VALUE
412
+ set_def_opts(VALUE self, VALUE opts) {
413
+ Check_Type(opts, T_HASH);
414
+ oj_parse_options(opts, &oj_default_options);
415
+
416
+ return Qnil;
417
+ }
418
+
419
+ void
420
+ oj_parse_options(VALUE ropts, Options copts) {
421
+ struct _yesNoOpt ynos[] = {
422
+ { circular_sym, &copts->circular },
423
+ { auto_define_sym, &copts->auto_define },
424
+ { symbol_keys_sym, &copts->sym_key },
425
+ { class_cache_sym, &copts->class_cache },
426
+ { bigdecimal_as_decimal_sym, &copts->bigdec_as_num },
427
+ { use_to_hash_sym, &copts->to_hash },
428
+ { use_to_json_sym, &copts->to_json },
429
+ { use_as_json_sym, &copts->as_json },
430
+ { use_raw_json_sym, &copts->raw_json },
431
+ { nilnil_sym, &copts->nilnil },
432
+ { allow_blank_sym, &copts->nilnil }, // same as nilnil
433
+ { empty_string_sym, &copts->empty_string },
434
+ { allow_gc_sym, &copts->allow_gc },
435
+ { oj_quirks_mode_sym, &copts->quirks_mode },
436
+ { allow_invalid_unicode_sym, &copts->allow_invalid },
437
+ { oj_allow_nan_sym, &copts->allow_nan },
438
+ { oj_trace_sym, &copts->trace },
439
+ { oj_safe_sym, &copts->safe },
440
+ { ignore_under_sym, &copts->ignore_under },
441
+ { oj_create_additions_sym, &copts->create_ok },
442
+ { Qnil, 0 }
443
+ };
444
+ YesNoOpt o;
445
+ volatile VALUE v;
446
+ size_t len;
447
+
448
+ if (T_HASH != rb_type(ropts)) {
449
+ return;
450
+ }
451
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_indent_sym)) {
452
+ v = rb_hash_lookup(ropts, oj_indent_sym);
453
+ switch (rb_type(v)) {
454
+ case T_NIL:
455
+ copts->dump_opts.indent_size = 0;
456
+ *copts->dump_opts.indent_str = '\0';
457
+ copts->indent = 0;
458
+ break;
459
+ case T_FIXNUM:
460
+ copts->dump_opts.indent_size = 0;
461
+ *copts->dump_opts.indent_str = '\0';
462
+ copts->indent = FIX2INT(v);
463
+ break;
464
+ case T_STRING:
465
+ if (sizeof(copts->dump_opts.indent_str) <= (len = RSTRING_LEN(v))) {
466
+ rb_raise(rb_eArgError, "indent string is limited to %lu characters.", (unsigned long)sizeof(copts->dump_opts.indent_str));
467
+ }
468
+ strcpy(copts->dump_opts.indent_str, StringValuePtr(v));
469
+ copts->dump_opts.indent_size = (uint8_t)len;
470
+ copts->indent = 0;
471
+ break;
472
+ default:
473
+ rb_raise(rb_eTypeError, "indent must be a Fixnum, String, or nil.");
474
+ break;
475
+ }
476
+ }
477
+ if (Qnil != (v = rb_hash_lookup(ropts, float_prec_sym))) {
478
+ int n;
479
+
480
+ #ifdef RUBY_INTEGER_UNIFICATION
481
+ if (rb_cInteger != rb_obj_class(v)) {
482
+ rb_raise(rb_eArgError, ":float_precision must be a Integer.");
483
+ }
484
+ #else
485
+ if (T_FIXNUM != rb_type(v)) {
486
+ rb_raise(rb_eArgError, ":float_precision must be a Fixnum.");
487
+ }
488
+ #endif
489
+ n = FIX2INT(v);
490
+ if (0 >= n) {
491
+ *copts->float_fmt = '\0';
492
+ copts->float_prec = 0;
493
+ } else {
494
+ if (20 < n) {
495
+ n = 20;
496
+ }
497
+ sprintf(copts->float_fmt, "%%0.%dg", n);
498
+ copts->float_prec = n;
499
+ }
500
+ }
501
+ if (Qnil != (v = rb_hash_lookup(ropts, sec_prec_sym))) {
502
+ int n;
503
+
504
+ #ifdef RUBY_INTEGER_UNIFICATION
505
+ if (rb_cInteger != rb_obj_class(v)) {
506
+ rb_raise(rb_eArgError, ":second_precision must be a Integer.");
507
+ }
508
+ #else
509
+ if (T_FIXNUM != rb_type(v)) {
510
+ rb_raise(rb_eArgError, ":second_precision must be a Fixnum.");
511
+ }
512
+ #endif
513
+ n = NUM2INT(v);
514
+ if (0 > n) {
515
+ n = 0;
516
+ copts->sec_prec_set = false;
517
+ } else if (9 < n) {
518
+ n = 9;
519
+ copts->sec_prec_set = true;
520
+ } else {
521
+ copts->sec_prec_set = true;
522
+ }
523
+ copts->sec_prec = n;
524
+ }
525
+ if (Qnil != (v = rb_hash_lookup(ropts, mode_sym))) {
526
+ if (wab_sym == v) {
527
+ copts->mode = WabMode;
528
+ } else if (object_sym == v) {
529
+ copts->mode = ObjectMode;
530
+ } else if (strict_sym == v) {
531
+ copts->mode = StrictMode;
532
+ } else if (compat_sym == v || json_sym == v) {
533
+ copts->mode = CompatMode;
534
+ } else if (null_sym == v) {
535
+ copts->mode = NullMode;
536
+ } else if (custom_sym == v) {
537
+ copts->mode = CustomMode;
538
+ } else if (rails_sym == v) {
539
+ copts->mode = RailsMode;
540
+ } else {
541
+ rb_raise(rb_eArgError, ":mode must be :object, :strict, :compat, :null, :custom, :rails, or :wab.");
542
+ }
543
+ }
544
+ if (Qnil != (v = rb_hash_lookup(ropts, time_format_sym))) {
545
+ if (unix_sym == v) {
546
+ copts->time_format = UnixTime;
547
+ } else if (unix_zone_sym == v) {
548
+ copts->time_format = UnixZTime;
549
+ } else if (xmlschema_sym == v) {
550
+ copts->time_format = XmlTime;
551
+ } else if (ruby_sym == v) {
552
+ copts->time_format = RubyTime;
553
+ } else {
554
+ rb_raise(rb_eArgError, ":time_format must be :unix, :unix_zone, :xmlschema, or :ruby.");
555
+ }
556
+ }
557
+ if (Qnil != (v = rb_hash_lookup(ropts, escape_mode_sym))) {
558
+ if (newline_sym == v) {
559
+ copts->escape_mode = NLEsc;
560
+ } else if (json_sym == v) {
561
+ copts->escape_mode = JSONEsc;
562
+ } else if (xss_safe_sym == v) {
563
+ copts->escape_mode = XSSEsc;
564
+ } else if (ascii_sym == v) {
565
+ copts->escape_mode = ASCIIEsc;
566
+ } else if (unicode_xss_sym == v) {
567
+ copts->escape_mode = JXEsc;
568
+ } else {
569
+ rb_raise(rb_eArgError, ":encoding must be :newline, :json, :xss_safe, :unicode_xss, or :ascii.");
570
+ }
571
+ }
572
+ if (Qnil != (v = rb_hash_lookup(ropts, bigdecimal_load_sym))) {
573
+ if (bigdecimal_sym == v || Qtrue == v) {
574
+ copts->bigdec_load = BigDec;
575
+ } else if (float_sym == v) {
576
+ copts->bigdec_load = FloatDec;
577
+ } else if (auto_sym == v || Qfalse == v) {
578
+ copts->bigdec_load = AutoDec;
579
+ } else {
580
+ rb_raise(rb_eArgError, ":bigdecimal_load must be :bigdecimal, :float, or :auto.");
581
+ }
582
+ }
583
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, create_id_sym)) {
584
+ v = rb_hash_lookup(ropts, create_id_sym);
585
+ if (Qnil == v) {
586
+ if (oj_json_class != oj_default_options.create_id && NULL != copts->create_id) {
587
+ xfree((char*)oj_default_options.create_id);
588
+ }
589
+ copts->create_id = NULL;
590
+ copts->create_id_len = 0;
591
+ } else if (T_STRING == rb_type(v)) {
592
+ const char *str = StringValuePtr(v);
593
+
594
+ len = RSTRING_LEN(v);
595
+ if (len != copts->create_id_len ||
596
+ 0 != strcmp(copts->create_id, str)) {
597
+ copts->create_id = ALLOC_N(char, len + 1);
598
+ strcpy((char*)copts->create_id, str);
599
+ copts->create_id_len = len;
600
+ }
601
+ } else {
602
+ rb_raise(rb_eArgError, ":create_id must be string.");
603
+ }
604
+ }
605
+ for (o = ynos; 0 != o->attr; o++) {
606
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, o->sym)) {
607
+ v = rb_hash_lookup(ropts, o->sym);
608
+ if (Qnil == v) {
609
+ *o->attr = NotSet;
610
+ } else if (Qtrue == v) {
611
+ *o->attr = Yes;
612
+ } else if (Qfalse == v) {
613
+ *o->attr = No;
614
+ } else {
615
+ rb_raise(rb_eArgError, "%s must be true, false, or nil.", rb_id2name(SYM2ID(o->sym)));
616
+ }
617
+ }
618
+ }
619
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_space_sym)) {
620
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_space_sym))) {
621
+ copts->dump_opts.after_size = 0;
622
+ *copts->dump_opts.after_sep = '\0';
623
+ } else {
624
+ rb_check_type(v, T_STRING);
625
+ if (sizeof(copts->dump_opts.after_sep) <= (len = RSTRING_LEN(v))) {
626
+ rb_raise(rb_eArgError, "space string is limited to %lu characters.", (unsigned long)sizeof(copts->dump_opts.after_sep));
627
+ }
628
+ strcpy(copts->dump_opts.after_sep, StringValuePtr(v));
629
+ copts->dump_opts.after_size = (uint8_t)len;
630
+ }
631
+ }
632
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_space_before_sym)) {
633
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_space_before_sym))) {
634
+ copts->dump_opts.before_size = 0;
635
+ *copts->dump_opts.before_sep = '\0';
636
+ } else {
637
+ rb_check_type(v, T_STRING);
638
+ if (sizeof(copts->dump_opts.before_sep) <= (len = RSTRING_LEN(v))) {
639
+ rb_raise(rb_eArgError, "sapce_before string is limited to %lu characters.", (unsigned long)sizeof(copts->dump_opts.before_sep));
640
+ }
641
+ strcpy(copts->dump_opts.before_sep, StringValuePtr(v));
642
+ copts->dump_opts.before_size = (uint8_t)len;
643
+ }
644
+ }
645
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_object_nl_sym)) {
646
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_object_nl_sym))) {
647
+ copts->dump_opts.hash_size = 0;
648
+ *copts->dump_opts.hash_nl = '\0';
649
+ } else {
650
+ rb_check_type(v, T_STRING);
651
+ if (sizeof(copts->dump_opts.hash_nl) <= (len = RSTRING_LEN(v))) {
652
+ rb_raise(rb_eArgError, "object_nl string is limited to %lu characters.", (unsigned long)sizeof(copts->dump_opts.hash_nl));
653
+ }
654
+ strcpy(copts->dump_opts.hash_nl, StringValuePtr(v));
655
+ copts->dump_opts.hash_size = (uint8_t)len;
656
+ }
657
+ }
658
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_array_nl_sym)) {
659
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_array_nl_sym))) {
660
+ copts->dump_opts.array_size = 0;
661
+ *copts->dump_opts.array_nl = '\0';
662
+ } else {
663
+ rb_check_type(v, T_STRING);
664
+ if (sizeof(copts->dump_opts.array_nl) <= (len = RSTRING_LEN(v))) {
665
+ rb_raise(rb_eArgError, "array_nl string is limited to %lu characters.", (unsigned long)sizeof(copts->dump_opts.array_nl));
666
+ }
667
+ strcpy(copts->dump_opts.array_nl, StringValuePtr(v));
668
+ copts->dump_opts.array_size = (uint8_t)len;
669
+ }
670
+ }
671
+ if (Qnil != (v = rb_hash_lookup(ropts, nan_sym))) {
672
+ if (null_sym == v) {
673
+ copts->dump_opts.nan_dump = NullNan;
674
+ } else if (huge_sym == v) {
675
+ copts->dump_opts.nan_dump = HugeNan;
676
+ } else if (word_sym == v) {
677
+ copts->dump_opts.nan_dump = WordNan;
678
+ } else if (raise_sym == v) {
679
+ copts->dump_opts.nan_dump = RaiseNan;
680
+ } else if (auto_sym == v) {
681
+ copts->dump_opts.nan_dump = AutoNan;
682
+ } else {
683
+ rb_raise(rb_eArgError, ":nan must be :null, :huge, :word, :raise, or :auto.");
684
+ }
685
+ }
686
+ copts->dump_opts.use = (0 < copts->dump_opts.indent_size ||
687
+ 0 < copts->dump_opts.after_size ||
688
+ 0 < copts->dump_opts.before_size ||
689
+ 0 < copts->dump_opts.hash_size ||
690
+ 0 < copts->dump_opts.array_size);
691
+ if (Qnil != (v = rb_hash_lookup(ropts, omit_nil_sym))) {
692
+ if (Qtrue == v) {
693
+ copts->dump_opts.omit_nil = true;
694
+ } else if (Qfalse == v) {
695
+ copts->dump_opts.omit_nil = false;
696
+ } else {
697
+ rb_raise(rb_eArgError, ":omit_nil must be true or false.");
698
+ }
699
+ }
700
+ // This is here only for backwards compatibility with the original Oj.
701
+ v = rb_hash_lookup(ropts, oj_ascii_only_sym);
702
+ if (Qtrue == v) {
703
+ copts->escape_mode = ASCIIEsc;
704
+ } else if (Qfalse == v) {
705
+ copts->escape_mode = JSONEsc;
706
+ }
707
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_hash_class_sym)) {
708
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_hash_class_sym))) {
709
+ copts->hash_class = Qnil;
710
+ } else {
711
+ rb_check_type(v, T_CLASS);
712
+ copts->hash_class = v;
713
+ }
714
+ }
715
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_object_class_sym)) {
716
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_object_class_sym))) {
717
+ copts->hash_class = Qnil;
718
+ } else {
719
+ rb_check_type(v, T_CLASS);
720
+ copts->hash_class = v;
721
+ }
722
+ }
723
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, oj_array_class_sym)) {
724
+ if (Qnil == (v = rb_hash_lookup(ropts, oj_array_class_sym))) {
725
+ copts->array_class = Qnil;
726
+ } else {
727
+ rb_check_type(v, T_CLASS);
728
+ copts->array_class = v;
729
+ }
730
+ }
731
+ oj_parse_opt_match_string(&copts->str_rx, ropts);
732
+ if (Qtrue == rb_funcall(ropts, oj_has_key_id, 1, ignore_sym)) {
733
+ xfree(copts->ignore);
734
+ copts->ignore = NULL;
735
+ if (Qnil != (v = rb_hash_lookup(ropts, ignore_sym))) {
736
+ int cnt;
737
+
738
+ rb_check_type(v, T_ARRAY);
739
+ cnt = (int)RARRAY_LEN(v);
740
+ if (0 < cnt) {
741
+ int i;
742
+
743
+ copts->ignore = ALLOC_N(VALUE, cnt + 1);
744
+ for (i = 0; i < cnt; i++) {
745
+ copts->ignore[i] = rb_ary_entry(v, i);
746
+ }
747
+ copts->ignore[i] = Qnil;
748
+ }
749
+ }
750
+ }
751
+ if (Qnil != (v = rb_hash_lookup(ropts, integer_range_sym))) {
752
+ if (TYPE(v) == T_STRUCT && rb_obj_class(v) == rb_cRange) {
753
+ VALUE min = rb_funcall(v, oj_begin_id, 0);
754
+ VALUE max = rb_funcall(v, oj_end_id, 0);
755
+
756
+ if (TYPE(min) != T_FIXNUM || TYPE(max) != T_FIXNUM) {
757
+ rb_raise(rb_eArgError, ":integer_range range bounds is not Fixnum.");
758
+ }
759
+
760
+ copts->int_range_min = FIX2LONG(min);
761
+ copts->int_range_max = FIX2LONG(max);
762
+ } else if (Qfalse != v) {
763
+ rb_raise(rb_eArgError, ":integer_range must be a range of Fixnum.");
764
+ }
765
+ }
766
+ }
767
+
768
+ static int
769
+ match_string_cb(VALUE key, VALUE value, RxClass rc) {
770
+ if (T_CLASS != rb_type(value)) {
771
+ rb_raise(rb_eArgError, "for :match_string, the hash values must be a Class.");
772
+ }
773
+ switch (rb_type(key)) {
774
+ case T_REGEXP:
775
+ oj_rxclass_rappend(rc, key, value);
776
+ break;
777
+ case T_STRING:
778
+ if (0 != oj_rxclass_append(rc, StringValuePtr(key), value)) {
779
+ rb_raise(rb_eArgError, "%s", rc->err);
780
+ }
781
+ break;
782
+ default:
783
+ rb_raise(rb_eArgError, "for :match_string, keys must either a String or RegExp.");
784
+ break;
785
+ }
786
+ return ST_CONTINUE;
787
+ }
788
+
789
+ void
790
+ oj_parse_opt_match_string(RxClass rc, VALUE ropts) {
791
+ VALUE v;
792
+
793
+ if (Qnil != (v = rb_hash_lookup(ropts, match_string_sym))) {
794
+ rb_check_type(v, T_HASH);
795
+ // Zero out rc. Pattern are not appended but override.
796
+ rc->head = NULL;
797
+ rc->tail = NULL;
798
+ *rc->err = '\0';
799
+ rb_hash_foreach(v, match_string_cb, (VALUE)rc);
800
+ }
801
+ }
802
+
803
+ /* Document-method: load
804
+ * call-seq: load(json, options) { _|_obj, start, len_|_ }
805
+ *
806
+ * Parses a JSON document String into a Object, Hash, Array, String, Fixnum,
807
+ * Float, true, false, or nil according to the default mode or the mode
808
+ * specified. Raises an exception if the JSON is malformed or the classes
809
+ * specified are not valid. If the string input is not a valid JSON document (an
810
+ * empty string is not a valid JSON document) an exception is raised.
811
+ *
812
+ * When used with a document that has multiple JSON elements the block, if
813
+ * any, will be yielded to. If no block then the last element read will be
814
+ * returned.
815
+ *
816
+ * This parser operates on string and will attempt to load files into memory if
817
+ * a file object is passed as the first argument. A stream input will be parsed
818
+ * using a stream parser but others use the slightly faster string parser.
819
+ *
820
+ * A block can be provided with a single argument. That argument will be the
821
+ * parsed JSON document. This is useful when parsing a string that includes
822
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
823
+ * object, the position in the string or stream of the start of the JSON for
824
+ * that object, and the length of the JSON for that object plus trailing
825
+ * whitespace.
826
+ *
827
+ * - *json* [_String_|_IO_] JSON String or an Object that responds to read()
828
+ * - *options* [_Hash_] load options (same as default_options)
829
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
830
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
831
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
832
+ *
833
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
834
+ */
835
+ static VALUE
836
+ load(int argc, VALUE *argv, VALUE self) {
837
+ Mode mode = oj_default_options.mode;
838
+
839
+ if (1 > argc) {
840
+ rb_raise(rb_eArgError, "Wrong number of arguments to load().");
841
+ }
842
+ if (2 <= argc) {
843
+ VALUE ropts = argv[1];
844
+ VALUE v;
845
+
846
+ if (Qnil != ropts || CompatMode != mode) {
847
+ Check_Type(ropts, T_HASH);
848
+ if (Qnil != (v = rb_hash_lookup(ropts, mode_sym))) {
849
+ if (object_sym == v) {
850
+ mode = ObjectMode;
851
+ } else if (strict_sym == v) {
852
+ mode = StrictMode;
853
+ } else if (compat_sym == v || json_sym == v) {
854
+ mode = CompatMode;
855
+ } else if (null_sym == v) {
856
+ mode = NullMode;
857
+ } else if (custom_sym == v) {
858
+ mode = CustomMode;
859
+ } else if (rails_sym == v) {
860
+ mode = RailsMode;
861
+ } else if (wab_sym == v) {
862
+ mode = WabMode;
863
+ } else {
864
+ rb_raise(rb_eArgError, ":mode must be :object, :strict, :compat, :null, :custom, :rails, or :wab.");
865
+ }
866
+ }
867
+ }
868
+ }
869
+ switch (mode) {
870
+ case StrictMode:
871
+ case NullMode:
872
+ return oj_strict_parse(argc, argv, self);
873
+ case CompatMode:
874
+ case RailsMode:
875
+ return oj_compat_parse(argc, argv, self);
876
+ case CustomMode:
877
+ return oj_custom_parse(argc, argv, self);
878
+ case WabMode:
879
+ return oj_wab_parse(argc, argv, self);
880
+ case ObjectMode:
881
+ default:
882
+ break;
883
+ }
884
+ return oj_object_parse(argc, argv, self);
885
+ }
886
+
887
+ /* Document-method: load_file
888
+ * call-seq: load_file(path, options) { _|_obj, start, len_|_ }
889
+ *
890
+ * Parses a JSON document String into a Object, Hash, Array, String, Fixnum,
891
+ * Float, true, false, or nil according to the default mode or the mode
892
+ * specified. Raises an exception if the JSON is malformed or the classes
893
+ * specified are not valid. If the string input is not a valid JSON document (an
894
+ * empty string is not a valid JSON document) an exception is raised.
895
+ *
896
+ * When used with a document that has multiple JSON elements the block, if
897
+ * any, will be yielded to. If no block then the last element read will be
898
+ * returned.
899
+ *
900
+ * If the input file is not a valid JSON document (an empty file is not a valid
901
+ * JSON document) an exception is raised.
902
+ *
903
+ * This is a stream based parser which allows a large or huge file to be loaded
904
+ * without pulling the whole file into memory.
905
+ *
906
+ * A block can be provided with a single argument. That argument will be the
907
+ * parsed JSON document. This is useful when parsing a string that includes
908
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
909
+ * object, the position in the string or stream of the start of the JSON for
910
+ * that object, and the length of the JSON for that object plus trailing
911
+ * whitespace.
912
+ *
913
+ * - *path* [_String_] to a file containing a JSON document
914
+ * - *options* [_Hash_] load options (same as default_options)
915
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
916
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
917
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
918
+ *
919
+ * Returns [_Object_|_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
920
+ */
921
+ static VALUE
922
+ load_file(int argc, VALUE *argv, VALUE self) {
923
+ char *path;
924
+ int fd;
925
+ Mode mode = oj_default_options.mode;
926
+ struct _parseInfo pi;
927
+
928
+ if (1 > argc) {
929
+ rb_raise(rb_eArgError, "Wrong number of arguments to load().");
930
+ }
931
+ Check_Type(*argv, T_STRING);
932
+ parse_info_init(&pi);
933
+ pi.options = oj_default_options;
934
+ pi.handler = Qnil;
935
+ pi.err_class = Qnil;
936
+ pi.max_depth = 0;
937
+ if (2 <= argc) {
938
+ VALUE ropts = argv[1];
939
+ VALUE v;
940
+
941
+ Check_Type(ropts, T_HASH);
942
+ if (Qnil != (v = rb_hash_lookup(ropts, mode_sym))) {
943
+ if (object_sym == v) {
944
+ mode = ObjectMode;
945
+ } else if (strict_sym == v) {
946
+ mode = StrictMode;
947
+ } else if (compat_sym == v || json_sym == v) {
948
+ mode = CompatMode;
949
+ } else if (null_sym == v) {
950
+ mode = NullMode;
951
+ } else if (custom_sym == v) {
952
+ mode = CustomMode;
953
+ } else if (rails_sym == v) {
954
+ mode = RailsMode;
955
+ } else if (wab_sym == v) {
956
+ mode = WabMode;
957
+ } else {
958
+ rb_raise(rb_eArgError, ":mode must be :object, :strict, :compat, :null, :custom, :rails, or :wab.");
959
+ }
960
+ }
961
+ }
962
+ path = StringValuePtr(*argv);
963
+ if (0 == (fd = open(path, O_RDONLY))) {
964
+ rb_raise(rb_eIOError, "%s", strerror(errno));
965
+ }
966
+ switch (mode) {
967
+ case StrictMode:
968
+ case NullMode:
969
+ oj_set_strict_callbacks(&pi);
970
+ return oj_pi_sparse(argc, argv, &pi, fd);
971
+ case CustomMode:
972
+ oj_set_custom_callbacks(&pi);
973
+ return oj_pi_sparse(argc, argv, &pi, fd);
974
+ case CompatMode:
975
+ case RailsMode:
976
+ oj_set_compat_callbacks(&pi);
977
+ return oj_pi_sparse(argc, argv, &pi, fd);
978
+ case WabMode:
979
+ oj_set_wab_callbacks(&pi);
980
+ return oj_pi_sparse(argc, argv, &pi, fd);
981
+ case ObjectMode:
982
+ default:
983
+ break;
984
+ }
985
+ oj_set_object_callbacks(&pi);
986
+
987
+ return oj_pi_sparse(argc, argv, &pi, fd);
988
+ }
989
+
990
+ /* Document-method: safe_load
991
+ * call-seq: safe_load(doc)
992
+ *
993
+ * Loads a JSON document in strict mode with :auto_define and :symbol_keys
994
+ * turned off. This function should be safe to use with JSON received on an
995
+ * unprotected public interface.
996
+ *
997
+ * - *doc* [_String__|_IO_] JSON String or IO to load.
998
+ *
999
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Bignum_|_BigDecimal_|_nil_|_True_|_False_]
1000
+ */
1001
+ static VALUE
1002
+ safe_load(VALUE self, VALUE doc) {
1003
+ struct _parseInfo pi;
1004
+ VALUE args[1];
1005
+
1006
+ parse_info_init(&pi);
1007
+ pi.err_class = Qnil;
1008
+ pi.max_depth = 0;
1009
+ pi.options = oj_default_options;
1010
+ pi.options.auto_define = No;
1011
+ pi.options.sym_key = No;
1012
+ pi.options.mode = StrictMode;
1013
+ oj_set_strict_callbacks(&pi);
1014
+ *args = doc;
1015
+
1016
+ return oj_pi_parse(1, args, &pi, 0, 0, 1);
1017
+ }
1018
+
1019
+ /* Document-method: saj_parse
1020
+ * call-seq: saj_parse(handler, io)
1021
+ *
1022
+ * Parses an IO stream or file containing a JSON document. Raises an exception
1023
+ * if the JSON is malformed. This is a callback parser that calls the methods in
1024
+ * the handler if they exist. A sample is the Oj::Saj class which can be used as
1025
+ * a base class for the handler.
1026
+ *
1027
+ * - *handler* [_Oj::Saj_] responds to Oj::Saj methods
1028
+ * - *io* [_IO_|_String_] IO Object to read from
1029
+ */
1030
+
1031
+ /* Document-method: sc_parse
1032
+ * call-seq: sc_parse(handler, io)
1033
+ *
1034
+ * Parses an IO stream or file containing a JSON document. Raises an exception
1035
+ * if the JSON is malformed. This is a callback parser (Simple Callback Parser)
1036
+ * that calls the methods in the handler if they exist. A sample is the
1037
+ * Oj::ScHandler class which can be used as a base class for the handler. This
1038
+ * callback parser is slightly more efficient than the Saj callback parser and
1039
+ * requires less argument checking.
1040
+ *
1041
+ * - *handler* [_Oj_::ScHandler_] responds to Oj::ScHandler methods
1042
+ * - *io* [_IO__|_String_] IO Object to read from
1043
+ */
1044
+
1045
+ /* Document-method: dump
1046
+ * call-seq: dump(obj, options)
1047
+ *
1048
+ * Dumps an Object (obj) to a string.
1049
+ * - *obj* [_Object_] Object to serialize as an JSON document String
1050
+ * - *options* [_Hash_] same as default_options
1051
+ */
1052
+ static VALUE
1053
+ dump(int argc, VALUE *argv, VALUE self) {
1054
+ char buf[4096];
1055
+ struct _out out;
1056
+ struct _options copts = oj_default_options;
1057
+ VALUE rstr;
1058
+
1059
+ if (1 > argc) {
1060
+ rb_raise(rb_eArgError, "wrong number of arguments (0 for 1).");
1061
+ }
1062
+ if (CompatMode == copts.mode) {
1063
+ copts.dump_opts.nan_dump = WordNan;
1064
+ }
1065
+ if (2 == argc) {
1066
+ oj_parse_options(argv[1], &copts);
1067
+ }
1068
+ if (CompatMode == copts.mode && copts.escape_mode != ASCIIEsc) {
1069
+ copts.escape_mode = JSONEsc;
1070
+ }
1071
+ out.buf = buf;
1072
+ out.end = buf + sizeof(buf) - 10;
1073
+ out.allocated = false;
1074
+ out.omit_nil = copts.dump_opts.omit_nil;
1075
+ out.caller = CALLER_DUMP;
1076
+ oj_dump_obj_to_json_using_params(*argv, &copts, &out, argc - 1,argv + 1);
1077
+ if (0 == out.buf) {
1078
+ rb_raise(rb_eNoMemError, "Not enough memory.");
1079
+ }
1080
+ rstr = rb_str_new2(out.buf);
1081
+ rstr = oj_encode(rstr);
1082
+ if (out.allocated) {
1083
+ xfree(out.buf);
1084
+ }
1085
+ return rstr;
1086
+ }
1087
+
1088
+ /* Document-method: to_json
1089
+ * call-seq: to_json(obj, options)
1090
+ *
1091
+ * Dumps an Object (obj) to a string. If the object has a to_json method that
1092
+ * will be called. The mode is set to :compat.
1093
+ * - *obj* [_Object_] Object to serialize as an JSON document String
1094
+ * - *options* [_Hash_]
1095
+ * - *:max_nesting* [_boolean_] It true nesting is limited to 100. The option to detect circular references is available but is not compatible with the json gem., default is false
1096
+ * - *:allow_nan* [_boolean_] If true non JSON compliant words such as Nan and Infinity will be used as appropriate, default is true.
1097
+ * - *:quirks_mode* [_boolean_] Allow single JSON values instead of documents, default is true (allow).
1098
+ * - *:indent* [_String_|_nil_] String to use for indentation, overriding the indent option if not nil.
1099
+ * - *:space* [_String_|_nil_] String to use for the space after the colon in JSON object fields.
1100
+ * - *:space_before* [_String_|_nil_] String to use before the colon separator in JSON object fields.
1101
+ * - *:object_nl* [_String_|_nil_] String to use after a JSON object field value.
1102
+ * - *:array_nl* [_String_|_nil_] String to use after a JSON array value.
1103
+ * - *:trace* [_Boolean_] If true trace is turned on.
1104
+ *
1105
+ * Returns [_String_] the encoded JSON.
1106
+ */
1107
+ static VALUE
1108
+ to_json(int argc, VALUE *argv, VALUE self) {
1109
+ char buf[4096];
1110
+ struct _out out;
1111
+ struct _options copts = oj_default_options;
1112
+ VALUE rstr;
1113
+
1114
+ if (1 > argc) {
1115
+ rb_raise(rb_eArgError, "wrong number of arguments (0 for 1).");
1116
+ }
1117
+ copts.escape_mode = JXEsc;
1118
+ copts.dump_opts.nan_dump = RaiseNan;
1119
+ if (2 == argc) {
1120
+ oj_parse_mimic_dump_options(argv[1], &copts);
1121
+ }
1122
+ copts.mode = CompatMode;
1123
+ copts.to_json = Yes;
1124
+ out.buf = buf;
1125
+ out.end = buf + sizeof(buf) - 10;
1126
+ out.allocated = false;
1127
+ out.omit_nil = copts.dump_opts.omit_nil;
1128
+ // For obj.to_json or generate nan is not allowed but if called from dump
1129
+ // it is.
1130
+ oj_dump_obj_to_json_using_params(*argv, &copts, &out, argc - 1, argv + 1);
1131
+
1132
+ if (0 == out.buf) {
1133
+ rb_raise(rb_eNoMemError, "Not enough memory.");
1134
+ }
1135
+ rstr = rb_str_new2(out.buf);
1136
+ rstr = oj_encode(rstr);
1137
+ if (out.allocated) {
1138
+ xfree(out.buf);
1139
+ }
1140
+ return rstr;
1141
+ }
1142
+
1143
+ /* Document-method: to_file
1144
+ * call-seq: to_file(file_path, obj, options)
1145
+ *
1146
+ * Dumps an Object to the specified file.
1147
+ * - *file* [_String_] _path file path to write the JSON document to
1148
+ * - *obj* [_Object_] Object to serialize as an JSON document String
1149
+ * - *options* [_Hash_] formating options
1150
+ * - *:indent* [_Fixnum_] format expected
1151
+ * - *:circular* [_Boolean_] allow circular references, default: false
1152
+ */
1153
+ static VALUE
1154
+ to_file(int argc, VALUE *argv, VALUE self) {
1155
+ struct _options copts = oj_default_options;
1156
+
1157
+ if (3 == argc) {
1158
+ oj_parse_options(argv[2], &copts);
1159
+ }
1160
+ Check_Type(*argv, T_STRING);
1161
+ oj_write_obj_to_file(argv[1], StringValuePtr(*argv), &copts);
1162
+
1163
+ return Qnil;
1164
+ }
1165
+
1166
+ /* Document-method: to_stream
1167
+ * call-seq: to_stream(io, obj, options)
1168
+ *
1169
+ * Dumps an Object to the specified IO stream.
1170
+ * - *io* [_IO_] IO stream to write the JSON document to
1171
+ * - *obj* [_Object_] Object to serialize as an JSON document String
1172
+ * - *options* [_Hash_] formating options
1173
+ * - *:indent* [_Fixnum_] format expected
1174
+ * - *:circular* [_Boolean_] allow circular references, default: false
1175
+ */
1176
+ static VALUE
1177
+ to_stream(int argc, VALUE *argv, VALUE self) {
1178
+ struct _options copts = oj_default_options;
1179
+
1180
+ if (3 == argc) {
1181
+ oj_parse_options(argv[2], &copts);
1182
+ }
1183
+ oj_write_obj_to_stream(argv[1], *argv, &copts);
1184
+
1185
+ return Qnil;
1186
+ }
1187
+
1188
+ /* Document-method: register_odd
1189
+ * call-seq: register_odd(clas, create_object, create_method, *members)
1190
+ *
1191
+ * Registers a class as special. This is useful for working around subclasses of
1192
+ * primitive types as is done with ActiveSupport classes. The use of this
1193
+ * function should be limited to just classes that can not be handled in the
1194
+ * normal way. It is not intended as a hook for changing the output of all
1195
+ * classes as it is not optimized for large numbers of classes.
1196
+ *
1197
+ * - *clas* [_Class__|_Module_] Class or Module to be made special
1198
+ * - *create_object* [_Object_] object to call the create method on
1199
+ * - *create_method* [_Symbol_] method on the clas that will create a new instance of the clas when given all the member values in the order specified.
1200
+ * - *members* [_Symbol__|_String_] methods used to get the member values from instances of the clas.
1201
+ */
1202
+ static VALUE
1203
+ register_odd(int argc, VALUE *argv, VALUE self) {
1204
+ if (3 > argc) {
1205
+ rb_raise(rb_eArgError, "incorrect number of arguments.");
1206
+ }
1207
+ switch (rb_type(*argv)) {
1208
+ case T_CLASS:
1209
+ case T_MODULE:
1210
+ break;
1211
+ default:
1212
+ rb_raise(rb_eTypeError, "expected a class or module.");
1213
+ break;
1214
+ }
1215
+ Check_Type(argv[2], T_SYMBOL);
1216
+ if (MAX_ODD_ARGS < argc - 2) {
1217
+ rb_raise(rb_eArgError, "too many members.");
1218
+ }
1219
+ oj_reg_odd(argv[0], argv[1], argv[2], argc - 3, argv + 3, false);
1220
+
1221
+ return Qnil;
1222
+ }
1223
+
1224
+ /* Document-method: register_odd_raw
1225
+ * call-seq: register_odd_raw(clas, create_object, create_method, dump_method)
1226
+ *
1227
+ * Registers a class as special and expect the output to be a string that can be
1228
+ * included in the dumped JSON directly. This is useful for working around
1229
+ * subclasses of primitive types as is done with ActiveSupport classes. The use
1230
+ * of this function should be limited to just classes that can not be handled in
1231
+ * the normal way. It is not intended as a hook for changing the output of all
1232
+ * classes as it is not optimized for large numbers of classes. Be careful with
1233
+ * this option as the JSON may be incorrect if invalid JSON is returned.
1234
+ *
1235
+ * - *clas* [_Class_|_Module_] Class or Module to be made special
1236
+ * - *create_object* [_Object_] object to call the create method on
1237
+ * - *create_method* [_Symbol_] method on the clas that will create a new instance of the clas when given all the member values in the order specified.
1238
+ * - *dump_method* [_Symbol_|_String_] method to call on the object being serialized to generate the raw JSON.
1239
+ */
1240
+ static VALUE
1241
+ register_odd_raw(int argc, VALUE *argv, VALUE self) {
1242
+ if (3 > argc) {
1243
+ rb_raise(rb_eArgError, "incorrect number of arguments.");
1244
+ }
1245
+ switch (rb_type(*argv)) {
1246
+ case T_CLASS:
1247
+ case T_MODULE:
1248
+ break;
1249
+ default:
1250
+ rb_raise(rb_eTypeError, "expected a class or module.");
1251
+ break;
1252
+ }
1253
+ Check_Type(argv[2], T_SYMBOL);
1254
+ if (MAX_ODD_ARGS < argc - 2) {
1255
+ rb_raise(rb_eArgError, "too many members.");
1256
+ }
1257
+ oj_reg_odd(argv[0], argv[1], argv[2], 1, argv + 3, true);
1258
+
1259
+ return Qnil;
1260
+ }
1261
+
1262
+ ////////////////////////////////////////////////////////////////////////////////
1263
+ // RDoc entries must be in the same file as the rb_define_method and must be
1264
+ // directly above the C method function. The extern declaration is enough to
1265
+ // get it to work.
1266
+ ////////////////////////////////////////////////////////////////////////////////
1267
+
1268
+ /* Document-method: strict_load
1269
+ * call-seq: strict_load(json, options) { _|_obj, start, len_|_ }
1270
+ *
1271
+ * Parses a JSON document String into an Hash, Array, String, Fixnum, Float,
1272
+ * true, false, or nil. It parses using a mode that is strict in that it maps
1273
+ * each primitive JSON type to a similar Ruby type. The :create_id is not
1274
+ * honored in this mode. Note that a Ruby Hash is used to represent the JSON
1275
+ * Object type. These two are not the same since the JSON Object type can have
1276
+ * repeating entries with the same key and Ruby Hash can not.
1277
+ *
1278
+ * When used with a document that has multiple JSON elements the block, if
1279
+ * any, will be yielded to. If no block then the last element read will be
1280
+ * returned.
1281
+ *
1282
+ * Raises an exception if the JSON is malformed or the classes specified are not
1283
+ * valid. If the input is not a valid JSON document (an empty string is not a
1284
+ * valid JSON document) an exception is raised.
1285
+ *
1286
+ * A block can be provided with a single argument. That argument will be the
1287
+ * parsed JSON document. This is useful when parsing a string that includes
1288
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
1289
+ * object, the position in the string or stream of the start of the JSON for
1290
+ * that object, and the length of the JSON for that object plus trailing
1291
+ * whitespace.
1292
+ *
1293
+ * - *json* [_String_|_IO_] JSON String or an Object that responds to read().
1294
+ * - *options* [_Hash_] load options (same as default_options).
1295
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
1296
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
1297
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
1298
+ *
1299
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
1300
+ */
1301
+ extern VALUE oj_strict_parse(int argc, VALUE *argv, VALUE self);
1302
+
1303
+ /* Document-method: compat_load
1304
+ * call-seq: compat_load(json, options) { _|_obj, start, len_|_ }
1305
+ *
1306
+ * Parses a JSON document String into an Object, Hash, Array, String, Fixnum,
1307
+ * Float, true, false, or nil. It parses using a mode that is generally
1308
+ * compatible with other Ruby JSON parsers in that it will create objects based
1309
+ * on the :create_id value. It is not compatible in every way to every other
1310
+ * parser though as each parser has it's own variations.
1311
+ *
1312
+ * When used with a document that has multiple JSON elements the block, if
1313
+ * any, will be yielded to. If no block then the last element read will be
1314
+ * returned.
1315
+ *
1316
+ * Raises an exception if the JSON is malformed or the classes specified are not
1317
+ * valid. If the input is not a valid JSON document (an empty string is not a
1318
+ * valid JSON document) an exception is raised.
1319
+ *
1320
+ * A block can be provided with a single argument. That argument will be the
1321
+ * parsed JSON document. This is useful when parsing a string that includes
1322
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
1323
+ * object, the position in the string or stream of the start of the JSON for
1324
+ * that object, and the length of the JSON for that object plus trailing
1325
+ * whitespace.
1326
+ *
1327
+ * - *json* [_String_|_IO_] JSON String or an Object that responds to read().
1328
+ * - *options* [_Hash_] load options (same as default_options).
1329
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
1330
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
1331
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
1332
+ *
1333
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
1334
+ */
1335
+ extern VALUE oj_compat_parse(int argc, VALUE *argv, VALUE self);
1336
+
1337
+ /* Document-method: object_load
1338
+ * call-seq: object_load(json, options) { _|_obj, start, len_|_ }
1339
+ *
1340
+ * Parses a JSON document String into an Object, Hash, Array, String, Fixnum,
1341
+ * Float, true, false, or nil. In the :object mode the JSON should have been
1342
+ * generated by Oj.dump(). The parser will reconstitute the original marshalled
1343
+ * or dumped Object. The :auto_define and :circular options have meaning with
1344
+ * this parsing mode.
1345
+ *
1346
+ * Raises an exception if the JSON is malformed or the classes specified are not
1347
+ * valid. If the input is not a valid JSON document (an empty string is not a
1348
+ * valid JSON document) an exception is raised.
1349
+ *
1350
+ * A block can be provided with a single argument. That argument will be the
1351
+ * parsed JSON document. This is useful when parsing a string that includes
1352
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
1353
+ * object, the position in the string or stream of the start of the JSON for
1354
+ * that object, and the length of the JSON for that object plus trailing
1355
+ * whitespace.
1356
+ *
1357
+ * - *json* [_String_|_IO_] JSON String or an Object that responds to read().
1358
+ * - *options* [_Hash_] load options (same as default_options).
1359
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
1360
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
1361
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
1362
+ *
1363
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
1364
+ */
1365
+ extern VALUE oj_object_parse(int argc, VALUE *argv, VALUE self);
1366
+
1367
+ /* Document-method: wab_load
1368
+ * call-seq: wab_load(json, options) { _|_obj, start, len_|_ }
1369
+ *
1370
+ * Parses a JSON document String into an Hash, Array, String, Fixnum, Float,
1371
+ * true, false, or nil. It parses using a mode that is :wab in that it maps
1372
+ * each primitive JSON type to a similar Ruby type. The :create_id is not
1373
+ * honored in this mode. Note that a Ruby Hash is used to represent the JSON
1374
+ * Object type. These two are not the same since the JSON Object type can have
1375
+ * repeating entries with the same key and Ruby Hash can not.
1376
+ *
1377
+ * When used with a document that has multiple JSON elements the block, if
1378
+ * any, will be yielded to. If no block then the last element read will be
1379
+ * returned.
1380
+ *
1381
+ * Raises an exception if the JSON is malformed or the classes specified are not
1382
+ * valid. If the input is not a valid JSON document (an empty string is not a
1383
+ * valid JSON document) an exception is raised.
1384
+ *
1385
+ * A block can be provided with a single argument. That argument will be the
1386
+ * parsed JSON document. This is useful when parsing a string that includes
1387
+ * multiple JSON documents. The block can take up to 3 arguments, the parsed
1388
+ * object, the position in the string or stream of the start of the JSON for
1389
+ * that object, and the length of the JSON for that object plus trailing
1390
+ * whitespace.
1391
+ *
1392
+ * - *json* [_String_|_IO_] JSON String or an Object that responds to read().
1393
+ * - *options* [_Hash_] load options (same as default_options).
1394
+ * - *obj* [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_] parsed object.
1395
+ * - *start* [_optional, _Integer_] start position of parsed JSON for obj.
1396
+ * - *len* [_optional, _Integer_] length of parsed JSON for obj.
1397
+ *
1398
+ * Returns [_Hash_|_Array_|_String_|_Fixnum_|_Float_|_Boolean_|_nil_]
1399
+ */
1400
+ extern VALUE oj_wab_parse(int argc, VALUE *argv, VALUE self);
1401
+
1402
+ /* Document-method: add_to_json
1403
+ * call-seq: add_to_json(*args)
1404
+ *
1405
+ * Override simple to_s dump behavior in :compat mode to instead use an
1406
+ * optimized dump that includes the classname and attributes so that the
1407
+ * object can be re-created on load. The format is the same as the json gem
1408
+ * but does not use the ruby methods for encoding.
1409
+ *
1410
+ * The classes supported for optimization are: Array, BigDecimal, Complex,
1411
+ * Date, DateTime, Exception, Hash, Integer, OpenStruct, Range, Rational,
1412
+ * Regexp, Struct, and Time. Providing no classes will result in all those
1413
+ * classes being optimized.q
1414
+ *
1415
+ * - *args( [_Class_] zero or more classes to optimize.
1416
+ */
1417
+ extern VALUE oj_add_to_json(int argc, VALUE *argv, VALUE self);
1418
+
1419
+ /* @!method remove_to_json(*args)
1420
+ *
1421
+ * Reverts back to the to_s dump behavior in :compat mode to instead use an
1422
+ * optimized dump that includes the classname and attributes so that the
1423
+ * object can be re-created on load. The format is the same as the json gem
1424
+ * but does not use the ruby methods for encoding.
1425
+ *
1426
+ * The classes supported for optimization are: Array, BigDecimal, Complex,
1427
+ * Date, DateTime, Exception, Hash, Integer, OpenStruct, Range, Rational,
1428
+ * Regexp, Struct, and Time. Providing no classes will result in all those
1429
+ * classes being reverted from the optimized mode.
1430
+ *
1431
+ * - *args* [_Class_] zero or more classes to optimize.
1432
+ */
1433
+ extern VALUE oj_remove_to_json(int argc, VALUE *argv, VALUE self);
1434
+
1435
+ /* Document-method: mimic_JSON
1436
+ * call-seq: mimic_JSON()
1437
+ *
1438
+ * Creates the JSON module with methods and classes to mimic the JSON gem. After
1439
+ * this method is invoked calls that expect the JSON module will use Oj instead
1440
+ * and be faster than the original JSON. Most options that could be passed to
1441
+ * the JSON methods are supported. The calls to set parser or generator will not
1442
+ * raise an Exception but will not have any effect. The method can also be
1443
+ * called after the json gem is loaded. The necessary methods on the json gem
1444
+ * will be replaced with Oj methods.
1445
+ *
1446
+ * Note that this also sets the default options of :mode to :compat and
1447
+ * :encoding to :unicode_xss.
1448
+ *
1449
+ * Returns [_Module_] the JSON module.
1450
+ */
1451
+ extern VALUE oj_define_mimic_json(int argc, VALUE *argv, VALUE self);
1452
+
1453
+ /* Document-method: generate
1454
+ * call-seq: generate(obj, opts=nil)
1455
+ *
1456
+ * Encode obj as a JSON String. The obj argument must be a Hash, Array, or
1457
+ * respond to to_h or to_json. Options other than those listed such as
1458
+ * +:allow_nan+ or +:max_nesting+ are ignored.
1459
+ *
1460
+ * - *obj* [_Object__|_Hash_|_Array_] object to convert to a JSON String
1461
+ * - *opts* [_Hash_] options
1462
+ * - *:indent* [_String_] String to use for indentation.
1463
+ * - *:space* [_String_] String placed after a , or : delimiter
1464
+ * - *:space_before* [_String_] String placed before a : delimiter
1465
+ * - *:object_nl* [_String_] String placed after a JSON object
1466
+ * - *:array_nl* [_String_] String placed after a JSON array
1467
+ * - *:ascii_only* [_Boolean_] if not nil or false then use only ascii characters in the output. Note JSON.generate does support this even if it is not documented.
1468
+ *
1469
+ * Returns [_String_]generated JSON.
1470
+ */
1471
+ extern VALUE oj_mimic_generate(int argc, VALUE *argv, VALUE self);
1472
+
1473
+ /* Document-module: Oj.optimize_rails()
1474
+ *
1475
+ * Sets the Oj as the Rails encoder and decoder. Oj::Rails.optimize is also
1476
+ * called.
1477
+ */
1478
+ extern VALUE oj_optimize_rails(VALUE self);
1479
+
1480
+ /*
1481
+ extern void oj_hash_test();
1482
+
1483
+ static VALUE
1484
+ hash_test(VALUE self) {
1485
+ oj_hash_test();
1486
+ return Qnil;
1487
+ }
1488
+ */
1489
+
1490
+ static VALUE
1491
+ protect_require(VALUE x) {
1492
+ rb_require("time");
1493
+ rb_require("bigdecimal");
1494
+ return Qnil;
1495
+ }
1496
+
1497
+ /* Document-module: Oj
1498
+ *
1499
+ * Optimized JSON (Oj), as the name implies was written to provide speed
1500
+ * optimized JSON handling.
1501
+ *
1502
+ * Oj uses modes to control how object are encoded and decoded. In addition
1503
+ * global and options to methods allow additional behavior modifications. The
1504
+ * modes are:
1505
+ *
1506
+ * - *:strict* mode will only allow the 7 basic JSON types to be serialized. Any other Object
1507
+ * will raise an Exception.
1508
+ *
1509
+ * - *:null* mode is similar to the :strict mode except any Object that is not
1510
+ * one of the JSON base types is replaced by a JSON null.
1511
+ *
1512
+ * - *:object* mode will dump any Object as a JSON Object with keys that match
1513
+ * the Ruby Object's variable names without the '@' character. This is the
1514
+ * highest performance mode.
1515
+ *
1516
+ * - *:compat* or *:json* mode is the compatible mode for the json gem. It mimics
1517
+ * the json gem including the options, defaults, and restrictions.
1518
+ *
1519
+ * - *:rails* is the compatibility mode for Rails or Active support.
1520
+ *
1521
+ * - *:custom* is the most configurable mode.
1522
+ *
1523
+ * - *:wab* specifically for WAB data exchange.
1524
+ */
1525
+ void
1526
+ Init_oj() {
1527
+ int err = 0;
1528
+
1529
+ Oj = rb_define_module("Oj");
1530
+
1531
+ oj_cstack_class = rb_define_class_under(Oj, "CStack", rb_cObject);
1532
+
1533
+ oj_string_writer_init();
1534
+ oj_stream_writer_init();
1535
+
1536
+ rb_require("date");
1537
+ // On Rubinius the require fails but can be done from a ruby file.
1538
+ rb_protect(protect_require, Qnil, &err);
1539
+ rb_require("stringio");
1540
+ oj_utf8_encoding = rb_enc_find("UTF-8");
1541
+
1542
+ //rb_define_module_function(Oj, "hash_test", hash_test, 0);
1543
+
1544
+ rb_define_module_function(Oj, "default_options", get_def_opts, 0);
1545
+ rb_define_module_function(Oj, "default_options=", set_def_opts, 1);
1546
+
1547
+ rb_define_module_function(Oj, "mimic_JSON", oj_define_mimic_json, -1);
1548
+ rb_define_module_function(Oj, "load", load, -1);
1549
+ rb_define_module_function(Oj, "load_file", load_file, -1);
1550
+ rb_define_module_function(Oj, "safe_load", safe_load, 1);
1551
+ rb_define_module_function(Oj, "strict_load", oj_strict_parse, -1);
1552
+ rb_define_module_function(Oj, "compat_load", oj_compat_parse, -1);
1553
+ rb_define_module_function(Oj, "object_load", oj_object_parse, -1);
1554
+ rb_define_module_function(Oj, "wab_load", oj_wab_parse, -1);
1555
+
1556
+ rb_define_module_function(Oj, "dump", dump, -1);
1557
+
1558
+ rb_define_module_function(Oj, "to_file", to_file, -1);
1559
+ rb_define_module_function(Oj, "to_stream", to_stream, -1);
1560
+ // JSON gem compatibility
1561
+ rb_define_module_function(Oj, "to_json", to_json, -1);
1562
+ rb_define_module_function(Oj, "generate", oj_mimic_generate, -1);
1563
+ rb_define_module_function(Oj, "fast_generate", oj_mimic_generate, -1);
1564
+
1565
+ rb_define_module_function(Oj, "add_to_json", oj_add_to_json, -1);
1566
+ rb_define_module_function(Oj, "remove_to_json", oj_remove_to_json, -1);
1567
+
1568
+ rb_define_module_function(Oj, "register_odd", register_odd, -1);
1569
+ rb_define_module_function(Oj, "register_odd_raw", register_odd_raw, -1);
1570
+
1571
+ rb_define_module_function(Oj, "saj_parse", oj_saj_parse, -1);
1572
+ rb_define_module_function(Oj, "sc_parse", oj_sc_parse, -1);
1573
+
1574
+ rb_define_module_function(Oj, "optimize_rails", oj_optimize_rails, 0);
1575
+
1576
+ oj_add_value_id = rb_intern("add_value");
1577
+ oj_array_append_id = rb_intern("array_append");
1578
+ oj_array_end_id = rb_intern("array_end");
1579
+ oj_array_start_id = rb_intern("array_start");
1580
+ oj_as_json_id = rb_intern("as_json");
1581
+ oj_begin_id = rb_intern("begin");
1582
+ oj_bigdecimal_id = rb_intern("BigDecimal");
1583
+ oj_end_id = rb_intern("end");
1584
+ oj_error_id = rb_intern("error");
1585
+ oj_exclude_end_id = rb_intern("exclude_end?");
1586
+ oj_file_id = rb_intern("file?");
1587
+ oj_fileno_id = rb_intern("fileno");
1588
+ oj_ftype_id = rb_intern("ftype");
1589
+ oj_has_key_id = rb_intern("has_key?");
1590
+ oj_hash_end_id = rb_intern("hash_end");
1591
+ oj_hash_key_id = rb_intern("hash_key");
1592
+ oj_hash_set_id = rb_intern("hash_set");
1593
+ oj_hash_start_id = rb_intern("hash_start");
1594
+ oj_iconv_id = rb_intern("iconv");
1595
+ oj_instance_variables_id = rb_intern("instance_variables");
1596
+ oj_json_create_id = rb_intern("json_create");
1597
+ oj_length_id = rb_intern("length");
1598
+ oj_new_id = rb_intern("new");
1599
+ oj_parse_id = rb_intern("parse");
1600
+ oj_pos_id = rb_intern("pos");
1601
+ oj_raw_json_id = rb_intern("raw_json");
1602
+ oj_read_id = rb_intern("read");
1603
+ oj_readpartial_id = rb_intern("readpartial");
1604
+ oj_replace_id = rb_intern("replace");
1605
+ oj_stat_id = rb_intern("stat");
1606
+ oj_string_id = rb_intern("string");
1607
+ oj_to_h_id = rb_intern("to_h");
1608
+ oj_to_hash_id = rb_intern("to_hash");
1609
+ oj_to_json_id = rb_intern("to_json");
1610
+ oj_to_s_id = rb_intern("to_s");
1611
+ oj_to_sym_id = rb_intern("to_sym");
1612
+ oj_to_time_id = rb_intern("to_time");
1613
+ oj_tv_nsec_id = rb_intern("tv_nsec");
1614
+ oj_tv_sec_id = rb_intern("tv_sec");
1615
+ oj_tv_usec_id = rb_intern("tv_usec");
1616
+ oj_utc_id = rb_intern("utc");
1617
+ oj_utc_offset_id = rb_intern("utc_offset");
1618
+ oj_utcq_id = rb_intern("utc?");
1619
+ oj_write_id = rb_intern("write");
1620
+
1621
+ rb_require("oj/bag");
1622
+ rb_require("oj/error");
1623
+ rb_require("oj/mimic");
1624
+ rb_require("oj/saj");
1625
+ rb_require("oj/schandler");
1626
+
1627
+ oj_bag_class = rb_const_get_at(Oj, rb_intern("Bag"));
1628
+ oj_bigdecimal_class = rb_const_get(rb_cObject, rb_intern("BigDecimal"));
1629
+ oj_date_class = rb_const_get(rb_cObject, rb_intern("Date"));
1630
+ oj_datetime_class = rb_const_get(rb_cObject, rb_intern("DateTime"));
1631
+ oj_enumerable_class = rb_const_get(rb_cObject, rb_intern("Enumerable"));
1632
+ oj_parse_error_class = rb_const_get_at(Oj, rb_intern("ParseError"));
1633
+ oj_stringio_class = rb_const_get(rb_cObject, rb_intern("StringIO"));
1634
+ oj_struct_class = rb_const_get(rb_cObject, rb_intern("Struct"));
1635
+ oj_json_parser_error_class = rb_eEncodingError; // replaced if mimic is called
1636
+ oj_json_generator_error_class = rb_eEncodingError; // replaced if mimic is called
1637
+
1638
+ allow_blank_sym = ID2SYM(rb_intern("allow_blank")); rb_gc_register_address(&allow_blank_sym);
1639
+ allow_gc_sym = ID2SYM(rb_intern("allow_gc")); rb_gc_register_address(&allow_gc_sym);
1640
+ allow_invalid_unicode_sym = ID2SYM(rb_intern("allow_invalid_unicode"));rb_gc_register_address(&allow_invalid_unicode_sym);
1641
+ ascii_sym = ID2SYM(rb_intern("ascii")); rb_gc_register_address(&ascii_sym);
1642
+ auto_define_sym = ID2SYM(rb_intern("auto_define")); rb_gc_register_address(&auto_define_sym);
1643
+ auto_sym = ID2SYM(rb_intern("auto")); rb_gc_register_address(&auto_sym);
1644
+ bigdecimal_as_decimal_sym = ID2SYM(rb_intern("bigdecimal_as_decimal"));rb_gc_register_address(&bigdecimal_as_decimal_sym);
1645
+ bigdecimal_load_sym = ID2SYM(rb_intern("bigdecimal_load")); rb_gc_register_address(&bigdecimal_load_sym);
1646
+ bigdecimal_sym = ID2SYM(rb_intern("bigdecimal")); rb_gc_register_address(&bigdecimal_sym);
1647
+ circular_sym = ID2SYM(rb_intern("circular")); rb_gc_register_address(&circular_sym);
1648
+ class_cache_sym = ID2SYM(rb_intern("class_cache")); rb_gc_register_address(&class_cache_sym);
1649
+ compat_sym = ID2SYM(rb_intern("compat")); rb_gc_register_address(&compat_sym);
1650
+ create_id_sym = ID2SYM(rb_intern("create_id")); rb_gc_register_address(&create_id_sym);
1651
+ custom_sym = ID2SYM(rb_intern("custom")); rb_gc_register_address(&custom_sym);
1652
+ empty_string_sym = ID2SYM(rb_intern("empty_string")); rb_gc_register_address(&empty_string_sym);
1653
+ escape_mode_sym = ID2SYM(rb_intern("escape_mode")); rb_gc_register_address(&escape_mode_sym);
1654
+ integer_range_sym = ID2SYM(rb_intern("integer_range")); rb_gc_register_address(&integer_range_sym);
1655
+ float_prec_sym = ID2SYM(rb_intern("float_precision")); rb_gc_register_address(&float_prec_sym);
1656
+ float_sym = ID2SYM(rb_intern("float")); rb_gc_register_address(&float_sym);
1657
+ huge_sym = ID2SYM(rb_intern("huge")); rb_gc_register_address(&huge_sym);
1658
+ ignore_sym = ID2SYM(rb_intern("ignore")); rb_gc_register_address(&ignore_sym);
1659
+ ignore_under_sym = ID2SYM(rb_intern("ignore_under")); rb_gc_register_address(&ignore_under_sym);
1660
+ json_sym = ID2SYM(rb_intern("json")); rb_gc_register_address(&json_sym);
1661
+ match_string_sym = ID2SYM(rb_intern("match_string")); rb_gc_register_address(&match_string_sym);
1662
+ mode_sym = ID2SYM(rb_intern("mode")); rb_gc_register_address(&mode_sym);
1663
+ nan_sym = ID2SYM(rb_intern("nan")); rb_gc_register_address(&nan_sym);
1664
+ newline_sym = ID2SYM(rb_intern("newline")); rb_gc_register_address(&newline_sym);
1665
+ nilnil_sym = ID2SYM(rb_intern("nilnil")); rb_gc_register_address(&nilnil_sym);
1666
+ null_sym = ID2SYM(rb_intern("null")); rb_gc_register_address(&null_sym);
1667
+ object_sym = ID2SYM(rb_intern("object")); rb_gc_register_address(&object_sym);
1668
+ oj_allow_nan_sym = ID2SYM(rb_intern("allow_nan")); rb_gc_register_address(&oj_allow_nan_sym);
1669
+ oj_array_class_sym = ID2SYM(rb_intern("array_class")); rb_gc_register_address(&oj_array_class_sym);
1670
+ oj_array_nl_sym = ID2SYM(rb_intern("array_nl")); rb_gc_register_address(&oj_array_nl_sym);
1671
+ oj_ascii_only_sym = ID2SYM(rb_intern("ascii_only")); rb_gc_register_address(&oj_ascii_only_sym);
1672
+ oj_create_additions_sym = ID2SYM(rb_intern("create_additions"));rb_gc_register_address(&oj_create_additions_sym);
1673
+ oj_hash_class_sym = ID2SYM(rb_intern("hash_class")); rb_gc_register_address(&oj_hash_class_sym);
1674
+ oj_indent_sym = ID2SYM(rb_intern("indent")); rb_gc_register_address(&oj_indent_sym);
1675
+ oj_max_nesting_sym = ID2SYM(rb_intern("max_nesting")); rb_gc_register_address(&oj_max_nesting_sym);
1676
+ oj_object_class_sym = ID2SYM(rb_intern("object_class")); rb_gc_register_address(&oj_object_class_sym);
1677
+ oj_object_nl_sym = ID2SYM(rb_intern("object_nl")); rb_gc_register_address(&oj_object_nl_sym);
1678
+ oj_quirks_mode_sym = ID2SYM(rb_intern("quirks_mode")); rb_gc_register_address(&oj_quirks_mode_sym);
1679
+ oj_safe_sym = ID2SYM(rb_intern("safe")); rb_gc_register_address(&oj_safe_sym);
1680
+ oj_space_before_sym = ID2SYM(rb_intern("space_before")); rb_gc_register_address(&oj_space_before_sym);
1681
+ oj_space_sym = ID2SYM(rb_intern("space")); rb_gc_register_address(&oj_space_sym);
1682
+ oj_trace_sym = ID2SYM(rb_intern("trace")); rb_gc_register_address(&oj_trace_sym);
1683
+ omit_nil_sym = ID2SYM(rb_intern("omit_nil")); rb_gc_register_address(&omit_nil_sym);
1684
+ rails_sym = ID2SYM(rb_intern("rails")); rb_gc_register_address(&rails_sym);
1685
+ raise_sym = ID2SYM(rb_intern("raise")); rb_gc_register_address(&raise_sym);
1686
+ ruby_sym = ID2SYM(rb_intern("ruby")); rb_gc_register_address(&ruby_sym);
1687
+ sec_prec_sym = ID2SYM(rb_intern("second_precision")); rb_gc_register_address(&sec_prec_sym);
1688
+ strict_sym = ID2SYM(rb_intern("strict")); rb_gc_register_address(&strict_sym);
1689
+ symbol_keys_sym = ID2SYM(rb_intern("symbol_keys")); rb_gc_register_address(&symbol_keys_sym);
1690
+ time_format_sym = ID2SYM(rb_intern("time_format")); rb_gc_register_address(&time_format_sym);
1691
+ unicode_xss_sym = ID2SYM(rb_intern("unicode_xss")); rb_gc_register_address(&unicode_xss_sym);
1692
+ unix_sym = ID2SYM(rb_intern("unix")); rb_gc_register_address(&unix_sym);
1693
+ unix_zone_sym = ID2SYM(rb_intern("unix_zone")); rb_gc_register_address(&unix_zone_sym);
1694
+ use_as_json_sym = ID2SYM(rb_intern("use_as_json")); rb_gc_register_address(&use_as_json_sym);
1695
+ use_raw_json_sym = ID2SYM(rb_intern("use_raw_json")); rb_gc_register_address(&use_raw_json_sym);
1696
+ use_to_hash_sym = ID2SYM(rb_intern("use_to_hash")); rb_gc_register_address(&use_to_hash_sym);
1697
+ use_to_json_sym = ID2SYM(rb_intern("use_to_json")); rb_gc_register_address(&use_to_json_sym);
1698
+ wab_sym = ID2SYM(rb_intern("wab")); rb_gc_register_address(&wab_sym);
1699
+ word_sym = ID2SYM(rb_intern("word")); rb_gc_register_address(&word_sym);
1700
+ xmlschema_sym = ID2SYM(rb_intern("xmlschema")); rb_gc_register_address(&xmlschema_sym);
1701
+ xss_safe_sym = ID2SYM(rb_intern("xss_safe")); rb_gc_register_address(&xss_safe_sym);
1702
+
1703
+ oj_slash_string = rb_str_new2("/"); rb_gc_register_address(&oj_slash_string);
1704
+ OBJ_FREEZE(oj_slash_string);
1705
+
1706
+ oj_default_options.mode = ObjectMode;
1707
+
1708
+ oj_hash_init();
1709
+ oj_odd_init();
1710
+ oj_mimic_rails_init();
1711
+
1712
+ #ifdef HAVE_PTHREAD_MUTEX_INIT
1713
+ if (0 != (err = pthread_mutex_init(&oj_cache_mutex, 0))) {
1714
+ rb_raise(rb_eException, "failed to initialize a mutex. %s", strerror(err));
1715
+ }
1716
+ #else
1717
+ oj_cache_mutex = rb_mutex_new();
1718
+ rb_gc_register_address(&oj_cache_mutex);
1719
+ #endif
1720
+ oj_init_doc();
1721
+ }