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,122 @@
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/rainbow/all/rainbow.rbi
9
+ #
10
+ # rainbow-3.1.1
11
+
12
+ module Rainbow
13
+ def self.enabled; end
14
+ def self.enabled=(value); end
15
+ def self.global; end
16
+ def self.new; end
17
+ def self.uncolor(string); end
18
+ end
19
+ class Rainbow::StringUtils
20
+ def self.uncolor(string); end
21
+ def self.wrap_with_sgr(string, codes); end
22
+ end
23
+ module Rainbow::X11ColorNames
24
+ end
25
+ class Rainbow::Color
26
+ def ground; end
27
+ def self.build(ground, values); end
28
+ def self.parse_hex_color(hex); end
29
+ end
30
+ class Rainbow::Color::Indexed < Rainbow::Color
31
+ def codes; end
32
+ def initialize(ground, num); end
33
+ def num; end
34
+ end
35
+ class Rainbow::Color::Named < Rainbow::Color::Indexed
36
+ def initialize(ground, name); end
37
+ def self.color_names; end
38
+ def self.valid_names; end
39
+ end
40
+ class Rainbow::Color::RGB < Rainbow::Color::Indexed
41
+ def b; end
42
+ def code_from_rgb; end
43
+ def codes; end
44
+ def g; end
45
+ def initialize(ground, *values); end
46
+ def r; end
47
+ def self.to_ansi_domain(value); end
48
+ end
49
+ class Rainbow::Color::X11Named < Rainbow::Color::RGB
50
+ def initialize(ground, name); end
51
+ def self.color_names; end
52
+ def self.valid_names; end
53
+ include Rainbow::X11ColorNames
54
+ end
55
+ class Rainbow::Presenter < String
56
+ def background(*values); end
57
+ def bg(*values); end
58
+ def black; end
59
+ def blink; end
60
+ def blue; end
61
+ def bold; end
62
+ def bright; end
63
+ def color(*values); end
64
+ def cross_out; end
65
+ def cyan; end
66
+ def dark; end
67
+ def faint; end
68
+ def fg(*values); end
69
+ def foreground(*values); end
70
+ def green; end
71
+ def hide; end
72
+ def inverse; end
73
+ def italic; end
74
+ def magenta; end
75
+ def method_missing(method_name, *args); end
76
+ def red; end
77
+ def reset; end
78
+ def respond_to_missing?(method_name, *args); end
79
+ def strike; end
80
+ def underline; end
81
+ def white; end
82
+ def wrap_with_sgr(codes); end
83
+ def yellow; end
84
+ end
85
+ class Rainbow::NullPresenter < String
86
+ def background(*_values); end
87
+ def bg(*_values); end
88
+ def black; end
89
+ def blink; end
90
+ def blue; end
91
+ def bold; end
92
+ def bright; end
93
+ def color(*_values); end
94
+ def cross_out; end
95
+ def cyan; end
96
+ def dark; end
97
+ def faint; end
98
+ def fg(*_values); end
99
+ def foreground(*_values); end
100
+ def green; end
101
+ def hide; end
102
+ def inverse; end
103
+ def italic; end
104
+ def magenta; end
105
+ def method_missing(method_name, *args); end
106
+ def red; end
107
+ def reset; end
108
+ def respond_to_missing?(method_name, *args); end
109
+ def strike; end
110
+ def underline; end
111
+ def white; end
112
+ def yellow; end
113
+ end
114
+ class Rainbow::Wrapper
115
+ def enabled; end
116
+ def enabled=(arg0); end
117
+ def initialize(enabled = nil); end
118
+ def wrap(string); end
119
+ end
120
+ class Object < BasicObject
121
+ def Rainbow(string); end
122
+ end