sorbet-rails 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -2
  3. data/.travis.yml +7 -1
  4. data/CONTRIBUTING.md +3 -1
  5. data/Gemfile +11 -0
  6. data/README.md +0 -2
  7. data/{rbi → lib/sorbet-rails/rbi}/activerecord.rbi +118 -86
  8. data/lib/sorbet-rails/tasks/rails_rbi.rake +15 -6
  9. data/lib/sorbet-rails/utils.rb +11 -0
  10. data/sorbet-rails.gemspec +1 -1
  11. data/spec/bin/run_all_specs.sh +3 -2
  12. data/spec/bin/run_spec.sh +33 -26
  13. data/spec/model_rbi_formatter_spec.rb +0 -15
  14. data/spec/rails_helper.rb +12 -7
  15. data/spec/rake_rails_rbi_models_spec.rb +22 -5
  16. data/spec/rake_rails_rbi_routes_spec.rb +0 -1
  17. data/spec/sorbet_spec.rb +80 -0
  18. data/spec/support/rails_shared/config/routes.rb +1 -0
  19. data/spec/support/rails_shared/sorbet_test_cases.rb +120 -0
  20. data/spec/support/rails_symlinks/sorbet_test_cases.rb +1 -0
  21. data/spec/support/v4.2/Gemfile +13 -0
  22. data/spec/support/v4.2/Gemfile.lock +138 -0
  23. data/spec/support/v4.2/app/controllers/application_controller.rb +1 -0
  24. data/spec/support/v4.2/app/helpers/application_helper.rb +1 -0
  25. data/spec/support/v4.2/config/application.rb +1 -0
  26. data/spec/support/v4.2/config/boot.rb +1 -0
  27. data/spec/support/v4.2/config/environment.rb +1 -0
  28. data/spec/support/v4.2/config/environments/development.rb +1 -0
  29. data/spec/support/v4.2/config/environments/production.rb +1 -0
  30. data/spec/support/v4.2/config/environments/test.rb +1 -0
  31. data/spec/support/v4.2/config/initializers/backtrace_silencers.rb +1 -0
  32. data/spec/support/v4.2/config/initializers/cookies_serializer.rb +1 -0
  33. data/spec/support/v4.2/config/initializers/filter_parameter_logging.rb +1 -0
  34. data/spec/support/v4.2/config/initializers/inflections.rb +1 -0
  35. data/spec/support/v4.2/config/initializers/mime_types.rb +1 -0
  36. data/spec/support/v4.2/config/initializers/session_store.rb +1 -0
  37. data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +1 -0
  38. data/spec/support/v4.2/config/initializers/wrap_parameters.rb +1 -0
  39. data/spec/support/v4.2/config/routes.rb +1 -0
  40. data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +1 -0
  41. data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +1 -0
  42. data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +1 -0
  43. data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +1 -0
  44. data/spec/support/v4.2/db/schema.rb +1 -0
  45. data/spec/support/v4.2/db/seeds.rb +1 -0
  46. data/spec/support/v4.2/sorbet/config +2 -0
  47. data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +267 -0
  48. data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +2885 -0
  49. data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +978 -0
  50. data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +19 -0
  51. data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +335 -0
  52. data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +3382 -0
  53. data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +1892 -0
  54. data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +1109 -0
  55. data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
  56. data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +1039 -0
  57. data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +218 -0
  58. data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +92 -0
  59. data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +18 -0
  60. data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +265 -0
  61. data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +98 -0
  62. data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +186 -0
  63. data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
  64. data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +129 -0
  65. data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +1091 -0
  66. data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
  67. data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +276 -0
  68. data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  69. data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +145 -0
  70. data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +490 -0
  71. data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +13 -0
  72. data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +76 -0
  73. data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  74. data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +623 -0
  75. data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +1053 -0
  76. data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +73 -0
  77. data/spec/support/v4.2/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  78. data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +345 -0
  79. data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +401 -0
  80. data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
  81. data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
  82. data/spec/support/v4.2/sorbet/rbi/gems/web-console.rbi +136 -0
  83. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/errors.txt +11998 -0
  84. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/hidden.rbi +27774 -0
  85. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  86. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  87. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  88. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  89. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  90. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  91. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  92. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  93. data/spec/support/v4.2/sorbet/rbi/todo.rbi +8 -0
  94. data/spec/support/v4.2/sorbet_test_cases.rb +1 -0
  95. data/spec/support/v4.2/test/test_helper.rb +1 -0
  96. data/spec/support/v5.0/Gemfile +13 -0
  97. data/spec/support/v5.0/Gemfile.lock +130 -0
  98. data/spec/support/v5.0/app/channels/application_cable/channel.rb +1 -0
  99. data/spec/support/v5.0/app/channels/application_cable/connection.rb +1 -0
  100. data/spec/support/v5.0/app/jobs/application_job.rb +1 -0
  101. data/spec/support/v5.0/app/mailers/application_mailer.rb +1 -0
  102. data/spec/support/v5.0/config/application.rb +1 -0
  103. data/spec/support/v5.0/config/boot.rb +1 -0
  104. data/spec/support/v5.0/config/environment.rb +1 -0
  105. data/spec/support/v5.0/config/environments/development.rb +1 -0
  106. data/spec/support/v5.0/config/environments/production.rb +1 -0
  107. data/spec/support/v5.0/config/environments/test.rb +1 -0
  108. data/spec/support/v5.0/config/initializers/application_controller_renderer.rb +1 -0
  109. data/spec/support/v5.0/config/initializers/backtrace_silencers.rb +1 -0
  110. data/spec/support/v5.0/config/initializers/cors.rb +1 -0
  111. data/spec/support/v5.0/config/initializers/filter_parameter_logging.rb +1 -0
  112. data/spec/support/v5.0/config/initializers/inflections.rb +1 -0
  113. data/spec/support/v5.0/config/initializers/mime_types.rb +1 -0
  114. data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -0
  115. data/spec/support/v5.0/config/initializers/wrap_parameters.rb +1 -0
  116. data/spec/support/v5.0/config/puma.rb +1 -0
  117. data/spec/support/v5.0/config/routes.rb +1 -0
  118. data/spec/support/v5.0/db/schema.rb +1 -0
  119. data/spec/support/v5.0/db/seeds.rb +1 -0
  120. data/spec/support/v5.0/rails_symlinks/config/routes.rb +1 -0
  121. data/spec/support/v5.0/sorbet/config +2 -0
  122. data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +309 -0
  123. data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +379 -0
  124. data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +3150 -0
  125. data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +1093 -0
  126. data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +252 -0
  127. data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +562 -0
  128. data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +4060 -0
  129. data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +2078 -0
  130. data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +1222 -0
  131. data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  132. data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  133. data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +92 -0
  134. data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +265 -0
  135. data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +98 -0
  136. data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +191 -0
  137. data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +129 -0
  138. data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +1091 -0
  139. data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +63 -0
  140. data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  141. data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +276 -0
  142. data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  143. data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +570 -0
  144. data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +145 -0
  145. data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +534 -0
  146. data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  147. data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  148. data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +682 -0
  149. data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +255 -0
  150. data/spec/support/v5.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  151. data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +345 -0
  152. data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +401 -0
  153. data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  154. data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  155. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/errors.txt +10523 -0
  156. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/hidden.rbi +24969 -0
  157. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  158. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  159. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  160. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  161. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  162. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  163. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  164. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  165. data/spec/support/v5.0/sorbet/rbi/todo.rbi +10 -0
  166. data/spec/support/v5.0/sorbet_test_cases.rb +1 -0
  167. data/spec/support/v5.0/test/test_helper.rb +1 -0
  168. data/spec/support/v5.1/Gemfile +13 -0
  169. data/spec/support/v5.1/Gemfile.lock +15 -20
  170. data/spec/support/v5.1/app/channels/application_cable/channel.rb +1 -0
  171. data/spec/support/v5.1/app/channels/application_cable/connection.rb +1 -0
  172. data/spec/support/v5.1/app/jobs/application_job.rb +1 -0
  173. data/spec/support/v5.1/app/mailers/application_mailer.rb +1 -0
  174. data/spec/support/v5.1/bin/rails +0 -5
  175. data/spec/support/v5.1/bin/rake +0 -5
  176. data/spec/support/v5.1/config/application.rb +1 -0
  177. data/spec/support/v5.1/config/boot.rb +1 -0
  178. data/spec/support/v5.1/config/environment.rb +1 -0
  179. data/spec/support/v5.1/config/environments/development.rb +2 -1
  180. data/spec/support/v5.1/config/environments/production.rb +1 -0
  181. data/spec/support/v5.1/config/environments/test.rb +1 -0
  182. data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +1 -0
  183. data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +1 -0
  184. data/spec/support/v5.1/config/initializers/cors.rb +1 -0
  185. data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +1 -0
  186. data/spec/support/v5.1/config/initializers/inflections.rb +1 -0
  187. data/spec/support/v5.1/config/initializers/mime_types.rb +1 -0
  188. data/spec/support/v5.1/config/initializers/wrap_parameters.rb +1 -0
  189. data/spec/support/v5.1/config/puma.rb +1 -0
  190. data/spec/support/v5.1/config/spring.rb +1 -0
  191. data/spec/support/v5.1/db/schema.rb +1 -0
  192. data/spec/support/v5.1/db/seeds.rb +1 -0
  193. data/spec/support/v5.1/sorbet/config +2 -0
  194. data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +309 -0
  195. data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +429 -0
  196. data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +3171 -0
  197. data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +1115 -0
  198. data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +273 -0
  199. data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +547 -0
  200. data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +4093 -0
  201. data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +2180 -0
  202. data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +1220 -0
  203. data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +1039 -0
  204. data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  205. data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +92 -0
  206. data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +26 -0
  207. data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +98 -0
  208. data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +191 -0
  209. data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +129 -0
  210. data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +1091 -0
  211. data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +63 -0
  212. data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +45 -0
  213. data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +276 -0
  214. data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  215. data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +570 -0
  216. data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +161 -0
  217. data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +534 -0
  218. data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  219. data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  220. data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +707 -0
  221. data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +255 -0
  222. data/spec/support/v5.1/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  223. data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +345 -0
  224. data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +450 -0
  225. data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +81 -0
  226. data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +407 -0
  227. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/errors.txt +10226 -0
  228. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/hidden.rbi +24635 -0
  229. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  230. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  231. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  232. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  233. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  234. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  235. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  236. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  237. data/spec/support/v5.1/sorbet/rbi/todo.rbi +11 -0
  238. data/spec/support/v5.1/sorbet_test_cases.rb +1 -0
  239. data/spec/support/v5.1/test/test_helper.rb +1 -0
  240. data/spec/support/v5.2/Gemfile +12 -0
  241. data/spec/support/v5.2/Gemfile.lock +12 -0
  242. data/spec/support/v5.2/app/channels/application_cable/channel.rb +1 -0
  243. data/spec/support/v5.2/app/channels/application_cable/connection.rb +1 -0
  244. data/spec/support/v5.2/app/jobs/application_job.rb +1 -0
  245. data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -0
  246. data/spec/support/v5.2/bin/rails +0 -5
  247. data/spec/support/v5.2/bin/rake +0 -5
  248. data/spec/support/v5.2/config/application.rb +1 -0
  249. data/spec/support/v5.2/config/boot.rb +1 -0
  250. data/spec/support/v5.2/config/environment.rb +1 -0
  251. data/spec/support/v5.2/config/environments/development.rb +1 -0
  252. data/spec/support/v5.2/config/environments/production.rb +1 -0
  253. data/spec/support/v5.2/config/environments/test.rb +1 -0
  254. data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +1 -0
  255. data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +1 -0
  256. data/spec/support/v5.2/config/initializers/cors.rb +1 -0
  257. data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +1 -0
  258. data/spec/support/v5.2/config/initializers/inflections.rb +1 -0
  259. data/spec/support/v5.2/config/initializers/mime_types.rb +1 -0
  260. data/spec/support/v5.2/config/initializers/wrap_parameters.rb +1 -0
  261. data/spec/support/v5.2/config/puma.rb +1 -0
  262. data/spec/support/v5.2/config/spring.rb +1 -0
  263. data/spec/support/v5.2/db/schema.rb +1 -0
  264. data/spec/support/v5.2/db/seeds.rb +1 -0
  265. data/spec/support/v5.2/sorbet/rbi/gems/sorbet-runtime.rbi +644 -0
  266. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +12 -6
  267. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +57 -19
  268. data/spec/support/v5.2/sorbet_test_cases.rb +1 -0
  269. data/spec/support/v5.2/test/test_helper.rb +1 -0
  270. data/spec/support/v5.2-no-sorbet/Gemfile +57 -0
  271. data/spec/support/v5.2-no-sorbet/Gemfile.lock +140 -0
  272. data/spec/support/v5.2-no-sorbet/README.md +24 -0
  273. data/spec/support/v5.2-no-sorbet/Rakefile +6 -0
  274. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +5 -0
  275. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +5 -0
  276. data/spec/support/v5.2-no-sorbet/app/controllers +1 -0
  277. data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +3 -0
  278. data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +5 -0
  279. data/spec/support/v5.2-no-sorbet/app/models +1 -0
  280. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +13 -0
  281. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +1 -0
  282. data/spec/support/v5.2-no-sorbet/bin/bundle +3 -0
  283. data/spec/support/v5.2-no-sorbet/bin/rails +4 -0
  284. data/spec/support/v5.2-no-sorbet/bin/rake +4 -0
  285. data/spec/support/v5.2-no-sorbet/bin/setup +33 -0
  286. data/spec/support/v5.2-no-sorbet/bin/spring +17 -0
  287. data/spec/support/v5.2-no-sorbet/bin/update +28 -0
  288. data/spec/support/v5.2-no-sorbet/config/application.rb +36 -0
  289. data/spec/support/v5.2-no-sorbet/config/boot.rb +4 -0
  290. data/spec/support/v5.2-no-sorbet/config/cable.yml +10 -0
  291. data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +1 -0
  292. data/spec/support/v5.2-no-sorbet/config/database.yml +25 -0
  293. data/spec/support/v5.2-no-sorbet/config/environment.rb +6 -0
  294. data/spec/support/v5.2-no-sorbet/config/environments/development.rb +55 -0
  295. data/spec/support/v5.2-no-sorbet/config/environments/production.rb +86 -0
  296. data/spec/support/v5.2-no-sorbet/config/environments/test.rb +47 -0
  297. data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +9 -0
  298. data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +8 -0
  299. data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +17 -0
  300. data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +5 -0
  301. data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +17 -0
  302. data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +5 -0
  303. data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +15 -0
  304. data/spec/support/v5.2-no-sorbet/config/locales/en.yml +33 -0
  305. data/spec/support/v5.2-no-sorbet/config/puma.rb +35 -0
  306. data/spec/support/v5.2-no-sorbet/config/routes.rb +1 -0
  307. data/spec/support/v5.2-no-sorbet/config/spring.rb +7 -0
  308. data/spec/support/v5.2-no-sorbet/config/storage.yml +34 -0
  309. data/spec/support/v5.2-no-sorbet/config.ru +5 -0
  310. data/spec/support/v5.2-no-sorbet/db/migrate +1 -0
  311. data/spec/support/v5.2-no-sorbet/db/schema.rb +48 -0
  312. data/spec/support/v5.2-no-sorbet/db/seeds.rb +8 -0
  313. data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
  314. data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
  315. data/spec/support/v5.2-no-sorbet/public/robots.txt +1 -0
  316. data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
  317. data/spec/support/v5.2-no-sorbet/test/controllers/.keep +0 -0
  318. data/spec/support/v5.2-no-sorbet/test/fixtures/.keep +0 -0
  319. data/spec/support/v5.2-no-sorbet/test/fixtures/files/.keep +0 -0
  320. data/spec/support/v5.2-no-sorbet/test/integration/.keep +0 -0
  321. data/spec/support/v5.2-no-sorbet/test/mailers/.keep +0 -0
  322. data/spec/support/v5.2-no-sorbet/test/models/.keep +0 -0
  323. data/spec/support/v5.2-no-sorbet/test/test_helper.rb +11 -0
  324. data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
  325. data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
  326. data/spec/support/v6.0/Gemfile +12 -0
  327. data/spec/support/v6.0/Gemfile.lock +157 -0
  328. data/spec/support/v6.0/app/channels/application_cable/channel.rb +1 -0
  329. data/spec/support/v6.0/app/channels/application_cable/connection.rb +1 -0
  330. data/spec/support/v6.0/app/jobs/application_job.rb +1 -0
  331. data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -0
  332. data/spec/support/v6.0/config/application.rb +1 -0
  333. data/spec/support/v6.0/config/boot.rb +1 -0
  334. data/spec/support/v6.0/config/environment.rb +1 -0
  335. data/spec/support/v6.0/config/environments/development.rb +1 -0
  336. data/spec/support/v6.0/config/environments/production.rb +1 -0
  337. data/spec/support/v6.0/config/environments/test.rb +1 -0
  338. data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +1 -0
  339. data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +1 -0
  340. data/spec/support/v6.0/config/initializers/cors.rb +1 -0
  341. data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +1 -0
  342. data/spec/support/v6.0/config/initializers/inflections.rb +1 -0
  343. data/spec/support/v6.0/config/initializers/mime_types.rb +1 -0
  344. data/spec/support/v6.0/config/initializers/wrap_parameters.rb +1 -0
  345. data/spec/support/v6.0/config/puma.rb +1 -0
  346. data/spec/support/v6.0/config/routes.rb +1 -0
  347. data/spec/support/v6.0/db/schema.rb +1 -0
  348. data/spec/support/v6.0/db/seeds.rb +1 -0
  349. data/spec/support/v6.0/sorbet/config +2 -0
  350. data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +245 -0
  351. data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +56 -0
  352. data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +69 -0
  353. data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +2401 -0
  354. data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +32 -0
  355. data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +1033 -0
  356. data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +362 -0
  357. data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +750 -0
  358. data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +5552 -0
  359. data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +217 -0
  360. data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +2430 -0
  361. data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  362. data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  363. data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +92 -0
  364. data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +26 -0
  365. data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +98 -0
  366. data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +191 -0
  367. data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +129 -0
  368. data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1542 -0
  369. data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +12 -0
  370. data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +63 -0
  371. data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  372. data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +276 -0
  373. data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  374. data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +570 -0
  375. data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +161 -0
  376. data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +522 -0
  377. data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  378. data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  379. data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +760 -0
  380. data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +254 -0
  381. data/spec/support/v6.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  382. data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +353 -0
  383. data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +450 -0
  384. data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  385. data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  386. data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +119 -0
  387. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/errors.txt +12074 -0
  388. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/hidden.rbi +28231 -0
  389. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  390. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  391. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  392. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  393. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  394. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  395. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  396. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  397. data/spec/support/v6.0/sorbet/rbi/todo.rbi +11 -0
  398. data/spec/support/v6.0/sorbet_test_cases.rb +1 -0
  399. data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +1 -0
  400. data/spec/support/v6.0/test/test_helper.rb +1 -0
  401. data/spec/test_data/v4.2/expected_srb_tc_output.txt +178 -0
  402. data/spec/test_data/v5.0/expected_internal_metadata.rbi +155 -0
  403. data/spec/test_data/v5.0/expected_schema_migration.rbi +128 -0
  404. data/spec/test_data/v5.0/expected_srb_tc_output.txt +178 -0
  405. data/spec/test_data/v5.1/expected_internal_metadata.rbi +161 -0
  406. data/spec/test_data/v5.1/expected_schema_migration.rbi +134 -0
  407. data/spec/test_data/v5.1/expected_srb_tc_output.txt +160 -0
  408. data/spec/test_data/v5.2/expected_attachment.rbi +137 -0
  409. data/spec/test_data/v5.2/expected_blob.rbi +149 -0
  410. data/spec/test_data/v5.2/expected_internal_metadata.rbi +161 -0
  411. data/spec/test_data/v5.2/expected_schema_migration.rbi +134 -0
  412. data/spec/test_data/v5.2/expected_srb_tc_output.txt +160 -0
  413. data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +137 -0
  414. data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +149 -0
  415. data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +161 -0
  416. data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +11 -0
  417. data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +128 -0
  418. data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +43 -0
  419. data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +134 -0
  420. data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +161 -0
  421. data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +160 -0
  422. data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +311 -0
  423. data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +254 -0
  424. data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +254 -0
  425. data/spec/test_data/v6.0/expected_attachment.rbi +149 -0
  426. data/spec/test_data/v6.0/expected_blob.rbi +161 -0
  427. data/spec/test_data/v6.0/expected_internal_metadata.rbi +173 -0
  428. data/spec/test_data/v6.0/expected_schema_migration.rbi +146 -0
  429. data/spec/test_data/v6.0/expected_srb_tc_output.txt +160 -0
  430. data/spec/utils_spec.rb +24 -0
  431. metadata +573 -2
@@ -0,0 +1,1010 @@
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_22 < 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.inspect; end
667
+ def self.members; end
668
+ def self.new(*arg0); end
669
+ def uri; end
670
+ def uri=(_); end
671
+ def value; end
672
+ def value=(_); end
673
+ end
674
+ class Nokogiri::XML::SAX::Parser::Attribute < Anonymous_Struct_22
675
+ end
676
+ module Nokogiri::XML::Searchable
677
+ def %(*args); end
678
+ def /(*args); end
679
+ def at(*args); end
680
+ def at_css(*args); end
681
+ def at_xpath(*args); end
682
+ def css(*args); end
683
+ def css_internal(node, rules, handler, ns); end
684
+ def css_rules_to_xpath(rules, ns); end
685
+ def extract_params(params); end
686
+ def search(*args); end
687
+ def xpath(*args); end
688
+ def xpath_impl(node, path, handler, ns, binds); end
689
+ def xpath_internal(node, paths, handler, ns, binds); end
690
+ def xpath_query_from_css_rule(rule, ns); end
691
+ end
692
+ class Nokogiri::XML::Node::SaveOptions
693
+ def as_html; end
694
+ def as_html?; end
695
+ def as_xhtml; end
696
+ def as_xhtml?; end
697
+ def as_xml; end
698
+ def as_xml?; end
699
+ def default_html; end
700
+ def default_html?; end
701
+ def default_xhtml; end
702
+ def default_xhtml?; end
703
+ def default_xml; end
704
+ def default_xml?; end
705
+ def format; end
706
+ def format?; end
707
+ def initialize(options = nil); end
708
+ def no_declaration; end
709
+ def no_declaration?; end
710
+ def no_empty_tags; end
711
+ def no_empty_tags?; end
712
+ def no_xhtml; end
713
+ def no_xhtml?; end
714
+ def options; end
715
+ def to_i; end
716
+ end
717
+ class Nokogiri::XML::CharacterData < Nokogiri::XML::Node
718
+ include Nokogiri::XML::PP::CharacterData
719
+ end
720
+ class Nokogiri::XML::SyntaxError < Nokogiri::SyntaxError
721
+ def code; end
722
+ def column; end
723
+ def domain; end
724
+ def error?; end
725
+ def fatal?; end
726
+ def file; end
727
+ def int1; end
728
+ def level; end
729
+ def level_to_s; end
730
+ def line; end
731
+ def location_to_s; end
732
+ def nil_or_zero?(attribute); end
733
+ def none?; end
734
+ def str1; end
735
+ def str2; end
736
+ def str3; end
737
+ def to_s; end
738
+ def warning?; end
739
+ end
740
+ class Nokogiri::XML::XPath
741
+ def document; end
742
+ def document=(arg0); end
743
+ end
744
+ class Nokogiri::XML::XPath::SyntaxError < Nokogiri::XML::SyntaxError
745
+ def to_s; end
746
+ end
747
+ class Nokogiri::XML::Builder
748
+ def <<(string); end
749
+ def [](ns); end
750
+ def arity; end
751
+ def arity=(arg0); end
752
+ def cdata(string); end
753
+ def comment(string); end
754
+ def context; end
755
+ def context=(arg0); end
756
+ def doc; end
757
+ def doc=(arg0); end
758
+ def initialize(options = nil, root = nil, &block); end
759
+ def insert(node, &block); end
760
+ def method_missing(method, *args, &block); end
761
+ def parent; end
762
+ def parent=(arg0); end
763
+ def self.with(root, &block); end
764
+ def text(string); end
765
+ def to_xml(*args); end
766
+ end
767
+ class Nokogiri::XML::Builder::NodeBuilder
768
+ def [](k); end
769
+ def []=(k, v); end
770
+ def initialize(node, doc_builder); end
771
+ def method_missing(method, *args, &block); end
772
+ end
773
+ class Anonymous_Struct_23 < Struct
774
+ def name; end
775
+ def name=(_); end
776
+ def public_id; end
777
+ def public_id=(_); end
778
+ def self.[](*arg0); end
779
+ def self.inspect; end
780
+ def self.members; end
781
+ def self.new(*arg0); end
782
+ def system_id; end
783
+ def system_id=(_); end
784
+ end
785
+ class Nokogiri::XML::Notation < Anonymous_Struct_23
786
+ end
787
+ module Nokogiri::HTML
788
+ def self.fragment(string, encoding = nil); end
789
+ def self.parse(thing, url = nil, encoding = nil, options = nil, &block); end
790
+ end
791
+ class Anonymous_Struct_24 < Struct
792
+ def description; end
793
+ def description=(_); end
794
+ def name; end
795
+ def name=(_); end
796
+ def self.[](*arg0); end
797
+ def self.inspect; end
798
+ def self.members; end
799
+ def self.new(*arg0); end
800
+ def value; end
801
+ def value=(_); end
802
+ end
803
+ class Nokogiri::HTML::EntityDescription < Anonymous_Struct_24
804
+ end
805
+ class Nokogiri::HTML::Document::EncodingFound < StandardError
806
+ def found_encoding; end
807
+ def initialize(encoding); end
808
+ end
809
+ class Nokogiri::HTML::Document::EncodingReader
810
+ def encoding_found; end
811
+ def initialize(io); end
812
+ def read(len); end
813
+ def self.detect_encoding(chunk); end
814
+ def self.detect_encoding_for_jruby_without_fix(chunk); end
815
+ def self.is_jruby_without_fix?; end
816
+ end
817
+ class Nokogiri::HTML::Document::EncodingReader::SAXHandler < Nokogiri::XML::SAX::Document
818
+ def encoding; end
819
+ def initialize; end
820
+ def start_element(name, attrs = nil); end
821
+ end
822
+ class Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler < Nokogiri::HTML::Document::EncodingReader::SAXHandler
823
+ def initialize(jumptag); end
824
+ def start_element(name, attrs = nil); end
825
+ end
826
+ class Nokogiri::HTML::DocumentFragment < Nokogiri::XML::DocumentFragment
827
+ def initialize(document, tags = nil, ctx = nil); end
828
+ def self.parse(tags, encoding = nil); end
829
+ end
830
+ module Nokogiri::HTML::SAX
831
+ end
832
+ class Nokogiri::HTML::SAX::Parser < Nokogiri::XML::SAX::Parser
833
+ def parse_file(filename, encoding = nil); end
834
+ def parse_io(io, encoding = nil); end
835
+ def parse_memory(data, encoding = nil); end
836
+ end
837
+ class Struct::HTMLElementDescription < Struct
838
+ def attrs_depr; end
839
+ def attrs_depr=(_); end
840
+ def attrs_opt; end
841
+ def attrs_opt=(_); end
842
+ def attrs_req; end
843
+ def attrs_req=(_); end
844
+ def defaultsubelt; end
845
+ def defaultsubelt=(_); end
846
+ def depr; end
847
+ def depr=(_); end
848
+ def desc; end
849
+ def desc=(_); end
850
+ def dtd; end
851
+ def dtd=(_); end
852
+ def empty; end
853
+ def empty=(_); end
854
+ def endTag; end
855
+ def endTag=(_); end
856
+ def isinline; end
857
+ def isinline=(_); end
858
+ def name; end
859
+ def name=(_); end
860
+ def saveEndTag; end
861
+ def saveEndTag=(_); end
862
+ def self.[](*arg0); end
863
+ def self.inspect; end
864
+ def self.members; end
865
+ def self.new(*arg0); end
866
+ def startTag; end
867
+ def startTag=(_); end
868
+ def subelts; end
869
+ def subelts=(_); end
870
+ end
871
+ module Nokogiri::Decorators
872
+ end
873
+ module Nokogiri::Decorators::Slop
874
+ def method_missing(name, *args, &block); end
875
+ def respond_to_missing?(name, include_private = nil); end
876
+ end
877
+ module Nokogiri::CSS
878
+ def self.parse(selector); end
879
+ def self.xpath_for(selector, options = nil); end
880
+ end
881
+ class Nokogiri::CSS::Node
882
+ def accept(visitor); end
883
+ def find_by_type(types); end
884
+ def initialize(type, value); end
885
+ def to_a; end
886
+ def to_type; end
887
+ def to_xpath(prefix = nil, visitor = nil); end
888
+ def type; end
889
+ def type=(arg0); end
890
+ def value; end
891
+ def value=(arg0); end
892
+ end
893
+ class Nokogiri::CSS::XPathVisitor
894
+ def accept(node); end
895
+ def is_of_type_pseudo_class?(node); end
896
+ def nth(node, options = nil); end
897
+ def read_a_and_positive_b(values); end
898
+ def visit_attribute_condition(node); end
899
+ def visit_child_selector(node); end
900
+ def visit_class_condition(node); end
901
+ def visit_combinator(node); end
902
+ def visit_conditional_selector(node); end
903
+ def visit_descendant_selector(node); end
904
+ def visit_direct_adjacent_selector(node); end
905
+ def visit_element_name(node); end
906
+ def visit_following_selector(node); end
907
+ def visit_function(node); end
908
+ def visit_id(node); end
909
+ def visit_not(node); end
910
+ def visit_pseudo_class(node); end
911
+ end
912
+ class Nokogiri::CSS::Parser < Racc::Parser
913
+ def _reduce_1(val, _values, result); end
914
+ def _reduce_11(val, _values, result); end
915
+ def _reduce_12(val, _values, result); end
916
+ def _reduce_13(val, _values, result); end
917
+ def _reduce_14(val, _values, result); end
918
+ def _reduce_15(val, _values, result); end
919
+ def _reduce_16(val, _values, result); end
920
+ def _reduce_18(val, _values, result); end
921
+ def _reduce_2(val, _values, result); end
922
+ def _reduce_20(val, _values, result); end
923
+ def _reduce_21(val, _values, result); end
924
+ def _reduce_22(val, _values, result); end
925
+ def _reduce_23(val, _values, result); end
926
+ def _reduce_25(val, _values, result); end
927
+ def _reduce_26(val, _values, result); end
928
+ def _reduce_27(val, _values, result); end
929
+ def _reduce_28(val, _values, result); end
930
+ def _reduce_29(val, _values, result); end
931
+ def _reduce_3(val, _values, result); end
932
+ def _reduce_30(val, _values, result); end
933
+ def _reduce_31(val, _values, result); end
934
+ def _reduce_32(val, _values, result); end
935
+ def _reduce_33(val, _values, result); end
936
+ def _reduce_34(val, _values, result); end
937
+ def _reduce_35(val, _values, result); end
938
+ def _reduce_36(val, _values, result); end
939
+ def _reduce_37(val, _values, result); end
940
+ def _reduce_4(val, _values, result); end
941
+ def _reduce_40(val, _values, result); end
942
+ def _reduce_41(val, _values, result); end
943
+ def _reduce_42(val, _values, result); end
944
+ def _reduce_43(val, _values, result); end
945
+ def _reduce_44(val, _values, result); end
946
+ def _reduce_45(val, _values, result); end
947
+ def _reduce_48(val, _values, result); end
948
+ def _reduce_49(val, _values, result); end
949
+ def _reduce_5(val, _values, result); end
950
+ def _reduce_50(val, _values, result); end
951
+ def _reduce_51(val, _values, result); end
952
+ def _reduce_52(val, _values, result); end
953
+ def _reduce_58(val, _values, result); end
954
+ def _reduce_59(val, _values, result); end
955
+ def _reduce_6(val, _values, result); end
956
+ def _reduce_60(val, _values, result); end
957
+ def _reduce_61(val, _values, result); end
958
+ def _reduce_63(val, _values, result); end
959
+ def _reduce_64(val, _values, result); end
960
+ def _reduce_65(val, _values, result); end
961
+ def _reduce_66(val, _values, result); end
962
+ def _reduce_67(val, _values, result); end
963
+ def _reduce_68(val, _values, result); end
964
+ def _reduce_69(val, _values, result); end
965
+ def _reduce_7(val, _values, result); end
966
+ def _reduce_70(val, _values, result); end
967
+ def _reduce_8(val, _values, result); end
968
+ def _reduce_9(val, _values, result); end
969
+ def _reduce_none(val, _values, result); end
970
+ def initialize(namespaces = nil); end
971
+ def next_token; end
972
+ def on_error(error_token_id, error_value, value_stack); end
973
+ def parse(string); end
974
+ def self.[](string); end
975
+ def self.[]=(string, value); end
976
+ def self.cache_on; end
977
+ def self.cache_on=(arg0); end
978
+ def self.cache_on?; end
979
+ def self.clear_cache; end
980
+ def self.parse(selector); end
981
+ def self.set_cache(arg0); end
982
+ def self.without_cache(&block); end
983
+ def unescape_css_identifier(identifier); end
984
+ def unescape_css_string(str); end
985
+ def xpath_for(string, options = nil); end
986
+ end
987
+ class Nokogiri::CSS::Tokenizer
988
+ def _next_token; end
989
+ def action; end
990
+ def filename; end
991
+ def lineno; end
992
+ def load_file(filename); end
993
+ def next_token; end
994
+ def scan(str); end
995
+ def scan_file(filename); end
996
+ def scan_setup(str); end
997
+ def scan_str(str); end
998
+ def state; end
999
+ def state=(arg0); end
1000
+ end
1001
+ class Nokogiri::CSS::Tokenizer::ScanError < StandardError
1002
+ end
1003
+ class Nokogiri::CSS::SyntaxError < Nokogiri::SyntaxError
1004
+ end
1005
+ class Nokogiri::HTML::Builder < Nokogiri::XML::Builder
1006
+ def to_html; end
1007
+ end
1008
+ class Object < BasicObject
1009
+ def Nokogiri(*args, &block); end
1010
+ end