ipt 1.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/test.yml +41 -0
  3. data/.gitignore +0 -1
  4. data/Gemfile.lock +318 -0
  5. data/README.md +1 -1
  6. data/bin/tapioca +29 -0
  7. data/ipt.gemspec +15 -8
  8. data/lib/pt.rb +8 -9
  9. data/lib/pt/action.rb +42 -24
  10. data/lib/pt/cli.rb +1 -1
  11. data/lib/pt/client.rb +2 -3
  12. data/lib/pt/configuration.rb +1 -1
  13. data/lib/pt/data_row.rb +1 -0
  14. data/lib/pt/data_table.rb +1 -2
  15. data/lib/pt/io.rb +16 -7
  16. data/lib/pt/version.rb +2 -1
  17. data/sorbet/config +3 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +671 -0
  19. data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
  20. data/sorbet/rbi/gems/addressable.rbi +147 -0
  21. data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
  22. data/sorbet/rbi/gems/anyway_config.rbi +197 -0
  23. data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
  24. data/sorbet/rbi/gems/aruba.rbi +917 -0
  25. data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
  26. data/sorbet/rbi/gems/ast.rbi +49 -0
  27. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  28. data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
  29. data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
  30. data/sorbet/rbi/gems/childprocess.rbi +107 -0
  31. data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
  32. data/sorbet/rbi/gems/coderay.rbi +285 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  34. data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
  35. data/sorbet/rbi/gems/colorize.rbi +82 -0
  36. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  37. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  38. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  39. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
  40. data/sorbet/rbi/gems/config.rbi +124 -0
  41. data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
  42. data/sorbet/rbi/gems/contracts.rbi +391 -0
  43. data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
  44. data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
  45. data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
  46. data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
  47. data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
  48. data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
  49. data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
  50. data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
  51. data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
  52. data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
  53. data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
  54. data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
  55. data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
  56. data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
  57. data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
  58. data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
  59. data/sorbet/rbi/gems/cucumber.rbi +1876 -0
  60. data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
  61. data/sorbet/rbi/gems/declarative.rbi +75 -0
  62. data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
  63. data/sorbet/rbi/gems/deep_merge.rbi +26 -0
  64. data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
  65. data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
  66. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  67. data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
  68. data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
  69. data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
  70. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
  71. data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
  72. data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
  73. data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
  74. data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
  75. data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
  76. data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
  77. data/sorbet/rbi/gems/equalizer.rbi +23 -0
  78. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
  79. data/sorbet/rbi/gems/equatable.rbi +26 -0
  80. data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
  81. data/sorbet/rbi/gems/excon.rbi +378 -0
  82. data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
  83. data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
  84. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
  85. data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
  86. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
  88. data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
  89. data/sorbet/rbi/gems/faraday.rbi +606 -0
  90. data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
  91. data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
  92. data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
  93. data/sorbet/rbi/gems/ffi.rbi +560 -0
  94. data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
  95. data/sorbet/rbi/gems/formatador.rbi +52 -0
  96. data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
  97. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  98. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  99. data/sorbet/rbi/gems/guard.rbi +397 -0
  100. data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
  101. data/sorbet/rbi/gems/highline.rbi +567 -0
  102. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  103. data/sorbet/rbi/gems/i18n.rbi +133 -0
  104. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  105. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
  106. data/sorbet/rbi/gems/listen.rbi +301 -0
  107. data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
  108. data/sorbet/rbi/gems/lumberjack.rbi +299 -0
  109. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  110. data/sorbet/rbi/gems/method_source.rbi +64 -0
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  112. data/sorbet/rbi/gems/middleware.rbi +32 -0
  113. data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
  114. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  115. data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
  116. data/sorbet/rbi/gems/mime-types.rbi +218 -0
  117. data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
  118. data/sorbet/rbi/gems/mini_mime.rbi +52 -0
  119. data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
  120. data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
  121. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  122. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  123. data/sorbet/rbi/gems/multi_test.rbi +28 -0
  124. data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
  125. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  126. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
  127. data/sorbet/rbi/gems/necromancer.rbi +135 -0
  128. data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
  129. data/sorbet/rbi/gems/nenv.rbi +60 -0
  130. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  131. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  132. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
  133. data/sorbet/rbi/gems/paint.rbi +31 -0
  134. data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
  135. data/sorbet/rbi/gems/parlour.rbi +840 -0
  136. data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
  137. data/sorbet/rbi/gems/parser.rbi +1517 -0
  138. data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
  139. data/sorbet/rbi/gems/pastel.rbi +128 -0
  140. data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
  141. data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
  142. data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
  143. data/sorbet/rbi/gems/pry.rbi +1898 -0
  144. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  145. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  146. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
  147. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  148. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  149. data/sorbet/rbi/gems/rake.rbi +647 -0
  150. data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
  151. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  152. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  153. data/sorbet/rbi/gems/representable.rbi +227 -0
  154. data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
  155. data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
  156. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
  157. data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
  158. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
  159. data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
  160. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  161. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  162. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  163. data/sorbet/rbi/gems/rspec.rbi +15 -0
  164. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  165. data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
  166. data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
  167. data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
  168. data/sorbet/rbi/gems/shellany.rbi +29 -0
  169. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  170. data/sorbet/rbi/gems/spoom.rbi +872 -0
  171. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  172. data/sorbet/rbi/gems/sys-uname.rbi +66 -0
  173. data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
  174. data/sorbet/rbi/gems/tapioca.rbi +39 -0
  175. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
  176. data/sorbet/rbi/gems/terminal-table.rbi +166 -0
  177. data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
  178. data/sorbet/rbi/gems/thor.rbi +537 -0
  179. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  180. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
  181. data/sorbet/rbi/gems/tracker_api.rbi +33 -0
  182. data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
  183. data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
  184. data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
  185. data/sorbet/rbi/gems/tty-color.rbi +41 -0
  186. data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
  187. data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
  188. data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
  189. data/sorbet/rbi/gems/tty-pager.rbi +41 -0
  190. data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
  191. data/sorbet/rbi/gems/tty-platform.rbi +36 -0
  192. data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
  193. data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
  194. data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
  195. data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
  196. data/sorbet/rbi/gems/tty-screen.rbi +40 -0
  197. data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
  198. data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
  199. data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
  200. data/sorbet/rbi/gems/tty-table.rbi +417 -0
  201. data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
  202. data/sorbet/rbi/gems/tty-which.rbi +22 -0
  203. data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
  204. data/sorbet/rbi/gems/tty.rbi +126 -0
  205. data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
  206. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  207. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  208. data/sorbet/rbi/gems/uber.rbi +18 -0
  209. data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
  210. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  211. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
  212. data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
  213. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
  214. data/sorbet/rbi/gems/vcr.rbi +582 -0
  215. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  216. data/sorbet/rbi/gems/verse.rbi +87 -0
  217. data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
  218. data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
  219. data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
  220. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  221. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  222. data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
  223. data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
  224. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  225. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  226. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  227. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  228. data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
  229. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  230. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  231. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  232. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  233. data/sorbet/rbi/todo.rbi +23 -0
  234. data/sorbet/tapioca/require.rb +4 -0
  235. metadata +341 -23
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `coercible` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,82 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/colorize/all/colorize.rbi
9
+ #
10
+ # colorize-0.8.1
11
+
12
+ module Colorize
13
+ end
14
+ module Colorize::ClassMethods
15
+ def color_codes; end
16
+ def color_matrix(_ = nil); end
17
+ def color_methods; end
18
+ def color_samples; end
19
+ def colors; end
20
+ def disable_colorization(value = nil); end
21
+ def disable_colorization=(value); end
22
+ def mode_codes; end
23
+ def modes; end
24
+ def modes_methods; end
25
+ end
26
+ module Colorize::InstanceMethods
27
+ def background_color(color); end
28
+ def color(color); end
29
+ def color_from_symbol(match, symbol); end
30
+ def colorize(params); end
31
+ def colorized?; end
32
+ def colors_from_hash(match, hash); end
33
+ def colors_from_params(match, params); end
34
+ def defaults_colors(match); end
35
+ def mode(mode); end
36
+ def require_windows_libs; end
37
+ def scan_for_colors; end
38
+ def split_colors(match); end
39
+ def uncolorize; end
40
+ end
41
+ class String
42
+ def black; end
43
+ def blink; end
44
+ def blue; end
45
+ def bold; end
46
+ def cyan; end
47
+ def green; end
48
+ def hide; end
49
+ def italic; end
50
+ def light_black; end
51
+ def light_blue; end
52
+ def light_cyan; end
53
+ def light_green; end
54
+ def light_magenta; end
55
+ def light_red; end
56
+ def light_white; end
57
+ def light_yellow; end
58
+ def magenta; end
59
+ def on_black; end
60
+ def on_blue; end
61
+ def on_cyan; end
62
+ def on_green; end
63
+ def on_light_black; end
64
+ def on_light_blue; end
65
+ def on_light_cyan; end
66
+ def on_light_green; end
67
+ def on_light_magenta; end
68
+ def on_light_red; end
69
+ def on_light_white; end
70
+ def on_light_yellow; end
71
+ def on_magenta; end
72
+ def on_red; end
73
+ def on_white; end
74
+ def on_yellow; end
75
+ def red; end
76
+ def swap; end
77
+ def underline; end
78
+ def white; end
79
+ def yellow; end
80
+ extend Colorize::ClassMethods
81
+ include Colorize::InstanceMethods
82
+ end
@@ -0,0 +1,39 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `colorize` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module Colorize; end
8
+
9
+ module Colorize::ClassMethods
10
+ def color_codes; end
11
+ def color_matrix(_ = T.unsafe(nil)); end
12
+ def color_methods; end
13
+ def color_samples; end
14
+ def colors; end
15
+ def disable_colorization(value = T.unsafe(nil)); end
16
+ def disable_colorization=(value); end
17
+ def mode_codes; end
18
+ def modes; end
19
+ def modes_methods; end
20
+ end
21
+
22
+ module Colorize::InstanceMethods
23
+ def colorize(params); end
24
+ def colorized?; end
25
+ def uncolorize; end
26
+
27
+ private
28
+
29
+ def background_color(color); end
30
+ def color(color); end
31
+ def color_from_symbol(match, symbol); end
32
+ def colors_from_hash(match, hash); end
33
+ def colors_from_params(match, params); end
34
+ def defaults_colors(match); end
35
+ def mode(mode); end
36
+ def require_windows_libs; end
37
+ def scan_for_colors; end
38
+ def split_colors(match); end
39
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `commander` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,1590 @@
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/concurrent-ruby/all/concurrent-ruby.rbi
9
+ #
10
+ # concurrent-ruby-1.1.8
11
+
12
+ module Concurrent
13
+ def abort_transaction; end
14
+ def atomically; end
15
+ def call_dataflow(method, executor, *inputs, &block); end
16
+ def dataflow!(*inputs, &block); end
17
+ def dataflow(*inputs, &block); end
18
+ def dataflow_with!(executor, *inputs, &block); end
19
+ def dataflow_with(executor, *inputs, &block); end
20
+ def leave_transaction; end
21
+ def monotonic_time; end
22
+ def self.abort_transaction; end
23
+ def self.atomically; end
24
+ def self.call_dataflow(method, executor, *inputs, &block); end
25
+ def self.create_simple_logger(level = nil, output = nil); end
26
+ def self.create_stdlib_logger(level = nil, output = nil); end
27
+ def self.dataflow!(*inputs, &block); end
28
+ def self.dataflow(*inputs, &block); end
29
+ def self.dataflow_with!(executor, *inputs, &block); end
30
+ def self.dataflow_with(executor, *inputs, &block); end
31
+ def self.disable_at_exit_handlers!; end
32
+ def self.executor(executor_identifier); end
33
+ def self.global_fast_executor; end
34
+ def self.global_immediate_executor; end
35
+ def self.global_io_executor; end
36
+ def self.global_logger; end
37
+ def self.global_logger=(value); end
38
+ def self.global_timer_set; end
39
+ def self.leave_transaction; end
40
+ def self.monotonic_time; end
41
+ def self.new_fast_executor(opts = nil); end
42
+ def self.new_io_executor(opts = nil); end
43
+ def self.physical_processor_count; end
44
+ def self.processor_count; end
45
+ def self.processor_counter; end
46
+ def self.use_simple_logger(level = nil, output = nil); end
47
+ def self.use_stdlib_logger(level = nil, output = nil); end
48
+ extend Concurrent::Concern::Deprecation
49
+ extend Concurrent::Concern::Logging
50
+ extend Concurrent::Utility::EngineDetector
51
+ extend Concurrent::Utility::NativeExtensionLoader
52
+ end
53
+ module Concurrent::Utility
54
+ end
55
+ module Concurrent::Utility::EngineDetector
56
+ def on_cruby?; end
57
+ def on_jruby?; end
58
+ def on_jruby_9000?; end
59
+ def on_linux?; end
60
+ def on_osx?; end
61
+ def on_rbx?; end
62
+ def on_truffleruby?; end
63
+ def on_windows?; end
64
+ def ruby_engine; end
65
+ def ruby_version(version = nil, comparison, major, minor, patch); end
66
+ end
67
+ module Concurrent::Synchronization
68
+ end
69
+ class Concurrent::Synchronization::AbstractObject
70
+ def full_memory_barrier; end
71
+ def initialize; end
72
+ def self.attr_volatile(*names); end
73
+ end
74
+ module Concurrent::Utility::NativeExtensionLoader
75
+ def allow_c_extensions?; end
76
+ def c_extensions_loaded?; end
77
+ def java_extensions_loaded?; end
78
+ def load_error_path(error); end
79
+ def load_native_extensions; end
80
+ def set_c_extensions_loaded; end
81
+ def set_java_extensions_loaded; end
82
+ def try_load_c_extension(path); end
83
+ end
84
+ module Concurrent::Synchronization::MriAttrVolatile
85
+ def full_memory_barrier; end
86
+ def self.included(base); end
87
+ end
88
+ module Concurrent::Synchronization::MriAttrVolatile::ClassMethods
89
+ def attr_volatile(*names); end
90
+ end
91
+ class Concurrent::Synchronization::MriObject < Concurrent::Synchronization::AbstractObject
92
+ def initialize; end
93
+ extend Concurrent::Synchronization::MriAttrVolatile::ClassMethods
94
+ include Concurrent::Synchronization::MriAttrVolatile
95
+ end
96
+ module Concurrent::Synchronization::RbxAttrVolatile
97
+ def full_memory_barrier; end
98
+ def self.included(base); end
99
+ end
100
+ module Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
101
+ def attr_volatile(*names); end
102
+ end
103
+ class Concurrent::Synchronization::RbxObject < Concurrent::Synchronization::AbstractObject
104
+ def initialize; end
105
+ extend Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
106
+ include Concurrent::Synchronization::RbxAttrVolatile
107
+ end
108
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile
109
+ def full_memory_barrier; end
110
+ def self.included(base); end
111
+ end
112
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
113
+ def attr_volatile(*names); end
114
+ end
115
+ class Concurrent::Synchronization::TruffleRubyObject < Concurrent::Synchronization::AbstractObject
116
+ def initialize; end
117
+ extend Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
118
+ include Concurrent::Synchronization::TruffleRubyAttrVolatile
119
+ end
120
+ class Concurrent::Synchronization::Object < Concurrent::Synchronization::MriObject
121
+ def __initialize_atomic_fields__; end
122
+ def initialize; end
123
+ def self.atomic_attribute?(name); end
124
+ def self.atomic_attributes(inherited = nil); end
125
+ def self.attr_atomic(*names); end
126
+ def self.define_initialize_atomic_fields; end
127
+ def self.ensure_safe_initialization_when_final_fields_are_present; end
128
+ def self.safe_initialization!; end
129
+ def self.safe_initialization?; end
130
+ end
131
+ class Concurrent::Synchronization::AbstractLockableObject < Concurrent::Synchronization::Object
132
+ def ns_broadcast; end
133
+ def ns_signal; end
134
+ def ns_wait(timeout = nil); end
135
+ def ns_wait_until(timeout = nil, &condition); end
136
+ def synchronize; end
137
+ end
138
+ module Concurrent::Synchronization::ConditionSignalling
139
+ def ns_broadcast; end
140
+ def ns_signal; end
141
+ end
142
+ class Concurrent::Synchronization::MutexLockableObject < Concurrent::Synchronization::AbstractLockableObject
143
+ def initialize(*defaults); end
144
+ def ns_wait(timeout = nil); end
145
+ def self.new(*args, &block); end
146
+ def synchronize; end
147
+ include Concurrent::Synchronization::ConditionSignalling
148
+ end
149
+ class Concurrent::Synchronization::MonitorLockableObject < Concurrent::Synchronization::AbstractLockableObject
150
+ def initialize(*defaults); end
151
+ def ns_wait(timeout = nil); end
152
+ def self.new(*args, &block); end
153
+ def synchronize; end
154
+ include Concurrent::Synchronization::ConditionSignalling
155
+ end
156
+ class Concurrent::Synchronization::RbxLockableObject < Concurrent::Synchronization::AbstractLockableObject
157
+ def initialize(*defaults); end
158
+ def ns_broadcast; end
159
+ def ns_signal; end
160
+ def ns_wait(timeout = nil); end
161
+ def self.new(*args, &block); end
162
+ def synchronize(&block); end
163
+ end
164
+ class Concurrent::Synchronization::LockableObject < Concurrent::Synchronization::MutexLockableObject
165
+ def new_condition; end
166
+ end
167
+ class Concurrent::Synchronization::Condition < Concurrent::Synchronization::LockableObject
168
+ def broadcast; end
169
+ def initialize(lock); end
170
+ def ns_broadcast; end
171
+ def ns_signal; end
172
+ def ns_wait(timeout = nil); end
173
+ def ns_wait_until(timeout = nil, &condition); end
174
+ def self.new(*args, &block); end
175
+ def self.private_new(*args, &block); end
176
+ def signal; end
177
+ def wait(timeout = nil); end
178
+ def wait_until(timeout = nil, &condition); end
179
+ end
180
+ class Concurrent::Synchronization::Lock < Concurrent::Synchronization::LockableObject
181
+ def broadcast; end
182
+ def ns_broadcast; end
183
+ def ns_signal; end
184
+ def ns_wait(timeout = nil); end
185
+ def ns_wait_until(timeout = nil, &condition); end
186
+ def signal; end
187
+ def synchronize; end
188
+ def wait(timeout = nil); end
189
+ def wait_until(timeout = nil, &condition); end
190
+ end
191
+ module Concurrent::Collection
192
+ end
193
+ class Concurrent::Collection::NonConcurrentMapBackend
194
+ def [](key); end
195
+ def []=(key, value); end
196
+ def _get(key); end
197
+ def _set(key, value); end
198
+ def clear; end
199
+ def compute(key); end
200
+ def compute_if_absent(key); end
201
+ def compute_if_present(key); end
202
+ def delete(key); end
203
+ def delete_pair(key, value); end
204
+ def dupped_backend; end
205
+ def each_pair; end
206
+ def get_and_set(key, value); end
207
+ def get_or_default(key, default_value); end
208
+ def initialize(options = nil); end
209
+ def initialize_copy(other); end
210
+ def key?(key); end
211
+ def merge_pair(key, value); end
212
+ def pair?(key, expected_value); end
213
+ def replace_if_exists(key, new_value); end
214
+ def replace_pair(key, old_value, new_value); end
215
+ def size; end
216
+ def store_computed_value(key, new_value); end
217
+ end
218
+ class Concurrent::Collection::MriMapBackend < Concurrent::Collection::NonConcurrentMapBackend
219
+ def []=(key, value); end
220
+ def clear; end
221
+ def compute(key); end
222
+ def compute_if_absent(key); end
223
+ def compute_if_present(key); end
224
+ def delete(key); end
225
+ def delete_pair(key, value); end
226
+ def get_and_set(key, value); end
227
+ def initialize(options = nil); end
228
+ def merge_pair(key, value); end
229
+ def replace_if_exists(key, new_value); end
230
+ def replace_pair(key, old_value, new_value); end
231
+ end
232
+ class Concurrent::Map < Concurrent::Collection::MriMapBackend
233
+ def [](key); end
234
+ def each; end
235
+ def each_key; end
236
+ def each_pair; end
237
+ def each_value; end
238
+ def empty?; end
239
+ def fetch(key, default_value = nil); end
240
+ def fetch_or_store(key, default_value = nil); end
241
+ def get(key); end
242
+ def initialize(options = nil, &block); end
243
+ def initialize_copy(other); end
244
+ def inspect; end
245
+ def key(value); end
246
+ def keys; end
247
+ def marshal_dump; end
248
+ def marshal_load(hash); end
249
+ def populate_from(hash); end
250
+ def put(key, value); end
251
+ def put_if_absent(key, value); end
252
+ def raise_fetch_no_key; end
253
+ def validate_options_hash!(options); end
254
+ def value?(value); end
255
+ def values; end
256
+ end
257
+ module Concurrent::ThreadSafe
258
+ end
259
+ module Concurrent::ThreadSafe::Util
260
+ end
261
+ class Concurrent::Hash < Hash
262
+ end
263
+ class Concurrent::Error < StandardError
264
+ end
265
+ class Concurrent::ConfigurationError < Concurrent::Error
266
+ end
267
+ class Concurrent::CancelledOperationError < Concurrent::Error
268
+ end
269
+ class Concurrent::LifecycleError < Concurrent::Error
270
+ end
271
+ class Concurrent::ImmutabilityError < Concurrent::Error
272
+ end
273
+ class Concurrent::IllegalOperationError < Concurrent::Error
274
+ end
275
+ class Concurrent::InitializationError < Concurrent::Error
276
+ end
277
+ class Concurrent::MaxRestartFrequencyError < Concurrent::Error
278
+ end
279
+ class Concurrent::MultipleAssignmentError < Concurrent::Error
280
+ def initialize(message = nil, inspection_data = nil); end
281
+ def inspect; end
282
+ def inspection_data; end
283
+ end
284
+ class Concurrent::RejectedExecutionError < Concurrent::Error
285
+ end
286
+ class Concurrent::ResourceLimitError < Concurrent::Error
287
+ end
288
+ class Concurrent::TimeoutError < Concurrent::Error
289
+ end
290
+ class Concurrent::MultipleErrors < Concurrent::Error
291
+ def errors; end
292
+ def initialize(errors, message = nil); end
293
+ end
294
+ class Concurrent::Event < Concurrent::Synchronization::LockableObject
295
+ def initialize; end
296
+ def ns_initialize; end
297
+ def ns_set; end
298
+ def reset; end
299
+ def set; end
300
+ def set?; end
301
+ def try?; end
302
+ def wait(timeout = nil); end
303
+ end
304
+ module Concurrent::Concern
305
+ end
306
+ module Concurrent::Concern::Dereferenceable
307
+ def apply_deref_options(value); end
308
+ def deref; end
309
+ def ns_set_deref_options(opts); end
310
+ def set_deref_options(opts = nil); end
311
+ def value; end
312
+ def value=(value); end
313
+ end
314
+ module Concurrent::Concern::Obligation
315
+ def compare_and_set_state(next_state, *expected_current); end
316
+ def complete?; end
317
+ def event; end
318
+ def exception(*args); end
319
+ def fulfilled?; end
320
+ def get_arguments_from(opts = nil); end
321
+ def if_state(*expected_states); end
322
+ def incomplete?; end
323
+ def init_obligation; end
324
+ def no_error!(timeout = nil); end
325
+ def ns_check_state?(expected); end
326
+ def ns_set_state(value); end
327
+ def pending?; end
328
+ def realized?; end
329
+ def reason; end
330
+ def rejected?; end
331
+ def set_state(success, value, reason); end
332
+ def state; end
333
+ def state=(value); end
334
+ def unscheduled?; end
335
+ def value!(timeout = nil); end
336
+ def value(timeout = nil); end
337
+ def wait!(timeout = nil); end
338
+ def wait(timeout = nil); end
339
+ include Concurrent::Concern::Dereferenceable
340
+ end
341
+ module Concurrent::Concern::Logging
342
+ def log(level, progname, message = nil, &block); end
343
+ include Logger::Severity
344
+ end
345
+ module Concurrent::Concern::Deprecation
346
+ def deprecated(message, strip = nil); end
347
+ def deprecated_method(old_name, new_name); end
348
+ extend Concurrent::Concern::Deprecation
349
+ include Concurrent::Concern::Logging
350
+ end
351
+ module Concurrent::ExecutorService
352
+ def <<(task); end
353
+ def can_overflow?; end
354
+ def post(*args, &task); end
355
+ def serialized?; end
356
+ include Concurrent::Concern::Logging
357
+ end
358
+ class Concurrent::AbstractExecutorService < Concurrent::Synchronization::LockableObject
359
+ def auto_terminate=(value); end
360
+ def auto_terminate?; end
361
+ def fallback_policy; end
362
+ def handle_fallback(*args); end
363
+ def initialize(opts = nil, &block); end
364
+ def kill; end
365
+ def name; end
366
+ def ns_auto_terminate?; end
367
+ def ns_execute(*args, &task); end
368
+ def ns_kill_execution; end
369
+ def ns_shutdown_execution; end
370
+ def running?; end
371
+ def shutdown; end
372
+ def shutdown?; end
373
+ def shuttingdown?; end
374
+ def to_s; end
375
+ def wait_for_termination(timeout = nil); end
376
+ include Concurrent::Concern::Deprecation
377
+ include Concurrent::ExecutorService
378
+ end
379
+ module Concurrent::SerialExecutorService
380
+ def serialized?; end
381
+ include Concurrent::ExecutorService
382
+ end
383
+ class Concurrent::ImmediateExecutor < Concurrent::AbstractExecutorService
384
+ def <<(task); end
385
+ def initialize; end
386
+ def kill; end
387
+ def post(*args, &task); end
388
+ def running?; end
389
+ def shutdown; end
390
+ def shutdown?; end
391
+ def shuttingdown?; end
392
+ def wait_for_termination(timeout = nil); end
393
+ include Concurrent::SerialExecutorService
394
+ end
395
+ class Concurrent::Delay < Concurrent::Synchronization::LockableObject
396
+ def execute_task_once; end
397
+ def initialize(opts = nil, &block); end
398
+ def ns_initialize(opts, &block); end
399
+ def reconfigure(&block); end
400
+ def value!(timeout = nil); end
401
+ def value(timeout = nil); end
402
+ def wait(timeout = nil); end
403
+ include Concurrent::Concern::Obligation
404
+ end
405
+ module Concurrent::AtomicNumericCompareAndSetWrapper
406
+ def compare_and_set(old_value, new_value); end
407
+ end
408
+ class Concurrent::MutexAtomicReference < Concurrent::Synchronization::LockableObject
409
+ def _compare_and_set(old_value, new_value); end
410
+ def compare_and_swap(old_value, new_value); end
411
+ def get; end
412
+ def get_and_set(new_value); end
413
+ def initialize(value = nil); end
414
+ def ns_initialize(value); end
415
+ def set(new_value); end
416
+ def swap(new_value); end
417
+ def value; end
418
+ def value=(new_value); end
419
+ include Concurrent::AtomicDirectUpdate
420
+ include Concurrent::AtomicNumericCompareAndSetWrapper
421
+ end
422
+ module Concurrent::AtomicDirectUpdate
423
+ def try_update!; end
424
+ def try_update; end
425
+ def update; end
426
+ end
427
+ class Concurrent::ConcurrentUpdateError < ThreadError
428
+ end
429
+ class Concurrent::AtomicReference < Concurrent::MutexAtomicReference
430
+ def inspect; end
431
+ def to_s; end
432
+ end
433
+ class Concurrent::RubyExecutorService < Concurrent::AbstractExecutorService
434
+ def initialize(*args, &block); end
435
+ def kill; end
436
+ def ns_running?; end
437
+ def ns_shutdown?; end
438
+ def ns_shutdown_execution; end
439
+ def ns_shuttingdown?; end
440
+ def post(*args, &task); end
441
+ def shutdown; end
442
+ def stop_event; end
443
+ def stopped_event; end
444
+ def wait_for_termination(timeout = nil); end
445
+ end
446
+ class Concurrent::RubyThreadPoolExecutor < Concurrent::RubyExecutorService
447
+ def can_overflow?; end
448
+ def completed_task_count; end
449
+ def idletime; end
450
+ def initialize(opts = nil); end
451
+ def largest_length; end
452
+ def length; end
453
+ def max_length; end
454
+ def max_queue; end
455
+ def min_length; end
456
+ def ns_add_busy_worker; end
457
+ def ns_assign_worker(*args, &task); end
458
+ def ns_enqueue(*args, &task); end
459
+ def ns_execute(*args, &task); end
460
+ def ns_initialize(opts); end
461
+ def ns_kill_execution; end
462
+ def ns_limited_queue?; end
463
+ def ns_prune_pool; end
464
+ def ns_ready_worker(worker, success = nil); end
465
+ def ns_remove_busy_worker(worker); end
466
+ def ns_reset_if_forked; end
467
+ def ns_shutdown_execution; end
468
+ def ns_worker_died(worker); end
469
+ def ns_worker_not_old_enough(worker); end
470
+ def queue_length; end
471
+ def ready_worker(worker); end
472
+ def remaining_capacity; end
473
+ def remove_busy_worker(worker); end
474
+ def scheduled_task_count; end
475
+ def synchronous; end
476
+ def worker_died(worker); end
477
+ def worker_not_old_enough(worker); end
478
+ def worker_task_completed; end
479
+ end
480
+ class Concurrent::RubyThreadPoolExecutor::Worker
481
+ def <<(message); end
482
+ def create_worker(queue, pool, idletime); end
483
+ def initialize(pool, id); end
484
+ def kill; end
485
+ def run_task(pool, task, args); end
486
+ def stop; end
487
+ include Concurrent::Concern::Logging
488
+ end
489
+ class Concurrent::ThreadPoolExecutor < Concurrent::RubyThreadPoolExecutor
490
+ end
491
+ class Concurrent::CachedThreadPool < Concurrent::ThreadPoolExecutor
492
+ def initialize(opts = nil); end
493
+ def ns_initialize(opts); end
494
+ end
495
+ class Concurrent::Utility::ProcessorCounter
496
+ def compute_physical_processor_count; end
497
+ def compute_processor_count; end
498
+ def initialize; end
499
+ def physical_processor_count; end
500
+ def processor_count; end
501
+ end
502
+ class Concurrent::MutexAtomicBoolean < Concurrent::Synchronization::LockableObject
503
+ def false?; end
504
+ def initialize(initial = nil); end
505
+ def make_false; end
506
+ def make_true; end
507
+ def ns_initialize(initial); end
508
+ def ns_make_value(value); end
509
+ def true?; end
510
+ def value; end
511
+ def value=(value); end
512
+ end
513
+ class Concurrent::AtomicBoolean < Concurrent::MutexAtomicBoolean
514
+ def inspect; end
515
+ def to_s; end
516
+ end
517
+ module Concurrent::Utility::NativeInteger
518
+ def ensure_integer(value); end
519
+ def ensure_integer_and_bounds(value); end
520
+ def ensure_lower_bound(value); end
521
+ def ensure_positive(value); end
522
+ def ensure_positive_and_no_zero(value); end
523
+ def ensure_upper_bound(value); end
524
+ extend Concurrent::Utility::NativeInteger
525
+ end
526
+ class Concurrent::MutexAtomicFixnum < Concurrent::Synchronization::LockableObject
527
+ def compare_and_set(expect, update); end
528
+ def decrement(delta = nil); end
529
+ def down(delta = nil); end
530
+ def increment(delta = nil); end
531
+ def initialize(initial = nil); end
532
+ def ns_initialize(initial); end
533
+ def ns_set(value); end
534
+ def up(delta = nil); end
535
+ def update; end
536
+ def value; end
537
+ def value=(value); end
538
+ end
539
+ class Concurrent::AtomicFixnum < Concurrent::MutexAtomicFixnum
540
+ def inspect; end
541
+ def to_s; end
542
+ end
543
+ class Concurrent::CyclicBarrier < Concurrent::Synchronization::LockableObject
544
+ def broken?; end
545
+ def initialize(parties, &block); end
546
+ def ns_generation_done(generation, status, continue = nil); end
547
+ def ns_initialize(parties, &block); end
548
+ def ns_next_generation; end
549
+ def number_waiting; end
550
+ def parties; end
551
+ def reset; end
552
+ def wait(timeout = nil); end
553
+ end
554
+ class Concurrent::CyclicBarrier::Generation < Struct
555
+ def self.[](*arg0); end
556
+ def self.inspect; end
557
+ def self.members; end
558
+ def self.new(*arg0); end
559
+ def status; end
560
+ def status=(_); end
561
+ end
562
+ class Concurrent::MutexCountDownLatch < Concurrent::Synchronization::LockableObject
563
+ def count; end
564
+ def count_down; end
565
+ def initialize(count = nil); end
566
+ def ns_initialize(count); end
567
+ def wait(timeout = nil); end
568
+ end
569
+ class Concurrent::CountDownLatch < Concurrent::MutexCountDownLatch
570
+ end
571
+ class Concurrent::ReadWriteLock < Concurrent::Synchronization::Object
572
+ def acquire_read_lock; end
573
+ def acquire_write_lock; end
574
+ def has_waiters?; end
575
+ def initialize; end
576
+ def max_readers?(c = nil); end
577
+ def max_writers?(c = nil); end
578
+ def release_read_lock; end
579
+ def release_write_lock; end
580
+ def running_readers(c = nil); end
581
+ def running_readers?(c = nil); end
582
+ def running_writer?(c = nil); end
583
+ def self.new(*args, &block); end
584
+ def waiting_writer?(c = nil); end
585
+ def waiting_writers(c = nil); end
586
+ def with_read_lock; end
587
+ def with_write_lock; end
588
+ def write_locked?; end
589
+ end
590
+ class Concurrent::AbstractThreadLocalVar
591
+ def allocate_storage; end
592
+ def bind(value, &block); end
593
+ def default; end
594
+ def initialize(default = nil, &default_block); end
595
+ def value; end
596
+ def value=(value); end
597
+ end
598
+ class Concurrent::RubyThreadLocalVar < Concurrent::AbstractThreadLocalVar
599
+ def allocate_storage; end
600
+ def get_default; end
601
+ def get_threadlocal_array(thread = nil); end
602
+ def next_index; end
603
+ def self.semi_sync(&block); end
604
+ def self.thread_finalizer(id); end
605
+ def self.thread_local_finalizer(index); end
606
+ def set_threadlocal_array(array, thread = nil); end
607
+ def value; end
608
+ def value=(value); end
609
+ def value_for(thread); end
610
+ end
611
+ class Concurrent::ThreadLocalVar < Concurrent::RubyThreadLocalVar
612
+ end
613
+ class Concurrent::ReentrantReadWriteLock < Concurrent::Synchronization::Object
614
+ def acquire_read_lock; end
615
+ def acquire_write_lock; end
616
+ def initialize; end
617
+ def max_readers?(c = nil); end
618
+ def max_writers?(c = nil); end
619
+ def release_read_lock; end
620
+ def release_write_lock; end
621
+ def running_readers(c = nil); end
622
+ def running_readers?(c = nil); end
623
+ def running_writer?(c = nil); end
624
+ def self.new(*args, &block); end
625
+ def try_read_lock; end
626
+ def try_write_lock; end
627
+ def waiting_or_running_writer?(c = nil); end
628
+ def waiting_writers(c = nil); end
629
+ def with_read_lock; end
630
+ def with_write_lock; end
631
+ end
632
+ class Concurrent::MutexSemaphore < Concurrent::Synchronization::LockableObject
633
+ def acquire(permits = nil); end
634
+ def available_permits; end
635
+ def drain_permits; end
636
+ def initialize(count); end
637
+ def ns_initialize(count); end
638
+ def reduce_permits(reduction); end
639
+ def release(permits = nil); end
640
+ def try_acquire(permits = nil, timeout = nil); end
641
+ def try_acquire_now(permits); end
642
+ def try_acquire_timed(permits, timeout); end
643
+ end
644
+ class Concurrent::Semaphore < Concurrent::MutexSemaphore
645
+ end
646
+ class Concurrent::FixedThreadPool < Concurrent::ThreadPoolExecutor
647
+ def initialize(num_threads, opts = nil); end
648
+ end
649
+ class Concurrent::SimpleExecutorService < Concurrent::RubyExecutorService
650
+ def <<(task); end
651
+ def kill; end
652
+ def ns_initialize(*args); end
653
+ def post(*args, &task); end
654
+ def running?; end
655
+ def self.<<(task); end
656
+ def self.post(*args); end
657
+ def shutdown; end
658
+ def shutdown?; end
659
+ def shuttingdown?; end
660
+ def wait_for_termination(timeout = nil); end
661
+ end
662
+ class Concurrent::IndirectImmediateExecutor < Concurrent::ImmediateExecutor
663
+ def initialize; end
664
+ def post(*args, &task); end
665
+ end
666
+ class Concurrent::RubySingleThreadExecutor < Concurrent::RubyThreadPoolExecutor
667
+ def initialize(opts = nil); end
668
+ end
669
+ class Concurrent::SafeTaskExecutor < Concurrent::Synchronization::LockableObject
670
+ def execute(*args); end
671
+ def initialize(task, opts = nil); end
672
+ end
673
+ class Concurrent::SerializedExecution < Concurrent::Synchronization::LockableObject
674
+ def call_job(job); end
675
+ def initialize; end
676
+ def ns_initialize; end
677
+ def post(executor, *args, &task); end
678
+ def posts(posts); end
679
+ def work(job); end
680
+ include Concurrent::Concern::Logging
681
+ end
682
+ class Concurrent::SerializedExecution::Job < Struct
683
+ def args; end
684
+ def args=(_); end
685
+ def block; end
686
+ def block=(_); end
687
+ def call; end
688
+ def executor; end
689
+ def executor=(_); end
690
+ def self.[](*arg0); end
691
+ def self.inspect; end
692
+ def self.members; end
693
+ def self.new(*arg0); end
694
+ end
695
+ class Concurrent::SerializedExecutionDelegator < SimpleDelegator
696
+ def initialize(executor); end
697
+ def post(*args, &task); end
698
+ include Concurrent::SerialExecutorService
699
+ end
700
+ class Concurrent::SingleThreadExecutor < Concurrent::RubySingleThreadExecutor
701
+ end
702
+ class Concurrent::Collection::CopyOnWriteObserverSet < Concurrent::Synchronization::LockableObject
703
+ def add_observer(observer = nil, func = nil, &block); end
704
+ def clear_observers_and_return_old; end
705
+ def count_observers; end
706
+ def delete_observer(observer); end
707
+ def delete_observers; end
708
+ def initialize; end
709
+ def notify_and_delete_observers(*args, &block); end
710
+ def notify_observers(*args, &block); end
711
+ def notify_to(observers, *args); end
712
+ def ns_initialize; end
713
+ def observers; end
714
+ def observers=(new_set); end
715
+ end
716
+ class Concurrent::Collection::CopyOnNotifyObserverSet < Concurrent::Synchronization::LockableObject
717
+ def add_observer(observer = nil, func = nil, &block); end
718
+ def count_observers; end
719
+ def delete_observer(observer); end
720
+ def delete_observers; end
721
+ def duplicate_and_clear_observers; end
722
+ def duplicate_observers; end
723
+ def initialize; end
724
+ def notify_and_delete_observers(*args, &block); end
725
+ def notify_observers(*args, &block); end
726
+ def notify_to(observers, *args); end
727
+ def ns_initialize; end
728
+ end
729
+ module Concurrent::Concern::Observable
730
+ def add_observer(observer = nil, func = nil, &block); end
731
+ def count_observers; end
732
+ def delete_observer(observer); end
733
+ def delete_observers; end
734
+ def observers; end
735
+ def observers=(arg0); end
736
+ def with_observer(observer = nil, func = nil, &block); end
737
+ end
738
+ class Concurrent::IVar < Concurrent::Synchronization::LockableObject
739
+ def add_observer(observer = nil, func = nil, &block); end
740
+ def check_for_block_or_value!(block_given, value); end
741
+ def complete(success, value, reason); end
742
+ def complete_without_notification(success, value, reason); end
743
+ def fail(reason = nil); end
744
+ def initialize(value = nil, opts = nil, &block); end
745
+ def notify_observers(value, reason); end
746
+ def ns_complete_without_notification(success, value, reason); end
747
+ def ns_initialize(value, opts); end
748
+ def safe_execute(task, args = nil); end
749
+ def set(value = nil); end
750
+ def try_set(value = nil, &block); end
751
+ include Concurrent::Concern::Obligation
752
+ include Concurrent::Concern::Observable
753
+ end
754
+ module Concurrent::Options
755
+ def self.executor(executor_identifier); end
756
+ def self.executor_from_options(opts = nil); end
757
+ end
758
+ class Concurrent::ScheduledTask < Concurrent::IVar
759
+ def <=>(other); end
760
+ def cancel; end
761
+ def cancelled?; end
762
+ def execute; end
763
+ def executor; end
764
+ def fail(reason = nil); end
765
+ def initial_delay; end
766
+ def initialize(delay, opts = nil, &task); end
767
+ def ns_reschedule(delay); end
768
+ def ns_schedule(delay); end
769
+ def process_task; end
770
+ def processing?; end
771
+ def reschedule(delay); end
772
+ def reset; end
773
+ def schedule_time; end
774
+ def self.execute(delay, opts = nil, &task); end
775
+ def set(value = nil); end
776
+ def try_set(value = nil, &block); end
777
+ include Comparable
778
+ end
779
+ class Concurrent::Collection::RubyNonConcurrentPriorityQueue
780
+ def <<(item); end
781
+ def clear; end
782
+ def delete(item); end
783
+ def deq; end
784
+ def empty?; end
785
+ def enq(item); end
786
+ def has_priority?(item); end
787
+ def include?(item); end
788
+ def initialize(opts = nil); end
789
+ def length; end
790
+ def ordered?(x, y); end
791
+ def peek; end
792
+ def pop; end
793
+ def push(item); end
794
+ def self.from_list(list, opts = nil); end
795
+ def shift; end
796
+ def sink(k); end
797
+ def size; end
798
+ def swap(x, y); end
799
+ def swim(k); end
800
+ end
801
+ class Concurrent::Collection::NonConcurrentPriorityQueue < Concurrent::Collection::RubyNonConcurrentPriorityQueue
802
+ def <<(item); end
803
+ def deq; end
804
+ def enq(item); end
805
+ def has_priority?(item); end
806
+ def shift; end
807
+ def size; end
808
+ end
809
+ class Concurrent::TimerSet < Concurrent::RubyExecutorService
810
+ def <<(task); end
811
+ def initialize(opts = nil); end
812
+ def kill; end
813
+ def ns_initialize(opts); end
814
+ def ns_post_task(task); end
815
+ def ns_reset_if_forked; end
816
+ def ns_shutdown_execution; end
817
+ def post(delay, *args, &task); end
818
+ def post_task(task); end
819
+ def process_tasks; end
820
+ def remove_task(task); end
821
+ end
822
+ class Concurrent::AtomicMarkableReference < Concurrent::Synchronization::Object
823
+ def __initialize_atomic_fields__; end
824
+ def compare_and_set(expected_val, new_val, expected_mark, new_mark); end
825
+ def compare_and_set_reference(expected, value); end
826
+ def compare_and_swap(expected_val, new_val, expected_mark, new_mark); end
827
+ def get; end
828
+ def immutable_array(*args); end
829
+ def initialize(value = nil, mark = nil); end
830
+ def mark; end
831
+ def marked?; end
832
+ def reference; end
833
+ def reference=(value); end
834
+ def self.new(*args, &block); end
835
+ def set(new_val, new_mark); end
836
+ def swap_reference(value); end
837
+ def try_update!; end
838
+ def try_update; end
839
+ def update; end
840
+ def update_reference(&block); end
841
+ def value; end
842
+ end
843
+ class Concurrent::Agent < Concurrent::Synchronization::LockableObject
844
+ def <<(action); end
845
+ def await; end
846
+ def await_for!(timeout); end
847
+ def await_for(timeout); end
848
+ def deref; end
849
+ def enqueue_action_job(action, args, executor); end
850
+ def enqueue_await_job(latch); end
851
+ def error; end
852
+ def error_mode; end
853
+ def execute_next_job; end
854
+ def failed?; end
855
+ def handle_error(error); end
856
+ def initialize(initial, opts = nil); end
857
+ def ns_enqueue_job(job, index = nil); end
858
+ def ns_find_last_job_for_thread; end
859
+ def ns_initialize(initial, opts); end
860
+ def ns_post_next_job; end
861
+ def ns_validate(value); end
862
+ def post(*args, &action); end
863
+ def reason; end
864
+ def restart(new_value, opts = nil); end
865
+ def self.await(*agents); end
866
+ def self.await_for!(timeout, *agents); end
867
+ def self.await_for(timeout, *agents); end
868
+ def send!(*args, &action); end
869
+ def send(*args, &action); end
870
+ def send_off!(*args, &action); end
871
+ def send_off(*args, &action); end
872
+ def send_via!(executor, *args, &action); end
873
+ def send_via(executor, *args, &action); end
874
+ def stopped?; end
875
+ def value; end
876
+ def wait(timeout = nil); end
877
+ include Concurrent::Concern::Observable
878
+ end
879
+ class Concurrent::Agent::Job < Struct
880
+ def action; end
881
+ def action=(_); end
882
+ def args; end
883
+ def args=(_); end
884
+ def caller; end
885
+ def caller=(_); end
886
+ def executor; end
887
+ def executor=(_); end
888
+ def self.[](*arg0); end
889
+ def self.inspect; end
890
+ def self.members; end
891
+ def self.new(*arg0); end
892
+ end
893
+ class Concurrent::Agent::Error < StandardError
894
+ def initialize(message = nil); end
895
+ end
896
+ class Concurrent::Agent::ValidationError < Concurrent::Agent::Error
897
+ def initialize(message = nil); end
898
+ end
899
+ class Concurrent::Atom < Concurrent::Synchronization::Object
900
+ def __initialize_atomic_fields__; end
901
+ def compare_and_set(old_value, new_value); end
902
+ def compare_and_set_value(expected, value); end
903
+ def deref; end
904
+ def initialize(value, opts = nil); end
905
+ def reset(new_value); end
906
+ def self.new(*args, &block); end
907
+ def swap(*args); end
908
+ def swap_value(value); end
909
+ def update_value(&block); end
910
+ def valid?(new_value); end
911
+ def value; end
912
+ def value=(value); end
913
+ include Concurrent::Concern::Observable
914
+ end
915
+ class Concurrent::Array < Array
916
+ end
917
+ class Concurrent::Set < Set
918
+ end
919
+ class Concurrent::Tuple
920
+ def cas(i, old_value, new_value); end
921
+ def compare_and_set(i, old_value, new_value); end
922
+ def each; end
923
+ def get(i); end
924
+ def initialize(size); end
925
+ def set(i, value); end
926
+ def size; end
927
+ def volatile_get(i); end
928
+ def volatile_set(i, value); end
929
+ include Enumerable
930
+ end
931
+ module Concurrent::Async
932
+ def async; end
933
+ def await; end
934
+ def call; end
935
+ def cast; end
936
+ def init_synchronization; end
937
+ def self.included(base); end
938
+ def self.validate_argc(obj, method, *args); end
939
+ end
940
+ module Concurrent::Async::ClassMethods
941
+ def new(*args, &block); end
942
+ end
943
+ class Concurrent::Async::AsyncDelegator < Concurrent::Synchronization::LockableObject
944
+ def initialize(delegate); end
945
+ def method_missing(method, *args, &block); end
946
+ def perform; end
947
+ def reset_if_forked; end
948
+ def respond_to_missing?(method, include_private = nil); end
949
+ end
950
+ class Concurrent::Async::AwaitDelegator
951
+ def initialize(delegate); end
952
+ def method_missing(method, *args, &block); end
953
+ def respond_to_missing?(method, include_private = nil); end
954
+ end
955
+ class Concurrent::Future < Concurrent::IVar
956
+ def cancel; end
957
+ def cancelled?; end
958
+ def execute; end
959
+ def initialize(opts = nil, &block); end
960
+ def ns_initialize(value, opts); end
961
+ def self.execute(opts = nil, &block); end
962
+ def set(value = nil, &block); end
963
+ def wait_or_cancel(timeout); end
964
+ end
965
+ class Concurrent::DependencyCounter
966
+ def initialize(count, &block); end
967
+ def update(time, value, reason); end
968
+ end
969
+ class Concurrent::Maybe < Concurrent::Synchronization::Object
970
+ def <=>(other); end
971
+ def fulfilled?; end
972
+ def initialize(just, nothing); end
973
+ def just; end
974
+ def just?; end
975
+ def nothing; end
976
+ def nothing?; end
977
+ def or(other); end
978
+ def reason; end
979
+ def rejected?; end
980
+ def self.from(*args); end
981
+ def self.just(value); end
982
+ def self.new(*args, &block); end
983
+ def self.nothing(error = nil); end
984
+ def value; end
985
+ include Comparable
986
+ end
987
+ class Concurrent::AbstractExchanger < Concurrent::Synchronization::Object
988
+ def do_exchange(value, timeout); end
989
+ def exchange!(value, timeout = nil); end
990
+ def exchange(value, timeout = nil); end
991
+ def initialize; end
992
+ def try_exchange(value, timeout = nil); end
993
+ end
994
+ class Concurrent::RubyExchanger < Concurrent::AbstractExchanger
995
+ def __initialize_atomic_fields__; end
996
+ def compare_and_set_slot(expected, value); end
997
+ def do_exchange(value, timeout); end
998
+ def initialize; end
999
+ def self.new(*args, &block); end
1000
+ def slot; end
1001
+ def slot=(value); end
1002
+ def swap_slot(value); end
1003
+ def update_slot(&block); end
1004
+ end
1005
+ class Concurrent::RubyExchanger::Node < Concurrent::Synchronization::Object
1006
+ def __initialize_atomic_fields__; end
1007
+ def compare_and_set_value(expected, value); end
1008
+ def initialize(item); end
1009
+ def item; end
1010
+ def latch; end
1011
+ def self.new(*args, &block); end
1012
+ def swap_value(value); end
1013
+ def update_value(&block); end
1014
+ def value; end
1015
+ def value=(value); end
1016
+ end
1017
+ class Concurrent::Exchanger < Concurrent::RubyExchanger
1018
+ end
1019
+ module Concurrent::Synchronization::AbstractStruct
1020
+ def initialize(*values); end
1021
+ def length; end
1022
+ def members; end
1023
+ def ns_each; end
1024
+ def ns_each_pair; end
1025
+ def ns_equality(other); end
1026
+ def ns_get(member); end
1027
+ def ns_initialize_copy; end
1028
+ def ns_inspect; end
1029
+ def ns_merge(other, &block); end
1030
+ def ns_select; end
1031
+ def ns_to_h; end
1032
+ def ns_values; end
1033
+ def ns_values_at(indexes); end
1034
+ def pr_underscore(clazz); end
1035
+ def self.define_struct_class(parent, base, name, members, &block); end
1036
+ def size; end
1037
+ end
1038
+ module Concurrent::ImmutableStruct
1039
+ def ==(other); end
1040
+ def [](member); end
1041
+ def each(&block); end
1042
+ def each_pair(&block); end
1043
+ def initialize_copy(original); end
1044
+ def inspect; end
1045
+ def merge(other, &block); end
1046
+ def select(&block); end
1047
+ def self.included(base); end
1048
+ def self.new(*args, &block); end
1049
+ def to_a; end
1050
+ def to_h; end
1051
+ def to_s; end
1052
+ def values; end
1053
+ def values_at(*indexes); end
1054
+ include Concurrent::Synchronization::AbstractStruct
1055
+ end
1056
+ module Concurrent::MutableStruct
1057
+ def ==(other); end
1058
+ def [](member); end
1059
+ def []=(member, value); end
1060
+ def each(&block); end
1061
+ def each_pair(&block); end
1062
+ def initialize_copy(original); end
1063
+ def inspect; end
1064
+ def merge(other, &block); end
1065
+ def select(&block); end
1066
+ def self.new(*args, &block); end
1067
+ def to_a; end
1068
+ def to_h; end
1069
+ def to_s; end
1070
+ def values; end
1071
+ def values_at(*indexes); end
1072
+ include Concurrent::Synchronization::AbstractStruct
1073
+ end
1074
+ class Concurrent::MVar < Concurrent::Synchronization::Object
1075
+ def borrow(timeout = nil); end
1076
+ def empty?; end
1077
+ def full?; end
1078
+ def initialize(value = nil, opts = nil); end
1079
+ def modify!; end
1080
+ def modify(timeout = nil); end
1081
+ def put(value, timeout = nil); end
1082
+ def self.new(*args, &block); end
1083
+ def set!(value); end
1084
+ def synchronize(&block); end
1085
+ def take(timeout = nil); end
1086
+ def try_put!(value); end
1087
+ def try_take!; end
1088
+ def unlocked_empty?; end
1089
+ def unlocked_full?; end
1090
+ def wait_for_empty(timeout); end
1091
+ def wait_for_full(timeout); end
1092
+ def wait_while(condition, timeout); end
1093
+ include Concurrent::Concern::Dereferenceable
1094
+ end
1095
+ class Concurrent::PromiseExecutionError < StandardError
1096
+ end
1097
+ class Concurrent::Promise < Concurrent::IVar
1098
+ def catch(&block); end
1099
+ def complete(success, value, reason); end
1100
+ def execute; end
1101
+ def fail(reason = nil); end
1102
+ def flat_map(&block); end
1103
+ def initialize(opts = nil, &block); end
1104
+ def notify_child(child); end
1105
+ def ns_initialize(value, opts); end
1106
+ def on_error(&block); end
1107
+ def on_fulfill(result); end
1108
+ def on_reject(reason); end
1109
+ def on_success(&block); end
1110
+ def realize(task); end
1111
+ def rescue(&block); end
1112
+ def root?; end
1113
+ def self.aggregate(method, *promises); end
1114
+ def self.all?(*promises); end
1115
+ def self.any?(*promises); end
1116
+ def self.execute(opts = nil, &block); end
1117
+ def self.fulfill(value, opts = nil); end
1118
+ def self.reject(reason, opts = nil); end
1119
+ def self.zip(*promises); end
1120
+ def set(value = nil, &block); end
1121
+ def set_pending; end
1122
+ def set_state!(success, value, reason); end
1123
+ def synchronized_set_state!(success, value, reason); end
1124
+ def then(*args, &block); end
1125
+ def zip(*others); end
1126
+ end
1127
+ module Concurrent::SettableStruct
1128
+ def ==(other); end
1129
+ def [](member); end
1130
+ def []=(member, value); end
1131
+ def each(&block); end
1132
+ def each_pair(&block); end
1133
+ def initialize_copy(original); end
1134
+ def inspect; end
1135
+ def merge(other, &block); end
1136
+ def select(&block); end
1137
+ def self.new(*args, &block); end
1138
+ def to_a; end
1139
+ def to_h; end
1140
+ def to_s; end
1141
+ def values; end
1142
+ def values_at(*indexes); end
1143
+ include Concurrent::Synchronization::AbstractStruct
1144
+ end
1145
+ class Concurrent::TimerTask < Concurrent::RubyExecutorService
1146
+ def <<(task); end
1147
+ def execute; end
1148
+ def execute_task(completion); end
1149
+ def execution_interval; end
1150
+ def execution_interval=(value); end
1151
+ def initialize(opts = nil, &task); end
1152
+ def ns_initialize(opts, &task); end
1153
+ def ns_kill_execution; end
1154
+ def ns_shutdown_execution; end
1155
+ def post(*args, &task); end
1156
+ def running?; end
1157
+ def schedule_next_task(interval = nil); end
1158
+ def self.execute(opts = nil, &task); end
1159
+ def timeout_interval; end
1160
+ def timeout_interval=(value); end
1161
+ def timeout_task(completion); end
1162
+ include Concurrent::Concern::Dereferenceable
1163
+ include Concurrent::Concern::Observable
1164
+ end
1165
+ class Concurrent::TVar < Concurrent::Synchronization::Object
1166
+ def initialize(value); end
1167
+ def self.new(*args, &block); end
1168
+ def unsafe_increment_version; end
1169
+ def unsafe_lock; end
1170
+ def unsafe_value; end
1171
+ def unsafe_value=(value); end
1172
+ def unsafe_version; end
1173
+ def value; end
1174
+ def value=(value); end
1175
+ end
1176
+ class Concurrent::Transaction
1177
+ def abort; end
1178
+ def commit; end
1179
+ def initialize; end
1180
+ def read(tvar); end
1181
+ def self.current; end
1182
+ def self.current=(transaction); end
1183
+ def unlock; end
1184
+ def valid?; end
1185
+ def write(tvar, value); end
1186
+ end
1187
+ class Concurrent::Transaction::ReadLogEntry < Struct
1188
+ def self.[](*arg0); end
1189
+ def self.inspect; end
1190
+ def self.members; end
1191
+ def self.new(*arg0); end
1192
+ def tvar; end
1193
+ def tvar=(_); end
1194
+ def version; end
1195
+ def version=(_); end
1196
+ end
1197
+ class Concurrent::Transaction::AbortError < StandardError
1198
+ end
1199
+ class Concurrent::Transaction::LeaveError < StandardError
1200
+ end
1201
+ class Concurrent::LockFreeStack < Concurrent::Synchronization::Object
1202
+ def __initialize_atomic_fields__; end
1203
+ def clear; end
1204
+ def clear_each(&block); end
1205
+ def clear_if(head); end
1206
+ def compare_and_clear(head); end
1207
+ def compare_and_pop(head); end
1208
+ def compare_and_push(head, value); end
1209
+ def compare_and_set_head(expected, value); end
1210
+ def each(head = nil); end
1211
+ def empty?(head = nil); end
1212
+ def head; end
1213
+ def head=(value); end
1214
+ def initialize(head = nil); end
1215
+ def inspect; end
1216
+ def peek; end
1217
+ def pop; end
1218
+ def push(value); end
1219
+ def replace_if(head, new_head); end
1220
+ def self.new(*args, &block); end
1221
+ def self.of1(value); end
1222
+ def self.of2(value1, value2); end
1223
+ def swap_head(value); end
1224
+ def to_s; end
1225
+ def update_head(&block); end
1226
+ include Enumerable
1227
+ end
1228
+ class Concurrent::LockFreeStack::Node
1229
+ def initialize(value, next_node); end
1230
+ def next_node; end
1231
+ def self.[](*arg0); end
1232
+ def value; end
1233
+ def value=(arg0); end
1234
+ end
1235
+ module Concurrent::ReInclude
1236
+ def extended(base); end
1237
+ def include(*modules); end
1238
+ def included(base); end
1239
+ end
1240
+ module Concurrent::Promises
1241
+ extend Concurrent::Promises::FactoryMethods
1242
+ end
1243
+ module Concurrent::Promises::FactoryMethods
1244
+ def any(*futures_and_or_events); end
1245
+ def any_event(*futures_and_or_events); end
1246
+ def any_event_on(default_executor, *futures_and_or_events); end
1247
+ def any_fulfilled_future(*futures_and_or_events); end
1248
+ def any_fulfilled_future_on(default_executor, *futures_and_or_events); end
1249
+ def any_resolved_future(*futures_and_or_events); end
1250
+ def any_resolved_future_on(default_executor, *futures_and_or_events); end
1251
+ def delay(*args, &task); end
1252
+ def delay_on(default_executor, *args, &task); end
1253
+ def fulfilled_future(value, default_executor = nil); end
1254
+ def future(*args, &task); end
1255
+ def future_on(default_executor, *args, &task); end
1256
+ def make_future(argument = nil, default_executor = nil); end
1257
+ def rejected_future(reason, default_executor = nil); end
1258
+ def resolvable_event; end
1259
+ def resolvable_event_on(default_executor = nil); end
1260
+ def resolvable_future; end
1261
+ def resolvable_future_on(default_executor = nil); end
1262
+ def resolved_event(default_executor = nil); end
1263
+ def resolved_future(fulfilled, value, reason, default_executor = nil); end
1264
+ def schedule(intended_time, *args, &task); end
1265
+ def schedule_on(default_executor, intended_time, *args, &task); end
1266
+ def zip(*futures_and_or_events); end
1267
+ def zip_events(*futures_and_or_events); end
1268
+ def zip_events_on(default_executor, *futures_and_or_events); end
1269
+ def zip_futures(*futures_and_or_events); end
1270
+ def zip_futures_on(default_executor, *futures_and_or_events); end
1271
+ extend Concurrent::Promises::FactoryMethods
1272
+ extend Concurrent::Promises::FactoryMethods::Configuration
1273
+ extend Concurrent::ReInclude
1274
+ include Concurrent::Promises::FactoryMethods::Configuration
1275
+ end
1276
+ module Concurrent::Promises::FactoryMethods::Configuration
1277
+ def default_executor; end
1278
+ end
1279
+ module Concurrent::Promises::InternalStates
1280
+ end
1281
+ class Concurrent::Promises::InternalStates::State
1282
+ def resolved?; end
1283
+ def to_sym; end
1284
+ end
1285
+ class Concurrent::Promises::InternalStates::Pending < Concurrent::Promises::InternalStates::State
1286
+ def resolved?; end
1287
+ def to_sym; end
1288
+ end
1289
+ class Concurrent::Promises::InternalStates::Reserved < Concurrent::Promises::InternalStates::Pending
1290
+ end
1291
+ class Concurrent::Promises::InternalStates::ResolvedWithResult < Concurrent::Promises::InternalStates::State
1292
+ def apply; end
1293
+ def fulfilled?; end
1294
+ def reason; end
1295
+ def resolved?; end
1296
+ def result; end
1297
+ def to_sym; end
1298
+ def value; end
1299
+ end
1300
+ class Concurrent::Promises::InternalStates::Fulfilled < Concurrent::Promises::InternalStates::ResolvedWithResult
1301
+ def apply(args, block); end
1302
+ def fulfilled?; end
1303
+ def initialize(value); end
1304
+ def reason; end
1305
+ def to_sym; end
1306
+ def value; end
1307
+ end
1308
+ class Concurrent::Promises::InternalStates::FulfilledArray < Concurrent::Promises::InternalStates::Fulfilled
1309
+ def apply(args, block); end
1310
+ end
1311
+ class Concurrent::Promises::InternalStates::Rejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1312
+ def apply(args, block); end
1313
+ def fulfilled?; end
1314
+ def initialize(reason); end
1315
+ def reason; end
1316
+ def to_sym; end
1317
+ def value; end
1318
+ end
1319
+ class Concurrent::Promises::InternalStates::PartiallyRejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1320
+ def apply(args, block); end
1321
+ def fulfilled?; end
1322
+ def initialize(value, reason); end
1323
+ def reason; end
1324
+ def to_sym; end
1325
+ def value; end
1326
+ end
1327
+ class Concurrent::Promises::AbstractEventFuture < Concurrent::Synchronization::Object
1328
+ def __initialize_atomic_fields__; end
1329
+ def add_callback(method, *args); end
1330
+ def add_callback_clear_delayed_node(node); end
1331
+ def add_callback_notify_blocked(promise, index); end
1332
+ def async_callback_on_resolution(state, executor, args, callback); end
1333
+ def blocks; end
1334
+ def call_callback(method, state, args); end
1335
+ def call_callbacks(state); end
1336
+ def callback_clear_delayed_node(state, node); end
1337
+ def callback_notify_blocked(state, promise, index); end
1338
+ def callbacks; end
1339
+ def chain(*args, &task); end
1340
+ def chain_on(executor, *args, &task); end
1341
+ def chain_resolvable(resolvable); end
1342
+ def compare_and_set_internal_state(expected, value); end
1343
+ def default_executor; end
1344
+ def initialize(promise, default_executor); end
1345
+ def inspect; end
1346
+ def internal_state; end
1347
+ def internal_state=(value); end
1348
+ def on_resolution!(*args, &callback); end
1349
+ def on_resolution(*args, &callback); end
1350
+ def on_resolution_using(executor, *args, &callback); end
1351
+ def pending?; end
1352
+ def promise; end
1353
+ def resolve_with(state, raise_on_reassign = nil, reserved = nil); end
1354
+ def resolved?; end
1355
+ def self.new(*args, &block); end
1356
+ def state; end
1357
+ def swap_internal_state(value); end
1358
+ def tangle(resolvable); end
1359
+ def to_s; end
1360
+ def touch; end
1361
+ def touched?; end
1362
+ def update_internal_state(&block); end
1363
+ def wait(timeout = nil); end
1364
+ def wait_until_resolved(timeout); end
1365
+ def waiting_threads; end
1366
+ def with_async(executor, *args, &block); end
1367
+ def with_default_executor(executor); end
1368
+ def with_hidden_resolvable; end
1369
+ include Concurrent::Promises::InternalStates
1370
+ end
1371
+ class Concurrent::Promises::Event < Concurrent::Promises::AbstractEventFuture
1372
+ def &(other); end
1373
+ def any(event_or_future); end
1374
+ def callback_on_resolution(state, args, callback); end
1375
+ def delay; end
1376
+ def rejected_resolution(raise_on_reassign, state); end
1377
+ def schedule(intended_time); end
1378
+ def then(*args, &task); end
1379
+ def to_event; end
1380
+ def to_future; end
1381
+ def with_default_executor(executor); end
1382
+ def zip(other); end
1383
+ def |(event_or_future); end
1384
+ end
1385
+ class Concurrent::Promises::Future < Concurrent::Promises::AbstractEventFuture
1386
+ def &(other); end
1387
+ def any(event_or_future); end
1388
+ def apply(args, block); end
1389
+ def async_callback_on_fulfillment(state, executor, args, callback); end
1390
+ def async_callback_on_rejection(state, executor, args, callback); end
1391
+ def callback_on_fulfillment(state, args, callback); end
1392
+ def callback_on_rejection(state, args, callback); end
1393
+ def callback_on_resolution(state, args, callback); end
1394
+ def delay; end
1395
+ def exception(*args); end
1396
+ def flat(level = nil); end
1397
+ def flat_event; end
1398
+ def flat_future(level = nil); end
1399
+ def fulfilled?; end
1400
+ def inspect; end
1401
+ def on_fulfillment!(*args, &callback); end
1402
+ def on_fulfillment(*args, &callback); end
1403
+ def on_fulfillment_using(executor, *args, &callback); end
1404
+ def on_rejection!(*args, &callback); end
1405
+ def on_rejection(*args, &callback); end
1406
+ def on_rejection_using(executor, *args, &callback); end
1407
+ def reason(timeout = nil, timeout_value = nil); end
1408
+ def rejected?; end
1409
+ def rejected_resolution(raise_on_reassign, state); end
1410
+ def rescue(*args, &task); end
1411
+ def rescue_on(executor, *args, &task); end
1412
+ def result(timeout = nil); end
1413
+ def run(run_test = nil); end
1414
+ def run_test(v); end
1415
+ def schedule(intended_time); end
1416
+ def then(*args, &task); end
1417
+ def then_on(executor, *args, &task); end
1418
+ def to_event; end
1419
+ def to_future; end
1420
+ def to_s; end
1421
+ def value!(timeout = nil, timeout_value = nil); end
1422
+ def value(timeout = nil, timeout_value = nil); end
1423
+ def wait!(timeout = nil); end
1424
+ def wait_until_resolved!(timeout = nil); end
1425
+ def with_default_executor(executor); end
1426
+ def zip(other); end
1427
+ def |(event_or_future); end
1428
+ end
1429
+ module Concurrent::Promises::Resolvable
1430
+ include Concurrent::Promises::InternalStates
1431
+ end
1432
+ class Concurrent::Promises::ResolvableEvent < Concurrent::Promises::Event
1433
+ def resolve(raise_on_reassign = nil, reserved = nil); end
1434
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1435
+ def with_hidden_resolvable; end
1436
+ include Concurrent::Promises::Resolvable
1437
+ end
1438
+ class Concurrent::Promises::ResolvableFuture < Concurrent::Promises::Future
1439
+ def evaluate_to!(*args, &block); end
1440
+ def evaluate_to(*args, &block); end
1441
+ def fulfill(value, raise_on_reassign = nil, reserved = nil); end
1442
+ def reason(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1443
+ def reject(reason, raise_on_reassign = nil, reserved = nil); end
1444
+ def resolve(fulfilled = nil, value = nil, reason = nil, raise_on_reassign = nil, reserved = nil); end
1445
+ def result(timeout = nil, resolve_on_timeout = nil); end
1446
+ def value!(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1447
+ def value(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1448
+ def wait!(timeout = nil, resolve_on_timeout = nil); end
1449
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1450
+ def with_hidden_resolvable; end
1451
+ include Concurrent::Promises::Resolvable
1452
+ end
1453
+ class Concurrent::Promises::AbstractPromise < Concurrent::Synchronization::Object
1454
+ def default_executor; end
1455
+ def delayed_because; end
1456
+ def evaluate_to(*args, block); end
1457
+ def event; end
1458
+ def future; end
1459
+ def initialize(future); end
1460
+ def inspect; end
1461
+ def resolve_with(new_state, raise_on_reassign = nil); end
1462
+ def self.new(*args, &block); end
1463
+ def state; end
1464
+ def to_s; end
1465
+ def touch; end
1466
+ include Concurrent::Promises::InternalStates
1467
+ end
1468
+ class Concurrent::Promises::ResolvableEventPromise < Concurrent::Promises::AbstractPromise
1469
+ def initialize(default_executor); end
1470
+ end
1471
+ class Concurrent::Promises::ResolvableFuturePromise < Concurrent::Promises::AbstractPromise
1472
+ def evaluate_to(*args, block); end
1473
+ def initialize(default_executor); end
1474
+ end
1475
+ class Concurrent::Promises::InnerPromise < Concurrent::Promises::AbstractPromise
1476
+ end
1477
+ class Concurrent::Promises::BlockedPromise < Concurrent::Promises::InnerPromise
1478
+ def blocked_by; end
1479
+ def clear_and_propagate_touch(stack_or_element = nil); end
1480
+ def delayed_because; end
1481
+ def initialize(delayed, blockers_count, future); end
1482
+ def on_blocker_resolution(future, index); end
1483
+ def on_resolvable(resolved_future, index); end
1484
+ def process_on_blocker_resolution(future, index); end
1485
+ def resolvable?(countdown, future, index); end
1486
+ def self.add_delayed(delayed1, delayed2); end
1487
+ def self.new(*args, &block); end
1488
+ def self.new_blocked_by(blockers, *args, &block); end
1489
+ def self.new_blocked_by1(blocker, *args, &block); end
1490
+ def self.new_blocked_by2(blocker1, blocker2, *args, &block); end
1491
+ def touch; end
1492
+ end
1493
+ class Concurrent::Promises::BlockedTaskPromise < Concurrent::Promises::BlockedPromise
1494
+ def executor; end
1495
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1496
+ end
1497
+ class Concurrent::Promises::ThenPromise < Concurrent::Promises::BlockedTaskPromise
1498
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1499
+ def on_resolvable(resolved_future, index); end
1500
+ end
1501
+ class Concurrent::Promises::RescuePromise < Concurrent::Promises::BlockedTaskPromise
1502
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1503
+ def on_resolvable(resolved_future, index); end
1504
+ end
1505
+ class Concurrent::Promises::ChainPromise < Concurrent::Promises::BlockedTaskPromise
1506
+ def on_resolvable(resolved_future, index); end
1507
+ end
1508
+ class Concurrent::Promises::ImmediateEventPromise < Concurrent::Promises::InnerPromise
1509
+ def initialize(default_executor); end
1510
+ end
1511
+ class Concurrent::Promises::ImmediateFuturePromise < Concurrent::Promises::InnerPromise
1512
+ def initialize(default_executor, fulfilled, value, reason); end
1513
+ end
1514
+ class Concurrent::Promises::AbstractFlatPromise < Concurrent::Promises::BlockedPromise
1515
+ def add_delayed_of(future); end
1516
+ def initialize(delayed_because, blockers_count, event_or_future); end
1517
+ def on_resolvable(resolved_future, index); end
1518
+ def resolvable?(countdown, future, index); end
1519
+ def touch; end
1520
+ def touched?; end
1521
+ end
1522
+ class Concurrent::Promises::FlatEventPromise < Concurrent::Promises::AbstractFlatPromise
1523
+ def initialize(delayed, blockers_count, default_executor); end
1524
+ def process_on_blocker_resolution(future, index); end
1525
+ end
1526
+ class Concurrent::Promises::FlatFuturePromise < Concurrent::Promises::AbstractFlatPromise
1527
+ def initialize(delayed, blockers_count, levels, default_executor); end
1528
+ def process_on_blocker_resolution(future, index); end
1529
+ end
1530
+ class Concurrent::Promises::RunFuturePromise < Concurrent::Promises::AbstractFlatPromise
1531
+ def initialize(delayed, blockers_count, default_executor, run_test); end
1532
+ def process_on_blocker_resolution(future, index); end
1533
+ end
1534
+ class Concurrent::Promises::ZipEventEventPromise < Concurrent::Promises::BlockedPromise
1535
+ def initialize(delayed, blockers_count, default_executor); end
1536
+ def on_resolvable(resolved_future, index); end
1537
+ end
1538
+ class Concurrent::Promises::ZipFutureEventPromise < Concurrent::Promises::BlockedPromise
1539
+ def initialize(delayed, blockers_count, default_executor); end
1540
+ def on_resolvable(resolved_future, index); end
1541
+ def process_on_blocker_resolution(future, index); end
1542
+ end
1543
+ class Concurrent::Promises::EventWrapperPromise < Concurrent::Promises::BlockedPromise
1544
+ def initialize(delayed, blockers_count, default_executor); end
1545
+ def on_resolvable(resolved_future, index); end
1546
+ end
1547
+ class Concurrent::Promises::FutureWrapperPromise < Concurrent::Promises::BlockedPromise
1548
+ def initialize(delayed, blockers_count, default_executor); end
1549
+ def on_resolvable(resolved_future, index); end
1550
+ end
1551
+ class Concurrent::Promises::ZipFuturesPromise < Concurrent::Promises::BlockedPromise
1552
+ def initialize(delayed, blockers_count, default_executor); end
1553
+ def on_resolvable(resolved_future, index); end
1554
+ def process_on_blocker_resolution(future, index); end
1555
+ end
1556
+ class Concurrent::Promises::ZipEventsPromise < Concurrent::Promises::BlockedPromise
1557
+ def initialize(delayed, blockers_count, default_executor); end
1558
+ def on_resolvable(resolved_future, index); end
1559
+ end
1560
+ class Concurrent::Promises::AbstractAnyPromise < Concurrent::Promises::BlockedPromise
1561
+ end
1562
+ class Concurrent::Promises::AnyResolvedEventPromise < Concurrent::Promises::AbstractAnyPromise
1563
+ def initialize(delayed, blockers_count, default_executor); end
1564
+ def on_resolvable(resolved_future, index); end
1565
+ def resolvable?(countdown, future, index); end
1566
+ end
1567
+ class Concurrent::Promises::AnyResolvedFuturePromise < Concurrent::Promises::AbstractAnyPromise
1568
+ def initialize(delayed, blockers_count, default_executor); end
1569
+ def on_resolvable(resolved_future, index); end
1570
+ def resolvable?(countdown, future, index); end
1571
+ end
1572
+ class Concurrent::Promises::AnyFulfilledFuturePromise < Concurrent::Promises::AnyResolvedFuturePromise
1573
+ def resolvable?(countdown, future, index); end
1574
+ end
1575
+ class Concurrent::Promises::DelayPromise < Concurrent::Promises::InnerPromise
1576
+ def delayed_because; end
1577
+ def initialize(default_executor); end
1578
+ def touch; end
1579
+ end
1580
+ class Concurrent::Promises::ScheduledPromise < Concurrent::Promises::InnerPromise
1581
+ def initialize(default_executor, intended_time); end
1582
+ def inspect; end
1583
+ def intended_time; end
1584
+ end
1585
+ class Concurrent::SynchronizedDelegator < SimpleDelegator
1586
+ def initialize(obj); end
1587
+ def method_missing(method, *args, &block); end
1588
+ def setup; end
1589
+ def teardown; end
1590
+ end