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,181 @@
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/rchardet/all/rchardet.rbi
9
+ #
10
+ # rchardet-1.8.0
11
+
12
+ module CharDet
13
+ def self.detect(aBuf); end
14
+ end
15
+ class CharDet::CharSetProber
16
+ def active; end
17
+ def active=(arg0); end
18
+ def feed(aBuf); end
19
+ def filter_high_bit_only(aBuf); end
20
+ def filter_with_english_letters(aBuf); end
21
+ def filter_without_english_letters(aBuf); end
22
+ def get_charset_name; end
23
+ def get_confidence; end
24
+ def get_state; end
25
+ def initialize; end
26
+ def reset; end
27
+ end
28
+ class CharDet::MultiByteCharSetProber < CharDet::CharSetProber
29
+ def feed(aBuf); end
30
+ def get_charset_name; end
31
+ def get_confidence; end
32
+ def initialize; end
33
+ def reset; end
34
+ end
35
+ class CharDet::Big5Prober < CharDet::MultiByteCharSetProber
36
+ def get_charset_name; end
37
+ def initialize; end
38
+ end
39
+ class CharDet::CharDistributionAnalysis
40
+ def feed(aStr, aCharLen); end
41
+ def get_confidence; end
42
+ def get_order(aStr); end
43
+ def got_enough_data; end
44
+ def initialize; end
45
+ def reset; end
46
+ end
47
+ class CharDet::EUCTWDistributionAnalysis < CharDet::CharDistributionAnalysis
48
+ def get_confidence; end
49
+ def get_order(aStr); end
50
+ def initialize; end
51
+ end
52
+ class CharDet::EUCKRDistributionAnalysis < CharDet::CharDistributionAnalysis
53
+ def get_order(aStr); end
54
+ def initialize; end
55
+ end
56
+ class CharDet::GB18030DistributionAnalysis < CharDet::CharDistributionAnalysis
57
+ def get_order(aStr); end
58
+ def initialize; end
59
+ end
60
+ class CharDet::Big5DistributionAnalysis < CharDet::CharDistributionAnalysis
61
+ def get_order(aStr); end
62
+ def initialize; end
63
+ end
64
+ class CharDet::SJISDistributionAnalysis < CharDet::CharDistributionAnalysis
65
+ def get_order(aStr); end
66
+ def initialize; end
67
+ end
68
+ class CharDet::EUCJPDistributionAnalysis < CharDet::CharDistributionAnalysis
69
+ def get_order(aStr); end
70
+ def initialize; end
71
+ end
72
+ class CharDet::CharSetGroupProber < CharDet::CharSetProber
73
+ def feed(aBuf); end
74
+ def get_charset_name; end
75
+ def get_confidence; end
76
+ def initialize; end
77
+ def probers; end
78
+ def probers=(arg0); end
79
+ def reset; end
80
+ end
81
+ class CharDet::CodingStateMachine
82
+ def active; end
83
+ def active=(arg0); end
84
+ def get_coding_state_machine; end
85
+ def get_current_charlen; end
86
+ def initialize(sm); end
87
+ def next_state(c); end
88
+ def reset; end
89
+ end
90
+ class CharDet::EscCharSetProber < CharDet::CharSetProber
91
+ def feed(aBuf); end
92
+ def get_charset_name; end
93
+ def get_confidence; end
94
+ def initialize; end
95
+ def reset; end
96
+ end
97
+ class CharDet::EUCJPProber < CharDet::MultiByteCharSetProber
98
+ def feed(aBuf); end
99
+ def get_charset_name; end
100
+ def get_confidence; end
101
+ def initialize; end
102
+ def reset; end
103
+ end
104
+ class CharDet::EUCKRProber < CharDet::MultiByteCharSetProber
105
+ def get_charset_name; end
106
+ def initialize; end
107
+ end
108
+ class CharDet::EUCTWProber < CharDet::MultiByteCharSetProber
109
+ def get_charset_name; end
110
+ def initialize; end
111
+ end
112
+ class CharDet::GB18030Prober < CharDet::MultiByteCharSetProber
113
+ def get_charset_name; end
114
+ def initialize; end
115
+ end
116
+ class CharDet::HebrewProber < CharDet::CharSetProber
117
+ def feed(aBuf); end
118
+ def get_charset_name; end
119
+ def get_state; end
120
+ def initialize; end
121
+ def is_final(c); end
122
+ def is_non_final(c); end
123
+ def reset; end
124
+ def set_model_probers(logicalProber, visualProber); end
125
+ end
126
+ class CharDet::JapaneseContextAnalysis
127
+ def feed(aBuf, aLen); end
128
+ def get_confidence; end
129
+ def get_order(aStr); end
130
+ def got_enough_data; end
131
+ def initialize; end
132
+ def reset; end
133
+ end
134
+ class CharDet::SJISContextAnalysis < CharDet::JapaneseContextAnalysis
135
+ def get_order(aStr); end
136
+ end
137
+ class CharDet::EUCJPContextAnalysis < CharDet::JapaneseContextAnalysis
138
+ def get_order(aStr); end
139
+ end
140
+ class CharDet::Latin1Prober < CharDet::CharSetProber
141
+ def feed(aBuf); end
142
+ def get_charset_name; end
143
+ def get_confidence; end
144
+ def initialize; end
145
+ def reset; end
146
+ end
147
+ class CharDet::MBCSGroupProber < CharDet::CharSetGroupProber
148
+ def initialize; end
149
+ end
150
+ class CharDet::SingleByteCharSetProber < CharDet::CharSetProber
151
+ def feed(aBuf); end
152
+ def get_charset_name; end
153
+ def get_confidence; end
154
+ def initialize(model, reversed = nil, nameProber = nil); end
155
+ def reset; end
156
+ end
157
+ class CharDet::SBCSGroupProber < CharDet::CharSetGroupProber
158
+ def initialize; end
159
+ end
160
+ class CharDet::SJISProber < CharDet::MultiByteCharSetProber
161
+ def feed(aBuf); end
162
+ def get_charset_name; end
163
+ def get_confidence; end
164
+ def initialize; end
165
+ def reset; end
166
+ end
167
+ class CharDet::UniversalDetector
168
+ def close; end
169
+ def done; end
170
+ def feed(aBuf); end
171
+ def initialize; end
172
+ def reset; end
173
+ def result; end
174
+ end
175
+ class CharDet::UTF8Prober < CharDet::CharSetProber
176
+ def feed(aBuf); end
177
+ def get_charset_name; end
178
+ def get_confidence; end
179
+ def initialize; end
180
+ def reset; end
181
+ end