checkoff 0.223.0 → 0.225.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/cli.rb +1 -1
  4. data/lib/checkoff/clients.rb +1 -1
  5. data/lib/checkoff/custom_fields.rb +1 -1
  6. data/lib/checkoff/events.rb +1 -1
  7. data/lib/checkoff/internal/config_loader.rb +2 -3
  8. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
  9. data/lib/checkoff/my_tasks.rb +1 -1
  10. data/lib/checkoff/portfolios.rb +11 -9
  11. data/lib/checkoff/projects.rb +1 -1
  12. data/lib/checkoff/sections.rb +3 -4
  13. data/lib/checkoff/tags.rb +66 -17
  14. data/lib/checkoff/tasks.rb +1 -1
  15. data/lib/checkoff/version.rb +1 -1
  16. data/lib/checkoff/workspaces.rb +1 -1
  17. data/rbi/checkoff.rbi +4529 -0
  18. data/sig/checkoff.rbs +3749 -0
  19. metadata +4 -210
  20. data/.circleci/config.yml +0 -291
  21. data/.envrc +0 -9
  22. data/.git-hooks/pre_commit/circle_ci.rb +0 -26
  23. data/.git-hooks/pre_commit/punchlist.rb +0 -52
  24. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
  25. data/.gitattributes +0 -6
  26. data/.gitignore +0 -65
  27. data/.markdownlint_style.rb +0 -4
  28. data/.mdlrc +0 -1
  29. data/.overcommit.yml +0 -115
  30. data/.rubocop.yml +0 -143
  31. data/.rubocop_todo.yml +0 -90
  32. data/.solargraph.yml +0 -35
  33. data/.yamllint.yml +0 -8
  34. data/.yardopts +0 -2
  35. data/CODE_OF_CONDUCT.md +0 -133
  36. data/CONTRIBUTING.rst +0 -75
  37. data/DEVELOPMENT.md +0 -69
  38. data/GLOSSARY.md +0 -16
  39. data/Gemfile +0 -67
  40. data/Gemfile.lock +0 -351
  41. data/LICENSE +0 -21
  42. data/Makefile +0 -139
  43. data/bin/brakeman +0 -27
  44. data/bin/bump +0 -29
  45. data/bin/checkoff +0 -29
  46. data/bin/console +0 -15
  47. data/bin/overcommit +0 -29
  48. data/bin/overcommit_branch +0 -114
  49. data/bin/rake +0 -29
  50. data/bin/rubocop +0 -27
  51. data/bin/setup +0 -8
  52. data/bin/solargraph +0 -27
  53. data/bin/sord +0 -27
  54. data/bin/spoom +0 -27
  55. data/bin/srb +0 -27
  56. data/bin/srb-rbi +0 -27
  57. data/bin/tapioca +0 -27
  58. data/bin/yard +0 -27
  59. data/config/annotations_asana.rb +0 -253
  60. data/config/annotations_misc.rb +0 -68
  61. data/config/env.1p +0 -2
  62. data/docs/.gitignore +0 -3
  63. data/docs/cookiecutter_input.json +0 -17
  64. data/docs/example_project.png +0 -0
  65. data/fix.sh +0 -534
  66. data/metrics/bigfiles_high_water_mark +0 -1
  67. data/metrics/brakeman_high_water_mark +0 -1
  68. data/metrics/bundle-audit_high_water_mark +0 -1
  69. data/metrics/cane_high_water_mark +0 -1
  70. data/metrics/eslint_high_water_mark +0 -1
  71. data/metrics/flake8_high_water_mark +0 -1
  72. data/metrics/flay_high_water_mark +0 -1
  73. data/metrics/flog_high_water_mark +0 -1
  74. data/metrics/jscs_high_water_mark +0 -1
  75. data/metrics/mdl_high_water_mark +0 -1
  76. data/metrics/pep8_high_water_mark +0 -1
  77. data/metrics/punchlist_high_water_mark +0 -1
  78. data/metrics/pycodestyle_high_water_mark +0 -1
  79. data/metrics/rails_best_practices_high_water_mark +0 -1
  80. data/metrics/rubocop_high_water_mark +0 -1
  81. data/metrics/scalastyle_high_water_mark +0 -1
  82. data/metrics/shellcheck_high_water_mark +0 -1
  83. data/package.json +0 -9
  84. data/rakelib/citest.rake +0 -4
  85. data/rakelib/clear_metrics.rake +0 -9
  86. data/rakelib/console.rake +0 -15
  87. data/rakelib/default.rake +0 -4
  88. data/rakelib/doc.rake +0 -6
  89. data/rakelib/gem_tasks.rake +0 -3
  90. data/rakelib/localtest.rake +0 -4
  91. data/rakelib/overcommit.rake +0 -6
  92. data/rakelib/quality.rake +0 -4
  93. data/rakelib/repl.rake +0 -4
  94. data/rakelib/test.rake +0 -10
  95. data/rakelib/trigger_next_builds.rake +0 -7
  96. data/rakelib/undercover.rake +0 -8
  97. data/requirements_dev.txt +0 -2
  98. data/sorbet/config +0 -4
  99. data/sorbet/rbi/annotations/.gitattributes +0 -1
  100. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  101. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  102. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  103. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  104. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  105. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  106. data/sorbet/rbi/dsl/.gitattributes +0 -1
  107. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  108. data/sorbet/rbi/gems/.gitattributes +0 -1
  109. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  110. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  111. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  112. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  113. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  114. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  115. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  116. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  117. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  118. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  119. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  120. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  121. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  122. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  123. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  124. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  125. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  126. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
  127. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  128. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  129. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  130. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  131. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  132. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  133. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  134. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  135. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  136. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  137. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  138. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  139. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  140. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  141. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  142. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  143. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  144. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  145. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  146. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  147. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  148. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  149. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  150. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
  151. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  152. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  153. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  154. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  155. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  156. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  157. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  158. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  159. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  160. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  161. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  162. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  163. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  164. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  165. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  166. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  167. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  168. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  169. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  170. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  171. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  172. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  173. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  174. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  175. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  176. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  177. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  178. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  179. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  180. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  181. data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
  182. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  183. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  184. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  185. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  186. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  187. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  188. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  189. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  190. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  191. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  192. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  193. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  194. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  195. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  196. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
  197. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  198. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  199. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  200. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  201. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  202. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  203. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  204. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  205. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  206. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  207. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  208. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  209. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  210. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  211. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  212. data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
  213. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  214. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  215. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  216. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  217. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  218. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  219. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  220. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  221. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  222. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  223. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  224. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  225. data/sorbet/rbi/todo.rbi +0 -11
  226. data/sorbet/tapioca/config.yml +0 -13
  227. data/sorbet/tapioca/require.rb +0 -4
@@ -1,688 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `ansi` gem.
5
- # Please instead update this file by running `bin/tapioca gem ansi`.
6
-
7
-
8
- # ANSI namespace module contains all the ANSI related classes.
9
- #
10
- # source://ansi//lib/ansi/code.rb#1
11
- module ANSI
12
- extend ::ANSI::Constants
13
- extend ::ANSI::Code
14
- end
15
-
16
- # Table of codes used throughout the system.
17
- #
18
- # @see http://en.wikipedia.org/wiki/ANSI_escape_code
19
- #
20
- # source://ansi//lib/ansi/chart.rb#6
21
- ANSI::CHART = T.let(T.unsafe(nil), Hash)
22
-
23
- # ANSI Codes
24
- #
25
- # Ansi::Code module makes it very easy to use ANSI codes.
26
- # These are especially nice for beautifying shell output.
27
- #
28
- # Ansi::Code.red + "Hello" + Ansi::Code.blue + "World"
29
- # => "\e[31mHello\e[34mWorld"
30
- #
31
- # Ansi::Code.red{ "Hello" } + Ansi::Code.blue{ "World" }
32
- # => "\e[31mHello\e[0m\e[34mWorld\e[0m"
33
- #
34
- # IMPORTANT! Do not mixin Ansi::Code, instead use {ANSI::Mixin}.
35
- #
36
- # See {ANSI::CHART} for list of all supported codes.
37
- #
38
- # source://ansi//lib/ansi/code.rb#37
39
- module ANSI::Code
40
- include ::ANSI::Constants
41
- extend ::ANSI::Constants
42
- extend ::ANSI::Code
43
-
44
- # Return ANSI code given a list of symbolic names.
45
- #
46
- # source://ansi//lib/ansi/code.rb#60
47
- def [](*codes); end
48
-
49
- # Apply ANSI codes to a first argument or block value.
50
- #
51
- # @example
52
- # ansi("Valentine", :red, :on_white)
53
- # @example
54
- # ansi(:red, :on_white){ "Valentine" }
55
- # @return [String] String wrapped ANSI code.
56
- #
57
- # source://ansi//lib/ansi/code.rb#176
58
- def ansi(*codes); end
59
-
60
- # Move cursor left a specified number of spaces.
61
- #
62
- # source://ansi//lib/ansi/code.rb#149
63
- def back(spaces = T.unsafe(nil)); end
64
-
65
- # source://ansi//lib/ansi/code.rb#70
66
- def black_on_black(string = T.unsafe(nil)); end
67
-
68
- # source://ansi//lib/ansi/code.rb#70
69
- def black_on_blue(string = T.unsafe(nil)); end
70
-
71
- # source://ansi//lib/ansi/code.rb#70
72
- def black_on_cyan(string = T.unsafe(nil)); end
73
-
74
- # source://ansi//lib/ansi/code.rb#70
75
- def black_on_green(string = T.unsafe(nil)); end
76
-
77
- # source://ansi//lib/ansi/code.rb#70
78
- def black_on_magenta(string = T.unsafe(nil)); end
79
-
80
- # source://ansi//lib/ansi/code.rb#70
81
- def black_on_red(string = T.unsafe(nil)); end
82
-
83
- # source://ansi//lib/ansi/code.rb#70
84
- def black_on_white(string = T.unsafe(nil)); end
85
-
86
- # source://ansi//lib/ansi/code.rb#70
87
- def black_on_yellow(string = T.unsafe(nil)); end
88
-
89
- # source://ansi//lib/ansi/code.rb#70
90
- def blue_on_black(string = T.unsafe(nil)); end
91
-
92
- # source://ansi//lib/ansi/code.rb#70
93
- def blue_on_blue(string = T.unsafe(nil)); end
94
-
95
- # source://ansi//lib/ansi/code.rb#70
96
- def blue_on_cyan(string = T.unsafe(nil)); end
97
-
98
- # source://ansi//lib/ansi/code.rb#70
99
- def blue_on_green(string = T.unsafe(nil)); end
100
-
101
- # source://ansi//lib/ansi/code.rb#70
102
- def blue_on_magenta(string = T.unsafe(nil)); end
103
-
104
- # source://ansi//lib/ansi/code.rb#70
105
- def blue_on_red(string = T.unsafe(nil)); end
106
-
107
- # source://ansi//lib/ansi/code.rb#70
108
- def blue_on_white(string = T.unsafe(nil)); end
109
-
110
- # source://ansi//lib/ansi/code.rb#70
111
- def blue_on_yellow(string = T.unsafe(nil)); end
112
-
113
- # Look-up code from chart, or if Integer simply pass through.
114
- # Also resolves :random and :on_random.
115
- #
116
- # @param codes [Array<Symbol,Integer]
117
- # Symbols or integers to convert to ANSI code.] odes [Array<Symbol,Integer]
118
- # Symbols or integers to convert to ANSI code.
119
- # @return [String] ANSI code
120
- #
121
- # source://ansi//lib/ansi/code.rb#241
122
- def code(*codes); end
123
-
124
- # Apply ANSI codes to a first argument or block value.
125
- # Alternate term for #ansi.
126
- #
127
- # @deprecated May change in future definition.
128
- # @example
129
- # ansi("Valentine", :red, :on_white)
130
- # @example
131
- # ansi(:red, :on_white){ "Valentine" }
132
- # @return [String] String wrapped ANSI code.
133
- #
134
- # source://ansi//lib/ansi/code.rb#176
135
- def color(*codes); end
136
-
137
- # source://ansi//lib/ansi/code.rb#70
138
- def cyan_on_black(string = T.unsafe(nil)); end
139
-
140
- # source://ansi//lib/ansi/code.rb#70
141
- def cyan_on_blue(string = T.unsafe(nil)); end
142
-
143
- # source://ansi//lib/ansi/code.rb#70
144
- def cyan_on_cyan(string = T.unsafe(nil)); end
145
-
146
- # source://ansi//lib/ansi/code.rb#70
147
- def cyan_on_green(string = T.unsafe(nil)); end
148
-
149
- # source://ansi//lib/ansi/code.rb#70
150
- def cyan_on_magenta(string = T.unsafe(nil)); end
151
-
152
- # source://ansi//lib/ansi/code.rb#70
153
- def cyan_on_red(string = T.unsafe(nil)); end
154
-
155
- # source://ansi//lib/ansi/code.rb#70
156
- def cyan_on_white(string = T.unsafe(nil)); end
157
-
158
- # source://ansi//lib/ansi/code.rb#70
159
- def cyan_on_yellow(string = T.unsafe(nil)); end
160
-
161
- # Like +move+ but returns to original position after
162
- # yielding the block.
163
- #
164
- # source://ansi//lib/ansi/code.rb#120
165
- def display(line, column = T.unsafe(nil)); end
166
-
167
- # Move cursor down a specified number of spaces.
168
- #
169
- # source://ansi//lib/ansi/code.rb#144
170
- def down(spaces = T.unsafe(nil)); end
171
-
172
- # Move cursor right a specified number of spaces.
173
- #
174
- # source://ansi//lib/ansi/code.rb#155
175
- def forward(spaces = T.unsafe(nil)); end
176
-
177
- # source://ansi//lib/ansi/code.rb#70
178
- def green_on_black(string = T.unsafe(nil)); end
179
-
180
- # source://ansi//lib/ansi/code.rb#70
181
- def green_on_blue(string = T.unsafe(nil)); end
182
-
183
- # source://ansi//lib/ansi/code.rb#70
184
- def green_on_cyan(string = T.unsafe(nil)); end
185
-
186
- # source://ansi//lib/ansi/code.rb#70
187
- def green_on_green(string = T.unsafe(nil)); end
188
-
189
- # source://ansi//lib/ansi/code.rb#70
190
- def green_on_magenta(string = T.unsafe(nil)); end
191
-
192
- # source://ansi//lib/ansi/code.rb#70
193
- def green_on_red(string = T.unsafe(nil)); end
194
-
195
- # source://ansi//lib/ansi/code.rb#70
196
- def green_on_white(string = T.unsafe(nil)); end
197
-
198
- # source://ansi//lib/ansi/code.rb#70
199
- def green_on_yellow(string = T.unsafe(nil)); end
200
-
201
- # Creates an xterm-256 color code from a CSS-style color string.
202
- #
203
- # @param string [String] Hex string in CSS style, .e.g. `#5FA0C2`.
204
- # @param background [Boolean] Use `true` for background color, otherwise foreground color.
205
- #
206
- # source://ansi//lib/ansi/code.rb#325
207
- def hex_code(string, background = T.unsafe(nil)); end
208
-
209
- # Move cursor left a specified number of spaces.
210
- #
211
- # source://ansi//lib/ansi/code.rb#149
212
- def left(spaces = T.unsafe(nil)); end
213
-
214
- # source://ansi//lib/ansi/code.rb#70
215
- def magenta_on_black(string = T.unsafe(nil)); end
216
-
217
- # source://ansi//lib/ansi/code.rb#70
218
- def magenta_on_blue(string = T.unsafe(nil)); end
219
-
220
- # source://ansi//lib/ansi/code.rb#70
221
- def magenta_on_cyan(string = T.unsafe(nil)); end
222
-
223
- # source://ansi//lib/ansi/code.rb#70
224
- def magenta_on_green(string = T.unsafe(nil)); end
225
-
226
- # source://ansi//lib/ansi/code.rb#70
227
- def magenta_on_magenta(string = T.unsafe(nil)); end
228
-
229
- # source://ansi//lib/ansi/code.rb#70
230
- def magenta_on_red(string = T.unsafe(nil)); end
231
-
232
- # source://ansi//lib/ansi/code.rb#70
233
- def magenta_on_white(string = T.unsafe(nil)); end
234
-
235
- # source://ansi//lib/ansi/code.rb#70
236
- def magenta_on_yellow(string = T.unsafe(nil)); end
237
-
238
- # Use method missing to dispatch ANSI code methods.
239
- #
240
- # source://ansi//lib/ansi/code.rb#89
241
- def method_missing(code, *args, &blk); end
242
-
243
- # Move cursor to line and column.
244
- #
245
- # source://ansi//lib/ansi/code.rb#134
246
- def move(line, column = T.unsafe(nil)); end
247
-
248
- # Provides a random primary ANSI color.
249
- #
250
- # @param background [Boolean] Use `true` for background color, otherwise foreground color.
251
- # @return [Integer] ANSI color number
252
- #
253
- # source://ansi//lib/ansi/code.rb#274
254
- def random(background = T.unsafe(nil)); end
255
-
256
- # source://ansi//lib/ansi/code.rb#70
257
- def red_on_black(string = T.unsafe(nil)); end
258
-
259
- # source://ansi//lib/ansi/code.rb#70
260
- def red_on_blue(string = T.unsafe(nil)); end
261
-
262
- # source://ansi//lib/ansi/code.rb#70
263
- def red_on_cyan(string = T.unsafe(nil)); end
264
-
265
- # source://ansi//lib/ansi/code.rb#70
266
- def red_on_green(string = T.unsafe(nil)); end
267
-
268
- # source://ansi//lib/ansi/code.rb#70
269
- def red_on_magenta(string = T.unsafe(nil)); end
270
-
271
- # source://ansi//lib/ansi/code.rb#70
272
- def red_on_red(string = T.unsafe(nil)); end
273
-
274
- # source://ansi//lib/ansi/code.rb#70
275
- def red_on_white(string = T.unsafe(nil)); end
276
-
277
- # source://ansi//lib/ansi/code.rb#70
278
- def red_on_yellow(string = T.unsafe(nil)); end
279
-
280
- # Creates an XTerm 256 color escape code from RGB value(s). The
281
- # RGB value can be three arguments red, green and blue respectively
282
- # each from 0 to 255, or the RGB value can be a single CSS-style
283
- # hex string.
284
- #
285
- # @param background [Boolean] Use `true` for background color, otherwise foreground color.
286
- #
287
- # source://ansi//lib/ansi/code.rb#286
288
- def rgb(*args); end
289
-
290
- # Given red, green and blue values between 0 and 255, this method
291
- # returns the closest XTerm 256 color value.
292
- #
293
- # @raise [ArgumentError]
294
- #
295
- # source://ansi//lib/ansi/code.rb#335
296
- def rgb_256(r, g, b); end
297
-
298
- # Creates an xterm-256 color from rgb value.
299
- #
300
- # @param background [Boolean] Use `true` for background color, otherwise foreground color.
301
- #
302
- # source://ansi//lib/ansi/code.rb#313
303
- def rgb_code(red, green, blue, background = T.unsafe(nil)); end
304
-
305
- # Move cursor right a specified number of spaces.
306
- #
307
- # source://ansi//lib/ansi/code.rb#155
308
- def right(spaces = T.unsafe(nil)); end
309
-
310
- # Apply ANSI codes to a first argument or block value.
311
- # Alias for #ansi method.
312
- #
313
- # @deprecated Here for backward compatibility.
314
- # @example
315
- # ansi("Valentine", :red, :on_white)
316
- # @example
317
- # ansi(:red, :on_white){ "Valentine" }
318
- # @return [String] String wrapped ANSI code.
319
- #
320
- # source://ansi//lib/ansi/code.rb#176
321
- def style(*codes); end
322
-
323
- # Remove ANSI codes from string or block value.
324
- #
325
- # @param string [String] String from which to remove ANSI codes.
326
- # @return [String] String wrapped ANSI code.
327
- #
328
- # source://ansi//lib/ansi/code.rb#201
329
- def unansi(string = T.unsafe(nil)); end
330
-
331
- # Remove ANSI codes from string or block value.
332
- # Alias for unansi.
333
- #
334
- # @deprecated May change in future definition.
335
- # @param string [String] String from which to remove ANSI codes.
336
- # @return [String] String wrapped ANSI code.
337
- #
338
- # source://ansi//lib/ansi/code.rb#201
339
- def uncolor(string = T.unsafe(nil)); end
340
-
341
- # Remove ANSI codes from string or block value.
342
- # Alias for #unansi method.
343
- #
344
- # @deprecated Here for backwards compatibility.
345
- # @param string [String] String from which to remove ANSI codes.
346
- # @return [String] String wrapped ANSI code.
347
- #
348
- # source://ansi//lib/ansi/code.rb#201
349
- def unstyle(string = T.unsafe(nil)); end
350
-
351
- # Move cursor up a specified number of spaces.
352
- #
353
- # source://ansi//lib/ansi/code.rb#139
354
- def up(spaces = T.unsafe(nil)); end
355
-
356
- # source://ansi//lib/ansi/code.rb#70
357
- def white_on_black(string = T.unsafe(nil)); end
358
-
359
- # source://ansi//lib/ansi/code.rb#70
360
- def white_on_blue(string = T.unsafe(nil)); end
361
-
362
- # source://ansi//lib/ansi/code.rb#70
363
- def white_on_cyan(string = T.unsafe(nil)); end
364
-
365
- # source://ansi//lib/ansi/code.rb#70
366
- def white_on_green(string = T.unsafe(nil)); end
367
-
368
- # source://ansi//lib/ansi/code.rb#70
369
- def white_on_magenta(string = T.unsafe(nil)); end
370
-
371
- # source://ansi//lib/ansi/code.rb#70
372
- def white_on_red(string = T.unsafe(nil)); end
373
-
374
- # source://ansi//lib/ansi/code.rb#70
375
- def white_on_white(string = T.unsafe(nil)); end
376
-
377
- # source://ansi//lib/ansi/code.rb#70
378
- def white_on_yellow(string = T.unsafe(nil)); end
379
-
380
- # source://ansi//lib/ansi/code.rb#70
381
- def yellow_on_black(string = T.unsafe(nil)); end
382
-
383
- # source://ansi//lib/ansi/code.rb#70
384
- def yellow_on_blue(string = T.unsafe(nil)); end
385
-
386
- # source://ansi//lib/ansi/code.rb#70
387
- def yellow_on_cyan(string = T.unsafe(nil)); end
388
-
389
- # source://ansi//lib/ansi/code.rb#70
390
- def yellow_on_green(string = T.unsafe(nil)); end
391
-
392
- # source://ansi//lib/ansi/code.rb#70
393
- def yellow_on_magenta(string = T.unsafe(nil)); end
394
-
395
- # source://ansi//lib/ansi/code.rb#70
396
- def yellow_on_red(string = T.unsafe(nil)); end
397
-
398
- # source://ansi//lib/ansi/code.rb#70
399
- def yellow_on_white(string = T.unsafe(nil)); end
400
-
401
- # source://ansi//lib/ansi/code.rb#70
402
- def yellow_on_yellow(string = T.unsafe(nil)); end
403
-
404
- class << self
405
- # List of primary colors.
406
- #
407
- # source://ansi//lib/ansi/code.rb#55
408
- def colors; end
409
-
410
- # List of primary styles.
411
- #
412
- # source://ansi//lib/ansi/code.rb#50
413
- def styles; end
414
- end
415
- end
416
-
417
- # ANSI clear code.
418
- #
419
- # source://ansi//lib/ansi/code.rb#47
420
- ANSI::Code::ENDCODE = T.let(T.unsafe(nil), String)
421
-
422
- # Regexp for matching most ANSI codes.
423
- #
424
- # source://ansi//lib/ansi/code.rb#44
425
- ANSI::Code::PATTERN = T.let(T.unsafe(nil), Regexp)
426
-
427
- # Converts {CHART} and {SPECIAL_CHART} entries into constants.
428
- # So for example, the CHART entry for :red becomes:
429
- #
430
- # ANSI::Constants::RED #=> "\e[31m"
431
- #
432
- # The ANSI Constants are include into ANSI::Code and can be included
433
- # any where will they would be of use.
434
- #
435
- # source://ansi//lib/ansi/constants.rb#13
436
- module ANSI::Constants; end
437
-
438
- # source://ansi//lib/ansi/constants.rb#16
439
- ANSI::Constants::BLACK = T.let(T.unsafe(nil), String)
440
-
441
- # source://ansi//lib/ansi/constants.rb#16
442
- ANSI::Constants::BLINK = T.let(T.unsafe(nil), String)
443
-
444
- # source://ansi//lib/ansi/constants.rb#16
445
- ANSI::Constants::BLINK_OFF = T.let(T.unsafe(nil), String)
446
-
447
- # source://ansi//lib/ansi/constants.rb#16
448
- ANSI::Constants::BLUE = T.let(T.unsafe(nil), String)
449
-
450
- # source://ansi//lib/ansi/constants.rb#16
451
- ANSI::Constants::BOLD = T.let(T.unsafe(nil), String)
452
-
453
- # source://ansi//lib/ansi/constants.rb#16
454
- ANSI::Constants::BOLD_OFF = T.let(T.unsafe(nil), String)
455
-
456
- # source://ansi//lib/ansi/constants.rb#16
457
- ANSI::Constants::BRIGHT = T.let(T.unsafe(nil), String)
458
-
459
- # source://ansi//lib/ansi/constants.rb#16
460
- ANSI::Constants::BRIGHT_OFF = T.let(T.unsafe(nil), String)
461
-
462
- # source://ansi//lib/ansi/constants.rb#16
463
- ANSI::Constants::CLEAN = T.let(T.unsafe(nil), String)
464
-
465
- # source://ansi//lib/ansi/constants.rb#16
466
- ANSI::Constants::CLEAR = T.let(T.unsafe(nil), String)
467
-
468
- # source://ansi//lib/ansi/constants.rb#20
469
- ANSI::Constants::CLEAR_EOL = T.let(T.unsafe(nil), String)
470
-
471
- # source://ansi//lib/ansi/constants.rb#20
472
- ANSI::Constants::CLEAR_LEFT = T.let(T.unsafe(nil), String)
473
-
474
- # source://ansi//lib/ansi/constants.rb#20
475
- ANSI::Constants::CLEAR_LINE = T.let(T.unsafe(nil), String)
476
-
477
- # source://ansi//lib/ansi/constants.rb#20
478
- ANSI::Constants::CLEAR_RIGHT = T.let(T.unsafe(nil), String)
479
-
480
- # source://ansi//lib/ansi/constants.rb#20
481
- ANSI::Constants::CLEAR_SCREEN = T.let(T.unsafe(nil), String)
482
-
483
- # source://ansi//lib/ansi/constants.rb#20
484
- ANSI::Constants::CLR = T.let(T.unsafe(nil), String)
485
-
486
- # source://ansi//lib/ansi/constants.rb#20
487
- ANSI::Constants::CLS = T.let(T.unsafe(nil), String)
488
-
489
- # source://ansi//lib/ansi/constants.rb#16
490
- ANSI::Constants::CONCEAL = T.let(T.unsafe(nil), String)
491
-
492
- # source://ansi//lib/ansi/constants.rb#16
493
- ANSI::Constants::CONCEALED = T.let(T.unsafe(nil), String)
494
-
495
- # source://ansi//lib/ansi/constants.rb#16
496
- ANSI::Constants::CONCEAL_OFF = T.let(T.unsafe(nil), String)
497
-
498
- # source://ansi//lib/ansi/constants.rb#16
499
- ANSI::Constants::CROSSED_OFF = T.let(T.unsafe(nil), String)
500
-
501
- # source://ansi//lib/ansi/constants.rb#16
502
- ANSI::Constants::CROSSED_OUT_OFF = T.let(T.unsafe(nil), String)
503
-
504
- # source://ansi//lib/ansi/constants.rb#20
505
- ANSI::Constants::CURSOR_HIDE = T.let(T.unsafe(nil), String)
506
-
507
- # source://ansi//lib/ansi/constants.rb#20
508
- ANSI::Constants::CURSOR_SHOW = T.let(T.unsafe(nil), String)
509
-
510
- # source://ansi//lib/ansi/constants.rb#16
511
- ANSI::Constants::CYAN = T.let(T.unsafe(nil), String)
512
-
513
- # source://ansi//lib/ansi/constants.rb#16
514
- ANSI::Constants::DARK = T.let(T.unsafe(nil), String)
515
-
516
- # source://ansi//lib/ansi/constants.rb#16
517
- ANSI::Constants::DEFAULT_FONT = T.let(T.unsafe(nil), String)
518
-
519
- # source://ansi//lib/ansi/constants.rb#16
520
- ANSI::Constants::DOUBLE_UNDERLINE = T.let(T.unsafe(nil), String)
521
-
522
- # source://ansi//lib/ansi/constants.rb#16
523
- ANSI::Constants::ENCIRCLE = T.let(T.unsafe(nil), String)
524
-
525
- # source://ansi//lib/ansi/constants.rb#16
526
- ANSI::Constants::ENCIRCLE_OFF = T.let(T.unsafe(nil), String)
527
-
528
- # source://ansi//lib/ansi/constants.rb#16
529
- ANSI::Constants::FAINT = T.let(T.unsafe(nil), String)
530
-
531
- # source://ansi//lib/ansi/constants.rb#16
532
- ANSI::Constants::FONT0 = T.let(T.unsafe(nil), String)
533
-
534
- # source://ansi//lib/ansi/constants.rb#16
535
- ANSI::Constants::FONT1 = T.let(T.unsafe(nil), String)
536
-
537
- # source://ansi//lib/ansi/constants.rb#16
538
- ANSI::Constants::FONT2 = T.let(T.unsafe(nil), String)
539
-
540
- # source://ansi//lib/ansi/constants.rb#16
541
- ANSI::Constants::FONT3 = T.let(T.unsafe(nil), String)
542
-
543
- # source://ansi//lib/ansi/constants.rb#16
544
- ANSI::Constants::FONT4 = T.let(T.unsafe(nil), String)
545
-
546
- # source://ansi//lib/ansi/constants.rb#16
547
- ANSI::Constants::FONT5 = T.let(T.unsafe(nil), String)
548
-
549
- # source://ansi//lib/ansi/constants.rb#16
550
- ANSI::Constants::FONT6 = T.let(T.unsafe(nil), String)
551
-
552
- # source://ansi//lib/ansi/constants.rb#16
553
- ANSI::Constants::FONT7 = T.let(T.unsafe(nil), String)
554
-
555
- # source://ansi//lib/ansi/constants.rb#16
556
- ANSI::Constants::FONT8 = T.let(T.unsafe(nil), String)
557
-
558
- # source://ansi//lib/ansi/constants.rb#16
559
- ANSI::Constants::FONT9 = T.let(T.unsafe(nil), String)
560
-
561
- # source://ansi//lib/ansi/constants.rb#16
562
- ANSI::Constants::FONT_DEFAULT = T.let(T.unsafe(nil), String)
563
-
564
- # source://ansi//lib/ansi/constants.rb#16
565
- ANSI::Constants::FRAKTUR = T.let(T.unsafe(nil), String)
566
-
567
- # source://ansi//lib/ansi/constants.rb#16
568
- ANSI::Constants::FRAKTUR_OFF = T.let(T.unsafe(nil), String)
569
-
570
- # source://ansi//lib/ansi/constants.rb#16
571
- ANSI::Constants::FRAME = T.let(T.unsafe(nil), String)
572
-
573
- # source://ansi//lib/ansi/constants.rb#16
574
- ANSI::Constants::FRAME_OFF = T.let(T.unsafe(nil), String)
575
-
576
- # source://ansi//lib/ansi/constants.rb#16
577
- ANSI::Constants::GREEN = T.let(T.unsafe(nil), String)
578
-
579
- # source://ansi//lib/ansi/constants.rb#16
580
- ANSI::Constants::HIDE = T.let(T.unsafe(nil), String)
581
-
582
- # source://ansi//lib/ansi/constants.rb#16
583
- ANSI::Constants::INVERSE = T.let(T.unsafe(nil), String)
584
-
585
- # source://ansi//lib/ansi/constants.rb#16
586
- ANSI::Constants::INVERSE_OFF = T.let(T.unsafe(nil), String)
587
-
588
- # source://ansi//lib/ansi/constants.rb#16
589
- ANSI::Constants::INVERT = T.let(T.unsafe(nil), String)
590
-
591
- # source://ansi//lib/ansi/constants.rb#16
592
- ANSI::Constants::ITALIC = T.let(T.unsafe(nil), String)
593
-
594
- # source://ansi//lib/ansi/constants.rb#16
595
- ANSI::Constants::ITALIC_OFF = T.let(T.unsafe(nil), String)
596
-
597
- # source://ansi//lib/ansi/constants.rb#16
598
- ANSI::Constants::MAGENTA = T.let(T.unsafe(nil), String)
599
-
600
- # source://ansi//lib/ansi/constants.rb#16
601
- ANSI::Constants::NEGATIVE = T.let(T.unsafe(nil), String)
602
-
603
- # source://ansi//lib/ansi/constants.rb#16
604
- ANSI::Constants::ON_BLACK = T.let(T.unsafe(nil), String)
605
-
606
- # source://ansi//lib/ansi/constants.rb#16
607
- ANSI::Constants::ON_BLUE = T.let(T.unsafe(nil), String)
608
-
609
- # source://ansi//lib/ansi/constants.rb#16
610
- ANSI::Constants::ON_CYAN = T.let(T.unsafe(nil), String)
611
-
612
- # source://ansi//lib/ansi/constants.rb#16
613
- ANSI::Constants::ON_GREEN = T.let(T.unsafe(nil), String)
614
-
615
- # source://ansi//lib/ansi/constants.rb#16
616
- ANSI::Constants::ON_MAGENTA = T.let(T.unsafe(nil), String)
617
-
618
- # source://ansi//lib/ansi/constants.rb#16
619
- ANSI::Constants::ON_RED = T.let(T.unsafe(nil), String)
620
-
621
- # source://ansi//lib/ansi/constants.rb#16
622
- ANSI::Constants::ON_WHITE = T.let(T.unsafe(nil), String)
623
-
624
- # source://ansi//lib/ansi/constants.rb#16
625
- ANSI::Constants::ON_YELLOW = T.let(T.unsafe(nil), String)
626
-
627
- # source://ansi//lib/ansi/constants.rb#16
628
- ANSI::Constants::OVERLINE = T.let(T.unsafe(nil), String)
629
-
630
- # source://ansi//lib/ansi/constants.rb#16
631
- ANSI::Constants::OVERLINE_OFF = T.let(T.unsafe(nil), String)
632
-
633
- # source://ansi//lib/ansi/constants.rb#16
634
- ANSI::Constants::POSITIVE = T.let(T.unsafe(nil), String)
635
-
636
- # source://ansi//lib/ansi/constants.rb#16
637
- ANSI::Constants::RAPID = T.let(T.unsafe(nil), String)
638
-
639
- # source://ansi//lib/ansi/constants.rb#16
640
- ANSI::Constants::RAPID_BLINK = T.let(T.unsafe(nil), String)
641
-
642
- # source://ansi//lib/ansi/constants.rb#16
643
- ANSI::Constants::RED = T.let(T.unsafe(nil), String)
644
-
645
- # source://ansi//lib/ansi/constants.rb#16
646
- ANSI::Constants::RESET = T.let(T.unsafe(nil), String)
647
-
648
- # source://ansi//lib/ansi/constants.rb#20
649
- ANSI::Constants::RESTORE = T.let(T.unsafe(nil), String)
650
-
651
- # source://ansi//lib/ansi/constants.rb#16
652
- ANSI::Constants::REVEAL = T.let(T.unsafe(nil), String)
653
-
654
- # source://ansi//lib/ansi/constants.rb#16
655
- ANSI::Constants::REVERSE = T.let(T.unsafe(nil), String)
656
-
657
- # source://ansi//lib/ansi/constants.rb#20
658
- ANSI::Constants::SAVE = T.let(T.unsafe(nil), String)
659
-
660
- # source://ansi//lib/ansi/constants.rb#16
661
- ANSI::Constants::SHOW = T.let(T.unsafe(nil), String)
662
-
663
- # source://ansi//lib/ansi/constants.rb#16
664
- ANSI::Constants::SLOW_BLINK = T.let(T.unsafe(nil), String)
665
-
666
- # source://ansi//lib/ansi/constants.rb#16
667
- ANSI::Constants::STRIKE = T.let(T.unsafe(nil), String)
668
-
669
- # source://ansi//lib/ansi/constants.rb#16
670
- ANSI::Constants::SWAP = T.let(T.unsafe(nil), String)
671
-
672
- # source://ansi//lib/ansi/constants.rb#16
673
- ANSI::Constants::UNDERLINE = T.let(T.unsafe(nil), String)
674
-
675
- # source://ansi//lib/ansi/constants.rb#16
676
- ANSI::Constants::UNDERLINE_OFF = T.let(T.unsafe(nil), String)
677
-
678
- # source://ansi//lib/ansi/constants.rb#16
679
- ANSI::Constants::UNDERSCORE = T.let(T.unsafe(nil), String)
680
-
681
- # source://ansi//lib/ansi/constants.rb#16
682
- ANSI::Constants::WHITE = T.let(T.unsafe(nil), String)
683
-
684
- # source://ansi//lib/ansi/constants.rb#16
685
- ANSI::Constants::YELLOW = T.let(T.unsafe(nil), String)
686
-
687
- # source://ansi//lib/ansi/chart.rb#86
688
- ANSI::SPECIAL_CHART = T.let(T.unsafe(nil), Hash)