shotgrid_api_ruby 0.2.0.4 → 0.2.0.6

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 (190) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test_and_publish.yml +3 -3
  3. data/.github/workflows/test_only.yml +7 -5
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +54 -2
  6. data/Gemfile +12 -0
  7. data/Gemfile.lock +108 -93
  8. data/bin/prettirun +1 -1
  9. data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
  10. data/docs/ShotgridApiRuby/Auth.html +4 -4
  11. data/docs/ShotgridApiRuby/Client.html +4 -4
  12. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
  13. data/docs/ShotgridApiRuby/Entities/Params.html +41 -41
  14. data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
  15. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
  16. data/docs/ShotgridApiRuby/Entities/Summarize.html +9 -9
  17. data/docs/ShotgridApiRuby/Entities.html +27 -27
  18. data/docs/ShotgridApiRuby/Entity.html +12 -12
  19. data/docs/ShotgridApiRuby/Preferences.html +4 -4
  20. data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
  21. data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
  22. data/docs/ShotgridApiRuby/Types.html +4 -4
  23. data/docs/ShotgridApiRuby.html +5 -5
  24. data/docs/_index.html +5 -5
  25. data/docs/file.README.html +4 -4
  26. data/docs/frames.html +1 -1
  27. data/docs/index.html +4 -4
  28. data/docs/top-level-namespace.html +4 -4
  29. data/lib/shotgrid_api_ruby/entities/params.rb +15 -18
  30. data/lib/shotgrid_api_ruby/entities/summarize.rb +4 -4
  31. data/lib/shotgrid_api_ruby/entities.rb +23 -23
  32. data/lib/shotgrid_api_ruby/version.rb +1 -1
  33. data/shotgrid_api_ruby.gemspec +3 -12
  34. data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
  35. data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
  36. data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
  37. data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
  38. data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
  39. data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
  40. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
  41. data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
  42. data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
  43. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
  44. data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
  45. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
  46. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
  47. data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
  48. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
  49. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
  50. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
  51. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
  52. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
  53. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
  54. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
  55. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
  56. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
  57. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
  58. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
  59. data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
  60. data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
  61. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
  62. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
  63. data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
  64. data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
  65. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  66. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
  67. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
  68. data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
  69. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
  70. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
  71. data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
  72. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
  73. data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
  74. data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
  75. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
  76. data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
  77. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  78. data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
  79. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
  80. data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
  81. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  82. data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
  83. data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
  84. data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
  85. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
  86. data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
  87. data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
  88. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
  89. data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
  90. data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
  91. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
  92. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  93. data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
  94. data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
  95. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
  96. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
  97. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
  98. data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
  99. data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
  100. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
  101. data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
  102. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
  103. data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
  104. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
  105. data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
  106. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
  107. data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
  108. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  109. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
  110. data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
  111. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
  112. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  113. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  114. data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
  115. data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
  116. data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
  117. data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
  118. data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
  119. data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
  120. data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
  121. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  122. data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
  123. data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
  124. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
  125. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  126. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
  127. data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
  128. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
  129. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
  130. data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
  131. data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
  132. data/yarn.lock +3 -3
  133. metadata +71 -190
  134. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
  135. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
  136. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
  137. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  138. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  139. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  140. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
  141. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
  142. data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
  143. data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
  144. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  145. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  146. data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
  147. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  148. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
  149. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
  150. data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
  151. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  152. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
  153. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
  154. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
  155. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
  156. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
  157. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
  158. data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
  159. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
  160. data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
  161. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  162. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  163. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  164. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
  165. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
  166. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
  167. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  168. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  169. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
  170. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
  171. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
  172. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
  173. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
  174. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
  175. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  176. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  177. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
  178. data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
  179. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
  180. data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
  181. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  182. data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
  183. data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
  184. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
  185. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
  186. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
  187. data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
  188. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
  189. data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
  190. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
@@ -0,0 +1,154 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `racc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem racc`.
6
+
7
+ # source://racc//racc/parser.rb#23
8
+ ParseError = Racc::ParseError
9
+
10
+ # source://racc//racc/info.rb#16
11
+ Racc::Copyright = T.let(T.unsafe(nil), String)
12
+
13
+ class Racc::Parser
14
+ # source://racc//racc/parser.rb#281
15
+ def _racc_do_parse_rb(arg, in_debug); end
16
+
17
+ # source://racc//racc/parser.rb#481
18
+ def _racc_do_reduce(arg, act); end
19
+
20
+ # common
21
+ #
22
+ # source://racc//racc/parser.rb#384
23
+ def _racc_evalact(act, arg); end
24
+
25
+ # source://racc//racc/parser.rb#234
26
+ def _racc_init_sysvars; end
27
+
28
+ # source://racc//racc/parser.rb#222
29
+ def _racc_setup; end
30
+
31
+ # source://racc//racc/parser.rb#331
32
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
33
+
34
+ # The method to fetch next token.
35
+ # If you use #do_parse method, you must implement #next_token.
36
+ #
37
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
38
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
39
+ # for 'IDENT'. ";" (String) for ';'.
40
+ #
41
+ # The final symbol (End of file) must be false.
42
+ #
43
+ # @raise [NotImplementedError]
44
+ #
45
+ # source://racc//racc/parser.rb#277
46
+ def next_token; end
47
+
48
+ # This method is called when a parse error is found.
49
+ #
50
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
51
+ # You can get string representation of this ID by calling
52
+ # #token_to_str.
53
+ #
54
+ # ERROR_VALUE is a value of error token.
55
+ #
56
+ # value_stack is a stack of symbol values.
57
+ # DO NOT MODIFY this object.
58
+ #
59
+ # This method raises ParseError by default.
60
+ #
61
+ # If this method returns, parsers enter "error recovering mode".
62
+ #
63
+ # @raise [ParseError]
64
+ #
65
+ # source://racc//racc/parser.rb#537
66
+ def on_error(t, val, vstack); end
67
+
68
+ # source://racc//racc/parser.rb#586
69
+ def racc_accept; end
70
+
71
+ # source://racc//racc/parser.rb#591
72
+ def racc_e_pop(state, tstack, vstack); end
73
+
74
+ # source://racc//racc/parser.rb#598
75
+ def racc_next_state(curstate, state); end
76
+
77
+ # source://racc//racc/parser.rb#604
78
+ def racc_print_stacks(t, v); end
79
+
80
+ # source://racc//racc/parser.rb#613
81
+ def racc_print_states(s); end
82
+
83
+ # For debugging output
84
+ #
85
+ # source://racc//racc/parser.rb#560
86
+ def racc_read_token(t, tok, val); end
87
+
88
+ # source://racc//racc/parser.rb#573
89
+ def racc_reduce(toks, sim, tstack, vstack); end
90
+
91
+ # source://racc//racc/parser.rb#567
92
+ def racc_shift(tok, tstack, vstack); end
93
+
94
+ # source://racc//racc/parser.rb#620
95
+ def racc_token2str(tok); end
96
+
97
+ # Convert internal ID of token symbol to the string.
98
+ #
99
+ # source://racc//racc/parser.rb#626
100
+ def token_to_str(t); end
101
+
102
+ # Exit parser.
103
+ # Return value is +Symbol_Value_Stack[0]+.
104
+ #
105
+ # source://racc//racc/parser.rb#550
106
+ def yyaccept; end
107
+
108
+ # Leave error recovering mode.
109
+ #
110
+ # source://racc//racc/parser.rb#555
111
+ def yyerrok; end
112
+
113
+ # Enter error recovering mode.
114
+ # This method does not call #on_error.
115
+ #
116
+ # source://racc//racc/parser.rb#544
117
+ def yyerror; end
118
+
119
+ class << self
120
+ # source://racc//racc/parser.rb#218
121
+ def racc_runtime_type; end
122
+ end
123
+ end
124
+
125
+ # source://racc//racc/parser.rb#207
126
+ Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
127
+
128
+ Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
129
+
130
+ # source://racc//racc/parser.rb#209
131
+ Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
132
+
133
+ Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
134
+
135
+ # source://racc//racc/parser.rb#189
136
+ Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
137
+
138
+ # source://racc//racc/parser.rb#210
139
+ Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
140
+
141
+ # source://racc//racc/parser.rb#188
142
+ Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
143
+
144
+ # source://racc//racc/parser.rb#208
145
+ Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
146
+
147
+ # source://racc//racc/parser.rb#183
148
+ Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
149
+
150
+ # source://racc//racc/info.rb#14
151
+ Racc::VERSION = T.let(T.unsafe(nil), String)
152
+
153
+ # source://racc//racc/info.rb#15
154
+ Racc::Version = T.let(T.unsafe(nil), String)
@@ -0,0 +1,408 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rainbow` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rainbow`.
6
+
7
+ # source://yard/0.9.28/lib/yard.rb#61
8
+ ::RUBY18 = T.let(T.unsafe(nil), FalseClass)
9
+
10
+ # source://yard/0.9.28/lib/yard.rb#62
11
+ ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
12
+
13
+ class Object < ::BasicObject
14
+ include ::Kernel
15
+ include ::PP::ObjectMixin
16
+
17
+ private
18
+
19
+ # source://rainbow//lib/rainbow/global.rb#23
20
+ def Rainbow(string); end
21
+ end
22
+
23
+ # source://rainbow//lib/rainbow/string_utils.rb#3
24
+ module Rainbow
25
+ class << self
26
+ # source://rainbow//lib/rainbow/global.rb#10
27
+ def enabled; end
28
+
29
+ # source://rainbow//lib/rainbow/global.rb#14
30
+ def enabled=(value); end
31
+
32
+ # source://rainbow//lib/rainbow/global.rb#6
33
+ def global; end
34
+
35
+ # source://rainbow//lib/rainbow.rb#6
36
+ def new; end
37
+
38
+ # source://rainbow//lib/rainbow/global.rb#18
39
+ def uncolor(string); end
40
+ end
41
+ end
42
+
43
+ # source://rainbow//lib/rainbow/color.rb#4
44
+ class Rainbow::Color
45
+ # Returns the value of attribute ground.
46
+ #
47
+ # source://rainbow//lib/rainbow/color.rb#5
48
+ def ground; end
49
+
50
+ class << self
51
+ # source://rainbow//lib/rainbow/color.rb#7
52
+ def build(ground, values); end
53
+
54
+ # source://rainbow//lib/rainbow/color.rb#40
55
+ def parse_hex_color(hex); end
56
+ end
57
+ end
58
+
59
+ # source://rainbow//lib/rainbow/color.rb#54
60
+ class Rainbow::Color::Indexed < ::Rainbow::Color
61
+ # @return [Indexed] a new instance of Indexed
62
+ #
63
+ # source://rainbow//lib/rainbow/color.rb#57
64
+ def initialize(ground, num); end
65
+
66
+ # source://rainbow//lib/rainbow/color.rb#62
67
+ def codes; end
68
+
69
+ # Returns the value of attribute num.
70
+ #
71
+ # source://rainbow//lib/rainbow/color.rb#55
72
+ def num; end
73
+ end
74
+
75
+ # source://rainbow//lib/rainbow/color.rb#69
76
+ class Rainbow::Color::Named < ::Rainbow::Color::Indexed
77
+ # @return [Named] a new instance of Named
78
+ #
79
+ # source://rainbow//lib/rainbow/color.rb#90
80
+ def initialize(ground, name); end
81
+
82
+ class << self
83
+ # source://rainbow//lib/rainbow/color.rb#82
84
+ def color_names; end
85
+
86
+ # source://rainbow//lib/rainbow/color.rb#86
87
+ def valid_names; end
88
+ end
89
+ end
90
+
91
+ # source://rainbow//lib/rainbow/color.rb#70
92
+ Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash)
93
+
94
+ # source://rainbow//lib/rainbow/color.rb#100
95
+ class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
96
+ # @return [RGB] a new instance of RGB
97
+ #
98
+ # source://rainbow//lib/rainbow/color.rb#107
99
+ def initialize(ground, *values); end
100
+
101
+ # Returns the value of attribute b.
102
+ #
103
+ # source://rainbow//lib/rainbow/color.rb#101
104
+ def b; end
105
+
106
+ # source://rainbow//lib/rainbow/color.rb#116
107
+ def codes; end
108
+
109
+ # Returns the value of attribute g.
110
+ #
111
+ # source://rainbow//lib/rainbow/color.rb#101
112
+ def g; end
113
+
114
+ # Returns the value of attribute r.
115
+ #
116
+ # source://rainbow//lib/rainbow/color.rb#101
117
+ def r; end
118
+
119
+ private
120
+
121
+ # source://rainbow//lib/rainbow/color.rb#122
122
+ def code_from_rgb; end
123
+
124
+ class << self
125
+ # source://rainbow//lib/rainbow/color.rb#103
126
+ def to_ansi_domain(value); end
127
+ end
128
+ end
129
+
130
+ # source://rainbow//lib/rainbow/color.rb#129
131
+ class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
132
+ include ::Rainbow::X11ColorNames
133
+
134
+ # @return [X11Named] a new instance of X11Named
135
+ #
136
+ # source://rainbow//lib/rainbow/color.rb#140
137
+ def initialize(ground, name); end
138
+
139
+ class << self
140
+ # source://rainbow//lib/rainbow/color.rb#132
141
+ def color_names; end
142
+
143
+ # source://rainbow//lib/rainbow/color.rb#136
144
+ def valid_names; end
145
+ end
146
+ end
147
+
148
+ # source://rainbow//lib/rainbow/null_presenter.rb#4
149
+ class Rainbow::NullPresenter < ::String
150
+ # source://rainbow//lib/rainbow/null_presenter.rb#9
151
+ def background(*_values); end
152
+
153
+ # source://rainbow//lib/rainbow/null_presenter.rb#9
154
+ def bg(*_values); end
155
+
156
+ # source://rainbow//lib/rainbow/null_presenter.rb#49
157
+ def black; end
158
+
159
+ # source://rainbow//lib/rainbow/null_presenter.rb#33
160
+ def blink; end
161
+
162
+ # source://rainbow//lib/rainbow/null_presenter.rb#65
163
+ def blue; end
164
+
165
+ # source://rainbow//lib/rainbow/null_presenter.rb#17
166
+ def bold; end
167
+
168
+ # source://rainbow//lib/rainbow/null_presenter.rb#17
169
+ def bright; end
170
+
171
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
172
+ def color(*_values); end
173
+
174
+ # source://rainbow//lib/rainbow/null_presenter.rb#45
175
+ def cross_out; end
176
+
177
+ # source://rainbow//lib/rainbow/null_presenter.rb#73
178
+ def cyan; end
179
+
180
+ # source://rainbow//lib/rainbow/null_presenter.rb#21
181
+ def dark; end
182
+
183
+ # source://rainbow//lib/rainbow/null_presenter.rb#21
184
+ def faint; end
185
+
186
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
187
+ def fg(*_values); end
188
+
189
+ # source://rainbow//lib/rainbow/null_presenter.rb#5
190
+ def foreground(*_values); end
191
+
192
+ # source://rainbow//lib/rainbow/null_presenter.rb#57
193
+ def green; end
194
+
195
+ # source://rainbow//lib/rainbow/null_presenter.rb#41
196
+ def hide; end
197
+
198
+ # source://rainbow//lib/rainbow/null_presenter.rb#37
199
+ def inverse; end
200
+
201
+ # source://rainbow//lib/rainbow/null_presenter.rb#25
202
+ def italic; end
203
+
204
+ # source://rainbow//lib/rainbow/null_presenter.rb#69
205
+ def magenta; end
206
+
207
+ # source://rainbow//lib/rainbow/null_presenter.rb#81
208
+ def method_missing(method_name, *args); end
209
+
210
+ # source://rainbow//lib/rainbow/null_presenter.rb#53
211
+ def red; end
212
+
213
+ # source://rainbow//lib/rainbow/null_presenter.rb#13
214
+ def reset; end
215
+
216
+ # source://rainbow//lib/rainbow/null_presenter.rb#45
217
+ def strike; end
218
+
219
+ # source://rainbow//lib/rainbow/null_presenter.rb#29
220
+ def underline; end
221
+
222
+ # source://rainbow//lib/rainbow/null_presenter.rb#77
223
+ def white; end
224
+
225
+ # source://rainbow//lib/rainbow/null_presenter.rb#61
226
+ def yellow; end
227
+
228
+ private
229
+
230
+ # @return [Boolean]
231
+ #
232
+ # source://rainbow//lib/rainbow/null_presenter.rb#89
233
+ def respond_to_missing?(method_name, *args); end
234
+ end
235
+
236
+ # source://rainbow//lib/rainbow/presenter.rb#8
237
+ class Rainbow::Presenter < ::String
238
+ # Sets background color of this text.
239
+ #
240
+ # source://rainbow//lib/rainbow/presenter.rb#30
241
+ def background(*values); end
242
+
243
+ # Sets background color of this text.
244
+ #
245
+ # source://rainbow//lib/rainbow/presenter.rb#30
246
+ def bg(*values); end
247
+
248
+ # source://rainbow//lib/rainbow/presenter.rb#92
249
+ def black; end
250
+
251
+ # Turns on blinking attribute for this text (not well supported by terminal
252
+ # emulators).
253
+ #
254
+ # source://rainbow//lib/rainbow/presenter.rb#72
255
+ def blink; end
256
+
257
+ # source://rainbow//lib/rainbow/presenter.rb#108
258
+ def blue; end
259
+
260
+ # Turns on bright/bold for this text.
261
+ #
262
+ # source://rainbow//lib/rainbow/presenter.rb#45
263
+ def bold; end
264
+
265
+ # Turns on bright/bold for this text.
266
+ #
267
+ # source://rainbow//lib/rainbow/presenter.rb#45
268
+ def bright; end
269
+
270
+ # Sets color of this text.
271
+ #
272
+ # source://rainbow//lib/rainbow/presenter.rb#22
273
+ def color(*values); end
274
+
275
+ # source://rainbow//lib/rainbow/presenter.rb#86
276
+ def cross_out; end
277
+
278
+ # source://rainbow//lib/rainbow/presenter.rb#116
279
+ def cyan; end
280
+
281
+ # Turns on faint/dark for this text (not well supported by terminal
282
+ # emulators).
283
+ #
284
+ # source://rainbow//lib/rainbow/presenter.rb#53
285
+ def dark; end
286
+
287
+ # Turns on faint/dark for this text (not well supported by terminal
288
+ # emulators).
289
+ #
290
+ # source://rainbow//lib/rainbow/presenter.rb#53
291
+ def faint; end
292
+
293
+ # Sets color of this text.
294
+ #
295
+ # source://rainbow//lib/rainbow/presenter.rb#22
296
+ def fg(*values); end
297
+
298
+ # Sets color of this text.
299
+ #
300
+ # source://rainbow//lib/rainbow/presenter.rb#22
301
+ def foreground(*values); end
302
+
303
+ # source://rainbow//lib/rainbow/presenter.rb#100
304
+ def green; end
305
+
306
+ # Hides this text (set its color to the same as background).
307
+ #
308
+ # source://rainbow//lib/rainbow/presenter.rb#82
309
+ def hide; end
310
+
311
+ # Inverses current foreground/background colors.
312
+ #
313
+ # source://rainbow//lib/rainbow/presenter.rb#77
314
+ def inverse; end
315
+
316
+ # Turns on italic style for this text (not well supported by terminal
317
+ # emulators).
318
+ #
319
+ # source://rainbow//lib/rainbow/presenter.rb#61
320
+ def italic; end
321
+
322
+ # source://rainbow//lib/rainbow/presenter.rb#112
323
+ def magenta; end
324
+
325
+ # We take care of X11 color method call here.
326
+ # Such as #aqua, #ghostwhite.
327
+ #
328
+ # source://rainbow//lib/rainbow/presenter.rb#126
329
+ def method_missing(method_name, *args); end
330
+
331
+ # source://rainbow//lib/rainbow/presenter.rb#96
332
+ def red; end
333
+
334
+ # Resets terminal to default colors/backgrounds.
335
+ #
336
+ # It shouldn't be needed to use this method because all methods
337
+ # append terminal reset code to end of string.
338
+ #
339
+ # source://rainbow//lib/rainbow/presenter.rb#40
340
+ def reset; end
341
+
342
+ # source://rainbow//lib/rainbow/presenter.rb#86
343
+ def strike; end
344
+
345
+ # Turns on underline decoration for this text.
346
+ #
347
+ # source://rainbow//lib/rainbow/presenter.rb#66
348
+ def underline; end
349
+
350
+ # source://rainbow//lib/rainbow/presenter.rb#120
351
+ def white; end
352
+
353
+ # source://rainbow//lib/rainbow/presenter.rb#104
354
+ def yellow; end
355
+
356
+ private
357
+
358
+ # @return [Boolean]
359
+ #
360
+ # source://rainbow//lib/rainbow/presenter.rb#134
361
+ def respond_to_missing?(method_name, *args); end
362
+
363
+ # source://rainbow//lib/rainbow/presenter.rb#140
364
+ def wrap_with_sgr(codes); end
365
+ end
366
+
367
+ # source://rainbow//lib/rainbow/presenter.rb#9
368
+ Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
369
+
370
+ # source://rainbow//lib/rainbow/string_utils.rb#4
371
+ class Rainbow::StringUtils
372
+ class << self
373
+ # source://rainbow//lib/rainbow/string_utils.rb#17
374
+ def uncolor(string); end
375
+
376
+ # source://rainbow//lib/rainbow/string_utils.rb#5
377
+ def wrap_with_sgr(string, codes); end
378
+ end
379
+ end
380
+
381
+ # source://rainbow//lib/rainbow/wrapper.rb#7
382
+ class Rainbow::Wrapper
383
+ # @return [Wrapper] a new instance of Wrapper
384
+ #
385
+ # source://rainbow//lib/rainbow/wrapper.rb#10
386
+ def initialize(enabled = T.unsafe(nil)); end
387
+
388
+ # Returns the value of attribute enabled.
389
+ #
390
+ # source://rainbow//lib/rainbow/wrapper.rb#8
391
+ def enabled; end
392
+
393
+ # Sets the attribute enabled
394
+ #
395
+ # @param value the value to set the attribute enabled to.
396
+ #
397
+ # source://rainbow//lib/rainbow/wrapper.rb#8
398
+ def enabled=(_arg0); end
399
+
400
+ # source://rainbow//lib/rainbow/wrapper.rb#14
401
+ def wrap(string); end
402
+ end
403
+
404
+ # source://rainbow//lib/rainbow/x11_color_names.rb#4
405
+ module Rainbow::X11ColorNames; end
406
+
407
+ # source://rainbow//lib/rainbow/x11_color_names.rb#5
408
+ Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)