jmeter_perf 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +19 -0
  4. data/.standard.yml +4 -0
  5. data/CHANGELOG.md +18 -0
  6. data/DSL.md +235 -0
  7. data/README.md +24 -0
  8. data/Rakefile +12 -0
  9. data/example/Gemfile +39 -0
  10. data/example/Gemfile.lock +232 -0
  11. data/example/README.md +3 -0
  12. data/example/Rakefile +6 -0
  13. data/example/app/controllers/application_controller.rb +2 -0
  14. data/example/app/controllers/test_controller.rb +15 -0
  15. data/example/bin/bundle +109 -0
  16. data/example/bin/docker-entrypoint +8 -0
  17. data/example/bin/rails +4 -0
  18. data/example/bin/rake +4 -0
  19. data/example/bin/setup +33 -0
  20. data/example/config/application.rb +44 -0
  21. data/example/config/boot.rb +3 -0
  22. data/example/config/credentials.yml.enc +1 -0
  23. data/example/config/database.yml +25 -0
  24. data/example/config/environment.rb +5 -0
  25. data/example/config/environments/development.rb +64 -0
  26. data/example/config/environments/production.rb +82 -0
  27. data/example/config/environments/test.rb +61 -0
  28. data/example/config/initializers/cors.rb +16 -0
  29. data/example/config/initializers/filter_parameter_logging.rb +8 -0
  30. data/example/config/initializers/inflections.rb +16 -0
  31. data/example/config/locales/en.yml +31 -0
  32. data/example/config/puma.rb +35 -0
  33. data/example/config/routes.rb +5 -0
  34. data/example/config.ru +7 -0
  35. data/example/fast.log +49 -0
  36. data/example/jmeter.log +28 -0
  37. data/example/lib/tasks/test.rake +40 -0
  38. data/example/log/.keep +0 -0
  39. data/example/public/robots.txt +1 -0
  40. data/example/random.log +49 -0
  41. data/example/slow.log +49 -0
  42. data/example/vendor/.keep +0 -0
  43. data/lib/Rakefile +4 -0
  44. data/lib/jmeter_perf/dsl/access_log_sampler.rb +38 -0
  45. data/lib/jmeter_perf/dsl/aggregate_graph.rb +61 -0
  46. data/lib/jmeter_perf/dsl/aggregate_report.rb +61 -0
  47. data/lib/jmeter_perf/dsl/ajp13_sampler.rb +47 -0
  48. data/lib/jmeter_perf/dsl/assertion_results.rb +61 -0
  49. data/lib/jmeter_perf/dsl/bean_shell_assertion.rb +34 -0
  50. data/lib/jmeter_perf/dsl/bean_shell_listener.rb +34 -0
  51. data/lib/jmeter_perf/dsl/bean_shell_postprocessor.rb +34 -0
  52. data/lib/jmeter_perf/dsl/bean_shell_preprocessor.rb +34 -0
  53. data/lib/jmeter_perf/dsl/bean_shell_sampler.rb +34 -0
  54. data/lib/jmeter_perf/dsl/bean_shell_timer.rb +34 -0
  55. data/lib/jmeter_perf/dsl/bsf_assertion.rb +34 -0
  56. data/lib/jmeter_perf/dsl/bsf_listener.rb +34 -0
  57. data/lib/jmeter_perf/dsl/bsf_postprocessor.rb +34 -0
  58. data/lib/jmeter_perf/dsl/bsf_preprocessor.rb +34 -0
  59. data/lib/jmeter_perf/dsl/bsf_sampler.rb +34 -0
  60. data/lib/jmeter_perf/dsl/bsf_timer.rb +34 -0
  61. data/lib/jmeter_perf/dsl/compare_assertion.rb +33 -0
  62. data/lib/jmeter_perf/dsl/comparison_assertion_visualizer.rb +61 -0
  63. data/lib/jmeter_perf/dsl/constant_throughput_timer.rb +32 -0
  64. data/lib/jmeter_perf/dsl/constant_timer.rb +31 -0
  65. data/lib/jmeter_perf/dsl/counter.rb +37 -0
  66. data/lib/jmeter_perf/dsl/css_jquery_extractor.rb +37 -0
  67. data/lib/jmeter_perf/dsl/csv_data_set_config.rb +39 -0
  68. data/lib/jmeter_perf/dsl/debug_postprocessor.rb +34 -0
  69. data/lib/jmeter_perf/dsl/debug_sampler.rb +33 -0
  70. data/lib/jmeter_perf/dsl/distribution_graphalpha.rb +61 -0
  71. data/lib/jmeter_perf/dsl/duration_assertion.rb +31 -0
  72. data/lib/jmeter_perf/dsl/for_each_controller.rb +33 -0
  73. data/lib/jmeter_perf/dsl/ftp_request.rb +40 -0
  74. data/lib/jmeter_perf/dsl/ftp_request_defaults.rb +38 -0
  75. data/lib/jmeter_perf/dsl/gaussian_random_timer.rb +32 -0
  76. data/lib/jmeter_perf/dsl/generate_summary_results.rb +29 -0
  77. data/lib/jmeter_perf/dsl/graph_results.rb +61 -0
  78. data/lib/jmeter_perf/dsl/html_assertion.rb +36 -0
  79. data/lib/jmeter_perf/dsl/html_link_parser.rb +29 -0
  80. data/lib/jmeter_perf/dsl/html_parameter_mask.rb +38 -0
  81. data/lib/jmeter_perf/dsl/http_authorization_manager.rb +39 -0
  82. data/lib/jmeter_perf/dsl/http_cache_manager.rb +32 -0
  83. data/lib/jmeter_perf/dsl/http_cookie_manager.rb +34 -0
  84. data/lib/jmeter_perf/dsl/http_header_manager.rb +36 -0
  85. data/lib/jmeter_perf/dsl/http_request.rb +47 -0
  86. data/lib/jmeter_perf/dsl/http_request_defaults.rb +53 -0
  87. data/lib/jmeter_perf/dsl/http_url_rewriting_modifier.rb +36 -0
  88. data/lib/jmeter_perf/dsl/if_controller.rb +33 -0
  89. data/lib/jmeter_perf/dsl/include_controller.rb +31 -0
  90. data/lib/jmeter_perf/dsl/j_unit_request.rb +43 -0
  91. data/lib/jmeter_perf/dsl/java_request.rb +75 -0
  92. data/lib/jmeter_perf/dsl/java_request_defaults.rb +75 -0
  93. data/lib/jmeter_perf/dsl/jdbc_connection_configuration.rb +43 -0
  94. data/lib/jmeter_perf/dsl/jdbc_postprocessor.rb +39 -0
  95. data/lib/jmeter_perf/dsl/jdbc_preprocessor.rb +39 -0
  96. data/lib/jmeter_perf/dsl/jdbc_request.rb +39 -0
  97. data/lib/jmeter_perf/dsl/jms_pointto_point.rb +47 -0
  98. data/lib/jmeter_perf/dsl/jms_publisher.rb +49 -0
  99. data/lib/jmeter_perf/dsl/jms_subscriber.rb +41 -0
  100. data/lib/jmeter_perf/dsl/json_path_postprocessor.rb +33 -0
  101. data/lib/jmeter_perf/dsl/jsr223_assertion.rb +35 -0
  102. data/lib/jmeter_perf/dsl/jsr223_listener.rb +35 -0
  103. data/lib/jmeter_perf/dsl/jsr223_postprocessor.rb +35 -0
  104. data/lib/jmeter_perf/dsl/jsr223_preprocessor.rb +35 -0
  105. data/lib/jmeter_perf/dsl/jsr223_sampler.rb +35 -0
  106. data/lib/jmeter_perf/dsl/jsr223_timer.rb +35 -0
  107. data/lib/jmeter_perf/dsl/keystore_configuration.rb +34 -0
  108. data/lib/jmeter_perf/dsl/ldap_extended_request.rb +48 -0
  109. data/lib/jmeter_perf/dsl/ldap_extended_request_defaults.rb +48 -0
  110. data/lib/jmeter_perf/dsl/ldap_request.rb +41 -0
  111. data/lib/jmeter_perf/dsl/ldap_request_defaults.rb +45 -0
  112. data/lib/jmeter_perf/dsl/login_config_element.rb +32 -0
  113. data/lib/jmeter_perf/dsl/loop_controller.rb +32 -0
  114. data/lib/jmeter_perf/dsl/mail_reader_sampler.rb +43 -0
  115. data/lib/jmeter_perf/dsl/mailer_visualizer.rb +70 -0
  116. data/lib/jmeter_perf/dsl/md5_hex_assertion.rb +31 -0
  117. data/lib/jmeter_perf/dsl/module_controller.rb +31 -0
  118. data/lib/jmeter_perf/dsl/monitor_results.rb +61 -0
  119. data/lib/jmeter_perf/dsl/once_only_controller.rb +29 -0
  120. data/lib/jmeter_perf/dsl/os_process_sampler.rb +40 -0
  121. data/lib/jmeter_perf/dsl/poisson_random_timer.rb +32 -0
  122. data/lib/jmeter_perf/dsl/random_controller.rb +31 -0
  123. data/lib/jmeter_perf/dsl/random_order_controller.rb +29 -0
  124. data/lib/jmeter_perf/dsl/random_variable.rb +36 -0
  125. data/lib/jmeter_perf/dsl/recording_controller.rb +29 -0
  126. data/lib/jmeter_perf/dsl/reg_ex_user_parameters.rb +33 -0
  127. data/lib/jmeter_perf/dsl/regular_expression_extractor.rb +38 -0
  128. data/lib/jmeter_perf/dsl/response_assertion.rb +37 -0
  129. data/lib/jmeter_perf/dsl/response_time_graph.rb +61 -0
  130. data/lib/jmeter_perf/dsl/result_status_action_handler.rb +31 -0
  131. data/lib/jmeter_perf/dsl/runtime_controller.rb +31 -0
  132. data/lib/jmeter_perf/dsl/save_responses_to_a_file.rb +35 -0
  133. data/lib/jmeter_perf/dsl/simple_config_element.rb +29 -0
  134. data/lib/jmeter_perf/dsl/simple_controller.rb +29 -0
  135. data/lib/jmeter_perf/dsl/simple_data_writer.rb +61 -0
  136. data/lib/jmeter_perf/dsl/smime_assertion.rb +41 -0
  137. data/lib/jmeter_perf/dsl/smtp_sampler.rb +57 -0
  138. data/lib/jmeter_perf/dsl/soap_xml_rpc_request.rb +39 -0
  139. data/lib/jmeter_perf/dsl/spline_visualizer.rb +61 -0
  140. data/lib/jmeter_perf/dsl/summary_report.rb +61 -0
  141. data/lib/jmeter_perf/dsl/switch_controller.rb +31 -0
  142. data/lib/jmeter_perf/dsl/synchronizing_timer.rb +32 -0
  143. data/lib/jmeter_perf/dsl/tcp_sampler.rb +39 -0
  144. data/lib/jmeter_perf/dsl/tcp_sampler_config.rb +37 -0
  145. data/lib/jmeter_perf/dsl/test_action.rb +33 -0
  146. data/lib/jmeter_perf/dsl/test_fragment.rb +29 -0
  147. data/lib/jmeter_perf/dsl/test_plan.rb +37 -0
  148. data/lib/jmeter_perf/dsl/thread_group.rb +43 -0
  149. data/lib/jmeter_perf/dsl/throughput_controller.rb +38 -0
  150. data/lib/jmeter_perf/dsl/transaction_controller.rb +32 -0
  151. data/lib/jmeter_perf/dsl/uniform_random_timer.rb +32 -0
  152. data/lib/jmeter_perf/dsl/user_defined_variables.rb +39 -0
  153. data/lib/jmeter_perf/dsl/user_parameters.rb +36 -0
  154. data/lib/jmeter_perf/dsl/view_results_in_table.rb +61 -0
  155. data/lib/jmeter_perf/dsl/view_results_tree.rb +61 -0
  156. data/lib/jmeter_perf/dsl/while_controller.rb +31 -0
  157. data/lib/jmeter_perf/dsl/x_path_assertion.rb +37 -0
  158. data/lib/jmeter_perf/dsl/x_path_extractor.rb +37 -0
  159. data/lib/jmeter_perf/dsl/xml_assertion.rb +29 -0
  160. data/lib/jmeter_perf/dsl/xml_schema_assertion.rb +31 -0
  161. data/lib/jmeter_perf/extend/assertions/response_assertion.rb +38 -0
  162. data/lib/jmeter_perf/extend/config_elements/header_manager.rb +13 -0
  163. data/lib/jmeter_perf/extend/config_elements/http_cache_manager.rb +12 -0
  164. data/lib/jmeter_perf/extend/config_elements/http_cookie_manager.rb +39 -0
  165. data/lib/jmeter_perf/extend/config_elements/http_request_defaults.rb +55 -0
  166. data/lib/jmeter_perf/extend/config_elements/user_defined_variables.rb +13 -0
  167. data/lib/jmeter_perf/extend/config_elements/user_parameters.rb +31 -0
  168. data/lib/jmeter_perf/extend/controllers/foreach_controller.rb +31 -0
  169. data/lib/jmeter_perf/extend/controllers/loop_controller.rb +11 -0
  170. data/lib/jmeter_perf/extend/controllers/module_controller.rb +26 -0
  171. data/lib/jmeter_perf/extend/controllers/throughput_controller.rb +15 -0
  172. data/lib/jmeter_perf/extend/controllers/transaction_controller.rb +14 -0
  173. data/lib/jmeter_perf/extend/misc/exists.rb +13 -0
  174. data/lib/jmeter_perf/extend/misc/rsync.rb +24 -0
  175. data/lib/jmeter_perf/extend/misc/uuid.rb +12 -0
  176. data/lib/jmeter_perf/extend/misc/with_helpers.rb +27 -0
  177. data/lib/jmeter_perf/extend/plugins/jmeter_plugins.rb +124 -0
  178. data/lib/jmeter_perf/extend/processors/extract.rb +27 -0
  179. data/lib/jmeter_perf/extend/processors/regular_expression_extractor.rb +27 -0
  180. data/lib/jmeter_perf/extend/samplers/http_request.rb +66 -0
  181. data/lib/jmeter_perf/extend/samplers/jms_pointtopoint.rb +23 -0
  182. data/lib/jmeter_perf/extend/samplers/soapxmlrpc_request.rb +10 -0
  183. data/lib/jmeter_perf/extend/threads/thread_group.rb +19 -0
  184. data/lib/jmeter_perf/extend/timers/constant_throughput_timer.rb +11 -0
  185. data/lib/jmeter_perf/extend/timers/random_timer.rb +14 -0
  186. data/lib/jmeter_perf/helpers/dsl_generator.rb +157 -0
  187. data/lib/jmeter_perf/helpers/fallback_content_proxy.rb +96 -0
  188. data/lib/jmeter_perf/helpers/helper.rb +63 -0
  189. data/lib/jmeter_perf/helpers/parser.rb +143 -0
  190. data/lib/jmeter_perf/helpers/running_statistics.rb +62 -0
  191. data/lib/jmeter_perf/helpers/string.rb +60 -0
  192. data/lib/jmeter_perf/helpers/user-agents.rb +42 -0
  193. data/lib/jmeter_perf/plugins/active_threads_over_time.rb +59 -0
  194. data/lib/jmeter_perf/plugins/composite_graph.rb +77 -0
  195. data/lib/jmeter_perf/plugins/console_status_logger.rb +19 -0
  196. data/lib/jmeter_perf/plugins/dummy_sampler.rb +30 -0
  197. data/lib/jmeter_perf/plugins/jmx_collector.rb +74 -0
  198. data/lib/jmeter_perf/plugins/json_path_assertion.rb +23 -0
  199. data/lib/jmeter_perf/plugins/json_path_extractor.rb +22 -0
  200. data/lib/jmeter_perf/plugins/latencies_over_time.rb +53 -0
  201. data/lib/jmeter_perf/plugins/loadosophia_uploader.rb +66 -0
  202. data/lib/jmeter_perf/plugins/perfmon_collector.rb +87 -0
  203. data/lib/jmeter_perf/plugins/redis_data_set.rb +43 -0
  204. data/lib/jmeter_perf/plugins/response_codes_per_second.rb +53 -0
  205. data/lib/jmeter_perf/plugins/response_times_distribution.rb +53 -0
  206. data/lib/jmeter_perf/plugins/response_times_over_time.rb +53 -0
  207. data/lib/jmeter_perf/plugins/response_times_percentiles.rb +54 -0
  208. data/lib/jmeter_perf/plugins/stepping_thread_group.rb +34 -0
  209. data/lib/jmeter_perf/plugins/transactions_per_second.rb +53 -0
  210. data/lib/jmeter_perf/plugins/ultimate_thread_group.rb +28 -0
  211. data/lib/jmeter_perf/plugins/variable_throughput_timer.rb +35 -0
  212. data/lib/jmeter_perf/report/comparator.rb +258 -0
  213. data/lib/jmeter_perf/report/summary.rb +268 -0
  214. data/lib/jmeter_perf/tasks/dsl.rake +19 -0
  215. data/lib/jmeter_perf/version.rb +5 -0
  216. data/lib/jmeter_perf/views/report_template.html.erb +114 -0
  217. data/lib/jmeter_perf.rb +183 -0
  218. data/lib/specifications/idl.xml +1494 -0
  219. data/sig/jmeter_perf.rbs +195 -0
  220. data/sorbet/config +5 -0
  221. data/sorbet/rbi/annotations/.gitattributes +1 -0
  222. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  223. data/sorbet/rbi/gems/.gitattributes +1 -0
  224. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  225. data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
  226. data/sorbet/rbi/gems/byebug@11.1.3.rbi +3607 -0
  227. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
  228. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
  229. data/sorbet/rbi/gems/docile@1.4.1.rbi +377 -0
  230. data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
  231. data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
  232. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  233. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  234. data/sorbet/rbi/gems/method_source@1.1.0.rbi +304 -0
  235. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  236. data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
  237. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  238. data/sorbet/rbi/gems/parser@3.3.5.0.rbi +5519 -0
  239. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  240. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1151 -0
  241. data/sorbet/rbi/gems/pry@0.14.2.rbi +10076 -0
  242. data/sorbet/rbi/gems/racc@1.8.1.rbi +162 -0
  243. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  244. data/sorbet/rbi/gems/rake@13.2.1.rbi +3074 -0
  245. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  246. data/sorbet/rbi/gems/rbtree3@0.7.1.rbi +9 -0
  247. data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
  248. data/sorbet/rbi/gems/rexml@3.3.8.rbi +4858 -0
  249. data/sorbet/rbi/gems/rspec-core@3.13.1.rbi +11132 -0
  250. data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
  251. data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
  252. data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
  253. data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
  254. data/sorbet/rbi/gems/rubocop-ast@1.32.3.rbi +7054 -0
  255. data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
  256. data/sorbet/rbi/gems/rubocop@1.65.1.rbi +58182 -0
  257. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  258. data/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +225 -0
  259. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
  260. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
  261. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  262. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
  263. data/sorbet/rbi/gems/standard-performance@1.4.0.rbi +9 -0
  264. data/sorbet/rbi/gems/standard@1.40.0.rbi +926 -0
  265. data/sorbet/rbi/gems/tapioca@0.16.3.rbi +3596 -0
  266. data/sorbet/rbi/gems/tdigest@0.2.1.rbi +170 -0
  267. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  268. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +66 -0
  269. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  270. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  271. data/sorbet/rbi/todo.rbi +31 -0
  272. data/sorbet/tapioca/config.yml +13 -0
  273. data/sorbet/tapioca/require.rb +15 -0
  274. data/tasks/dsl.rake +22 -0
  275. metadata +355 -0
@@ -0,0 +1,240 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `lint_roller` gem.
5
+ # Please instead update this file by running `bin/tapioca gem lint_roller`.
6
+
7
+
8
+ # source://lint_roller//lib/lint_roller/version.rb#1
9
+ module LintRoller; end
10
+
11
+ # source://lint_roller//lib/lint_roller/about.rb#2
12
+ class LintRoller::About < ::Struct
13
+ # Returns the value of attribute description
14
+ #
15
+ # @return [Object] the current value of description
16
+ def description; end
17
+
18
+ # Sets the attribute description
19
+ #
20
+ # @param value [Object] the value to set the attribute description to.
21
+ # @return [Object] the newly set value
22
+ def description=(_); end
23
+
24
+ # Returns the value of attribute homepage
25
+ #
26
+ # @return [Object] the current value of homepage
27
+ def homepage; end
28
+
29
+ # Sets the attribute homepage
30
+ #
31
+ # @param value [Object] the value to set the attribute homepage to.
32
+ # @return [Object] the newly set value
33
+ def homepage=(_); end
34
+
35
+ # Returns the value of attribute name
36
+ #
37
+ # @return [Object] the current value of name
38
+ def name; end
39
+
40
+ # Sets the attribute name
41
+ #
42
+ # @param value [Object] the value to set the attribute name to.
43
+ # @return [Object] the newly set value
44
+ def name=(_); end
45
+
46
+ # Returns the value of attribute version
47
+ #
48
+ # @return [Object] the current value of version
49
+ def version; end
50
+
51
+ # Sets the attribute version
52
+ #
53
+ # @param value [Object] the value to set the attribute version to.
54
+ # @return [Object] the newly set value
55
+ def version=(_); end
56
+
57
+ class << self
58
+ def [](*_arg0); end
59
+ def inspect; end
60
+ def keyword_init?; end
61
+ def members; end
62
+ def new(*_arg0); end
63
+ end
64
+ end
65
+
66
+ # source://lint_roller//lib/lint_roller/context.rb#2
67
+ class LintRoller::Context < ::Struct
68
+ # Returns the value of attribute engine
69
+ #
70
+ # @return [Object] the current value of engine
71
+ def engine; end
72
+
73
+ # Sets the attribute engine
74
+ #
75
+ # @param value [Object] the value to set the attribute engine to.
76
+ # @return [Object] the newly set value
77
+ def engine=(_); end
78
+
79
+ # Returns the value of attribute engine_version
80
+ #
81
+ # @return [Object] the current value of engine_version
82
+ def engine_version; end
83
+
84
+ # Sets the attribute engine_version
85
+ #
86
+ # @param value [Object] the value to set the attribute engine_version to.
87
+ # @return [Object] the newly set value
88
+ def engine_version=(_); end
89
+
90
+ # Returns the value of attribute rule_format
91
+ #
92
+ # @return [Object] the current value of rule_format
93
+ def rule_format; end
94
+
95
+ # Sets the attribute rule_format
96
+ #
97
+ # @param value [Object] the value to set the attribute rule_format to.
98
+ # @return [Object] the newly set value
99
+ def rule_format=(_); end
100
+
101
+ # Returns the value of attribute runner
102
+ #
103
+ # @return [Object] the current value of runner
104
+ def runner; end
105
+
106
+ # Sets the attribute runner
107
+ #
108
+ # @param value [Object] the value to set the attribute runner to.
109
+ # @return [Object] the newly set value
110
+ def runner=(_); end
111
+
112
+ # Returns the value of attribute runner_version
113
+ #
114
+ # @return [Object] the current value of runner_version
115
+ def runner_version; end
116
+
117
+ # Sets the attribute runner_version
118
+ #
119
+ # @param value [Object] the value to set the attribute runner_version to.
120
+ # @return [Object] the newly set value
121
+ def runner_version=(_); end
122
+
123
+ # Returns the value of attribute target_ruby_version
124
+ #
125
+ # @return [Object] the current value of target_ruby_version
126
+ def target_ruby_version; end
127
+
128
+ # Sets the attribute target_ruby_version
129
+ #
130
+ # @param value [Object] the value to set the attribute target_ruby_version to.
131
+ # @return [Object] the newly set value
132
+ def target_ruby_version=(_); end
133
+
134
+ class << self
135
+ def [](*_arg0); end
136
+ def inspect; end
137
+ def keyword_init?; end
138
+ def members; end
139
+ def new(*_arg0); end
140
+ end
141
+ end
142
+
143
+ # source://lint_roller//lib/lint_roller/error.rb#2
144
+ class LintRoller::Error < ::StandardError; end
145
+
146
+ # source://lint_roller//lib/lint_roller/plugin.rb#2
147
+ class LintRoller::Plugin
148
+ # `config' is a Hash of options passed to the plugin by the user
149
+ #
150
+ # @return [Plugin] a new instance of Plugin
151
+ #
152
+ # source://lint_roller//lib/lint_roller/plugin.rb#4
153
+ def initialize(config = T.unsafe(nil)); end
154
+
155
+ # @raise [Error]
156
+ #
157
+ # source://lint_roller//lib/lint_roller/plugin.rb#8
158
+ def about; end
159
+
160
+ # `context' is an instance of LintRoller::Context provided by the runner
161
+ #
162
+ # @raise [Error]
163
+ #
164
+ # source://lint_roller//lib/lint_roller/plugin.rb#18
165
+ def rules(context); end
166
+
167
+ # `context' is an instance of LintRoller::Context provided by the runner
168
+ #
169
+ # @return [Boolean]
170
+ #
171
+ # source://lint_roller//lib/lint_roller/plugin.rb#13
172
+ def supported?(context); end
173
+ end
174
+
175
+ # source://lint_roller//lib/lint_roller/rules.rb#2
176
+ class LintRoller::Rules < ::Struct
177
+ # Returns the value of attribute config_format
178
+ #
179
+ # @return [Object] the current value of config_format
180
+ def config_format; end
181
+
182
+ # Sets the attribute config_format
183
+ #
184
+ # @param value [Object] the value to set the attribute config_format to.
185
+ # @return [Object] the newly set value
186
+ def config_format=(_); end
187
+
188
+ # Returns the value of attribute error
189
+ #
190
+ # @return [Object] the current value of error
191
+ def error; end
192
+
193
+ # Sets the attribute error
194
+ #
195
+ # @param value [Object] the value to set the attribute error to.
196
+ # @return [Object] the newly set value
197
+ def error=(_); end
198
+
199
+ # Returns the value of attribute type
200
+ #
201
+ # @return [Object] the current value of type
202
+ def type; end
203
+
204
+ # Sets the attribute type
205
+ #
206
+ # @param value [Object] the value to set the attribute type to.
207
+ # @return [Object] the newly set value
208
+ def type=(_); end
209
+
210
+ # Returns the value of attribute value
211
+ #
212
+ # @return [Object] the current value of value
213
+ def value; end
214
+
215
+ # Sets the attribute value
216
+ #
217
+ # @param value [Object] the value to set the attribute value to.
218
+ # @return [Object] the newly set value
219
+ def value=(_); end
220
+
221
+ class << self
222
+ def [](*_arg0); end
223
+ def inspect; end
224
+ def keyword_init?; end
225
+ def members; end
226
+ def new(*_arg0); end
227
+ end
228
+ end
229
+
230
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2
231
+ module LintRoller::Support; end
232
+
233
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3
234
+ class LintRoller::Support::MergesUpstreamMetadata
235
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4
236
+ def merge(plugin_yaml, upstream_yaml); end
237
+ end
238
+
239
+ # source://lint_roller//lib/lint_roller/version.rb#2
240
+ LintRoller::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,304 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `method_source` gem.
5
+ # Please instead update this file by running `bin/tapioca gem method_source`.
6
+
7
+
8
+ # source://method_source//lib/method_source.rb#163
9
+ class Method
10
+ include ::MethodSource::SourceLocation::MethodExtensions
11
+ include ::MethodSource::MethodExtensions
12
+ end
13
+
14
+ # source://method_source//lib/method_source/version.rb#1
15
+ module MethodSource
16
+ extend ::MethodSource::CodeHelpers
17
+
18
+ class << self
19
+ # Clear cache.
20
+ #
21
+ # source://method_source//lib/method_source.rb#59
22
+ def clear_cache; end
23
+
24
+ # Helper method responsible for opening source file and buffering up
25
+ # the comments for a specified method. Defined here to avoid polluting
26
+ # `Method` class.
27
+ #
28
+ # @param source_location [Array] The array returned by Method#source_location
29
+ # @param method_name [String]
30
+ # @raise [SourceNotFoundError]
31
+ # @return [String] The comments up to the point of the method.
32
+ #
33
+ # source://method_source//lib/method_source.rb#38
34
+ def comment_helper(source_location, name = T.unsafe(nil)); end
35
+
36
+ # @deprecated — use MethodSource::CodeHelpers#expression_at
37
+ #
38
+ # source://method_source//lib/method_source.rb#71
39
+ def extract_code(source_location); end
40
+
41
+ # Load a memoized copy of the lines in a file.
42
+ #
43
+ # @param file_name [String]
44
+ # @param method_name [String]
45
+ # @raise [SourceNotFoundError]
46
+ # @return [Array<String>] the contents of the file
47
+ #
48
+ # source://method_source//lib/method_source.rb#51
49
+ def lines_for(file_name, name = T.unsafe(nil)); end
50
+
51
+ # Helper method responsible for extracting method body.
52
+ # Defined here to avoid polluting `Method` class.
53
+ #
54
+ # @param source_location [Array] The array returned by Method#source_location
55
+ # @param method_name [String]
56
+ # @return [String] The method body
57
+ #
58
+ # source://method_source//lib/method_source.rb#23
59
+ def source_helper(source_location, name = T.unsafe(nil)); end
60
+
61
+ # @deprecated — use MethodSource::CodeHelpers#complete_expression?
62
+ # @return [Boolean]
63
+ #
64
+ # source://method_source//lib/method_source.rb#64
65
+ def valid_expression?(str); end
66
+ end
67
+ end
68
+
69
+ # source://method_source//lib/method_source/code_helpers.rb#3
70
+ module MethodSource::CodeHelpers
71
+ # Retrieve the comment describing the expression on the given line of the given file.
72
+ #
73
+ # This is useful to get module or method documentation.
74
+ #
75
+ # @param file [Array<String>, File, String] The file to parse, either as a File or as
76
+ # a String or an Array of lines.
77
+ # @param line_number [Integer] The line number at which to look.
78
+ # NOTE: The first line in a file is line 1!
79
+ # @return [String] The comment
80
+ #
81
+ # source://method_source//lib/method_source/code_helpers.rb#52
82
+ def comment_describing(file, line_number); end
83
+
84
+ # Determine if a string of code is a complete Ruby expression.
85
+ #
86
+ # @example
87
+ # complete_expression?("class Hello") #=> false
88
+ # complete_expression?("class Hello; end") #=> true
89
+ # complete_expression?("class 123") #=> SyntaxError: unexpected tINTEGER
90
+ # @param code [String] The code to validate.
91
+ # @raise [SyntaxError] Any SyntaxError that does not represent incompleteness.
92
+ # @return [Boolean] Whether or not the code is a complete Ruby expression.
93
+ #
94
+ # source://method_source//lib/method_source/code_helpers.rb#66
95
+ def complete_expression?(str); end
96
+
97
+ # Retrieve the first expression starting on the given line of the given file.
98
+ #
99
+ # This is useful to get module or method source code.
100
+ #
101
+ # line 1!
102
+ #
103
+ # @option options
104
+ # @option options
105
+ # @param file [Array<String>, File, String] The file to parse, either as a File or as
106
+ # @param line_number [Integer] The line number at which to look.
107
+ # NOTE: The first line in a file is
108
+ # @param options [Hash] The optional configuration parameters.
109
+ # @raise [SyntaxError] If the first complete expression can't be identified
110
+ # @return [String] The first complete expression
111
+ #
112
+ # source://method_source//lib/method_source/code_helpers.rb#20
113
+ def expression_at(file, line_number, options = T.unsafe(nil)); end
114
+
115
+ private
116
+
117
+ # Get the first expression from the input.
118
+ #
119
+ # @param lines [Array<String>]
120
+ # @param consume [Integer] A number of lines to automatically
121
+ # consume (add to the expression buffer) without checking for validity.
122
+ # @raise [SyntaxError]
123
+ # @return [String] a valid ruby expression
124
+ # @yield a clean-up function to run before checking for complete_expression
125
+ #
126
+ # source://method_source//lib/method_source/code_helpers.rb#92
127
+ def extract_first_expression(lines, consume = T.unsafe(nil), &block); end
128
+
129
+ # Get the last comment from the input.
130
+ #
131
+ # @param lines [Array<String>]
132
+ # @return [String]
133
+ #
134
+ # source://method_source//lib/method_source/code_helpers.rb#106
135
+ def extract_last_comment(lines); end
136
+ end
137
+
138
+ # An exception matcher that matches only subsets of SyntaxErrors that can be
139
+ # fixed by adding more input to the buffer.
140
+ #
141
+ # source://method_source//lib/method_source/code_helpers.rb#124
142
+ module MethodSource::CodeHelpers::IncompleteExpression
143
+ class << self
144
+ # source://method_source//lib/method_source/code_helpers.rb#137
145
+ def ===(ex); end
146
+
147
+ # @return [Boolean]
148
+ #
149
+ # source://method_source//lib/method_source/code_helpers.rb#149
150
+ def rbx?; end
151
+ end
152
+ end
153
+
154
+ # source://method_source//lib/method_source/code_helpers.rb#125
155
+ MethodSource::CodeHelpers::IncompleteExpression::GENERIC_REGEXPS = T.let(T.unsafe(nil), Array)
156
+
157
+ # source://method_source//lib/method_source/code_helpers.rb#133
158
+ MethodSource::CodeHelpers::IncompleteExpression::RBX_ONLY_REGEXPS = T.let(T.unsafe(nil), Array)
159
+
160
+ # This module is to be included by `Method` and `UnboundMethod` and
161
+ # provides the `#source` functionality
162
+ #
163
+ # source://method_source//lib/method_source.rb#77
164
+ module MethodSource::MethodExtensions
165
+ # Return the comments associated with the method class/module.
166
+ #
167
+ # @example
168
+ # MethodSource::MethodExtensions.method(:included).module_comment
169
+ # =>
170
+ # # This module is to be included by `Method` and `UnboundMethod` and
171
+ # # provides the `#source` functionality
172
+ # @raise SourceNotFoundException
173
+ # @return [String] The method's comments as a string
174
+ #
175
+ # source://method_source//lib/method_source.rb#139
176
+ def class_comment; end
177
+
178
+ # Return the comments associated with the method as a string.
179
+ #
180
+ # @example
181
+ # Set.instance_method(:clear).comment.display
182
+ # =>
183
+ # # Removes all elements and returns self.
184
+ # @raise SourceNotFoundException
185
+ # @return [String] The method's comments as a string
186
+ #
187
+ # source://method_source//lib/method_source.rb#126
188
+ def comment; end
189
+
190
+ # Return the comments associated with the method class/module.
191
+ #
192
+ # @example
193
+ # MethodSource::MethodExtensions.method(:included).module_comment
194
+ # =>
195
+ # # This module is to be included by `Method` and `UnboundMethod` and
196
+ # # provides the `#source` functionality
197
+ # @raise SourceNotFoundException
198
+ # @return [String] The method's comments as a string
199
+ #
200
+ # source://method_source//lib/method_source.rb#139
201
+ def module_comment; end
202
+
203
+ # Return the sourcecode for the method as a string
204
+ #
205
+ # @example
206
+ # Set.instance_method(:clear).source.display
207
+ # =>
208
+ # def clear
209
+ # @hash.clear
210
+ # self
211
+ # end
212
+ # @raise SourceNotFoundException
213
+ # @return [String] The method sourcecode as a string
214
+ #
215
+ # source://method_source//lib/method_source.rb#114
216
+ def source; end
217
+
218
+ class << self
219
+ # We use the included hook to patch Method#source on rubinius.
220
+ # We need to use the included hook as Rubinius defines a `source`
221
+ # on Method so including a module will have no effect (as it's
222
+ # higher up the MRO).
223
+ #
224
+ # @param klass [Class] The class that includes the module.
225
+ #
226
+ # source://method_source//lib/method_source.rb#84
227
+ def included(klass); end
228
+ end
229
+ end
230
+
231
+ # source://method_source//lib/method_source/source_location.rb#2
232
+ module MethodSource::ReeSourceLocation
233
+ # Ruby enterprise edition provides all the information that's
234
+ # needed, in a slightly different way.
235
+ #
236
+ # source://method_source//lib/method_source/source_location.rb#5
237
+ def source_location; end
238
+ end
239
+
240
+ # source://method_source//lib/method_source/source_location.rb#10
241
+ module MethodSource::SourceLocation; end
242
+
243
+ # source://method_source//lib/method_source/source_location.rb#11
244
+ module MethodSource::SourceLocation::MethodExtensions
245
+ # Return the source location of a method for Ruby 1.8.
246
+ #
247
+ # @return [Array] A two element array. First element is the
248
+ # file, second element is the line in the file where the
249
+ # method definition is found.
250
+ #
251
+ # source://method_source//lib/method_source/source_location.rb#40
252
+ def source_location; end
253
+
254
+ private
255
+
256
+ # source://method_source//lib/method_source/source_location.rb#26
257
+ def trace_func(event, file, line, id, binding, classname); end
258
+ end
259
+
260
+ # source://method_source//lib/method_source/source_location.rb#54
261
+ module MethodSource::SourceLocation::ProcExtensions
262
+ # Return the source location for a Proc (in implementations
263
+ # without Proc#source_location)
264
+ #
265
+ # @return [Array] A two element array. First element is the
266
+ # file, second element is the line in the file where the
267
+ # proc definition is found.
268
+ #
269
+ # source://method_source//lib/method_source/source_location.rb#74
270
+ def source_location; end
271
+ end
272
+
273
+ # source://method_source//lib/method_source/source_location.rb#81
274
+ module MethodSource::SourceLocation::UnboundMethodExtensions
275
+ # Return the source location of an instance method for Ruby 1.8.
276
+ #
277
+ # @return [Array] A two element array. First element is the
278
+ # file, second element is the line in the file where the
279
+ # method definition is found.
280
+ #
281
+ # source://method_source//lib/method_source/source_location.rb#101
282
+ def source_location; end
283
+ end
284
+
285
+ # An Exception to mark errors that were raised trying to find the source from
286
+ # a given source_location.
287
+ #
288
+ # source://method_source//lib/method_source.rb#16
289
+ class MethodSource::SourceNotFoundError < ::StandardError; end
290
+
291
+ # source://method_source//lib/method_source/version.rb#2
292
+ MethodSource::VERSION = T.let(T.unsafe(nil), String)
293
+
294
+ # source://method_source//lib/method_source.rb#173
295
+ class Proc
296
+ include ::MethodSource::SourceLocation::ProcExtensions
297
+ include ::MethodSource::MethodExtensions
298
+ end
299
+
300
+ # source://method_source//lib/method_source.rb#168
301
+ class UnboundMethod
302
+ include ::MethodSource::SourceLocation::UnboundMethodExtensions
303
+ include ::MethodSource::MethodExtensions
304
+ end
@@ -0,0 +1,159 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `netrc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem netrc`.
6
+
7
+
8
+ # source://netrc//lib/netrc.rb#3
9
+ class Netrc
10
+ # @return [Netrc] a new instance of Netrc
11
+ #
12
+ # source://netrc//lib/netrc.rb#166
13
+ def initialize(path, data); end
14
+
15
+ # source://netrc//lib/netrc.rb#180
16
+ def [](k); end
17
+
18
+ # source://netrc//lib/netrc.rb#188
19
+ def []=(k, info); end
20
+
21
+ # source://netrc//lib/netrc.rb#200
22
+ def delete(key); end
23
+
24
+ # source://netrc//lib/netrc.rb#211
25
+ def each(&block); end
26
+
27
+ # source://netrc//lib/netrc.rb#196
28
+ def length; end
29
+
30
+ # source://netrc//lib/netrc.rb#215
31
+ def new_item(m, l, p); end
32
+
33
+ # Returns the value of attribute new_item_prefix.
34
+ #
35
+ # source://netrc//lib/netrc.rb#178
36
+ def new_item_prefix; end
37
+
38
+ # Sets the attribute new_item_prefix
39
+ #
40
+ # @param value the value to set the attribute new_item_prefix to.
41
+ #
42
+ # source://netrc//lib/netrc.rb#178
43
+ def new_item_prefix=(_arg0); end
44
+
45
+ # source://netrc//lib/netrc.rb#219
46
+ def save; end
47
+
48
+ # source://netrc//lib/netrc.rb#233
49
+ def unparse; end
50
+
51
+ class << self
52
+ # source://netrc//lib/netrc.rb#42
53
+ def check_permissions(path); end
54
+
55
+ # source://netrc//lib/netrc.rb#33
56
+ def config; end
57
+
58
+ # @yield [self.config]
59
+ #
60
+ # source://netrc//lib/netrc.rb#37
61
+ def configure; end
62
+
63
+ # source://netrc//lib/netrc.rb#10
64
+ def default_path; end
65
+
66
+ # source://netrc//lib/netrc.rb#14
67
+ def home_path; end
68
+
69
+ # source://netrc//lib/netrc.rb#85
70
+ def lex(lines); end
71
+
72
+ # source://netrc//lib/netrc.rb#29
73
+ def netrc_filename; end
74
+
75
+ # Returns two values, a header and a list of items.
76
+ # Each item is a tuple, containing some or all of:
77
+ # - machine keyword (including trailing whitespace+comments)
78
+ # - machine name
79
+ # - login keyword (including surrounding whitespace+comments)
80
+ # - login
81
+ # - password keyword (including surrounding whitespace+comments)
82
+ # - password
83
+ # - trailing chars
84
+ # This lets us change individual fields, then write out the file
85
+ # with all its original formatting.
86
+ #
87
+ # source://netrc//lib/netrc.rb#129
88
+ def parse(ts); end
89
+
90
+ # Reads path and parses it as a .netrc file. If path doesn't
91
+ # exist, returns an empty object. Decrypt paths ending in .gpg.
92
+ #
93
+ # source://netrc//lib/netrc.rb#51
94
+ def read(path = T.unsafe(nil)); end
95
+
96
+ # @return [Boolean]
97
+ #
98
+ # source://netrc//lib/netrc.rb#112
99
+ def skip?(s); end
100
+ end
101
+ end
102
+
103
+ # source://netrc//lib/netrc.rb#8
104
+ Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped)
105
+
106
+ # source://netrc//lib/netrc.rb#244
107
+ class Netrc::Entry < ::Struct
108
+ # Returns the value of attribute login
109
+ #
110
+ # @return [Object] the current value of login
111
+ def login; end
112
+
113
+ # Sets the attribute login
114
+ #
115
+ # @param value [Object] the value to set the attribute login to.
116
+ # @return [Object] the newly set value
117
+ def login=(_); end
118
+
119
+ # Returns the value of attribute password
120
+ #
121
+ # @return [Object] the current value of password
122
+ def password; end
123
+
124
+ # Sets the attribute password
125
+ #
126
+ # @param value [Object] the value to set the attribute password to.
127
+ # @return [Object] the newly set value
128
+ def password=(_); end
129
+
130
+ def to_ary; end
131
+
132
+ class << self
133
+ def [](*_arg0); end
134
+ def inspect; end
135
+ def keyword_init?; end
136
+ def members; end
137
+ def new(*_arg0); end
138
+ end
139
+ end
140
+
141
+ # source://netrc//lib/netrc.rb#250
142
+ class Netrc::Error < ::StandardError; end
143
+
144
+ # source://netrc//lib/netrc.rb#68
145
+ class Netrc::TokenArray < ::Array
146
+ # source://netrc//lib/netrc.rb#76
147
+ def readto; end
148
+
149
+ # source://netrc//lib/netrc.rb#69
150
+ def take; end
151
+ end
152
+
153
+ # source://netrc//lib/netrc.rb#4
154
+ Netrc::VERSION = T.let(T.unsafe(nil), String)
155
+
156
+ # see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
157
+ #
158
+ # source://netrc//lib/netrc.rb#7
159
+ Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped)