bhook 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +3 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +82 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +27 -0
  9. data/Rakefile +13 -0
  10. data/bin/bhook +11 -0
  11. data/lib/bhook/args_parser.rb +55 -0
  12. data/lib/bhook/converter/html.rb +51 -0
  13. data/lib/bhook/directory.rb +62 -0
  14. data/lib/bhook/md_file.rb +50 -0
  15. data/lib/bhook/theme/_after_h1.erb +7 -0
  16. data/lib/bhook/theme/page.erb +71 -0
  17. data/lib/bhook/version.rb +6 -0
  18. data/lib/bhook/workspace.rb +45 -0
  19. data/lib/bhook.rb +22 -0
  20. data/sorbet/config +3 -0
  21. data/sorbet/rbi/gems/ast.rbi +49 -0
  22. data/sorbet/rbi/gems/bhook.rbi +15 -0
  23. data/sorbet/rbi/gems/git.rbi +531 -0
  24. data/sorbet/rbi/gems/kramdown.rbi +255 -0
  25. data/sorbet/rbi/gems/listen.rbi +304 -0
  26. data/sorbet/rbi/gems/parallel.rbi +83 -0
  27. data/sorbet/rbi/gems/parser.rbi +1440 -0
  28. data/sorbet/rbi/gems/rainbow.rbi +122 -0
  29. data/sorbet/rbi/gems/rake.rbi +644 -0
  30. data/sorbet/rbi/gems/rchardet.rbi +181 -0
  31. data/sorbet/rbi/gems/regexp_parser.rbi +929 -0
  32. data/sorbet/rbi/gems/rexml.rbi +599 -0
  33. data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
  34. data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
  35. data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
  36. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  37. data/sorbet/rbi/gems/rspec.rbi +15 -0
  38. data/sorbet/rbi/gems/rubocop-ast.rbi +1385 -0
  39. data/sorbet/rbi/gems/rubocop-rake.rbi +85 -0
  40. data/sorbet/rbi/gems/rubocop-rspec.rbi +1044 -0
  41. data/sorbet/rbi/gems/rubocop.rbi +8593 -0
  42. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  43. data/sorbet/rbi/gems/unicode-display_width.rbi +20 -0
  44. data/sorbet/rbi/hidden-definitions/errors.txt +4944 -0
  45. data/sorbet/rbi/hidden-definitions/hidden.rbi +10044 -0
  46. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  47. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  48. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  49. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
  50. data/sorbet/rbi/todo.rbi +7 -0
  51. metadata +235 -0
@@ -0,0 +1,304 @@
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/ruby-progressbar/all/ruby-progressbar.rbi
9
+ #
10
+ # ruby-progressbar-1.11.0
11
+
12
+ class ProgressBar
13
+ def self.create(*args); end
14
+ end
15
+ class ProgressBar::Output
16
+ def bar; end
17
+ def bar=(arg0); end
18
+ def clear_string; end
19
+ def initialize(options = nil); end
20
+ def length; end
21
+ def length_calculator; end
22
+ def length_calculator=(arg0); end
23
+ def log(string); end
24
+ def print_and_flush; end
25
+ def refresh(options = nil); end
26
+ def self.detect(options = nil); end
27
+ def stream; end
28
+ def stream=(arg0); end
29
+ def throttle; end
30
+ def throttle=(arg0); end
31
+ def with_refresh; end
32
+ end
33
+ module ProgressBar::Outputs
34
+ end
35
+ class ProgressBar::Outputs::Tty < ProgressBar::Output
36
+ def bar_update_string; end
37
+ def clear; end
38
+ def default_format; end
39
+ def eol; end
40
+ def refresh_with_format_change; end
41
+ def resolve_format(other_format); end
42
+ end
43
+ class ProgressBar::Outputs::NonTty < ProgressBar::Output
44
+ def bar_update_string; end
45
+ def clear; end
46
+ def default_format; end
47
+ def eol; end
48
+ def last_update_length; end
49
+ def last_update_length=(arg0); end
50
+ def refresh_with_format_change(*arg0); end
51
+ def resolve_format(*arg0); end
52
+ end
53
+ class ProgressBar::Time
54
+ def initialize(time = nil); end
55
+ def now; end
56
+ def time; end
57
+ def time=(arg0); end
58
+ def unmocked_time_method; end
59
+ end
60
+ class ProgressBar::Timer
61
+ def divide_seconds(seconds); end
62
+ def elapsed_seconds; end
63
+ def elapsed_whole_seconds; end
64
+ def initialize(options = nil); end
65
+ def pause; end
66
+ def reset; end
67
+ def reset?; end
68
+ def restart; end
69
+ def resume; end
70
+ def start; end
71
+ def started?; end
72
+ def started_at; end
73
+ def started_at=(arg0); end
74
+ def stop; end
75
+ def stopped?; end
76
+ def stopped_at; end
77
+ def stopped_at=(arg0); end
78
+ def time; end
79
+ def time=(arg0); end
80
+ end
81
+ class ProgressBar::InvalidProgressError < RuntimeError
82
+ end
83
+ class ProgressBar::Progress
84
+ def absolute; end
85
+ def decrement; end
86
+ def finish; end
87
+ def finished?; end
88
+ def increment; end
89
+ def initialize(options = nil); end
90
+ def none?; end
91
+ def percentage_completed; end
92
+ def percentage_completed_with_precision; end
93
+ def progress; end
94
+ def progress=(new_progress); end
95
+ def reset; end
96
+ def running_average; end
97
+ def running_average=(arg0); end
98
+ def smoothing; end
99
+ def smoothing=(arg0); end
100
+ def start(options = nil); end
101
+ def starting_position; end
102
+ def starting_position=(arg0); end
103
+ def total; end
104
+ def total=(new_total); end
105
+ def total_with_unknown_indicator; end
106
+ def unknown?; end
107
+ end
108
+ class ProgressBar::Throttle
109
+ def choke(options = nil); end
110
+ def initialize(options = nil); end
111
+ def rate; end
112
+ def rate=(arg0); end
113
+ def started_at; end
114
+ def started_at=(arg0); end
115
+ def stopped_at; end
116
+ def stopped_at=(arg0); end
117
+ def timer; end
118
+ def timer=(arg0); end
119
+ end
120
+ module ProgressBar::Calculators
121
+ end
122
+ class ProgressBar::Calculators::Length
123
+ def calculate_length; end
124
+ def current_length; end
125
+ def current_length=(arg0); end
126
+ def dynamic_width; end
127
+ def dynamic_width_stty; end
128
+ def dynamic_width_tput; end
129
+ def dynamic_width_via_io_object; end
130
+ def dynamic_width_via_output_stream_object; end
131
+ def dynamic_width_via_system_calls; end
132
+ def initialize(options = nil); end
133
+ def length; end
134
+ def length_changed?; end
135
+ def length_override; end
136
+ def length_override=(other); end
137
+ def output; end
138
+ def output=(arg0); end
139
+ def reset_length; end
140
+ def terminal_width; end
141
+ def unix?; end
142
+ end
143
+ class ProgressBar::Calculators::RunningAverage
144
+ def self.calculate(current_average, new_value_to_average, smoothing_factor); end
145
+ end
146
+ module ProgressBar::Components
147
+ end
148
+ class ProgressBar::Components::Bar
149
+ def bar(length); end
150
+ def bar_with_percentage(length); end
151
+ def complete_bar(length); end
152
+ def complete_bar_with_percentage(length); end
153
+ def completed_length; end
154
+ def incomplete_space(length); end
155
+ def incomplete_string; end
156
+ def initialize(options = nil); end
157
+ def integrated_percentage_complete_string; end
158
+ def length; end
159
+ def length=(arg0); end
160
+ def progress; end
161
+ def progress=(arg0); end
162
+ def progress_mark; end
163
+ def progress_mark=(arg0); end
164
+ def remainder_mark; end
165
+ def remainder_mark=(arg0); end
166
+ def standard_complete_string; end
167
+ def to_s(options = nil); end
168
+ def unknown_progress_frame; end
169
+ def unknown_string; end
170
+ def upa_steps; end
171
+ def upa_steps=(arg0); end
172
+ end
173
+ class ProgressBar::Components::Percentage
174
+ def initialize(options = nil); end
175
+ def justified_percentage; end
176
+ def justified_percentage_with_precision; end
177
+ def percentage; end
178
+ def percentage_with_precision; end
179
+ def progress; end
180
+ def progress=(arg0); end
181
+ end
182
+ class ProgressBar::Components::Rate
183
+ def base_rate; end
184
+ def elapsed_seconds; end
185
+ def initialize(options = nil); end
186
+ def progress; end
187
+ def progress=(arg0); end
188
+ def rate_of_change(format_string = nil); end
189
+ def rate_of_change_with_precision; end
190
+ def rate_scale; end
191
+ def rate_scale=(arg0); end
192
+ def scaled_rate; end
193
+ def started_at; end
194
+ def started_at=(arg0); end
195
+ def stopped_at; end
196
+ def stopped_at=(arg0); end
197
+ def timer; end
198
+ def timer=(arg0); end
199
+ end
200
+ class ProgressBar::Components::Time
201
+ def elapsed; end
202
+ def elapsed_with_label; end
203
+ def estimated; end
204
+ def estimated_seconds_remaining; end
205
+ def estimated_with_elapsed_fallback; end
206
+ def estimated_with_friendly_oob; end
207
+ def estimated_with_label; end
208
+ def estimated_with_no_oob; end
209
+ def estimated_with_unknown_oob; end
210
+ def initialize(options = nil); end
211
+ def out_of_bounds_time_format; end
212
+ def out_of_bounds_time_format=(format); end
213
+ def progress; end
214
+ def progress=(arg0); end
215
+ def timer; end
216
+ def timer=(arg0); end
217
+ end
218
+ class ProgressBar::Components::Title
219
+ def initialize(options = nil); end
220
+ def title; end
221
+ def title=(arg0); end
222
+ end
223
+ module ProgressBar::Format
224
+ end
225
+ class ProgressBar::Format::Molecule
226
+ def bar_molecule?; end
227
+ def full_key; end
228
+ def initialize(letter); end
229
+ def key; end
230
+ def key=(arg0); end
231
+ def lookup_value(environment, length = nil); end
232
+ def method_name; end
233
+ def method_name=(arg0); end
234
+ def non_bar_molecule?; end
235
+ end
236
+ class ProgressBar::Format::Formatter
237
+ def self.process(format_string, max_length, bar); end
238
+ end
239
+ class ProgressBar::Format::String < String
240
+ def bar_molecule_placeholder_length; end
241
+ def bar_molecules; end
242
+ def displayable_length; end
243
+ def molecules; end
244
+ def non_bar_molecules; end
245
+ end
246
+ class ProgressBar::Base
247
+ def autofinish; end
248
+ def autofinish=(arg0); end
249
+ def autostart; end
250
+ def autostart=(arg0); end
251
+ def bar; end
252
+ def bar=(arg0); end
253
+ def clear(*args, &block); end
254
+ def decrement; end
255
+ def finish; end
256
+ def finished; end
257
+ def finished=(arg0); end
258
+ def finished?; end
259
+ def format(other); end
260
+ def format=(other); end
261
+ def increment; end
262
+ def initialize(options = nil); end
263
+ def inspect; end
264
+ def log(*args, &block); end
265
+ def output; end
266
+ def output=(arg0); end
267
+ def pause; end
268
+ def paused?; end
269
+ def percentage; end
270
+ def percentage=(arg0); end
271
+ def progress(*args, &block); end
272
+ def progress=(new_progress); end
273
+ def progress_mark=(mark); end
274
+ def progressable; end
275
+ def progressable=(arg0); end
276
+ def rate; end
277
+ def rate=(arg0); end
278
+ def refresh(*args, &block); end
279
+ def remainder_mark=(mark); end
280
+ def reset; end
281
+ def resume; end
282
+ def start(options = nil); end
283
+ def started?; end
284
+ def stop; end
285
+ def stopped?; end
286
+ def time; end
287
+ def time=(arg0); end
288
+ def timer; end
289
+ def timer=(arg0); end
290
+ def title; end
291
+ def title=(title); end
292
+ def title_comp; end
293
+ def title_comp=(arg0); end
294
+ def to_h; end
295
+ def to_s(new_format = nil); end
296
+ def total(*args, &block); end
297
+ def total=(new_total); end
298
+ def update_progress(*args); end
299
+ extend Forwardable
300
+ end
301
+ module ProgressBar::Refinements
302
+ end
303
+ module ProgressBar::Refinements::Enumerator
304
+ end
@@ -0,0 +1,20 @@
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/unicode-display_width/all/unicode-display_width.rbi
9
+ #
10
+ # unicode-display_width-2.1.0
11
+
12
+ module Unicode
13
+ end
14
+ class Unicode::DisplayWidth
15
+ def get_config(**kwargs); end
16
+ def initialize(ambiguous: nil, overwrite: nil, emoji: nil); end
17
+ def of(string, **kwargs); end
18
+ def self.emoji_extra_width_of(string, ambiguous = nil, overwrite = nil, _ = nil); end
19
+ def self.of(string, ambiguous = nil, overwrite = nil, options = nil); end
20
+ end