sorbet-rails 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (404) hide show
  1. checksums.yaml +4 -4
  2. data/.codecov.yml +4 -0
  3. data/.github/ISSUE_TEMPLATE/bug.md +26 -0
  4. data/.gitignore +5 -0
  5. data/.travis.yml +26 -7
  6. data/CONTRIBUTING.md +135 -0
  7. data/Gemfile +29 -11
  8. data/README.md +40 -7
  9. data/lib/sorbet-rails/custom_finder_methods.rb +1 -1
  10. data/lib/sorbet-rails/model_rbi_formatter.rb +72 -41
  11. data/lib/sorbet-rails/routes_rbi_formatter.rb +6 -14
  12. data/lib/sorbet-rails/tasks/rails_rbi.rake +13 -6
  13. data/rbi/activerecord.rbi +32 -7
  14. data/sorbet-rails.gemspec +2 -4
  15. data/spec/bin/install.sh +11 -0
  16. data/spec/bin/run_all_specs.sh +9 -5
  17. data/spec/bin/run_spec.sh +33 -0
  18. data/spec/bin/{reset_test_data.sh → update_test_data.sh} +2 -1
  19. data/spec/custom_finder_methods_spec.rb +75 -0
  20. data/spec/model_rbi_formatter_spec.rb +8 -6
  21. data/spec/rails_helper.rb +32 -5
  22. data/spec/rake_helper.rb +47 -0
  23. data/spec/rake_rails_rbi_models_spec.rb +64 -0
  24. data/spec/rake_rails_rbi_routes_spec.rb +15 -0
  25. data/spec/support/rails_shared/app/models/wizard.rb +4 -4
  26. data/spec/support/rails_shared/db/migrate/20190620001234_create_wizards.rb +1 -1
  27. data/spec/support/rails_shared/db/migrate/20190620003037_create_wands.rb +1 -1
  28. data/spec/support/rails_shared/db/migrate/20190620003739_create_spell_books.rb +1 -1
  29. data/spec/support/rails_shared/db/migrate/20190622000000_add_more_column_types_to_wands.rb +5 -3
  30. data/spec/support/rails_symlinks/app/controllers +1 -0
  31. data/spec/support/rails_symlinks/app/models +1 -0
  32. data/spec/support/rails_symlinks/config/routes.rb +5 -0
  33. data/spec/support/rails_symlinks/db/migrate +1 -0
  34. data/spec/support/v4.2/.gitignore +17 -0
  35. data/spec/support/v4.2/Gemfile +31 -0
  36. data/spec/support/v4.2/README.rdoc +28 -0
  37. data/spec/support/v4.2/Rakefile +6 -0
  38. data/spec/support/{5.1.7/lib/tasks → v4.2/app/assets/images}/.keep +0 -0
  39. data/spec/support/v4.2/app/assets/stylesheets/application.css +15 -0
  40. data/spec/support/v4.2/app/controllers/application_controller.rb +5 -0
  41. data/spec/support/{5.1.7/log → v4.2/app/controllers/concerns}/.keep +0 -0
  42. data/spec/support/v4.2/app/helpers/application_helper.rb +2 -0
  43. data/spec/support/{5.1.7/test/controllers → v4.2/app/mailers}/.keep +0 -0
  44. data/spec/support/v4.2/app/models +1 -0
  45. data/spec/support/v4.2/app/views/layouts/application.html.erb +13 -0
  46. data/spec/support/{5.1.7 → v4.2}/bin/bundle +0 -0
  47. data/spec/support/v4.2/bin/rails +4 -0
  48. data/spec/support/v4.2/bin/rake +4 -0
  49. data/spec/support/v4.2/bin/setup +29 -0
  50. data/spec/support/v4.2/config.ru +4 -0
  51. data/spec/support/v4.2/config/application.rb +35 -0
  52. data/spec/support/v4.2/config/boot.rb +3 -0
  53. data/spec/support/v4.2/config/database.yml +25 -0
  54. data/spec/support/v4.2/config/environment.rb +5 -0
  55. data/spec/support/v4.2/config/environments/development.rb +28 -0
  56. data/spec/support/v4.2/config/environments/production.rb +67 -0
  57. data/spec/support/v4.2/config/environments/test.rb +42 -0
  58. data/spec/support/{5.1.7 → v4.2}/config/initializers/backtrace_silencers.rb +0 -0
  59. data/spec/support/v4.2/config/initializers/cookies_serializer.rb +3 -0
  60. data/spec/support/{5.1.7 → v4.2}/config/initializers/filter_parameter_logging.rb +0 -0
  61. data/spec/support/{5.1.7 → v4.2}/config/initializers/inflections.rb +0 -0
  62. data/spec/support/{5.1.7 → v4.2}/config/initializers/mime_types.rb +0 -0
  63. data/spec/support/v4.2/config/initializers/session_store.rb +3 -0
  64. data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +10 -0
  65. data/spec/support/v4.2/config/initializers/wrap_parameters.rb +14 -0
  66. data/spec/support/v4.2/config/locales/en.yml +23 -0
  67. data/spec/support/v4.2/config/routes.rb +5 -0
  68. data/spec/support/v4.2/config/secrets.yml +22 -0
  69. data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +12 -0
  70. data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +11 -0
  71. data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +8 -0
  72. data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +10 -0
  73. data/spec/support/v4.2/db/schema.rb +44 -0
  74. data/spec/support/v4.2/db/seeds.rb +7 -0
  75. data/spec/support/{5.1.7/test/fixtures → v4.2/lib/assets}/.keep +0 -0
  76. data/spec/support/{5.1.7/test/fixtures/files → v4.2/lib/tasks}/.keep +0 -0
  77. data/spec/support/{5.1.7/test/integration → v4.2/log}/.keep +0 -0
  78. data/spec/support/v4.2/public/404.html +67 -0
  79. data/spec/support/v4.2/public/422.html +67 -0
  80. data/spec/support/v4.2/public/500.html +66 -0
  81. data/spec/support/{5.1.7/test/mailers/.keep → v4.2/public/favicon.ico} +0 -0
  82. data/spec/support/v4.2/public/robots.txt +5 -0
  83. data/spec/support/{5.1.7/test/models → v4.2/test/controllers}/.keep +0 -0
  84. data/spec/support/{5.1.7/tmp → v4.2/test/fixtures}/.keep +0 -0
  85. data/spec/support/{5.1.7/vendor → v4.2/test/helpers}/.keep +0 -0
  86. data/spec/support/{5.2.3/lib/tasks → v4.2/test/integration}/.keep +0 -0
  87. data/spec/support/{5.2.3/log → v4.2/test/mailers}/.keep +0 -0
  88. data/spec/support/{5.2.3/storage → v4.2/test/models}/.keep +0 -0
  89. data/spec/support/{5.1.7 → v4.2}/test/test_helper.rb +0 -0
  90. data/spec/support/{5.2.3/test/controllers → v4.2/vendor/assets/stylesheets}/.keep +0 -0
  91. data/spec/support/v5.0/.gitignore +21 -0
  92. data/spec/support/v5.0/Gemfile +37 -0
  93. data/spec/support/{5.1.7 → v5.0}/README.md +0 -0
  94. data/spec/support/{5.1.7 → v5.0}/Rakefile +0 -0
  95. data/spec/support/{5.1.7 → v5.0}/app/channels/application_cable/channel.rb +0 -0
  96. data/spec/support/{5.1.7 → v5.0}/app/channels/application_cable/connection.rb +0 -0
  97. data/spec/support/v5.0/app/controllers +1 -0
  98. data/spec/support/{5.1.7 → v5.0}/app/jobs/application_job.rb +0 -0
  99. data/spec/support/{5.1.7 → v5.0}/app/mailers/application_mailer.rb +0 -0
  100. data/spec/support/v5.0/app/models +1 -0
  101. data/spec/support/{5.1.7 → v5.0}/app/views/layouts/mailer.html.erb +0 -0
  102. data/spec/support/{5.1.7 → v5.0}/app/views/layouts/mailer.text.erb +0 -0
  103. data/spec/support/v5.0/bin/bundle +3 -0
  104. data/spec/support/v5.0/bin/rails +4 -0
  105. data/spec/support/v5.0/bin/rake +4 -0
  106. data/spec/support/v5.0/bin/setup +34 -0
  107. data/spec/support/{5.1.7 → v5.0}/bin/update +0 -0
  108. data/spec/support/{5.1.7 → v5.0}/config.ru +0 -0
  109. data/spec/support/v5.0/config/application.rb +30 -0
  110. data/spec/support/{5.1.7 → v5.0}/config/boot.rb +0 -0
  111. data/spec/support/v5.0/config/cable.yml +9 -0
  112. data/spec/support/v5.0/config/database.yml +25 -0
  113. data/spec/support/{5.1.7 → v5.0}/config/environment.rb +0 -0
  114. data/spec/support/v5.0/config/environments/development.rb +47 -0
  115. data/spec/support/v5.0/config/environments/production.rb +78 -0
  116. data/spec/support/v5.0/config/environments/test.rb +42 -0
  117. data/spec/support/{5.1.7 → v5.0}/config/initializers/application_controller_renderer.rb +0 -0
  118. data/spec/support/{5.2.3 → v5.0}/config/initializers/backtrace_silencers.rb +0 -0
  119. data/spec/support/{5.1.7 → v5.0}/config/initializers/cors.rb +0 -0
  120. data/spec/support/{5.2.3 → v5.0}/config/initializers/filter_parameter_logging.rb +0 -0
  121. data/spec/support/{5.2.3 → v5.0}/config/initializers/inflections.rb +0 -0
  122. data/spec/support/{5.2.3 → v5.0}/config/initializers/mime_types.rb +0 -0
  123. data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +18 -0
  124. data/spec/support/{5.1.7 → v5.0}/config/initializers/wrap_parameters.rb +0 -0
  125. data/spec/support/v5.0/config/locales/en.yml +23 -0
  126. data/spec/support/v5.0/config/puma.rb +47 -0
  127. data/spec/support/v5.0/config/routes.rb +5 -0
  128. data/spec/support/v5.0/config/secrets.yml +22 -0
  129. data/spec/support/v5.0/db/migrate +1 -0
  130. data/spec/support/v5.0/db/schema.rb +45 -0
  131. data/spec/support/{5.1.7 → v5.0}/db/seeds.rb +0 -0
  132. data/spec/support/{5.2.3/test/fixtures → v5.0/lib/tasks}/.keep +0 -0
  133. data/spec/support/{5.2.3/test/fixtures/files → v5.0/log}/.keep +0 -0
  134. data/spec/support/v5.0/public/robots.txt +5 -0
  135. data/spec/support/v5.0/rails_symlinks/app/controllers +1 -0
  136. data/spec/support/v5.0/rails_symlinks/app/models +1 -0
  137. data/spec/support/v5.0/rails_symlinks/config/routes.rb +5 -0
  138. data/spec/support/v5.0/rails_symlinks/db/migrate +1 -0
  139. data/spec/support/{5.2.3/test/integration → v5.0/test/controllers}/.keep +0 -0
  140. data/spec/support/{5.2.3/test/mailers → v5.0/test/fixtures}/.keep +0 -0
  141. data/spec/support/{5.2.3/test/models → v5.0/test/fixtures/files}/.keep +0 -0
  142. data/spec/support/{5.2.3/tmp → v5.0/test/integration}/.keep +0 -0
  143. data/spec/support/{5.2.3/vendor → v5.0/test/mailers}/.keep +0 -0
  144. data/spec/support/v5.0/test/models/.keep +0 -0
  145. data/spec/support/v5.0/test/test_helper.rb +10 -0
  146. data/spec/support/v5.0/tmp/.keep +0 -0
  147. data/spec/support/{5.1.7 → v5.1}/Gemfile +6 -6
  148. data/spec/support/{5.2.3 → v5.1}/README.md +0 -0
  149. data/spec/support/{5.2.3 → v5.1}/Rakefile +0 -0
  150. data/spec/support/{5.2.3 → v5.1}/app/channels/application_cable/channel.rb +0 -0
  151. data/spec/support/{5.2.3 → v5.1}/app/channels/application_cable/connection.rb +0 -0
  152. data/spec/support/v5.1/app/controllers +1 -0
  153. data/spec/support/{5.2.3 → v5.1}/app/jobs/application_job.rb +0 -0
  154. data/spec/support/{5.2.3 → v5.1}/app/mailers/application_mailer.rb +0 -0
  155. data/spec/support/v5.1/app/models +1 -0
  156. data/spec/support/{5.2.3 → v5.1}/app/views/layouts/mailer.html.erb +0 -0
  157. data/spec/support/{5.2.3 → v5.1}/app/views/layouts/mailer.text.erb +0 -0
  158. data/spec/support/v5.1/bin/bundle +3 -0
  159. data/spec/support/{5.1.7 → v5.1}/bin/rails +0 -0
  160. data/spec/support/{5.1.7 → v5.1}/bin/rake +0 -0
  161. data/spec/support/{5.1.7 → v5.1}/bin/setup +0 -0
  162. data/spec/support/{5.1.7 → v5.1}/bin/spring +0 -0
  163. data/spec/support/v5.1/bin/update +29 -0
  164. data/spec/support/{5.2.3 → v5.1}/config.ru +0 -0
  165. data/spec/support/{5.1.7 → v5.1}/config/application.rb +0 -0
  166. data/spec/support/{5.2.3 → v5.1}/config/boot.rb +0 -0
  167. data/spec/support/{5.1.7 → v5.1}/config/cable.yml +0 -0
  168. data/spec/support/{5.1.7 → v5.1}/config/database.yml +0 -0
  169. data/spec/support/{5.2.3 → v5.1}/config/environment.rb +0 -0
  170. data/spec/support/{5.1.7 → v5.1}/config/environments/development.rb +0 -0
  171. data/spec/support/{5.1.7 → v5.1}/config/environments/production.rb +0 -0
  172. data/spec/support/{5.1.7 → v5.1}/config/environments/test.rb +0 -0
  173. data/spec/support/{5.2.3 → v5.1}/config/initializers/application_controller_renderer.rb +0 -0
  174. data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +7 -0
  175. data/spec/support/{5.2.3 → v5.1}/config/initializers/cors.rb +0 -0
  176. data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +4 -0
  177. data/spec/support/v5.1/config/initializers/inflections.rb +16 -0
  178. data/spec/support/v5.1/config/initializers/mime_types.rb +4 -0
  179. data/spec/support/{5.2.3 → v5.1}/config/initializers/wrap_parameters.rb +0 -0
  180. data/spec/support/{5.1.7 → v5.1}/config/locales/en.yml +0 -0
  181. data/spec/support/{5.1.7 → v5.1}/config/puma.rb +0 -0
  182. data/spec/support/v5.1/config/routes.rb +1 -0
  183. data/spec/support/{5.1.7 → v5.1}/config/secrets.yml +0 -0
  184. data/spec/support/{5.1.7 → v5.1}/config/spring.rb +0 -0
  185. data/spec/support/v5.1/db/migrate +1 -0
  186. data/spec/support/{5.1.7 → v5.1}/db/schema.rb +0 -0
  187. data/spec/support/{5.2.3 → v5.1}/db/seeds.rb +0 -0
  188. data/spec/support/v5.1/lib/tasks/.keep +0 -0
  189. data/spec/support/v5.1/log/.keep +0 -0
  190. data/spec/support/{5.1.7 → v5.1}/public/robots.txt +0 -0
  191. data/spec/support/v5.1/test/controllers/.keep +0 -0
  192. data/spec/support/v5.1/test/fixtures/.keep +0 -0
  193. data/spec/support/v5.1/test/fixtures/files/.keep +0 -0
  194. data/spec/support/v5.1/test/integration/.keep +0 -0
  195. data/spec/support/v5.1/test/mailers/.keep +0 -0
  196. data/spec/support/v5.1/test/models/.keep +0 -0
  197. data/spec/support/v5.1/test/test_helper.rb +10 -0
  198. data/spec/support/v5.1/tmp/.keep +0 -0
  199. data/spec/support/v5.1/vendor/.keep +0 -0
  200. data/spec/support/{5.2.3 → v5.2}/Gemfile +4 -15
  201. data/spec/support/v5.2/README.md +24 -0
  202. data/spec/support/v5.2/Rakefile +6 -0
  203. data/spec/support/v5.2/app/channels/application_cable/channel.rb +4 -0
  204. data/spec/support/v5.2/app/channels/application_cable/connection.rb +4 -0
  205. data/spec/support/v5.2/app/controllers +1 -0
  206. data/spec/support/v5.2/app/jobs/application_job.rb +2 -0
  207. data/spec/support/v5.2/app/mailers/application_mailer.rb +4 -0
  208. data/spec/support/v5.2/app/models +1 -0
  209. data/spec/support/v5.2/app/views/layouts/mailer.html.erb +13 -0
  210. data/spec/support/v5.2/app/views/layouts/mailer.text.erb +1 -0
  211. data/spec/support/{5.2.3 → v5.2}/bin/bundle +0 -0
  212. data/spec/support/{5.2.3 → v5.2}/bin/rails +0 -0
  213. data/spec/support/{5.2.3 → v5.2}/bin/rake +0 -0
  214. data/spec/support/{5.2.3 → v5.2}/bin/setup +0 -0
  215. data/spec/support/{5.2.3 → v5.2}/bin/spring +0 -0
  216. data/spec/support/{5.2.3 → v5.2}/bin/update +0 -0
  217. data/spec/support/v5.2/config.ru +5 -0
  218. data/spec/support/{5.2.3 → v5.2}/config/application.rb +0 -0
  219. data/spec/support/v5.2/config/boot.rb +3 -0
  220. data/spec/support/{5.2.3 → v5.2}/config/cable.yml +0 -0
  221. data/spec/support/{5.2.3 → v5.2}/config/credentials.yml.enc +0 -0
  222. data/spec/support/{5.2.3 → v5.2}/config/database.yml +0 -0
  223. data/spec/support/v5.2/config/environment.rb +5 -0
  224. data/spec/support/{5.2.3 → v5.2}/config/environments/development.rb +1 -1
  225. data/spec/support/{5.2.3 → v5.2}/config/environments/production.rb +0 -0
  226. data/spec/support/{5.2.3 → v5.2}/config/environments/test.rb +0 -0
  227. data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +8 -0
  228. data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +7 -0
  229. data/spec/support/v5.2/config/initializers/cors.rb +16 -0
  230. data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +4 -0
  231. data/spec/support/v5.2/config/initializers/inflections.rb +16 -0
  232. data/spec/support/v5.2/config/initializers/mime_types.rb +4 -0
  233. data/spec/support/v5.2/config/initializers/wrap_parameters.rb +14 -0
  234. data/spec/support/{5.2.3 → v5.2}/config/locales/en.yml +0 -0
  235. data/spec/support/{5.2.3 → v5.2}/config/puma.rb +0 -0
  236. data/spec/support/v5.2/config/routes.rb +1 -0
  237. data/spec/support/{5.2.3 → v5.2}/config/spring.rb +0 -0
  238. data/spec/support/{5.2.3 → v5.2}/config/storage.yml +0 -0
  239. data/spec/support/v5.2/db/migrate +1 -0
  240. data/spec/support/{5.2.3 → v5.2}/db/schema.rb +4 -4
  241. data/spec/support/v5.2/db/seeds.rb +7 -0
  242. data/spec/support/v5.2/lib/tasks/.keep +0 -0
  243. data/spec/support/v5.2/log/.keep +0 -0
  244. data/spec/support/{5.2.3 → v5.2}/public/robots.txt +0 -0
  245. data/spec/support/v5.2/sorbet/.keep +0 -0
  246. data/spec/support/v5.2/sorbet/config +2 -0
  247. data/spec/support/v5.2/sorbet/rbi/gems/actioncable.rbi +309 -0
  248. data/spec/support/v5.2/sorbet/rbi/gems/actionmailer.rbi +439 -0
  249. data/spec/support/v5.2/sorbet/rbi/gems/actionpack.rbi +3245 -0
  250. data/spec/support/v5.2/sorbet/rbi/gems/actionview.rbi +1129 -0
  251. data/spec/support/v5.2/sorbet/rbi/gems/activejob.rbi +281 -0
  252. data/spec/support/v5.2/sorbet/rbi/gems/activemodel.rbi +740 -0
  253. data/spec/support/v5.2/sorbet/rbi/gems/activerecord.rbi +3996 -0
  254. data/spec/support/v5.2/sorbet/rbi/gems/activestorage.rbi +173 -0
  255. data/spec/support/v5.2/sorbet/rbi/gems/activesupport.rbi +2309 -0
  256. data/spec/support/v5.2/sorbet/rbi/gems/arel.rbi +1248 -0
  257. data/spec/support/v5.2/sorbet/rbi/gems/byebug.rbi +1039 -0
  258. data/spec/support/v5.2/sorbet/rbi/gems/concurrent-ruby.rbi +1583 -0
  259. data/spec/support/v5.2/sorbet/rbi/gems/crass.rbi +92 -0
  260. data/spec/support/v5.2/sorbet/rbi/gems/erubi.rbi +26 -0
  261. data/spec/support/v5.2/sorbet/rbi/gems/globalid.rbi +98 -0
  262. data/spec/support/v5.2/sorbet/rbi/gems/i18n.rbi +191 -0
  263. data/spec/support/v5.2/sorbet/rbi/gems/loofah.rbi +129 -0
  264. data/spec/support/v5.2/sorbet/rbi/gems/mail.rbi +1091 -0
  265. data/spec/support/v5.2/sorbet/rbi/gems/marcel.rbi +12 -0
  266. data/spec/support/v5.2/sorbet/rbi/gems/method_source.rbi +63 -0
  267. data/spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
  268. data/spec/support/v5.2/sorbet/rbi/gems/minitest.rbi +276 -0
  269. data/spec/support/v5.2/sorbet/rbi/gems/nokogiri.rbi +1006 -0
  270. data/spec/support/v5.2/sorbet/rbi/gems/puma.rbi +570 -0
  271. data/spec/support/v5.2/sorbet/rbi/gems/rack-test.rbi +161 -0
  272. data/spec/support/v5.2/sorbet/rbi/gems/rack.rbi +534 -0
  273. data/spec/support/v5.2/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  274. data/spec/support/v5.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  275. data/spec/support/v5.2/sorbet/rbi/gems/railties.rbi +722 -0
  276. data/spec/support/v5.2/sorbet/rbi/gems/rake.rbi +251 -0
  277. data/spec/support/v5.2/sorbet/rbi/gems/sqlite3.rbi +353 -0
  278. data/spec/support/v5.2/sorbet/rbi/gems/thor.rbi +449 -0
  279. data/spec/support/v5.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
  280. data/spec/support/v5.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
  281. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +10040 -0
  282. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +24386 -0
  283. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  284. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  285. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  286. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/~>5.2/activerecord.rbi +10 -0
  287. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  288. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  289. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  290. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  291. data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  292. data/spec/support/v5.2/sorbet/rbi/todo.rbi +11 -0
  293. data/spec/support/v5.2/storage/.keep +0 -0
  294. data/spec/support/v5.2/test/controllers/.keep +0 -0
  295. data/spec/support/v5.2/test/fixtures/.keep +0 -0
  296. data/spec/support/v5.2/test/fixtures/files/.keep +0 -0
  297. data/spec/support/v5.2/test/integration/.keep +0 -0
  298. data/spec/support/v5.2/test/mailers/.keep +0 -0
  299. data/spec/support/v5.2/test/models/.keep +0 -0
  300. data/spec/support/{5.2.3 → v5.2}/test/test_helper.rb +0 -0
  301. data/spec/support/v5.2/tmp/.keep +0 -0
  302. data/spec/support/v5.2/vendor/.keep +0 -0
  303. data/spec/support/v6.0/.gitignore +26 -0
  304. data/spec/support/v6.0/Gemfile +35 -0
  305. data/spec/support/v6.0/README.md +24 -0
  306. data/spec/support/v6.0/Rakefile +6 -0
  307. data/spec/support/v6.0/app/channels/application_cable/channel.rb +4 -0
  308. data/spec/support/v6.0/app/channels/application_cable/connection.rb +4 -0
  309. data/spec/support/v6.0/app/controllers +1 -0
  310. data/spec/support/v6.0/app/jobs/application_job.rb +7 -0
  311. data/spec/support/v6.0/app/mailers/application_mailer.rb +4 -0
  312. data/spec/support/v6.0/app/models +1 -0
  313. data/spec/support/v6.0/app/views/layouts/mailer.html.erb +13 -0
  314. data/spec/support/v6.0/app/views/layouts/mailer.text.erb +1 -0
  315. data/spec/support/v6.0/bin/bundle +105 -0
  316. data/spec/support/v6.0/bin/rails +4 -0
  317. data/spec/support/v6.0/bin/rake +4 -0
  318. data/spec/support/v6.0/bin/setup +33 -0
  319. data/spec/support/v6.0/config.ru +5 -0
  320. data/spec/support/v6.0/config/application.rb +37 -0
  321. data/spec/support/v6.0/config/boot.rb +3 -0
  322. data/spec/support/v6.0/config/cable.yml +10 -0
  323. data/spec/support/v6.0/config/credentials.yml.enc +1 -0
  324. data/spec/support/v6.0/config/database.yml +25 -0
  325. data/spec/support/v6.0/config/environment.rb +5 -0
  326. data/spec/support/v6.0/config/environments/development.rb +52 -0
  327. data/spec/support/v6.0/config/environments/production.rb +105 -0
  328. data/spec/support/v6.0/config/environments/test.rb +48 -0
  329. data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +8 -0
  330. data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +7 -0
  331. data/spec/support/v6.0/config/initializers/cors.rb +16 -0
  332. data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +4 -0
  333. data/spec/support/v6.0/config/initializers/inflections.rb +16 -0
  334. data/spec/support/v6.0/config/initializers/mime_types.rb +4 -0
  335. data/spec/support/v6.0/config/initializers/wrap_parameters.rb +14 -0
  336. data/spec/support/v6.0/config/locales/en.yml +33 -0
  337. data/spec/support/v6.0/config/puma.rb +35 -0
  338. data/spec/support/v6.0/config/routes.rb +5 -0
  339. data/spec/support/v6.0/config/storage.yml +34 -0
  340. data/spec/support/v6.0/db/migrate +1 -0
  341. data/spec/support/v6.0/db/schema.rb +47 -0
  342. data/spec/support/v6.0/db/seeds.rb +7 -0
  343. data/spec/support/v6.0/lib/tasks/.keep +0 -0
  344. data/spec/support/v6.0/log/.keep +0 -0
  345. data/spec/support/v6.0/public/robots.txt +1 -0
  346. data/spec/support/v6.0/storage/.keep +0 -0
  347. data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +11 -0
  348. data/spec/support/v6.0/test/controllers/.keep +0 -0
  349. data/spec/support/v6.0/test/fixtures/.keep +0 -0
  350. data/spec/support/v6.0/test/fixtures/files/.keep +0 -0
  351. data/spec/support/v6.0/test/integration/.keep +0 -0
  352. data/spec/support/v6.0/test/mailers/.keep +0 -0
  353. data/spec/support/v6.0/test/models/.keep +0 -0
  354. data/spec/support/v6.0/test/test_helper.rb +13 -0
  355. data/spec/support/v6.0/tmp/.keep +0 -0
  356. data/spec/support/v6.0/vendor/.keep +0 -0
  357. data/spec/test_data/{5.2.3 → v4.2}/expected_no_routes.rbi +1 -1
  358. data/spec/test_data/v4.2/expected_potion.rbi +113 -0
  359. data/spec/test_data/{5.1.7 → v4.2}/expected_routes.rbi +0 -0
  360. data/spec/test_data/v4.2/expected_spell_book.rbi +146 -0
  361. data/spec/test_data/v4.2/expected_wand.rbi +278 -0
  362. data/spec/test_data/v4.2/expected_wizard.rbi +239 -0
  363. data/spec/test_data/v4.2/expected_wizard_wo_spellbook.rbi +239 -0
  364. data/spec/test_data/{5.1.7 → v5.0}/expected_no_routes.rbi +1 -1
  365. data/spec/test_data/{5.2.3 → v5.0}/expected_potion.rbi +58 -62
  366. data/spec/test_data/v5.0/expected_routes.rbi +13 -0
  367. data/spec/test_data/v5.0/expected_spell_book.rbi +155 -0
  368. data/spec/test_data/{5.1.7 → v5.0}/expected_wand.rbi +125 -72
  369. data/spec/test_data/v5.0/expected_wizard.rbi +248 -0
  370. data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +248 -0
  371. data/spec/test_data/v5.1/expected_no_routes.rbi +11 -0
  372. data/spec/test_data/{5.1.7 → v5.1}/expected_potion.rbi +62 -60
  373. data/spec/test_data/v5.1/expected_routes.rbi +13 -0
  374. data/spec/test_data/v5.1/expected_spell_book.rbi +161 -0
  375. data/spec/test_data/v5.1/expected_wand.rbi +293 -0
  376. data/spec/test_data/v5.1/expected_wizard.rbi +254 -0
  377. data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +254 -0
  378. data/spec/test_data/v5.2/expected_no_routes.rbi +11 -0
  379. data/spec/test_data/v5.2/expected_potion.rbi +128 -0
  380. data/spec/test_data/{5.2.3 → v5.2}/expected_routes.rbi +0 -0
  381. data/spec/test_data/v5.2/expected_spell_book.rbi +161 -0
  382. data/spec/test_data/{5.2.3 → v5.2}/expected_wand.rbi +135 -70
  383. data/spec/test_data/v5.2/expected_wizard.rbi +254 -0
  384. data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +254 -0
  385. data/spec/test_data/v6.0/expected_no_routes.rbi +11 -0
  386. data/spec/test_data/v6.0/expected_potion.rbi +140 -0
  387. data/spec/test_data/v6.0/expected_routes.rbi +91 -0
  388. data/spec/test_data/v6.0/expected_spell_book.rbi +173 -0
  389. data/spec/test_data/v6.0/expected_wand.rbi +335 -0
  390. data/spec/test_data/v6.0/expected_wizard.rbi +278 -0
  391. data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +278 -0
  392. metadata +752 -281
  393. data/spec/support/5.1.7/app/controllers +0 -1
  394. data/spec/support/5.1.7/app/models +0 -1
  395. data/spec/support/5.1.7/config/routes.rb +0 -1
  396. data/spec/support/5.1.7/db/migrate +0 -1
  397. data/spec/support/5.2.3/app/controllers +0 -1
  398. data/spec/support/5.2.3/app/models +0 -1
  399. data/spec/support/5.2.3/config/routes.rb +0 -1
  400. data/spec/support/5.2.3/db/migrate +0 -1
  401. data/spec/test_data/5.1.7/expected_wizard.rbi +0 -207
  402. data/spec/test_data/5.1.7/expected_wizard_wo_spellbook.rbi +0 -207
  403. data/spec/test_data/5.2.3/expected_wizard.rbi +0 -207
  404. data/spec/test_data/5.2.3/expected_wizard_wo_spellbook.rbi +0 -207
@@ -0,0 +1,12 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/marcel/all/marcel.rbi
9
+ #
10
+ # marcel-0.3.3
11
+ module Marcel
12
+ end
@@ -0,0 +1,63 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/method_source/all/method_source.rbi
9
+ #
10
+ # method_source-0.9.2
11
+ module MethodSource
12
+ def self.comment_helper(source_location, name = nil); end
13
+ def self.extract_code(source_location); end
14
+ def self.lines_for(file_name, name = nil); end
15
+ def self.source_helper(source_location, name = nil); end
16
+ def self.valid_expression?(str); end
17
+ extend MethodSource::CodeHelpers
18
+ end
19
+ module MethodSource::ReeSourceLocation
20
+ def source_location; end
21
+ end
22
+ module MethodSource::SourceLocation
23
+ end
24
+ module MethodSource::SourceLocation::MethodExtensions
25
+ def source_location; end
26
+ def trace_func(event, file, line, id, binding, classname); end
27
+ end
28
+ module MethodSource::SourceLocation::ProcExtensions
29
+ def source_location; end
30
+ end
31
+ module MethodSource::SourceLocation::UnboundMethodExtensions
32
+ def source_location; end
33
+ end
34
+ module MethodSource::CodeHelpers
35
+ def comment_describing(file, line_number); end
36
+ def complete_expression?(str); end
37
+ def expression_at(file, line_number, options = nil); end
38
+ def extract_first_expression(lines, consume = nil, &block); end
39
+ def extract_last_comment(lines); end
40
+ end
41
+ module MethodSource::CodeHelpers::IncompleteExpression
42
+ def self.===(ex); end
43
+ def self.rbx?; end
44
+ end
45
+ class MethodSource::SourceNotFoundError < StandardError
46
+ end
47
+ module MethodSource::MethodExtensions
48
+ def comment; end
49
+ def self.included(klass); end
50
+ def source; end
51
+ end
52
+ class Method
53
+ include MethodSource::MethodExtensions
54
+ include MethodSource::SourceLocation::MethodExtensions
55
+ end
56
+ class UnboundMethod
57
+ include MethodSource::MethodExtensions
58
+ include MethodSource::SourceLocation::UnboundMethodExtensions
59
+ end
60
+ class Proc
61
+ include MethodSource::MethodExtensions
62
+ include MethodSource::SourceLocation::ProcExtensions
63
+ end
@@ -0,0 +1,45 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/mini_mime/all/mini_mime.rbi
9
+ #
10
+ # mini_mime-1.0.1
11
+ module MiniMime
12
+ def self.lookup_by_content_type(mime); end
13
+ def self.lookup_by_extension(extension); end
14
+ def self.lookup_by_filename(filename); end
15
+ end
16
+ class MiniMime::Info
17
+ def [](idx); end
18
+ def binary?; end
19
+ def content_type; end
20
+ def content_type=(arg0); end
21
+ def encoding; end
22
+ def encoding=(arg0); end
23
+ def extension; end
24
+ def extension=(arg0); end
25
+ def initialize(buffer); end
26
+ end
27
+ class MiniMime::Db
28
+ def initialize; end
29
+ def lookup_by_content_type(content_type); end
30
+ def lookup_by_extension(extension); end
31
+ def self.lookup_by_content_type(content_type); end
32
+ def self.lookup_by_extension(extension); end
33
+ def self.lookup_by_filename(filename); end
34
+ end
35
+ class MiniMime::Db::Cache
36
+ def []=(key, val); end
37
+ def fetch(key, &blk); end
38
+ def initialize(size); end
39
+ end
40
+ class MiniMime::Db::RandomAccessDb
41
+ def initialize(name, sort_order); end
42
+ def lookup(val); end
43
+ def lookup_uncached(val); end
44
+ def resolve(row); end
45
+ end
@@ -0,0 +1,276 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/minitest/all/minitest.rbi
9
+ #
10
+ # minitest-5.11.3
11
+ module Minitest
12
+ def self.__run(reporter, options); end
13
+ def self.after_run(&block); end
14
+ def self.autorun; end
15
+ def self.backtrace_filter; end
16
+ def self.backtrace_filter=(arg0); end
17
+ def self.clock_time; end
18
+ def self.extensions; end
19
+ def self.extensions=(arg0); end
20
+ def self.filter_backtrace(bt); end
21
+ def self.info_signal; end
22
+ def self.info_signal=(arg0); end
23
+ def self.init_plugins(options); end
24
+ def self.load_plugins; end
25
+ def self.parallel_executor; end
26
+ def self.parallel_executor=(arg0); end
27
+ def self.process_args(args = nil); end
28
+ def self.reporter; end
29
+ def self.reporter=(arg0); end
30
+ def self.run(args = nil); end
31
+ def self.run_one_method(klass, method_name); end
32
+ end
33
+ module Minitest::Parallel
34
+ end
35
+ class Minitest::Parallel::Executor
36
+ def <<(work); end
37
+ def initialize(size); end
38
+ def shutdown; end
39
+ def size; end
40
+ def start; end
41
+ end
42
+ module Minitest::Parallel::Test
43
+ def _synchronize; end
44
+ end
45
+ module Minitest::Parallel::Test::ClassMethods
46
+ def run_one_method(klass, method_name, reporter); end
47
+ def test_order; end
48
+ end
49
+ module Minitest::Assertions
50
+ def _synchronize; end
51
+ def assert(test, msg = nil); end
52
+ def assert_empty(obj, msg = nil); end
53
+ def assert_equal(exp, act, msg = nil); end
54
+ def assert_in_delta(exp, act, delta = nil, msg = nil); end
55
+ def assert_in_epsilon(exp, act, epsilon = nil, msg = nil); end
56
+ def assert_includes(collection, obj, msg = nil); end
57
+ def assert_instance_of(cls, obj, msg = nil); end
58
+ def assert_kind_of(cls, obj, msg = nil); end
59
+ def assert_match(matcher, obj, msg = nil); end
60
+ def assert_nil(obj, msg = nil); end
61
+ def assert_operator(o1, op, o2 = nil, msg = nil); end
62
+ def assert_output(stdout = nil, stderr = nil); end
63
+ def assert_predicate(o1, op, msg = nil); end
64
+ def assert_raises(*exp); end
65
+ def assert_respond_to(obj, meth, msg = nil); end
66
+ def assert_same(exp, act, msg = nil); end
67
+ def assert_send(send_ary, m = nil); end
68
+ def assert_silent; end
69
+ def assert_throws(sym, msg = nil); end
70
+ def capture_io; end
71
+ def capture_subprocess_io; end
72
+ def diff(exp, act); end
73
+ def exception_details(e, msg); end
74
+ def flunk(msg = nil); end
75
+ def message(msg = nil, ending = nil, &default); end
76
+ def mu_pp(obj); end
77
+ def mu_pp_for_diff(obj); end
78
+ def pass(_msg = nil); end
79
+ def refute(test, msg = nil); end
80
+ def refute_empty(obj, msg = nil); end
81
+ def refute_equal(exp, act, msg = nil); end
82
+ def refute_in_delta(exp, act, delta = nil, msg = nil); end
83
+ def refute_in_epsilon(a, b, epsilon = nil, msg = nil); end
84
+ def refute_includes(collection, obj, msg = nil); end
85
+ def refute_instance_of(cls, obj, msg = nil); end
86
+ def refute_kind_of(cls, obj, msg = nil); end
87
+ def refute_match(matcher, obj, msg = nil); end
88
+ def refute_nil(obj, msg = nil); end
89
+ def refute_operator(o1, op, o2 = nil, msg = nil); end
90
+ def refute_predicate(o1, op, msg = nil); end
91
+ def refute_respond_to(obj, meth, msg = nil); end
92
+ def refute_same(exp, act, msg = nil); end
93
+ def self.diff; end
94
+ def self.diff=(o); end
95
+ def skip(msg = nil, bt = nil); end
96
+ def skipped?; end
97
+ end
98
+ class Minitest::Unit
99
+ def self.after_tests(&b); end
100
+ def self.autorun; end
101
+ end
102
+ class Minitest::Unit::TestCase < Minitest::Test
103
+ def self.inherited(klass); end
104
+ end
105
+ class Minitest::Test < Minitest::Runnable
106
+ def capture_exceptions; end
107
+ def class_name; end
108
+ def run; end
109
+ def self.i_suck_and_my_tests_are_order_dependent!; end
110
+ def self.io_lock; end
111
+ def self.io_lock=(arg0); end
112
+ def self.make_my_diffs_pretty!; end
113
+ def self.parallelize_me!; end
114
+ def self.runnable_methods; end
115
+ def self.test_order; end
116
+ def with_info_handler(&block); end
117
+ extend Minitest::Guard
118
+ include Minitest::Assertions
119
+ include Minitest::Guard
120
+ include Minitest::Reportable
121
+ include Minitest::Test::LifecycleHooks
122
+ end
123
+ module Minitest::Test::LifecycleHooks
124
+ def after_setup; end
125
+ def after_teardown; end
126
+ def before_setup; end
127
+ def before_teardown; end
128
+ def setup; end
129
+ def teardown; end
130
+ end
131
+ class Minitest::Runnable
132
+ def assertions; end
133
+ def assertions=(arg0); end
134
+ def failure; end
135
+ def failures; end
136
+ def failures=(arg0); end
137
+ def initialize(name); end
138
+ def marshal_dump; end
139
+ def marshal_load(ary); end
140
+ def name; end
141
+ def name=(o); end
142
+ def passed?; end
143
+ def result_code; end
144
+ def run; end
145
+ def self.inherited(klass); end
146
+ def self.methods_matching(re); end
147
+ def self.on_signal(name, action); end
148
+ def self.reset; end
149
+ def self.run(reporter, options = nil); end
150
+ def self.run_one_method(klass, method_name, reporter); end
151
+ def self.runnable_methods; end
152
+ def self.runnables; end
153
+ def self.with_info_handler(reporter, &block); end
154
+ def skipped?; end
155
+ def time; end
156
+ def time=(arg0); end
157
+ def time_it; end
158
+ end
159
+ module Minitest::Reportable
160
+ def class_name; end
161
+ def error?; end
162
+ def location; end
163
+ def passed?; end
164
+ def result_code; end
165
+ def skipped?; end
166
+ end
167
+ class Minitest::Result < Minitest::Runnable
168
+ def class_name; end
169
+ def klass; end
170
+ def klass=(arg0); end
171
+ def self.from(runnable); end
172
+ def source_location; end
173
+ def source_location=(arg0); end
174
+ def to_s; end
175
+ include Minitest::Reportable
176
+ end
177
+ class Minitest::AbstractReporter
178
+ def lock; end
179
+ def locked?; end
180
+ def passed?; end
181
+ def prerecord(klass, name); end
182
+ def record(result); end
183
+ def report; end
184
+ def start; end
185
+ def synchronize(&block); end
186
+ def try_lock; end
187
+ def unlock; end
188
+ include Mutex_m
189
+ end
190
+ class Minitest::Reporter < Minitest::AbstractReporter
191
+ def initialize(io = nil, options = nil); end
192
+ def io; end
193
+ def io=(arg0); end
194
+ def options; end
195
+ def options=(arg0); end
196
+ end
197
+ class Minitest::ProgressReporter < Minitest::Reporter
198
+ def prerecord(klass, name); end
199
+ def record(result); end
200
+ end
201
+ class Minitest::StatisticsReporter < Minitest::Reporter
202
+ def assertions; end
203
+ def assertions=(arg0); end
204
+ def count; end
205
+ def count=(arg0); end
206
+ def errors; end
207
+ def errors=(arg0); end
208
+ def failures; end
209
+ def failures=(arg0); end
210
+ def initialize(io = nil, options = nil); end
211
+ def passed?; end
212
+ def record(result); end
213
+ def report; end
214
+ def results; end
215
+ def results=(arg0); end
216
+ def skips; end
217
+ def skips=(arg0); end
218
+ def start; end
219
+ def start_time; end
220
+ def start_time=(arg0); end
221
+ def total_time; end
222
+ def total_time=(arg0); end
223
+ end
224
+ class Minitest::SummaryReporter < Minitest::StatisticsReporter
225
+ def aggregated_results(io); end
226
+ def binary_string; end
227
+ def old_sync; end
228
+ def old_sync=(arg0); end
229
+ def report; end
230
+ def start; end
231
+ def statistics; end
232
+ def summary; end
233
+ def sync; end
234
+ def sync=(arg0); end
235
+ def to_s; end
236
+ end
237
+ class Minitest::CompositeReporter < Minitest::AbstractReporter
238
+ def <<(reporter); end
239
+ def initialize(*reporters); end
240
+ def io; end
241
+ def passed?; end
242
+ def prerecord(klass, name); end
243
+ def record(result); end
244
+ def report; end
245
+ def reporters; end
246
+ def reporters=(arg0); end
247
+ def start; end
248
+ end
249
+ class Minitest::Assertion < Exception
250
+ def error; end
251
+ def location; end
252
+ def result_code; end
253
+ def result_label; end
254
+ end
255
+ class Minitest::Skip < Minitest::Assertion
256
+ def result_label; end
257
+ end
258
+ class Minitest::UnexpectedError < Minitest::Assertion
259
+ def backtrace; end
260
+ def error; end
261
+ def exception; end
262
+ def exception=(arg0); end
263
+ def initialize(exception); end
264
+ def message; end
265
+ def result_label; end
266
+ end
267
+ module Minitest::Guard
268
+ def jruby?(platform = nil); end
269
+ def maglev?(platform = nil); end
270
+ def mri?(platform = nil); end
271
+ def rubinius?(platform = nil); end
272
+ def windows?(platform = nil); end
273
+ end
274
+ class Minitest::BacktraceFilter
275
+ def filter(bt); end
276
+ end
@@ -0,0 +1,1006 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/nokogiri/all/nokogiri.rbi
9
+ #
10
+ # nokogiri-1.10.3
11
+ class Nokogiri::XML::Document < Nokogiri::XML::Node
12
+ def <<(node_or_tags); end
13
+ def add_child(node_or_tags); end
14
+ def canonicalize(*arg0); end
15
+ def clone(*arg0); end
16
+ def collect_namespaces; end
17
+ def create_cdata(string, &block); end
18
+ def create_comment(string, &block); end
19
+ def create_element(name, *args, &block); end
20
+ def create_entity(*arg0); end
21
+ def create_text_node(string, &block); end
22
+ def decorate(node); end
23
+ def decorators(key); end
24
+ def document; end
25
+ def dup(*arg0); end
26
+ def encoding; end
27
+ def encoding=(arg0); end
28
+ def errors; end
29
+ def errors=(arg0); end
30
+ def fragment(tags = nil); end
31
+ def initialize(*args); end
32
+ def inspect_attributes; end
33
+ def name; end
34
+ def namespaces; end
35
+ def remove_namespaces!; end
36
+ def root; end
37
+ def root=(arg0); end
38
+ def self.empty_doc?(string_or_io); end
39
+ def self.new(*arg0); end
40
+ def self.parse(string_or_io, url = nil, encoding = nil, options = nil); end
41
+ def self.read_io(arg0, arg1, arg2, arg3); end
42
+ def self.read_memory(arg0, arg1, arg2, arg3); end
43
+ def self.wrap(document); end
44
+ def slop!; end
45
+ def to_java; end
46
+ def to_xml(*args, &block); end
47
+ def url; end
48
+ def validate; end
49
+ def version; end
50
+ end
51
+ class Nokogiri::HTML::Document < Nokogiri::XML::Document
52
+ def fragment(tags = nil); end
53
+ def meta_content_type; end
54
+ def meta_encoding; end
55
+ def meta_encoding=(encoding); end
56
+ def self.new(*arg0); end
57
+ def self.parse(string_or_io, url = nil, encoding = nil, options = nil); end
58
+ def self.read_io(arg0, arg1, arg2, arg3); end
59
+ def self.read_memory(arg0, arg1, arg2, arg3); end
60
+ def serialize(options = nil); end
61
+ def set_metadata_element(element); end
62
+ def title; end
63
+ def title=(text); end
64
+ def type; end
65
+ end
66
+ class Nokogiri::XML::Node
67
+ def <<(node_or_tags); end
68
+ def <=>(other); end
69
+ def ==(other); end
70
+ def >(selector); end
71
+ def [](name); end
72
+ def []=(name, value); end
73
+ def accept(visitor); end
74
+ def add_child(node_or_tags); end
75
+ def add_child_node(arg0); end
76
+ def add_child_node_and_reparent_attrs(node); end
77
+ def add_class(name); end
78
+ def add_namespace(arg0, arg1); end
79
+ def add_namespace_definition(arg0, arg1); end
80
+ def add_next_sibling(node_or_tags); end
81
+ def add_next_sibling_node(arg0); end
82
+ def add_previous_sibling(node_or_tags); end
83
+ def add_previous_sibling_node(arg0); end
84
+ def add_sibling(next_or_previous, node_or_tags); end
85
+ def after(node_or_tags); end
86
+ def ancestors(selector = nil); end
87
+ def append_class(name); end
88
+ def attr(name); end
89
+ def attribute(arg0); end
90
+ def attribute_nodes; end
91
+ def attribute_with_ns(arg0, arg1); end
92
+ def attributes; end
93
+ def before(node_or_tags); end
94
+ def blank?; end
95
+ def canonicalize(mode = nil, inclusive_namespaces = nil, with_comments = nil); end
96
+ def cdata?; end
97
+ def child; end
98
+ def children; end
99
+ def children=(node_or_tags); end
100
+ def classes; end
101
+ def clone(*arg0); end
102
+ def coerce(data); end
103
+ def comment?; end
104
+ def compare(arg0); end
105
+ def content; end
106
+ def content=(string); end
107
+ def create_external_subset(arg0, arg1, arg2); end
108
+ def create_internal_subset(arg0, arg1, arg2); end
109
+ def css_path; end
110
+ def decorate!; end
111
+ def default_namespace=(url); end
112
+ def delete(name); end
113
+ def description; end
114
+ def do_xinclude(options = nil); end
115
+ def document; end
116
+ def document?; end
117
+ def dump_html; end
118
+ def dup(*arg0); end
119
+ def each; end
120
+ def elem?; end
121
+ def element?; end
122
+ def element_children; end
123
+ def elements; end
124
+ def encode_special_chars(arg0); end
125
+ def external_subset; end
126
+ def first_element_child; end
127
+ def fragment(tags); end
128
+ def fragment?; end
129
+ def get(arg0); end
130
+ def get_attribute(name); end
131
+ def has_attribute?(arg0); end
132
+ def html?; end
133
+ def in_context(arg0, arg1); end
134
+ def initialize(name, document); end
135
+ def inner_html(*args); end
136
+ def inner_html=(node_or_tags); end
137
+ def inner_text; end
138
+ def inspect_attributes; end
139
+ def internal_subset; end
140
+ def key?(arg0); end
141
+ def keys; end
142
+ def lang; end
143
+ def lang=(arg0); end
144
+ def last_element_child; end
145
+ def line; end
146
+ def matches?(selector); end
147
+ def name; end
148
+ def name=(arg0); end
149
+ def namespace; end
150
+ def namespace=(ns); end
151
+ def namespace_definitions; end
152
+ def namespace_scopes; end
153
+ def namespaced_key?(arg0, arg1); end
154
+ def namespaces; end
155
+ def native_content=(arg0); end
156
+ def native_write_to(arg0, arg1, arg2, arg3); end
157
+ def next; end
158
+ def next=(node_or_tags); end
159
+ def next_element; end
160
+ def next_sibling; end
161
+ def node_name; end
162
+ def node_name=(arg0); end
163
+ def node_type; end
164
+ def parent; end
165
+ def parent=(parent_node); end
166
+ def parse(string_or_io, options = nil); end
167
+ def path; end
168
+ def pointer_id; end
169
+ def prepend_child(node_or_tags); end
170
+ def previous; end
171
+ def previous=(node_or_tags); end
172
+ def previous_element; end
173
+ def previous_sibling; end
174
+ def process_xincludes(arg0); end
175
+ def processing_instruction?; end
176
+ def read_only?; end
177
+ def remove; end
178
+ def remove_attribute(name); end
179
+ def remove_class(name = nil); end
180
+ def replace(node_or_tags); end
181
+ def replace_node(arg0); end
182
+ def self.new(*arg0); end
183
+ def serialize(*args, &block); end
184
+ def set(arg0, arg1); end
185
+ def set_attribute(name, value); end
186
+ def set_namespace(arg0); end
187
+ def swap(node_or_tags); end
188
+ def text; end
189
+ def text?; end
190
+ def to_format(save_option, options); end
191
+ def to_html(options = nil); end
192
+ def to_s; end
193
+ def to_str; end
194
+ def to_xhtml(options = nil); end
195
+ def to_xml(options = nil); end
196
+ def traverse(&block); end
197
+ def type; end
198
+ def unlink; end
199
+ def values; end
200
+ def wrap(html); end
201
+ def write_format_to(save_option, io, options); end
202
+ def write_html_to(io, options = nil); end
203
+ def write_to(io, *options); end
204
+ def write_xhtml_to(io, options = nil); end
205
+ def write_xml_to(io, options = nil); end
206
+ def xml?; end
207
+ include Enumerable
208
+ include Nokogiri::XML::PP::Node
209
+ include Nokogiri::XML::Searchable
210
+ end
211
+ class Nokogiri::XML::DocumentFragment < Nokogiri::XML::Node
212
+ def coerce(data); end
213
+ def css(*args); end
214
+ def dup; end
215
+ def errors; end
216
+ def errors=(things); end
217
+ def initialize(document, tags = nil, ctx = nil); end
218
+ def name; end
219
+ def namespace_declarations(ctx); end
220
+ def search(*rules); end
221
+ def self.new(*arg0); end
222
+ def self.parse(tags); end
223
+ def serialize; end
224
+ def to_html(*args); end
225
+ def to_s; end
226
+ def to_xhtml(*args); end
227
+ def to_xml(*args); end
228
+ end
229
+ class Nokogiri::XML::Text < Nokogiri::XML::CharacterData
230
+ def content=(string); end
231
+ def self.new(*arg0); end
232
+ end
233
+ class Nokogiri::XML::CDATA < Nokogiri::XML::Text
234
+ def name; end
235
+ def self.new(*arg0); end
236
+ end
237
+ class Nokogiri::XML::ProcessingInstruction < Nokogiri::XML::Node
238
+ def initialize(document, name, content); end
239
+ def self.new(*arg0); end
240
+ end
241
+ class Nokogiri::XML::Attr < Nokogiri::XML::Node
242
+ def content=(arg0); end
243
+ def inspect_attributes; end
244
+ def self.new(*arg0); end
245
+ def to_s; end
246
+ def value; end
247
+ def value=(arg0); end
248
+ end
249
+ class Nokogiri::XML::EntityReference < Nokogiri::XML::Node
250
+ def children; end
251
+ def inspect_attributes; end
252
+ def self.new(*arg0); end
253
+ end
254
+ class Nokogiri::XML::Comment < Nokogiri::XML::CharacterData
255
+ def self.new(*arg0); end
256
+ end
257
+ class Nokogiri::XML::NodeSet
258
+ def %(*args); end
259
+ def &(arg0); end
260
+ def +(arg0); end
261
+ def -(arg0); end
262
+ def <<(arg0); end
263
+ def ==(other); end
264
+ def >(selector); end
265
+ def [](*arg0); end
266
+ def add_class(name); end
267
+ def after(datum); end
268
+ def append_class(name); end
269
+ def at(*args); end
270
+ def attr(key, value = nil, &block); end
271
+ def attribute(key, value = nil, &block); end
272
+ def before(datum); end
273
+ def children; end
274
+ def clone; end
275
+ def css(*args); end
276
+ def delete(arg0); end
277
+ def document; end
278
+ def document=(arg0); end
279
+ def dup; end
280
+ def each; end
281
+ def empty?; end
282
+ def filter(expr); end
283
+ def first(n = nil); end
284
+ def include?(arg0); end
285
+ def index(node = nil); end
286
+ def initialize(document, list = nil); end
287
+ def inner_html(*args); end
288
+ def inner_text; end
289
+ def inspect; end
290
+ def last; end
291
+ def length; end
292
+ def pop; end
293
+ def push(arg0); end
294
+ def remove; end
295
+ def remove_attr(name); end
296
+ def remove_attribute(name); end
297
+ def remove_class(name = nil); end
298
+ def reverse; end
299
+ def set(key, value = nil, &block); end
300
+ def shift; end
301
+ def size; end
302
+ def slice(*arg0); end
303
+ def text; end
304
+ def to_a; end
305
+ def to_ary; end
306
+ def to_html(*args); end
307
+ def to_s; end
308
+ def to_xhtml(*args); end
309
+ def to_xml(*args); end
310
+ def unlink; end
311
+ def wrap(html); end
312
+ def xpath(*args); end
313
+ def |(arg0); end
314
+ include Enumerable
315
+ include Nokogiri::XML::Searchable
316
+ end
317
+ class Nokogiri::XML::XPathContext
318
+ def evaluate(*arg0); end
319
+ def register_namespaces(namespaces); end
320
+ def register_ns(arg0, arg1); end
321
+ def register_variable(arg0, arg1); end
322
+ def self.new(arg0); end
323
+ end
324
+ class Nokogiri::XML::SAX::ParserContext
325
+ def column; end
326
+ def line; end
327
+ def parse_with(arg0); end
328
+ def recovery; end
329
+ def recovery=(arg0); end
330
+ def replace_entities; end
331
+ def replace_entities=(arg0); end
332
+ def self.file(arg0); end
333
+ def self.io(arg0, arg1); end
334
+ def self.memory(arg0); end
335
+ def self.new(thing, encoding = nil); end
336
+ end
337
+ class Nokogiri::XML::SAX::PushParser
338
+ def <<(chunk, last_chunk = nil); end
339
+ def document; end
340
+ def document=(arg0); end
341
+ def finish; end
342
+ def initialize(doc = nil, file_name = nil, encoding = nil); end
343
+ def initialize_native(arg0, arg1); end
344
+ def native_write(arg0, arg1); end
345
+ def options; end
346
+ def options=(arg0); end
347
+ def replace_entities; end
348
+ def replace_entities=(arg0); end
349
+ def write(chunk, last_chunk = nil); end
350
+ end
351
+ class Nokogiri::XML::Reader
352
+ def attr_nodes; end
353
+ def attribute(arg0); end
354
+ def attribute_at(arg0); end
355
+ def attribute_count; end
356
+ def attribute_nodes; end
357
+ def attributes; end
358
+ def attributes?; end
359
+ def base_uri; end
360
+ def default?; end
361
+ def depth; end
362
+ def each; end
363
+ def empty_element?; end
364
+ def encoding; end
365
+ def errors; end
366
+ def errors=(arg0); end
367
+ def initialize(source, url = nil, encoding = nil); end
368
+ def inner_xml; end
369
+ def lang; end
370
+ def local_name; end
371
+ def name; end
372
+ def namespace_uri; end
373
+ def namespaces; end
374
+ def node_type; end
375
+ def outer_xml; end
376
+ def prefix; end
377
+ def read; end
378
+ def self.from_io(*arg0); end
379
+ def self.from_memory(*arg0); end
380
+ def self_closing?; end
381
+ def source; end
382
+ def state; end
383
+ def value; end
384
+ def value?; end
385
+ def xml_version; end
386
+ include Enumerable
387
+ end
388
+ class Nokogiri::XML::DTD < Nokogiri::XML::Node
389
+ def attributes; end
390
+ def each; end
391
+ def elements; end
392
+ def entities; end
393
+ def external_id; end
394
+ def html5_dtd?; end
395
+ def html_dtd?; end
396
+ def keys; end
397
+ def notations; end
398
+ def system_id; end
399
+ def validate(arg0); end
400
+ end
401
+ class Nokogiri::XML::ElementContent
402
+ def c1; end
403
+ def c2; end
404
+ def children; end
405
+ def document; end
406
+ def name; end
407
+ def occur; end
408
+ def prefix; end
409
+ def type; end
410
+ end
411
+ class Nokogiri::XML::AttributeDecl < Nokogiri::XML::Node
412
+ def attribute_type; end
413
+ def default; end
414
+ def enumeration; end
415
+ def inspect; end
416
+ end
417
+ class Nokogiri::XML::ElementDecl < Nokogiri::XML::Node
418
+ def content; end
419
+ def element_type; end
420
+ def inspect; end
421
+ def prefix; end
422
+ end
423
+ class Nokogiri::XML::EntityDecl < Nokogiri::XML::Node
424
+ def content; end
425
+ def entity_type; end
426
+ def external_id; end
427
+ def inspect; end
428
+ def original_content; end
429
+ def self.new(name, doc, *args); end
430
+ def system_id; end
431
+ end
432
+ class Nokogiri::XML::Namespace
433
+ def document; end
434
+ def href; end
435
+ def inspect_attributes; end
436
+ def prefix; end
437
+ include Nokogiri::XML::PP::Node
438
+ end
439
+ class Nokogiri::HTML::SAX::ParserContext < Nokogiri::XML::SAX::ParserContext
440
+ def parse_with(arg0); end
441
+ def self.file(arg0, arg1); end
442
+ def self.memory(arg0, arg1); end
443
+ def self.new(thing, encoding = nil); end
444
+ end
445
+ class Nokogiri::HTML::SAX::PushParser < Nokogiri::XML::SAX::PushParser
446
+ def <<(chunk, last_chunk = nil); end
447
+ def document; end
448
+ def document=(arg0); end
449
+ def finish; end
450
+ def initialize(doc = nil, file_name = nil, encoding = nil); end
451
+ def initialize_native(arg0, arg1, arg2); end
452
+ def native_write(arg0, arg1); end
453
+ def write(chunk, last_chunk = nil); end
454
+ end
455
+ class Nokogiri::XSLT::Stylesheet
456
+ def apply_to(document, params = nil); end
457
+ def self.parse_stylesheet_doc(arg0); end
458
+ def serialize(arg0); end
459
+ def transform(*arg0); end
460
+ end
461
+ module Nokogiri::XSLT
462
+ def self.parse(string, modules = nil); end
463
+ def self.quote_params(params); end
464
+ def self.register(arg0, arg1); end
465
+ end
466
+ class Nokogiri::HTML::EntityLookup
467
+ def [](name); end
468
+ def get(arg0); end
469
+ end
470
+ class Nokogiri::HTML::ElementDescription
471
+ def block?; end
472
+ def default_desc; end
473
+ def default_sub_element; end
474
+ def deprecated?; end
475
+ def deprecated_attributes; end
476
+ def description; end
477
+ def empty?; end
478
+ def implied_end_tag?; end
479
+ def implied_start_tag?; end
480
+ def inline?; end
481
+ def inspect; end
482
+ def name; end
483
+ def optional_attributes; end
484
+ def required_attributes; end
485
+ def save_end_tag?; end
486
+ def self.[](arg0); end
487
+ def sub_elements; end
488
+ def to_s; end
489
+ end
490
+ class Nokogiri::XML::Schema
491
+ def errors; end
492
+ def errors=(arg0); end
493
+ def self.from_document(arg0); end
494
+ def self.new(string_or_io); end
495
+ def self.read_memory(arg0); end
496
+ def valid?(thing); end
497
+ def validate(thing); end
498
+ def validate_document(arg0); end
499
+ def validate_file(arg0); end
500
+ end
501
+ class Nokogiri::XML::RelaxNG < Nokogiri::XML::Schema
502
+ def self.from_document(arg0); end
503
+ def self.read_memory(arg0); end
504
+ def validate_document(arg0); end
505
+ end
506
+ class Nokogiri::EncodingHandler
507
+ def name; end
508
+ def self.[](arg0); end
509
+ def self.alias(arg0, arg1); end
510
+ def self.clear_aliases!; end
511
+ def self.delete(arg0); end
512
+ end
513
+ module Nokogiri
514
+ def self.HTML(thing, url = nil, encoding = nil, options = nil, &block); end
515
+ def self.Slop(*args, &block); end
516
+ def self.XML(thing, url = nil, encoding = nil, options = nil, &block); end
517
+ def self.XSLT(stylesheet, modules = nil); end
518
+ def self.install_default_aliases; end
519
+ def self.jruby?; end
520
+ def self.make(input = nil, opts = nil, &blk); end
521
+ def self.parse(string, url = nil, encoding = nil, options = nil); end
522
+ def self.uses_libxml?; end
523
+ end
524
+ class Nokogiri::VersionInfo
525
+ def compiled_parser_version; end
526
+ def engine; end
527
+ def jruby?; end
528
+ def libxml2?; end
529
+ def libxml2_using_packaged?; end
530
+ def libxml2_using_system?; end
531
+ def loaded_parser_version; end
532
+ def self.instance; end
533
+ def to_hash; end
534
+ def to_markdown; end
535
+ def warnings; end
536
+ end
537
+ class Nokogiri::SyntaxError < StandardError
538
+ end
539
+ module Nokogiri::XML
540
+ def self.Reader(string_or_io, url = nil, encoding = nil, options = nil); end
541
+ def self.RelaxNG(string_or_io); end
542
+ def self.Schema(string_or_io); end
543
+ def self.fragment(string); end
544
+ def self.parse(thing, url = nil, encoding = nil, options = nil, &block); end
545
+ end
546
+ module Nokogiri::XML::PP
547
+ end
548
+ module Nokogiri::XML::PP::Node
549
+ def inspect; end
550
+ def pretty_print(pp); end
551
+ end
552
+ module Nokogiri::XML::PP::CharacterData
553
+ def inspect; end
554
+ def pretty_print(pp); end
555
+ end
556
+ class Nokogiri::XML::ParseOptions
557
+ def compact; end
558
+ def compact?; end
559
+ def default_html; end
560
+ def default_html?; end
561
+ def default_xml; end
562
+ def default_xml?; end
563
+ def dtdattr; end
564
+ def dtdattr?; end
565
+ def dtdload; end
566
+ def dtdload?; end
567
+ def dtdvalid; end
568
+ def dtdvalid?; end
569
+ def huge; end
570
+ def huge?; end
571
+ def initialize(options = nil); end
572
+ def inspect; end
573
+ def nobasefix; end
574
+ def nobasefix?; end
575
+ def noblanks; end
576
+ def noblanks?; end
577
+ def nocdata; end
578
+ def nocdata?; end
579
+ def nocompact; end
580
+ def nodefault_html; end
581
+ def nodefault_xml; end
582
+ def nodict; end
583
+ def nodict?; end
584
+ def nodtdattr; end
585
+ def nodtdload; end
586
+ def nodtdvalid; end
587
+ def noent; end
588
+ def noent?; end
589
+ def noerror; end
590
+ def noerror?; end
591
+ def nohuge; end
592
+ def nonet; end
593
+ def nonet?; end
594
+ def nonobasefix; end
595
+ def nonoblanks; end
596
+ def nonocdata; end
597
+ def nonodict; end
598
+ def nonoent; end
599
+ def nonoerror; end
600
+ def nononet; end
601
+ def nonowarning; end
602
+ def nonoxincnode; end
603
+ def nonsclean; end
604
+ def noold10; end
605
+ def nopedantic; end
606
+ def norecover; end
607
+ def nosax1; end
608
+ def nowarning; end
609
+ def nowarning?; end
610
+ def noxinclude; end
611
+ def noxincnode; end
612
+ def noxincnode?; end
613
+ def nsclean; end
614
+ def nsclean?; end
615
+ def old10; end
616
+ def old10?; end
617
+ def options; end
618
+ def options=(arg0); end
619
+ def pedantic; end
620
+ def pedantic?; end
621
+ def recover; end
622
+ def recover?; end
623
+ def sax1; end
624
+ def sax1?; end
625
+ def strict; end
626
+ def strict?; end
627
+ def to_i; end
628
+ def xinclude; end
629
+ def xinclude?; end
630
+ end
631
+ module Nokogiri::XML::SAX
632
+ end
633
+ class Nokogiri::XML::SAX::Document
634
+ def cdata_block(string); end
635
+ def characters(string); end
636
+ def comment(string); end
637
+ def end_document; end
638
+ def end_element(name); end
639
+ def end_element_namespace(name, prefix = nil, uri = nil); end
640
+ def error(string); end
641
+ def processing_instruction(name, content); end
642
+ def start_document; end
643
+ def start_element(name, attrs = nil); end
644
+ def start_element_namespace(name, attrs = nil, prefix = nil, uri = nil, ns = nil); end
645
+ def warning(string); end
646
+ def xmldecl(version, encoding, standalone); end
647
+ end
648
+ class Nokogiri::XML::SAX::Parser
649
+ def check_encoding(encoding); end
650
+ def document; end
651
+ def document=(arg0); end
652
+ def encoding; end
653
+ def encoding=(arg0); end
654
+ def initialize(doc = nil, encoding = nil); end
655
+ def parse(thing, &block); end
656
+ def parse_file(filename); end
657
+ def parse_io(io, encoding = nil); end
658
+ def parse_memory(data); end
659
+ end
660
+ class Anonymous_Struct_20 < Struct
661
+ def localname; end
662
+ def localname=(_); end
663
+ def prefix; end
664
+ def prefix=(_); end
665
+ def self.[](*arg0); end
666
+ def self.members; end
667
+ def self.new(*arg0); end
668
+ def uri; end
669
+ def uri=(_); end
670
+ def value; end
671
+ def value=(_); end
672
+ end
673
+ class Nokogiri::XML::SAX::Parser::Attribute < Anonymous_Struct_20
674
+ end
675
+ module Nokogiri::XML::Searchable
676
+ def %(*args); end
677
+ def /(*args); end
678
+ def at(*args); end
679
+ def at_css(*args); end
680
+ def at_xpath(*args); end
681
+ def css(*args); end
682
+ def css_internal(node, rules, handler, ns); end
683
+ def css_rules_to_xpath(rules, ns); end
684
+ def extract_params(params); end
685
+ def search(*args); end
686
+ def xpath(*args); end
687
+ def xpath_impl(node, path, handler, ns, binds); end
688
+ def xpath_internal(node, paths, handler, ns, binds); end
689
+ def xpath_query_from_css_rule(rule, ns); end
690
+ end
691
+ class Nokogiri::XML::Node::SaveOptions
692
+ def as_html; end
693
+ def as_html?; end
694
+ def as_xhtml; end
695
+ def as_xhtml?; end
696
+ def as_xml; end
697
+ def as_xml?; end
698
+ def default_html; end
699
+ def default_html?; end
700
+ def default_xhtml; end
701
+ def default_xhtml?; end
702
+ def default_xml; end
703
+ def default_xml?; end
704
+ def format; end
705
+ def format?; end
706
+ def initialize(options = nil); end
707
+ def no_declaration; end
708
+ def no_declaration?; end
709
+ def no_empty_tags; end
710
+ def no_empty_tags?; end
711
+ def no_xhtml; end
712
+ def no_xhtml?; end
713
+ def options; end
714
+ def to_i; end
715
+ end
716
+ class Nokogiri::XML::CharacterData < Nokogiri::XML::Node
717
+ include Nokogiri::XML::PP::CharacterData
718
+ end
719
+ class Nokogiri::XML::SyntaxError < Nokogiri::SyntaxError
720
+ def code; end
721
+ def column; end
722
+ def domain; end
723
+ def error?; end
724
+ def fatal?; end
725
+ def file; end
726
+ def int1; end
727
+ def level; end
728
+ def level_to_s; end
729
+ def line; end
730
+ def location_to_s; end
731
+ def nil_or_zero?(attribute); end
732
+ def none?; end
733
+ def str1; end
734
+ def str2; end
735
+ def str3; end
736
+ def to_s; end
737
+ def warning?; end
738
+ end
739
+ class Nokogiri::XML::XPath
740
+ def document; end
741
+ def document=(arg0); end
742
+ end
743
+ class Nokogiri::XML::XPath::SyntaxError < Nokogiri::XML::SyntaxError
744
+ def to_s; end
745
+ end
746
+ class Nokogiri::XML::Builder
747
+ def <<(string); end
748
+ def [](ns); end
749
+ def arity; end
750
+ def arity=(arg0); end
751
+ def cdata(string); end
752
+ def comment(string); end
753
+ def context; end
754
+ def context=(arg0); end
755
+ def doc; end
756
+ def doc=(arg0); end
757
+ def initialize(options = nil, root = nil, &block); end
758
+ def insert(node, &block); end
759
+ def method_missing(method, *args, &block); end
760
+ def parent; end
761
+ def parent=(arg0); end
762
+ def self.with(root, &block); end
763
+ def text(string); end
764
+ def to_xml(*args); end
765
+ end
766
+ class Nokogiri::XML::Builder::NodeBuilder
767
+ def [](k); end
768
+ def []=(k, v); end
769
+ def initialize(node, doc_builder); end
770
+ def method_missing(method, *args, &block); end
771
+ end
772
+ class Anonymous_Struct_21 < Struct
773
+ def name; end
774
+ def name=(_); end
775
+ def public_id; end
776
+ def public_id=(_); end
777
+ def self.[](*arg0); end
778
+ def self.members; end
779
+ def self.new(*arg0); end
780
+ def system_id; end
781
+ def system_id=(_); end
782
+ end
783
+ class Nokogiri::XML::Notation < Anonymous_Struct_21
784
+ end
785
+ module Nokogiri::HTML
786
+ def self.fragment(string, encoding = nil); end
787
+ def self.parse(thing, url = nil, encoding = nil, options = nil, &block); end
788
+ end
789
+ class Anonymous_Struct_22 < Struct
790
+ def description; end
791
+ def description=(_); end
792
+ def name; end
793
+ def name=(_); end
794
+ def self.[](*arg0); end
795
+ def self.members; end
796
+ def self.new(*arg0); end
797
+ def value; end
798
+ def value=(_); end
799
+ end
800
+ class Nokogiri::HTML::EntityDescription < Anonymous_Struct_22
801
+ end
802
+ class Nokogiri::HTML::Document::EncodingFound < StandardError
803
+ def found_encoding; end
804
+ def initialize(encoding); end
805
+ end
806
+ class Nokogiri::HTML::Document::EncodingReader
807
+ def encoding_found; end
808
+ def initialize(io); end
809
+ def read(len); end
810
+ def self.detect_encoding(chunk); end
811
+ def self.detect_encoding_for_jruby_without_fix(chunk); end
812
+ def self.is_jruby_without_fix?; end
813
+ end
814
+ class Nokogiri::HTML::Document::EncodingReader::SAXHandler < Nokogiri::XML::SAX::Document
815
+ def encoding; end
816
+ def initialize; end
817
+ def start_element(name, attrs = nil); end
818
+ end
819
+ class Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler < Nokogiri::HTML::Document::EncodingReader::SAXHandler
820
+ def initialize(jumptag); end
821
+ def start_element(name, attrs = nil); end
822
+ end
823
+ class Nokogiri::HTML::DocumentFragment < Nokogiri::XML::DocumentFragment
824
+ def initialize(document, tags = nil, ctx = nil); end
825
+ def self.parse(tags, encoding = nil); end
826
+ end
827
+ module Nokogiri::HTML::SAX
828
+ end
829
+ class Nokogiri::HTML::SAX::Parser < Nokogiri::XML::SAX::Parser
830
+ def parse_file(filename, encoding = nil); end
831
+ def parse_io(io, encoding = nil); end
832
+ def parse_memory(data, encoding = nil); end
833
+ end
834
+ class Struct::HTMLElementDescription < Struct
835
+ def attrs_depr; end
836
+ def attrs_depr=(_); end
837
+ def attrs_opt; end
838
+ def attrs_opt=(_); end
839
+ def attrs_req; end
840
+ def attrs_req=(_); end
841
+ def defaultsubelt; end
842
+ def defaultsubelt=(_); end
843
+ def depr; end
844
+ def depr=(_); end
845
+ def desc; end
846
+ def desc=(_); end
847
+ def dtd; end
848
+ def dtd=(_); end
849
+ def empty; end
850
+ def empty=(_); end
851
+ def endTag; end
852
+ def endTag=(_); end
853
+ def isinline; end
854
+ def isinline=(_); end
855
+ def name; end
856
+ def name=(_); end
857
+ def saveEndTag; end
858
+ def saveEndTag=(_); end
859
+ def self.[](*arg0); end
860
+ def self.members; end
861
+ def self.new(*arg0); end
862
+ def startTag; end
863
+ def startTag=(_); end
864
+ def subelts; end
865
+ def subelts=(_); end
866
+ end
867
+ module Nokogiri::Decorators
868
+ end
869
+ module Nokogiri::Decorators::Slop
870
+ def method_missing(name, *args, &block); end
871
+ def respond_to_missing?(name, include_private = nil); end
872
+ end
873
+ module Nokogiri::CSS
874
+ def self.parse(selector); end
875
+ def self.xpath_for(selector, options = nil); end
876
+ end
877
+ class Nokogiri::CSS::Node
878
+ def accept(visitor); end
879
+ def find_by_type(types); end
880
+ def initialize(type, value); end
881
+ def to_a; end
882
+ def to_type; end
883
+ def to_xpath(prefix = nil, visitor = nil); end
884
+ def type; end
885
+ def type=(arg0); end
886
+ def value; end
887
+ def value=(arg0); end
888
+ end
889
+ class Nokogiri::CSS::XPathVisitor
890
+ def accept(node); end
891
+ def is_of_type_pseudo_class?(node); end
892
+ def nth(node, options = nil); end
893
+ def read_a_and_positive_b(values); end
894
+ def visit_attribute_condition(node); end
895
+ def visit_child_selector(node); end
896
+ def visit_class_condition(node); end
897
+ def visit_combinator(node); end
898
+ def visit_conditional_selector(node); end
899
+ def visit_descendant_selector(node); end
900
+ def visit_direct_adjacent_selector(node); end
901
+ def visit_element_name(node); end
902
+ def visit_following_selector(node); end
903
+ def visit_function(node); end
904
+ def visit_id(node); end
905
+ def visit_not(node); end
906
+ def visit_pseudo_class(node); end
907
+ end
908
+ class Nokogiri::CSS::Parser < Racc::Parser
909
+ def _reduce_1(val, _values, result); end
910
+ def _reduce_11(val, _values, result); end
911
+ def _reduce_12(val, _values, result); end
912
+ def _reduce_13(val, _values, result); end
913
+ def _reduce_14(val, _values, result); end
914
+ def _reduce_15(val, _values, result); end
915
+ def _reduce_16(val, _values, result); end
916
+ def _reduce_18(val, _values, result); end
917
+ def _reduce_2(val, _values, result); end
918
+ def _reduce_20(val, _values, result); end
919
+ def _reduce_21(val, _values, result); end
920
+ def _reduce_22(val, _values, result); end
921
+ def _reduce_23(val, _values, result); end
922
+ def _reduce_25(val, _values, result); end
923
+ def _reduce_26(val, _values, result); end
924
+ def _reduce_27(val, _values, result); end
925
+ def _reduce_28(val, _values, result); end
926
+ def _reduce_29(val, _values, result); end
927
+ def _reduce_3(val, _values, result); end
928
+ def _reduce_30(val, _values, result); end
929
+ def _reduce_31(val, _values, result); end
930
+ def _reduce_32(val, _values, result); end
931
+ def _reduce_33(val, _values, result); end
932
+ def _reduce_34(val, _values, result); end
933
+ def _reduce_35(val, _values, result); end
934
+ def _reduce_36(val, _values, result); end
935
+ def _reduce_37(val, _values, result); end
936
+ def _reduce_4(val, _values, result); end
937
+ def _reduce_40(val, _values, result); end
938
+ def _reduce_41(val, _values, result); end
939
+ def _reduce_42(val, _values, result); end
940
+ def _reduce_43(val, _values, result); end
941
+ def _reduce_44(val, _values, result); end
942
+ def _reduce_45(val, _values, result); end
943
+ def _reduce_48(val, _values, result); end
944
+ def _reduce_49(val, _values, result); end
945
+ def _reduce_5(val, _values, result); end
946
+ def _reduce_50(val, _values, result); end
947
+ def _reduce_51(val, _values, result); end
948
+ def _reduce_52(val, _values, result); end
949
+ def _reduce_58(val, _values, result); end
950
+ def _reduce_59(val, _values, result); end
951
+ def _reduce_6(val, _values, result); end
952
+ def _reduce_60(val, _values, result); end
953
+ def _reduce_61(val, _values, result); end
954
+ def _reduce_63(val, _values, result); end
955
+ def _reduce_64(val, _values, result); end
956
+ def _reduce_65(val, _values, result); end
957
+ def _reduce_66(val, _values, result); end
958
+ def _reduce_67(val, _values, result); end
959
+ def _reduce_68(val, _values, result); end
960
+ def _reduce_69(val, _values, result); end
961
+ def _reduce_7(val, _values, result); end
962
+ def _reduce_70(val, _values, result); end
963
+ def _reduce_8(val, _values, result); end
964
+ def _reduce_9(val, _values, result); end
965
+ def _reduce_none(val, _values, result); end
966
+ def initialize(namespaces = nil); end
967
+ def next_token; end
968
+ def on_error(error_token_id, error_value, value_stack); end
969
+ def parse(string); end
970
+ def self.[](string); end
971
+ def self.[]=(string, value); end
972
+ def self.cache_on; end
973
+ def self.cache_on=(arg0); end
974
+ def self.cache_on?; end
975
+ def self.clear_cache; end
976
+ def self.parse(selector); end
977
+ def self.set_cache(arg0); end
978
+ def self.without_cache(&block); end
979
+ def unescape_css_identifier(identifier); end
980
+ def unescape_css_string(str); end
981
+ def xpath_for(string, options = nil); end
982
+ end
983
+ class Nokogiri::CSS::Tokenizer
984
+ def _next_token; end
985
+ def action; end
986
+ def filename; end
987
+ def lineno; end
988
+ def load_file(filename); end
989
+ def next_token; end
990
+ def scan(str); end
991
+ def scan_file(filename); end
992
+ def scan_setup(str); end
993
+ def scan_str(str); end
994
+ def state; end
995
+ def state=(arg0); end
996
+ end
997
+ class Nokogiri::CSS::Tokenizer::ScanError < StandardError
998
+ end
999
+ class Nokogiri::CSS::SyntaxError < Nokogiri::SyntaxError
1000
+ end
1001
+ class Nokogiri::HTML::Builder < Nokogiri::XML::Builder
1002
+ def to_html; end
1003
+ end
1004
+ class Object < BasicObject
1005
+ def Nokogiri(*args, &block); end
1006
+ end