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,85 @@
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/rubocop-rake/all/rubocop-rake.rbi
9
+ #
10
+ # rubocop-rake-0.6.0
11
+
12
+ module RuboCop
13
+ end
14
+ module RuboCop::Rake
15
+ end
16
+ class RuboCop::Rake::Error < StandardError
17
+ end
18
+ module RuboCop::Rake::Inject
19
+ def self.defaults!; end
20
+ end
21
+ module RuboCop::Cop
22
+ end
23
+ module RuboCop::Cop::Rake
24
+ end
25
+ module RuboCop::Cop::Rake::Helper
26
+ end
27
+ module RuboCop::Cop::Rake::Helper::ClassDefinition
28
+ def class_definition?(param0 = nil); end
29
+ def in_class_definition?(node); end
30
+ extend RuboCop::AST::NodePattern::Macros
31
+ extend RuboCop::Cop::Rake::Helper::ClassDefinition
32
+ end
33
+ module RuboCop::Cop::Rake::Helper::OnTask
34
+ def on_send(node); end
35
+ def task?(param0 = nil); end
36
+ extend RuboCop::AST::NodePattern::Macros
37
+ end
38
+ module RuboCop::Cop::Rake::Helper::TaskDefinition
39
+ def in_task_or_namespace?(node); end
40
+ def task_or_namespace?(param0 = nil); end
41
+ extend RuboCop::AST::NodePattern::Macros
42
+ extend RuboCop::Cop::Rake::Helper::TaskDefinition
43
+ end
44
+ module RuboCop::Cop::Rake::Helper::TaskName
45
+ def task_name(node); end
46
+ extend RuboCop::Cop::Rake::Helper::TaskName
47
+ end
48
+ module RuboCop::Cop::Rake::Helper::OnNamespace
49
+ def namespace?(param0 = nil); end
50
+ def on_send(node); end
51
+ extend RuboCop::AST::NodePattern::Macros
52
+ end
53
+ class RuboCop::Cop::Rake::ClassDefinitionInTask < RuboCop::Cop::Base
54
+ def on_class(node); end
55
+ def on_module(node); end
56
+ end
57
+ class RuboCop::Cop::Rake::Desc < RuboCop::Cop::Base
58
+ def can_insert_desc_to?(parent); end
59
+ def on_task(node); end
60
+ def parent_and_task(task_node); end
61
+ def prerequisites(param0 = nil); end
62
+ def task_with_desc?(node); end
63
+ extend RuboCop::Cop::AutoCorrector
64
+ include RuboCop::Cop::Rake::Helper::OnTask
65
+ end
66
+ class RuboCop::Cop::Rake::DuplicateTask < RuboCop::Cop::Base
67
+ def initialize(*arg0); end
68
+ def message_for_dup(previous:, current:, task_name:); end
69
+ def namespaces(node); end
70
+ def on_task(node); end
71
+ def source_location(node); end
72
+ include RuboCop::Cop::Rake::Helper::OnTask
73
+ end
74
+ class RuboCop::Cop::Rake::DuplicateNamespace < RuboCop::Cop::Base
75
+ def initialize(*arg0); end
76
+ def message_for_dup(previous:, current:, namespace:); end
77
+ def namespaces(node); end
78
+ def on_namespace(node); end
79
+ def source_location(node); end
80
+ include RuboCop::Cop::Rake::Helper::OnNamespace
81
+ end
82
+ class RuboCop::Cop::Rake::MethodDefinitionInTask < RuboCop::Cop::Base
83
+ def on_def(node); end
84
+ def on_defs(node); end
85
+ end