alchemrest 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/.rubocop_todo.yml +242 -0
  5. data/.ruby-version +1 -0
  6. data/Appraisals +19 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +378 -0
  9. data/Rakefile +29 -0
  10. data/alchemrest.gemspec +71 -0
  11. data/coach.yml +5 -0
  12. data/examples/bank_api/client.rb +31 -0
  13. data/examples/bank_api/data/account.rb +21 -0
  14. data/examples/bank_api/data/ach.rb +16 -0
  15. data/examples/bank_api/data/business_account.rb +22 -0
  16. data/examples/bank_api/data/card.rb +21 -0
  17. data/examples/bank_api/data/check.rb +19 -0
  18. data/examples/bank_api/data/product.rb +20 -0
  19. data/examples/bank_api/data/transaction.rb +49 -0
  20. data/examples/bank_api/data/user.rb +27 -0
  21. data/examples/bank_api/factories.rb +68 -0
  22. data/examples/bank_api/graph_visualization.rb +45 -0
  23. data/examples/bank_api/positive_interest_string.rb +33 -0
  24. data/examples/bank_api/requests/delete_user.rb +17 -0
  25. data/examples/bank_api/requests/get_business_account.rb +24 -0
  26. data/examples/bank_api/requests/get_products.rb +12 -0
  27. data/examples/bank_api/requests/get_transactions.rb +34 -0
  28. data/examples/bank_api/requests/get_user.rb +19 -0
  29. data/examples/bank_api/requests/post_transaction.rb +20 -0
  30. data/examples/bank_api/requests/update_user.rb +28 -0
  31. data/examples/bank_api/root.rb +52 -0
  32. data/examples/bank_api.rb +33 -0
  33. data/gemfiles/faraday_2.gemfile +9 -0
  34. data/gemfiles/faraday_2.gemfile.lock +363 -0
  35. data/gemfiles/rails_7_0.gemfile.lock +341 -0
  36. data/gemfiles/rails_7_2.gemfile +9 -0
  37. data/gemfiles/rails_7_2.gemfile.lock +384 -0
  38. data/gemfiles/rails_8_0.gemfile +9 -0
  39. data/gemfiles/rails_8_0.gemfile.lock +385 -0
  40. data/lib/alchemrest/circuit_breaker.rb +84 -0
  41. data/lib/alchemrest/client/configuration/connection.rb +83 -0
  42. data/lib/alchemrest/client/configuration.rb +89 -0
  43. data/lib/alchemrest/client.rb +48 -0
  44. data/lib/alchemrest/cop.rb +8 -0
  45. data/lib/alchemrest/data/capture_configuration.rb +77 -0
  46. data/lib/alchemrest/data/field.rb +36 -0
  47. data/lib/alchemrest/data/graph.rb +40 -0
  48. data/lib/alchemrest/data/record.rb +60 -0
  49. data/lib/alchemrest/data/schema.rb +80 -0
  50. data/lib/alchemrest/data.rb +9 -0
  51. data/lib/alchemrest/endpoint_definition.rb +47 -0
  52. data/lib/alchemrest/error.rb +122 -0
  53. data/lib/alchemrest/factory_bot.rb +64 -0
  54. data/lib/alchemrest/faraday_middleware/external_api_instrumentation.rb +24 -0
  55. data/lib/alchemrest/faraday_middleware/json_parser.rb +30 -0
  56. data/lib/alchemrest/faraday_middleware/kill_switch.rb +22 -0
  57. data/lib/alchemrest/faraday_middleware/underscore_response.rb +24 -0
  58. data/lib/alchemrest/hash_path.rb +81 -0
  59. data/lib/alchemrest/http_request.rb +75 -0
  60. data/lib/alchemrest/kill_switch/adapters.rb +88 -0
  61. data/lib/alchemrest/kill_switch.rb +31 -0
  62. data/lib/alchemrest/railtie.rb +25 -0
  63. data/lib/alchemrest/request/endpoint.rb +29 -0
  64. data/lib/alchemrest/request/returns.rb +46 -0
  65. data/lib/alchemrest/request.rb +80 -0
  66. data/lib/alchemrest/request_definition/builder.rb +13 -0
  67. data/lib/alchemrest/request_definition.rb +26 -0
  68. data/lib/alchemrest/response/pipeline/extract_payload.rb +64 -0
  69. data/lib/alchemrest/response/pipeline/final.rb +11 -0
  70. data/lib/alchemrest/response/pipeline/omit.rb +46 -0
  71. data/lib/alchemrest/response/pipeline/sanitize.rb +59 -0
  72. data/lib/alchemrest/response/pipeline/transform.rb +26 -0
  73. data/lib/alchemrest/response/pipeline/was_successful.rb +29 -0
  74. data/lib/alchemrest/response/pipeline.rb +71 -0
  75. data/lib/alchemrest/response.rb +73 -0
  76. data/lib/alchemrest/response_captured_handler.rb +68 -0
  77. data/lib/alchemrest/result/halt.rb +15 -0
  78. data/lib/alchemrest/result/try_helpers.rb +16 -0
  79. data/lib/alchemrest/result.rb +128 -0
  80. data/lib/alchemrest/root.rb +77 -0
  81. data/lib/alchemrest/transforms/base_to_type_transform_registry.rb +42 -0
  82. data/lib/alchemrest/transforms/constrainable.rb +41 -0
  83. data/lib/alchemrest/transforms/constraint/block.rb +22 -0
  84. data/lib/alchemrest/transforms/constraint/greater_than.rb +19 -0
  85. data/lib/alchemrest/transforms/constraint/greater_than_or_eq.rb +19 -0
  86. data/lib/alchemrest/transforms/constraint/in_list.rb +19 -0
  87. data/lib/alchemrest/transforms/constraint/is_instance_of.rb +19 -0
  88. data/lib/alchemrest/transforms/constraint/is_uuid.rb +19 -0
  89. data/lib/alchemrest/transforms/constraint/less_than.rb +19 -0
  90. data/lib/alchemrest/transforms/constraint/less_than_or_eq.rb +19 -0
  91. data/lib/alchemrest/transforms/constraint/matches_regex.rb +19 -0
  92. data/lib/alchemrest/transforms/constraint/max_length.rb +19 -0
  93. data/lib/alchemrest/transforms/constraint/min_length.rb +19 -0
  94. data/lib/alchemrest/transforms/constraint.rb +17 -0
  95. data/lib/alchemrest/transforms/constraint_builder/for_number.rb +25 -0
  96. data/lib/alchemrest/transforms/constraint_builder/for_string.rb +21 -0
  97. data/lib/alchemrest/transforms/constraint_builder.rb +15 -0
  98. data/lib/alchemrest/transforms/date_transform.rb +30 -0
  99. data/lib/alchemrest/transforms/enum.rb +52 -0
  100. data/lib/alchemrest/transforms/epoch_time.rb +32 -0
  101. data/lib/alchemrest/transforms/from_chain.rb +15 -0
  102. data/lib/alchemrest/transforms/from_number/to_type_transform_registry.rb +18 -0
  103. data/lib/alchemrest/transforms/from_number.rb +47 -0
  104. data/lib/alchemrest/transforms/from_string/to_type_transform_registry.rb +17 -0
  105. data/lib/alchemrest/transforms/from_string.rb +36 -0
  106. data/lib/alchemrest/transforms/from_type/empty_to_type_transform_registry.rb +14 -0
  107. data/lib/alchemrest/transforms/from_type.rb +64 -0
  108. data/lib/alchemrest/transforms/iso_time.rb +58 -0
  109. data/lib/alchemrest/transforms/json_number.rb +26 -0
  110. data/lib/alchemrest/transforms/loose_hash.rb +96 -0
  111. data/lib/alchemrest/transforms/money_transform.rb +42 -0
  112. data/lib/alchemrest/transforms/number.rb +27 -0
  113. data/lib/alchemrest/transforms/output_type.rb +65 -0
  114. data/lib/alchemrest/transforms/to_decimal.rb +22 -0
  115. data/lib/alchemrest/transforms/to_type/from_string_to_time_selector.rb +29 -0
  116. data/lib/alchemrest/transforms/to_type/transforms_selector.rb +61 -0
  117. data/lib/alchemrest/transforms/to_type.rb +86 -0
  118. data/lib/alchemrest/transforms/typed.rb +32 -0
  119. data/lib/alchemrest/transforms/union.rb +44 -0
  120. data/lib/alchemrest/transforms/with_constraint.rb +26 -0
  121. data/lib/alchemrest/transforms.rb +93 -0
  122. data/lib/alchemrest/url_builder/encoders.rb +39 -0
  123. data/lib/alchemrest/url_builder/options.rb +33 -0
  124. data/lib/alchemrest/url_builder.rb +31 -0
  125. data/lib/alchemrest/version.rb +5 -0
  126. data/lib/alchemrest/webmock_helpers.rb +27 -0
  127. data/lib/alchemrest.rb +159 -0
  128. data/lib/generators/alchemrest/kill_switch_migration_generator.rb +27 -0
  129. data/lib/generators/alchemrest/templates/kill_switch_migration.rb.erb +17 -0
  130. data/lib/rubocop/cop/alchemrest/define_request_using_with_params.rb +53 -0
  131. data/lib/rubocop/cop/alchemrest/endpoint_definition_using_generic_params.rb +55 -0
  132. data/lib/rubocop/cop/alchemrest/request_hash_returning_block.rb +54 -0
  133. data/lib/rubocop/cop/alchemrest/time_transform_with_no_zone.rb +56 -0
  134. data/lib/tapioca/dsl/compilers/alchemrest_data.rb +84 -0
  135. data/lib/tapioca/dsl/compilers/alchemrest_root.rb +68 -0
  136. data/mutant.yml +16 -0
  137. data/rbi/alchemrest/result.rbi +80 -0
  138. data/rbi/alchemrest.rbi +246 -0
  139. data/sorbet/config +5 -0
  140. data/sorbet/rbi/gems/.gitattributes +1 -0
  141. data/sorbet/rbi/gems/abstract_type@0.0.7.rbi +41 -0
  142. data/sorbet/rbi/gems/actionpack@8.0.4.rbi +11733 -0
  143. data/sorbet/rbi/gems/actionview@8.0.4.rbi +6560 -0
  144. data/sorbet/rbi/gems/activemodel@8.0.4.rbi +2891 -0
  145. data/sorbet/rbi/gems/activesupport@8.0.4.rbi +9621 -0
  146. data/sorbet/rbi/gems/adamantium@0.2.0.rbi +144 -0
  147. data/sorbet/rbi/gems/addressable@2.8.7.rbi +779 -0
  148. data/sorbet/rbi/gems/anima@0.3.2.rbi +103 -0
  149. data/sorbet/rbi/gems/ast@2.4.2.rbi +107 -0
  150. data/sorbet/rbi/gems/base64@0.3.0.rbi +52 -0
  151. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +153 -0
  152. data/sorbet/rbi/gems/bigdecimal@3.3.1.rbi +77 -0
  153. data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
  154. data/sorbet/rbi/gems/circuitbox@2.0.0.rbi +297 -0
  155. data/sorbet/rbi/gems/concord@0.1.6.rbi +51 -0
  156. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +4716 -0
  157. data/sorbet/rbi/gems/connection_pool@2.5.4.rbi +9 -0
  158. data/sorbet/rbi/gems/crack@1.0.0.rbi +110 -0
  159. data/sorbet/rbi/gems/crass@1.0.6.rbi +294 -0
  160. data/sorbet/rbi/gems/date@3.4.1.rbi +58 -0
  161. data/sorbet/rbi/gems/drb@2.2.3.rbi +639 -0
  162. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +38 -0
  163. data/sorbet/rbi/gems/erubi@1.13.1.rbi +85 -0
  164. data/sorbet/rbi/gems/factory_bot@6.5.0.rbi +1529 -0
  165. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +181 -0
  166. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.1.rbi +120 -0
  167. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +128 -0
  168. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +123 -0
  169. data/sorbet/rbi/gems/faraday-multipart@1.2.0.rbi +190 -0
  170. data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +140 -0
  171. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +116 -0
  172. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +119 -0
  173. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +113 -0
  174. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +149 -0
  175. data/sorbet/rbi/gems/faraday@1.10.5.rbi +1620 -0
  176. data/sorbet/rbi/gems/hansi@0.2.1.rbi +9 -0
  177. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +174 -0
  178. data/sorbet/rbi/gems/i18n@1.14.7.rbi +1328 -0
  179. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +145 -0
  180. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  181. data/sorbet/rbi/gems/json@2.9.1.rbi +282 -0
  182. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +8057 -0
  183. data/sorbet/rbi/gems/logger@1.7.0.rbi +260 -0
  184. data/sorbet/rbi/gems/loofah@2.24.0.rbi +571 -0
  185. data/sorbet/rbi/gems/memoizable@0.4.2.rbi +131 -0
  186. data/sorbet/rbi/gems/memosa@0.8.2.rbi +185 -0
  187. data/sorbet/rbi/gems/minitest@5.26.0.rbi +824 -0
  188. data/sorbet/rbi/gems/money@6.19.0.rbi +815 -0
  189. data/sorbet/rbi/gems/morpher@0.4.2.rbi +388 -0
  190. data/sorbet/rbi/gems/mprelude@0.1.0.rbi +140 -0
  191. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +180 -0
  192. data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +154 -0
  193. data/sorbet/rbi/gems/mustermann-contrib@3.0.3.rbi +9 -0
  194. data/sorbet/rbi/gems/mustermann@3.0.3.rbi +809 -0
  195. data/sorbet/rbi/gems/netrc@0.11.0.rbi +112 -0
  196. data/sorbet/rbi/gems/nokogiri@1.19.1.rbi +3412 -0
  197. data/sorbet/rbi/gems/parallel@1.26.3.rbi +234 -0
  198. data/sorbet/rbi/gems/parser@3.3.7.0.rbi +4877 -0
  199. data/sorbet/rbi/gems/pp@0.6.2.rbi +176 -0
  200. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +155 -0
  201. data/sorbet/rbi/gems/prism@1.5.1.rbi +26368 -0
  202. data/sorbet/rbi/gems/procto@0.0.3.rbi +9 -0
  203. data/sorbet/rbi/gems/psych@5.2.3.rbi +806 -0
  204. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +267 -0
  205. data/sorbet/rbi/gems/racc@1.8.1.rbi +120 -0
  206. data/sorbet/rbi/gems/rack-session@2.1.1.rbi +458 -0
  207. data/sorbet/rbi/gems/rack-test@2.2.0.rbi +405 -0
  208. data/sorbet/rbi/gems/rack@3.1.14.rbi +2774 -0
  209. data/sorbet/rbi/gems/rackup@2.2.1.rbi +132 -0
  210. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +266 -0
  211. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +545 -0
  212. data/sorbet/rbi/gems/railties@8.0.4.rbi +2150 -0
  213. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +333 -0
  214. data/sorbet/rbi/gems/rake@13.2.1.rbi +2054 -0
  215. data/sorbet/rbi/gems/rbi@0.2.3.rbi +3961 -0
  216. data/sorbet/rbi/gems/rdoc@6.13.1.rbi +6784 -0
  217. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3020 -0
  218. data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
  219. data/sorbet/rbi/gems/rexml@3.4.2.rbi +1777 -0
  220. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +5293 -0
  221. data/sorbet/rbi/gems/rubocop@1.71.1.rbi +31846 -0
  222. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +980 -0
  223. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  224. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +33 -0
  225. data/sorbet/rbi/gems/sentry-ruby@5.22.1.rbi +3782 -0
  226. data/sorbet/rbi/gems/spoom@1.5.1.rbi +4321 -0
  227. data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
  228. data/sorbet/rbi/gems/tapioca@0.16.8.rbi +3399 -0
  229. data/sorbet/rbi/gems/thor@1.3.2.rbi +2012 -0
  230. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +711 -0
  231. data/sorbet/rbi/gems/timeout@0.4.4.rbi +80 -0
  232. data/sorbet/rbi/gems/tsort@0.2.0.rbi +50 -0
  233. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +1677 -0
  234. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +62 -0
  235. data/sorbet/rbi/gems/uri@1.1.0.rbi +760 -0
  236. data/sorbet/rbi/gems/useragent@0.16.11.rbi +9 -0
  237. data/sorbet/rbi/gems/webmock@3.24.0.rbi +1362 -0
  238. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +345 -0
  239. data/sorbet/rbi/gems/yard@0.9.37.rbi +8795 -0
  240. data/sorbet/rbi/gems/zeitwerk@2.7.1.rbi +589 -0
  241. data/sorbet/tapioca/config.yml +45 -0
  242. data/sorbet/tapioca/require.rb +8 -0
  243. data/sorbet/tapioca/sorbet/rbi/dsl/.gitattributes +1 -0
  244. data/sorbet/tapioca/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  245. metadata +737 -0
@@ -0,0 +1,980 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ruby-progressbar` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
6
+
7
+
8
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4
9
+ class ProgressBar
10
+ class << self
11
+ # source://ruby-progressbar//lib/ruby-progressbar.rb#9
12
+ def create(*args); end
13
+ end
14
+ end
15
+
16
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#17
17
+ class ProgressBar::Base
18
+ extend ::Forwardable
19
+
20
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
21
+ def initialize(options = T.unsafe(nil)); end
22
+
23
+ # source://forwardable/1.3.3/forwardable.rb#231
24
+ def clear(*args, **_arg1, &block); end
25
+
26
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
27
+ def decrement; end
28
+
29
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#92
30
+ def finish; end
31
+
32
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129
33
+ def finished?; end
34
+
35
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
36
+ def format(other); end
37
+
38
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
39
+ def format=(other); end
40
+
41
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#141
42
+ def increment; end
43
+
44
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
45
+ def inspect; end
46
+
47
+ # source://forwardable/1.3.3/forwardable.rb#231
48
+ def log(*args, **_arg1, &block); end
49
+
50
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
51
+ def pause; end
52
+
53
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
54
+ def paused?; end
55
+
56
+ # source://forwardable/1.3.3/forwardable.rb#231
57
+ def progress(*args, **_arg1, &block); end
58
+
59
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
60
+ def progress=(new_progress); end
61
+
62
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
63
+ def progress_mark=(mark); end
64
+
65
+ # source://forwardable/1.3.3/forwardable.rb#231
66
+ def refresh(*args, **_arg1, &block); end
67
+
68
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
69
+ def remainder_mark=(mark); end
70
+
71
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#114
72
+ def reset; end
73
+
74
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#110
75
+ def resume; end
76
+
77
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#87
78
+ def start(options = T.unsafe(nil)); end
79
+
80
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#133
81
+ def started?; end
82
+
83
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#106
84
+ def stop; end
85
+
86
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
87
+ def stopped?; end
88
+
89
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#161
90
+ def title; end
91
+
92
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#165
93
+ def title=(title); end
94
+
95
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#176
96
+ def to_h; end
97
+
98
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
99
+ def to_s(new_format = T.unsafe(nil)); end
100
+
101
+ # source://forwardable/1.3.3/forwardable.rb#231
102
+ def total(*args, **_arg1, &block); end
103
+
104
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149
105
+ def total=(new_total); end
106
+
107
+ protected
108
+
109
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
110
+ def autofinish; end
111
+
112
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
113
+ def autofinish=(_arg0); end
114
+
115
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
116
+ def autostart; end
117
+
118
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
119
+ def autostart=(_arg0); end
120
+
121
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
122
+ def bar_component; end
123
+
124
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
125
+ def bar_component=(_arg0); end
126
+
127
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
128
+ def finished; end
129
+
130
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
131
+ def finished=(_arg0); end
132
+
133
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
134
+ def output; end
135
+
136
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
137
+ def output=(_arg0); end
138
+
139
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
140
+ def percentage_component; end
141
+
142
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
143
+ def percentage_component=(_arg0); end
144
+
145
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
146
+ def progressable; end
147
+
148
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
149
+ def progressable=(_arg0); end
150
+
151
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
152
+ def projector; end
153
+
154
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
155
+ def projector=(_arg0); end
156
+
157
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
158
+ def rate_component; end
159
+
160
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
161
+ def rate_component=(_arg0); end
162
+
163
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
164
+ def time_component; end
165
+
166
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
167
+ def time_component=(_arg0); end
168
+
169
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
170
+ def timer; end
171
+
172
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
173
+ def timer=(_arg0); end
174
+
175
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
176
+ def title_component; end
177
+
178
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
179
+ def title_component=(_arg0); end
180
+
181
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#226
182
+ def update_progress(*args); end
183
+ end
184
+
185
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#28
186
+ ProgressBar::Base::RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
187
+
188
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#21
189
+ ProgressBar::Base::SMOOTHING_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
190
+
191
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#2
192
+ module ProgressBar::Calculators; end
193
+
194
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#3
195
+ class ProgressBar::Calculators::Length
196
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#8
197
+ def initialize(options = T.unsafe(nil)); end
198
+
199
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#25
200
+ def calculate_length; end
201
+
202
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
203
+ def current_length; end
204
+
205
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
206
+ def current_length=(_arg0); end
207
+
208
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#14
209
+ def length; end
210
+
211
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#18
212
+ def length_changed?; end
213
+
214
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#4
215
+ def length_override; end
216
+
217
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#33
218
+ def length_override=(other); end
219
+
220
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
221
+ def output; end
222
+
223
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5
224
+ def output=(_arg0); end
225
+
226
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#29
227
+ def reset_length; end
228
+
229
+ private
230
+
231
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#56
232
+ def dynamic_width; end
233
+
234
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#85
235
+ def dynamic_width_stty; end
236
+
237
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#89
238
+ def dynamic_width_tput; end
239
+
240
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#76
241
+ def dynamic_width_via_io_object; end
242
+
243
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#71
244
+ def dynamic_width_via_output_stream_object; end
245
+
246
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#81
247
+ def dynamic_width_via_system_calls; end
248
+
249
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#43
250
+ def terminal_width; end
251
+
252
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#93
253
+ def unix?; end
254
+ end
255
+
256
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#5
257
+ module ProgressBar::Components; end
258
+
259
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#6
260
+ class ProgressBar::Components::Bar
261
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#17
262
+ def initialize(options = T.unsafe(nil)); end
263
+
264
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#35
265
+ def bar(length); end
266
+
267
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63
268
+ def bar_with_percentage(length); end
269
+
270
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#41
271
+ def complete_bar(length); end
272
+
273
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
274
+ def complete_bar_with_percentage(length); end
275
+
276
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#53
277
+ def incomplete_space(length); end
278
+
279
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
280
+ def length; end
281
+
282
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
283
+ def length=(_arg0); end
284
+
285
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
286
+ def progress; end
287
+
288
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
289
+ def progress=(_arg0); end
290
+
291
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
292
+ def progress_mark; end
293
+
294
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
295
+ def progress_mark=(_arg0); end
296
+
297
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
298
+ def remainder_mark; end
299
+
300
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
301
+ def remainder_mark=(_arg0); end
302
+
303
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#25
304
+ def to_s(options = T.unsafe(nil)); end
305
+
306
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
307
+ def upa_steps; end
308
+
309
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
310
+ def upa_steps=(_arg0); end
311
+
312
+ private
313
+
314
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#91
315
+ def completed_length; end
316
+
317
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#81
318
+ def incomplete_string; end
319
+
320
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#71
321
+ def integrated_percentage_complete_string; end
322
+
323
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#77
324
+ def standard_complete_string; end
325
+
326
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#95
327
+ def unknown_progress_frame; end
328
+
329
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85
330
+ def unknown_string; end
331
+ end
332
+
333
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#7
334
+ ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
335
+
336
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#8
337
+ ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
338
+
339
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#9
340
+ ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
341
+
342
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#3
343
+ class ProgressBar::Components::Percentage
344
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#6
345
+ def initialize(options = T.unsafe(nil)); end
346
+
347
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#14
348
+ def justified_percentage; end
349
+
350
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#22
351
+ def justified_percentage_with_precision; end
352
+
353
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#10
354
+ def percentage; end
355
+
356
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#18
357
+ def percentage_with_precision; end
358
+
359
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
360
+ def progress; end
361
+
362
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
363
+ def progress=(_arg0); end
364
+ end
365
+
366
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#3
367
+ class ProgressBar::Components::Rate
368
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#8
369
+ def initialize(options = T.unsafe(nil)); end
370
+
371
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
372
+ def progress; end
373
+
374
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
375
+ def progress=(_arg0); end
376
+
377
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#14
378
+ def rate_of_change(format_string = T.unsafe(nil)); end
379
+
380
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
381
+ def rate_of_change_with_precision; end
382
+
383
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
384
+ def rate_scale; end
385
+
386
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
387
+ def rate_scale=(_arg0); end
388
+
389
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
390
+ def timer; end
391
+
392
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
393
+ def timer=(_arg0); end
394
+
395
+ private
396
+
397
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30
398
+ def base_rate; end
399
+
400
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34
401
+ def elapsed_seconds; end
402
+
403
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#26
404
+ def scaled_rate; end
405
+ end
406
+
407
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#6
408
+ class ProgressBar::Components::Time
409
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#21
410
+ def initialize(options = T.unsafe(nil)); end
411
+
412
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#31
413
+ def elapsed_with_label; end
414
+
415
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#47
416
+ def estimated_wall_clock; end
417
+
418
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#43
419
+ def estimated_with_friendly_oob; end
420
+
421
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#27
422
+ def estimated_with_label(out_of_bounds_time_format = T.unsafe(nil)); end
423
+
424
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#35
425
+ def estimated_with_no_oob; end
426
+
427
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#39
428
+ def estimated_with_unknown_oob; end
429
+
430
+ protected
431
+
432
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
433
+ def progress; end
434
+
435
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
436
+ def progress=(_arg0); end
437
+
438
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
439
+ def projector; end
440
+
441
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
442
+ def projector=(_arg0); end
443
+
444
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
445
+ def timer; end
446
+
447
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
448
+ def timer=(_arg0); end
449
+
450
+ private
451
+
452
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#80
453
+ def elapsed; end
454
+
455
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#66
456
+ def estimated(out_of_bounds_time_format); end
457
+
458
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#94
459
+ def estimated_seconds_remaining; end
460
+
461
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#88
462
+ def estimated_with_elapsed_fallback(out_of_bounds_time_format); end
463
+ end
464
+
465
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#14
466
+ ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
467
+
468
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#13
469
+ ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
470
+
471
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#12
472
+ ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
473
+
474
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#11
475
+ ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
476
+
477
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#9
478
+ ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
479
+
480
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#16
481
+ ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
482
+
483
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#8
484
+ ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
485
+
486
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#10
487
+ ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
488
+
489
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#7
490
+ ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
491
+
492
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15
493
+ ProgressBar::Components::Time::WALL_CLOCK_FORMAT = T.let(T.unsafe(nil), String)
494
+
495
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#3
496
+ class ProgressBar::Components::Title
497
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#8
498
+ def initialize(options = T.unsafe(nil)); end
499
+
500
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6
501
+ def title; end
502
+
503
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6
504
+ def title=(_arg0); end
505
+ end
506
+
507
+ # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#4
508
+ ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
509
+
510
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#2
511
+ module ProgressBar::Format; end
512
+
513
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#3
514
+ class ProgressBar::Format::Formatter
515
+ class << self
516
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#4
517
+ def process(format_string, max_length, bar); end
518
+ end
519
+ end
520
+
521
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#3
522
+ class ProgressBar::Format::Molecule
523
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#33
524
+ def initialize(letter); end
525
+
526
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#38
527
+ def bar_molecule?; end
528
+
529
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#46
530
+ def full_key; end
531
+
532
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
533
+ def key; end
534
+
535
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
536
+ def key=(_arg0); end
537
+
538
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#50
539
+ def lookup_value(environment, length = T.unsafe(nil)); end
540
+
541
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
542
+ def method_name; end
543
+
544
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
545
+ def method_name=(_arg0); end
546
+
547
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#42
548
+ def non_bar_molecule?; end
549
+ end
550
+
551
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#28
552
+ ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
553
+
554
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#4
555
+ ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
556
+
557
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5
558
+ class ProgressBar::Format::String < ::String
559
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#13
560
+ def bar_molecule_placeholder_length; end
561
+
562
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#21
563
+ def bar_molecules; end
564
+
565
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#9
566
+ def displayable_length; end
567
+
568
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#25
569
+ def molecules; end
570
+
571
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#17
572
+ def non_bar_molecules; end
573
+ end
574
+
575
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7
576
+ ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
577
+
578
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#6
579
+ ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
580
+
581
+ # source://ruby-progressbar//lib/ruby-progressbar/errors/invalid_progress_error.rb#2
582
+ class ProgressBar::InvalidProgressError < ::RuntimeError; end
583
+
584
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
585
+ class ProgressBar::Output
586
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#10
587
+ def initialize(options = T.unsafe(nil)); end
588
+
589
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#37
590
+ def clear_string; end
591
+
592
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#41
593
+ def length; end
594
+
595
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#30
596
+ def log(string); end
597
+
598
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#50
599
+ def refresh(options = T.unsafe(nil)); end
600
+
601
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
602
+ def stream; end
603
+
604
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
605
+ def stream=(_arg0); end
606
+
607
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
608
+ def with_refresh; end
609
+
610
+ protected
611
+
612
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
613
+ def bar; end
614
+
615
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
616
+ def bar=(_arg0); end
617
+
618
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
619
+ def length_calculator; end
620
+
621
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
622
+ def length_calculator=(_arg0); end
623
+
624
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
625
+ def throttle; end
626
+
627
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
628
+ def throttle=(_arg0); end
629
+
630
+ private
631
+
632
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#66
633
+ def print_and_flush; end
634
+
635
+ class << self
636
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#20
637
+ def detect(options = T.unsafe(nil)); end
638
+ end
639
+ end
640
+
641
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#6
642
+ ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
643
+
644
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#4
645
+ module ProgressBar::Outputs; end
646
+
647
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#5
648
+ class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
649
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#18
650
+ def bar_update_string; end
651
+
652
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#8
653
+ def clear; end
654
+
655
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#28
656
+ def default_format; end
657
+
658
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#38
659
+ def eol; end
660
+
661
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#14
662
+ def last_update_length; end
663
+
664
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#36
665
+ def refresh_with_format_change(*_arg0); end
666
+
667
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#32
668
+ def resolve_format(*_arg0); end
669
+
670
+ protected
671
+
672
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#44
673
+ def last_update_length=(_arg0); end
674
+ end
675
+
676
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#6
677
+ ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
678
+
679
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#5
680
+ class ProgressBar::Outputs::Tty < ::ProgressBar::Output
681
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#15
682
+ def bar_update_string; end
683
+
684
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#10
685
+ def clear; end
686
+
687
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#19
688
+ def default_format; end
689
+
690
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27
691
+ def eol; end
692
+
693
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
694
+ def refresh_with_format_change; end
695
+
696
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#23
697
+ def resolve_format(other_format); end
698
+ end
699
+
700
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#6
701
+ ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
702
+
703
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#4
704
+ class ProgressBar::Progress
705
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
706
+ def initialize(options = T.unsafe(nil)); end
707
+
708
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#104
709
+ def absolute; end
710
+
711
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#41
712
+ def decrement; end
713
+
714
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23
715
+ def finish; end
716
+
717
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#27
718
+ def finished?; end
719
+
720
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#31
721
+ def increment; end
722
+
723
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#85
724
+ def none?; end
725
+
726
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#73
727
+ def percentage_completed; end
728
+
729
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#97
730
+ def percentage_completed_with_precision; end
731
+
732
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
733
+ def progress; end
734
+
735
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#55
736
+ def progress=(new_progress); end
737
+
738
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#51
739
+ def reset; end
740
+
741
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#18
742
+ def start(options = T.unsafe(nil)); end
743
+
744
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
745
+ def starting_position; end
746
+
747
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
748
+ def starting_position=(_arg0); end
749
+
750
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
751
+ def total; end
752
+
753
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#64
754
+ def total=(new_total); end
755
+
756
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#93
757
+ def total_with_unknown_indicator; end
758
+
759
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#89
760
+ def unknown?; end
761
+ end
762
+
763
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#6
764
+ ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
765
+
766
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#5
767
+ ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
768
+
769
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#4
770
+ class ProgressBar::Projector
771
+ class << self
772
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#10
773
+ def from_type(name); end
774
+ end
775
+ end
776
+
777
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#5
778
+ ProgressBar::Projector::DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage
779
+
780
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#6
781
+ ProgressBar::Projector::NAME_TO_PROJECTOR_MAP = T.let(T.unsafe(nil), Hash)
782
+
783
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#2
784
+ module ProgressBar::Projectors; end
785
+
786
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#3
787
+ class ProgressBar::Projectors::SmoothedAverage
788
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#11
789
+ def initialize(options = T.unsafe(nil)); end
790
+
791
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#24
792
+ def decrement; end
793
+
794
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#28
795
+ def increment; end
796
+
797
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#52
798
+ def none?; end
799
+
800
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#32
801
+ def progress; end
802
+
803
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#42
804
+ def progress=(new_progress); end
805
+
806
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#9
807
+ def projection; end
808
+
809
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#38
810
+ def reset; end
811
+
812
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
813
+ def samples; end
814
+
815
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
816
+ def samples=(_arg0); end
817
+
818
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#19
819
+ def start(options = T.unsafe(nil)); end
820
+
821
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
822
+ def strength; end
823
+
824
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
825
+ def strength=(_arg0); end
826
+
827
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#36
828
+ def total=(_new_total); end
829
+
830
+ protected
831
+
832
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#62
833
+ def projection=(_arg0); end
834
+
835
+ private
836
+
837
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#66
838
+ def absolute; end
839
+
840
+ class << self
841
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#56
842
+ def calculate(current_projection, new_value, rate); end
843
+ end
844
+ end
845
+
846
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#5
847
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
848
+
849
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#4
850
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_STRENGTH = T.let(T.unsafe(nil), Float)
851
+
852
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#2
853
+ module ProgressBar::Refinements; end
854
+
855
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#3
856
+ module ProgressBar::Refinements::Enumerator; end
857
+
858
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#4
859
+ ProgressBar::Refinements::Enumerator::ARITY_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
860
+
861
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#2
862
+ class ProgressBar::Throttle
863
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#8
864
+ def initialize(options = T.unsafe(nil)); end
865
+
866
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#15
867
+ def choke(options = T.unsafe(nil)); end
868
+
869
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
870
+ def rate; end
871
+
872
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
873
+ def rate=(_arg0); end
874
+
875
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
876
+ def started_at; end
877
+
878
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
879
+ def started_at=(_arg0); end
880
+
881
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
882
+ def stopped_at; end
883
+
884
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
885
+ def stopped_at=(_arg0); end
886
+
887
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
888
+ def timer; end
889
+
890
+ # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3
891
+ def timer=(_arg0); end
892
+ end
893
+
894
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#3
895
+ class ProgressBar::Time
896
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#11
897
+ def initialize(time = T.unsafe(nil)); end
898
+
899
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#15
900
+ def now; end
901
+
902
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#19
903
+ def unmocked_time_method; end
904
+
905
+ protected
906
+
907
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
908
+ def time; end
909
+
910
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
911
+ def time=(_arg0); end
912
+ end
913
+
914
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#4
915
+ ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
916
+
917
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#4
918
+ class ProgressBar::Timer
919
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#8
920
+ def initialize(options = T.unsafe(nil)); end
921
+
922
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#67
923
+ def divide_seconds(seconds); end
924
+
925
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57
926
+ def elapsed_seconds; end
927
+
928
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#63
929
+ def elapsed_whole_seconds; end
930
+
931
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31
932
+ def now; end
933
+
934
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#23
935
+ def pause; end
936
+
937
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#43
938
+ def reset; end
939
+
940
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48
941
+ def reset?; end
942
+
943
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#52
944
+ def restart; end
945
+
946
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#27
947
+ def resume; end
948
+
949
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#12
950
+ def start; end
951
+
952
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35
953
+ def started?; end
954
+
955
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
956
+ def started_at; end
957
+
958
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
959
+ def started_at=(_arg0); end
960
+
961
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#17
962
+ def stop; end
963
+
964
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39
965
+ def stopped?; end
966
+
967
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
968
+ def stopped_at; end
969
+
970
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5
971
+ def stopped_at=(_arg0); end
972
+
973
+ protected
974
+
975
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
976
+ def time; end
977
+
978
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
979
+ def time=(_arg0); end
980
+ end