overcommit-jeygeethanmedia 0.53.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/overcommit +50 -0
- data/config/default.yml +1356 -0
- data/config/starter.yml +33 -0
- data/lib/overcommit.rb +26 -0
- data/lib/overcommit/cli.rb +223 -0
- data/lib/overcommit/command_splitter.rb +146 -0
- data/lib/overcommit/configuration.rb +350 -0
- data/lib/overcommit/configuration_loader.rb +96 -0
- data/lib/overcommit/configuration_validator.rb +186 -0
- data/lib/overcommit/constants.rb +12 -0
- data/lib/overcommit/exceptions.rb +52 -0
- data/lib/overcommit/git_config.rb +22 -0
- data/lib/overcommit/git_repo.rb +286 -0
- data/lib/overcommit/git_version.rb +17 -0
- data/lib/overcommit/hook/base.rb +294 -0
- data/lib/overcommit/hook/commit_msg/base.rb +14 -0
- data/lib/overcommit/hook/commit_msg/capitalized_subject.rb +25 -0
- data/lib/overcommit/hook/commit_msg/empty_message.rb +12 -0
- data/lib/overcommit/hook/commit_msg/gerrit_change_id.rb +22 -0
- data/lib/overcommit/hook/commit_msg/hard_tabs.rb +17 -0
- data/lib/overcommit/hook/commit_msg/message_format.rb +31 -0
- data/lib/overcommit/hook/commit_msg/russian_novel.rb +16 -0
- data/lib/overcommit/hook/commit_msg/single_line_subject.rb +16 -0
- data/lib/overcommit/hook/commit_msg/spell_check.rb +45 -0
- data/lib/overcommit/hook/commit_msg/text_width.rb +56 -0
- data/lib/overcommit/hook/commit_msg/trailing_period.rb +16 -0
- data/lib/overcommit/hook/post_checkout/base.rb +22 -0
- data/lib/overcommit/hook/post_checkout/bower_install.rb +13 -0
- data/lib/overcommit/hook/post_checkout/bundle_install.rb +13 -0
- data/lib/overcommit/hook/post_checkout/composer_install.rb +13 -0
- data/lib/overcommit/hook/post_checkout/index_tags.rb +12 -0
- data/lib/overcommit/hook/post_checkout/npm_install.rb +13 -0
- data/lib/overcommit/hook/post_checkout/submodule_status.rb +12 -0
- data/lib/overcommit/hook/post_checkout/yarn_install.rb +13 -0
- data/lib/overcommit/hook/post_commit/base.rb +12 -0
- data/lib/overcommit/hook/post_commit/bower_install.rb +13 -0
- data/lib/overcommit/hook/post_commit/bundle_install.rb +13 -0
- data/lib/overcommit/hook/post_commit/commitplease.rb +16 -0
- data/lib/overcommit/hook/post_commit/composer_install.rb +13 -0
- data/lib/overcommit/hook/post_commit/git_guilt.rb +43 -0
- data/lib/overcommit/hook/post_commit/index_tags.rb +12 -0
- data/lib/overcommit/hook/post_commit/npm_install.rb +13 -0
- data/lib/overcommit/hook/post_commit/submodule_status.rb +12 -0
- data/lib/overcommit/hook/post_commit/yarn_install.rb +13 -0
- data/lib/overcommit/hook/post_merge/base.rb +12 -0
- data/lib/overcommit/hook/post_merge/bower_install.rb +13 -0
- data/lib/overcommit/hook/post_merge/bundle_install.rb +13 -0
- data/lib/overcommit/hook/post_merge/composer_install.rb +13 -0
- data/lib/overcommit/hook/post_merge/index_tags.rb +12 -0
- data/lib/overcommit/hook/post_merge/npm_install.rb +13 -0
- data/lib/overcommit/hook/post_merge/submodule_status.rb +12 -0
- data/lib/overcommit/hook/post_merge/yarn_install.rb +13 -0
- data/lib/overcommit/hook/post_rewrite/base.rb +12 -0
- data/lib/overcommit/hook/post_rewrite/bower_install.rb +13 -0
- data/lib/overcommit/hook/post_rewrite/bundle_install.rb +13 -0
- data/lib/overcommit/hook/post_rewrite/composer_install.rb +13 -0
- data/lib/overcommit/hook/post_rewrite/index_tags.rb +19 -0
- data/lib/overcommit/hook/post_rewrite/npm_install.rb +13 -0
- data/lib/overcommit/hook/post_rewrite/submodule_status.rb +12 -0
- data/lib/overcommit/hook/post_rewrite/yarn_install.rb +13 -0
- data/lib/overcommit/hook/pre_commit/author_email.rb +26 -0
- data/lib/overcommit/hook/pre_commit/author_name.rb +25 -0
- data/lib/overcommit/hook/pre_commit/base.rb +19 -0
- data/lib/overcommit/hook/pre_commit/berksfile_check.rb +24 -0
- data/lib/overcommit/hook/pre_commit/broken_symlinks.rb +17 -0
- data/lib/overcommit/hook/pre_commit/bundle_audit.rb +24 -0
- data/lib/overcommit/hook/pre_commit/bundle_check.rb +32 -0
- data/lib/overcommit/hook/pre_commit/bundle_outdated.rb +25 -0
- data/lib/overcommit/hook/pre_commit/case_conflicts.rb +27 -0
- data/lib/overcommit/hook/pre_commit/chamber_compare.rb +43 -0
- data/lib/overcommit/hook/pre_commit/chamber_security.rb +15 -0
- data/lib/overcommit/hook/pre_commit/chamber_verification.rb +36 -0
- data/lib/overcommit/hook/pre_commit/code_spell_check.rb +36 -0
- data/lib/overcommit/hook/pre_commit/coffee_lint.rb +35 -0
- data/lib/overcommit/hook/pre_commit/cook_style.rb +35 -0
- data/lib/overcommit/hook/pre_commit/credo.rb +27 -0
- data/lib/overcommit/hook/pre_commit/css_lint.rb +26 -0
- data/lib/overcommit/hook/pre_commit/dogma.rb +33 -0
- data/lib/overcommit/hook/pre_commit/es_lint.rb +38 -0
- data/lib/overcommit/hook/pre_commit/execute_permissions.rb +76 -0
- data/lib/overcommit/hook/pre_commit/fasterer.rb +25 -0
- data/lib/overcommit/hook/pre_commit/file_size.rb +47 -0
- data/lib/overcommit/hook/pre_commit/fix_me.rb +17 -0
- data/lib/overcommit/hook/pre_commit/flay.rb +38 -0
- data/lib/overcommit/hook/pre_commit/foodcritic.rb +149 -0
- data/lib/overcommit/hook/pre_commit/forbidden_branches.rb +26 -0
- data/lib/overcommit/hook/pre_commit/ginkgo_focus.rb +23 -0
- data/lib/overcommit/hook/pre_commit/go_fmt.rb +17 -0
- data/lib/overcommit/hook/pre_commit/go_lint.rb +29 -0
- data/lib/overcommit/hook/pre_commit/go_vet.rb +24 -0
- data/lib/overcommit/hook/pre_commit/golangci_lint.rb +21 -0
- data/lib/overcommit/hook/pre_commit/hadolint.rb +27 -0
- data/lib/overcommit/hook/pre_commit/haml_lint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/hard_tabs.rb +15 -0
- data/lib/overcommit/hook/pre_commit/hlint.rb +34 -0
- data/lib/overcommit/hook/pre_commit/html_hint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/html_tidy.rb +30 -0
- data/lib/overcommit/hook/pre_commit/image_optim.rb +28 -0
- data/lib/overcommit/hook/pre_commit/java_checkstyle.rb +27 -0
- data/lib/overcommit/hook/pre_commit/js_hint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/js_lint.rb +22 -0
- data/lib/overcommit/hook/pre_commit/jscs.rb +27 -0
- data/lib/overcommit/hook/pre_commit/jsl.rb +28 -0
- data/lib/overcommit/hook/pre_commit/json_syntax.rb +21 -0
- data/lib/overcommit/hook/pre_commit/kt_lint.rb +19 -0
- data/lib/overcommit/hook/pre_commit/license_finder.rb +14 -0
- data/lib/overcommit/hook/pre_commit/license_header.rb +48 -0
- data/lib/overcommit/hook/pre_commit/line_endings.rb +77 -0
- data/lib/overcommit/hook/pre_commit/local_paths_in_gemfile.rb +16 -0
- data/lib/overcommit/hook/pre_commit/mdl.rb +29 -0
- data/lib/overcommit/hook/pre_commit/merge_conflicts.rb +16 -0
- data/lib/overcommit/hook/pre_commit/nginx_test.rb +26 -0
- data/lib/overcommit/hook/pre_commit/pep257.rb +23 -0
- data/lib/overcommit/hook/pre_commit/pep8.rb +23 -0
- data/lib/overcommit/hook/pre_commit/php_cs.rb +43 -0
- data/lib/overcommit/hook/pre_commit/php_cs_fixer.rb +57 -0
- data/lib/overcommit/hook/pre_commit/php_lint.rb +44 -0
- data/lib/overcommit/hook/pre_commit/php_stan.rb +30 -0
- data/lib/overcommit/hook/pre_commit/pronto.rb +12 -0
- data/lib/overcommit/hook/pre_commit/puppet_lint.rb +26 -0
- data/lib/overcommit/hook/pre_commit/puppet_metadata_json_lint.rb +29 -0
- data/lib/overcommit/hook/pre_commit/pycodestyle.rb +23 -0
- data/lib/overcommit/hook/pre_commit/pydocstyle.rb +23 -0
- data/lib/overcommit/hook/pre_commit/pyflakes.rb +32 -0
- data/lib/overcommit/hook/pre_commit/pylint.rb +32 -0
- data/lib/overcommit/hook/pre_commit/python_flake8.rb +32 -0
- data/lib/overcommit/hook/pre_commit/rails_best_practices.rb +34 -0
- data/lib/overcommit/hook/pre_commit/rails_schema_up_to_date.rb +58 -0
- data/lib/overcommit/hook/pre_commit/rake_target.rb +12 -0
- data/lib/overcommit/hook/pre_commit/reek.rb +26 -0
- data/lib/overcommit/hook/pre_commit/rst_lint.rb +27 -0
- data/lib/overcommit/hook/pre_commit/rubo_cop.rb +35 -0
- data/lib/overcommit/hook/pre_commit/ruby_lint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/ruby_syntax.rb +27 -0
- data/lib/overcommit/hook/pre_commit/scalariform.rb +22 -0
- data/lib/overcommit/hook/pre_commit/scalastyle.rb +31 -0
- data/lib/overcommit/hook/pre_commit/scss_lint.rb +43 -0
- data/lib/overcommit/hook/pre_commit/semi_standard.rb +23 -0
- data/lib/overcommit/hook/pre_commit/shell_check.rb +23 -0
- data/lib/overcommit/hook/pre_commit/slim_lint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/sqlint.rb +26 -0
- data/lib/overcommit/hook/pre_commit/standard.rb +23 -0
- data/lib/overcommit/hook/pre_commit/stylelint.rb +23 -0
- data/lib/overcommit/hook/pre_commit/swift_lint.rb +19 -0
- data/lib/overcommit/hook/pre_commit/terraform_format.rb +19 -0
- data/lib/overcommit/hook/pre_commit/trailing_whitespace.rb +15 -0
- data/lib/overcommit/hook/pre_commit/travis_lint.rb +15 -0
- data/lib/overcommit/hook/pre_commit/ts_lint.rb +28 -0
- data/lib/overcommit/hook/pre_commit/vint.rb +22 -0
- data/lib/overcommit/hook/pre_commit/w3c_css.rb +67 -0
- data/lib/overcommit/hook/pre_commit/w3c_html.rb +64 -0
- data/lib/overcommit/hook/pre_commit/xml_lint.rb +24 -0
- data/lib/overcommit/hook/pre_commit/xml_syntax.rb +21 -0
- data/lib/overcommit/hook/pre_commit/yaml_lint.rb +18 -0
- data/lib/overcommit/hook/pre_commit/yaml_syntax.rb +20 -0
- data/lib/overcommit/hook/pre_commit/yard_coverage.rb +90 -0
- data/lib/overcommit/hook/pre_commit/yarn_check.rb +37 -0
- data/lib/overcommit/hook/pre_push/base.rb +33 -0
- data/lib/overcommit/hook/pre_push/brakeman.rb +15 -0
- data/lib/overcommit/hook/pre_push/cargo_test.rb +12 -0
- data/lib/overcommit/hook/pre_push/go_test.rb +14 -0
- data/lib/overcommit/hook/pre_push/golangci_lint.rb +16 -0
- data/lib/overcommit/hook/pre_push/minitest.rb +20 -0
- data/lib/overcommit/hook/pre_push/php_unit.rb +16 -0
- data/lib/overcommit/hook/pre_push/pronto.rb +12 -0
- data/lib/overcommit/hook/pre_push/protected_branches.rb +74 -0
- data/lib/overcommit/hook/pre_push/pytest.rb +16 -0
- data/lib/overcommit/hook/pre_push/python_nose.rb +16 -0
- data/lib/overcommit/hook/pre_push/r_spec.rb +16 -0
- data/lib/overcommit/hook/pre_push/rake_target.rb +12 -0
- data/lib/overcommit/hook/pre_push/test_unit.rb +16 -0
- data/lib/overcommit/hook/pre_rebase/base.rb +14 -0
- data/lib/overcommit/hook/pre_rebase/merged_commits.rb +31 -0
- data/lib/overcommit/hook/prepare_commit_msg/base.rb +25 -0
- data/lib/overcommit/hook/prepare_commit_msg/replace_branch.rb +57 -0
- data/lib/overcommit/hook/shared/bower_install.rb +15 -0
- data/lib/overcommit/hook/shared/bundle_install.rb +15 -0
- data/lib/overcommit/hook/shared/composer_install.rb +15 -0
- data/lib/overcommit/hook/shared/index_tags.rb +14 -0
- data/lib/overcommit/hook/shared/npm_install.rb +15 -0
- data/lib/overcommit/hook/shared/pronto.rb +21 -0
- data/lib/overcommit/hook/shared/rake_target.rb +26 -0
- data/lib/overcommit/hook/shared/submodule_status.rb +32 -0
- data/lib/overcommit/hook/shared/yarn_install.rb +15 -0
- data/lib/overcommit/hook_context.rb +19 -0
- data/lib/overcommit/hook_context/base.rb +139 -0
- data/lib/overcommit/hook_context/commit_msg.rb +48 -0
- data/lib/overcommit/hook_context/post_checkout.rb +36 -0
- data/lib/overcommit/hook_context/post_commit.rb +33 -0
- data/lib/overcommit/hook_context/post_merge.rb +37 -0
- data/lib/overcommit/hook_context/post_rewrite.rb +49 -0
- data/lib/overcommit/hook_context/pre_commit.rb +212 -0
- data/lib/overcommit/hook_context/pre_push.rb +89 -0
- data/lib/overcommit/hook_context/pre_rebase.rb +38 -0
- data/lib/overcommit/hook_context/prepare_commit_msg.rb +34 -0
- data/lib/overcommit/hook_context/run_all.rb +48 -0
- data/lib/overcommit/hook_loader/base.rb +48 -0
- data/lib/overcommit/hook_loader/built_in_hook_loader.rb +14 -0
- data/lib/overcommit/hook_loader/plugin_hook_loader.rb +102 -0
- data/lib/overcommit/hook_runner.rb +219 -0
- data/lib/overcommit/hook_signer.rb +123 -0
- data/lib/overcommit/installer.rb +193 -0
- data/lib/overcommit/interrupt_handler.rb +91 -0
- data/lib/overcommit/logger.rb +92 -0
- data/lib/overcommit/message_processor.rb +148 -0
- data/lib/overcommit/os.rb +38 -0
- data/lib/overcommit/printer.rb +145 -0
- data/lib/overcommit/subprocess.rb +98 -0
- data/lib/overcommit/utils.rb +309 -0
- data/lib/overcommit/utils/file_utils.rb +71 -0
- data/lib/overcommit/utils/messages_utils.rb +77 -0
- data/lib/overcommit/version.rb +6 -0
- data/libexec/gerrit-change-id +174 -0
- data/libexec/index-tags +17 -0
- data/template-dir/hooks/commit-msg +116 -0
- data/template-dir/hooks/overcommit-hook +116 -0
- data/template-dir/hooks/post-checkout +116 -0
- data/template-dir/hooks/post-commit +116 -0
- data/template-dir/hooks/post-merge +116 -0
- data/template-dir/hooks/post-rewrite +116 -0
- data/template-dir/hooks/pre-commit +116 -0
- data/template-dir/hooks/pre-push +116 -0
- data/template-dir/hooks/pre-rebase +116 -0
- data/template-dir/hooks/prepare-commit-msg +116 -0
- metadata +303 -0
@@ -0,0 +1,116 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
|
5
|
+
# in all of your git hooks being copied from this file, allowing the framework
|
6
|
+
# to manage your hooks for you.
|
7
|
+
|
8
|
+
# Prevent a Ruby stack trace from appearing when we interrupt the hook.
|
9
|
+
# Note that this will be overridden when Overcommit is loaded, since the
|
10
|
+
# InterruptHandler will redefine the trap at that time.
|
11
|
+
Signal.trap('INT') do
|
12
|
+
puts 'Hook run interrupted'
|
13
|
+
exit 130
|
14
|
+
end
|
15
|
+
|
16
|
+
# Allow hooks to be disabled via environment variable so git commands can be run
|
17
|
+
# in scripts without Overcommit running hooks
|
18
|
+
if ENV['OVERCOMMIT_DISABLE'].to_i != 0 || ENV['OVERCOMMIT_DISABLED'].to_i != 0
|
19
|
+
exit
|
20
|
+
end
|
21
|
+
|
22
|
+
hook_type = File.basename($0)
|
23
|
+
if hook_type == 'overcommit-hook'
|
24
|
+
puts "Don't run `overcommit-hook` directly; it is intended to be symlinked " \
|
25
|
+
"by each hook in a repository's .git/hooks directory."
|
26
|
+
exit 64 # EX_USAGE
|
27
|
+
end
|
28
|
+
|
29
|
+
# Check if Overcommit should invoke a Bundler context for loading gems
|
30
|
+
require 'yaml'
|
31
|
+
# rubocop:disable Style/RescueModifier
|
32
|
+
if gemfile = YAML.load_file('.overcommit.yml')['gemfile'] rescue nil
|
33
|
+
ENV['BUNDLE_GEMFILE'] = gemfile
|
34
|
+
require 'bundler'
|
35
|
+
|
36
|
+
begin
|
37
|
+
Bundler.setup
|
38
|
+
rescue Bundler::BundlerError => ex
|
39
|
+
puts "Problem loading '#{gemfile}': #{ex.message}"
|
40
|
+
puts "Try running:\nbundle install --gemfile=#{gemfile}" if ex.is_a?(Bundler::GemNotFound)
|
41
|
+
exit 78 # EX_CONFIG
|
42
|
+
end
|
43
|
+
end
|
44
|
+
# rubocop:enable Style/RescueModifier
|
45
|
+
|
46
|
+
begin
|
47
|
+
require 'overcommit'
|
48
|
+
rescue LoadError
|
49
|
+
if gemfile
|
50
|
+
puts 'You have specified the `gemfile` option in your Overcommit ' \
|
51
|
+
'configuration but have not added the `overcommit` gem to ' \
|
52
|
+
"#{gemfile}."
|
53
|
+
else
|
54
|
+
puts 'This repository contains hooks installed by Overcommit, but the ' \
|
55
|
+
"`overcommit` gem is not installed.\n" \
|
56
|
+
'Install it with `gem install overcommit`.'
|
57
|
+
end
|
58
|
+
|
59
|
+
exit 64 # EX_USAGE
|
60
|
+
end
|
61
|
+
|
62
|
+
begin
|
63
|
+
logger = Overcommit::Logger.new(STDOUT)
|
64
|
+
Overcommit::Utils.log = logger
|
65
|
+
|
66
|
+
# Ensure master hook is up-to-date
|
67
|
+
installer = Overcommit::Installer.new(logger)
|
68
|
+
if installer.run(Overcommit::Utils.repo_root, action: :update)
|
69
|
+
exec($0, *ARGV) # Execute the updated hook with all original arguments
|
70
|
+
end
|
71
|
+
|
72
|
+
config = Overcommit::ConfigurationLoader.new(logger).load_repo_config
|
73
|
+
|
74
|
+
context = Overcommit::HookContext.create(hook_type, config, ARGV, STDIN)
|
75
|
+
config.apply_environment!(context, ENV)
|
76
|
+
|
77
|
+
printer = Overcommit::Printer.new(config, logger, context)
|
78
|
+
runner = Overcommit::HookRunner.new(config, logger, context, printer)
|
79
|
+
|
80
|
+
status = runner.run
|
81
|
+
|
82
|
+
exit(status ? 0 : 65) # 65 = EX_DATAERR
|
83
|
+
rescue Overcommit::Exceptions::ConfigurationError => error
|
84
|
+
puts error
|
85
|
+
exit 78 # EX_CONFIG
|
86
|
+
rescue Overcommit::Exceptions::HookContextLoadError => error
|
87
|
+
puts error
|
88
|
+
puts 'Are you running an old version of Overcommit?'
|
89
|
+
exit 69 # EX_UNAVAILABLE
|
90
|
+
rescue Overcommit::Exceptions::HookLoadError,
|
91
|
+
Overcommit::Exceptions::InvalidHookDefinition => error
|
92
|
+
puts error.message
|
93
|
+
puts error.backtrace
|
94
|
+
exit 78 # EX_CONFIG
|
95
|
+
rescue Overcommit::Exceptions::HookSetupFailed,
|
96
|
+
Overcommit::Exceptions::HookCleanupFailed => error
|
97
|
+
puts error.message
|
98
|
+
exit 74 # EX_IOERR
|
99
|
+
rescue Overcommit::Exceptions::HookCancelled
|
100
|
+
puts 'You cancelled the hook run'
|
101
|
+
exit 130 # Ctrl-C cancel
|
102
|
+
rescue Overcommit::Exceptions::InvalidGitRepo => error
|
103
|
+
puts error
|
104
|
+
exit 64 # EX_USAGE
|
105
|
+
rescue Overcommit::Exceptions::ConfigurationSignatureChanged => error
|
106
|
+
puts error
|
107
|
+
puts "For more information, see #{Overcommit::REPO_URL}#security"
|
108
|
+
exit 1
|
109
|
+
rescue Overcommit::Exceptions::InvalidHookSignature
|
110
|
+
exit 1
|
111
|
+
rescue StandardError => error
|
112
|
+
puts error.message
|
113
|
+
puts error.backtrace
|
114
|
+
puts "Report this bug at #{Overcommit::BUG_REPORT_URL}"
|
115
|
+
exit 70 # EX_SOFTWARE
|
116
|
+
end
|
metadata
ADDED
@@ -0,0 +1,303 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: overcommit-jeygeethanmedia
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.53.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shane da Silva
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: childprocess
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.6.3
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.6.3
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: iniparse
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.4'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.4'
|
47
|
+
description: Utility to install, configure, and extend Git hooks
|
48
|
+
email:
|
49
|
+
- shane@dasilva.io
|
50
|
+
executables:
|
51
|
+
- overcommit
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- bin/overcommit
|
56
|
+
- config/default.yml
|
57
|
+
- config/starter.yml
|
58
|
+
- lib/overcommit.rb
|
59
|
+
- lib/overcommit/cli.rb
|
60
|
+
- lib/overcommit/command_splitter.rb
|
61
|
+
- lib/overcommit/configuration.rb
|
62
|
+
- lib/overcommit/configuration_loader.rb
|
63
|
+
- lib/overcommit/configuration_validator.rb
|
64
|
+
- lib/overcommit/constants.rb
|
65
|
+
- lib/overcommit/exceptions.rb
|
66
|
+
- lib/overcommit/git_config.rb
|
67
|
+
- lib/overcommit/git_repo.rb
|
68
|
+
- lib/overcommit/git_version.rb
|
69
|
+
- lib/overcommit/hook/base.rb
|
70
|
+
- lib/overcommit/hook/commit_msg/base.rb
|
71
|
+
- lib/overcommit/hook/commit_msg/capitalized_subject.rb
|
72
|
+
- lib/overcommit/hook/commit_msg/empty_message.rb
|
73
|
+
- lib/overcommit/hook/commit_msg/gerrit_change_id.rb
|
74
|
+
- lib/overcommit/hook/commit_msg/hard_tabs.rb
|
75
|
+
- lib/overcommit/hook/commit_msg/message_format.rb
|
76
|
+
- lib/overcommit/hook/commit_msg/russian_novel.rb
|
77
|
+
- lib/overcommit/hook/commit_msg/single_line_subject.rb
|
78
|
+
- lib/overcommit/hook/commit_msg/spell_check.rb
|
79
|
+
- lib/overcommit/hook/commit_msg/text_width.rb
|
80
|
+
- lib/overcommit/hook/commit_msg/trailing_period.rb
|
81
|
+
- lib/overcommit/hook/post_checkout/base.rb
|
82
|
+
- lib/overcommit/hook/post_checkout/bower_install.rb
|
83
|
+
- lib/overcommit/hook/post_checkout/bundle_install.rb
|
84
|
+
- lib/overcommit/hook/post_checkout/composer_install.rb
|
85
|
+
- lib/overcommit/hook/post_checkout/index_tags.rb
|
86
|
+
- lib/overcommit/hook/post_checkout/npm_install.rb
|
87
|
+
- lib/overcommit/hook/post_checkout/submodule_status.rb
|
88
|
+
- lib/overcommit/hook/post_checkout/yarn_install.rb
|
89
|
+
- lib/overcommit/hook/post_commit/base.rb
|
90
|
+
- lib/overcommit/hook/post_commit/bower_install.rb
|
91
|
+
- lib/overcommit/hook/post_commit/bundle_install.rb
|
92
|
+
- lib/overcommit/hook/post_commit/commitplease.rb
|
93
|
+
- lib/overcommit/hook/post_commit/composer_install.rb
|
94
|
+
- lib/overcommit/hook/post_commit/git_guilt.rb
|
95
|
+
- lib/overcommit/hook/post_commit/index_tags.rb
|
96
|
+
- lib/overcommit/hook/post_commit/npm_install.rb
|
97
|
+
- lib/overcommit/hook/post_commit/submodule_status.rb
|
98
|
+
- lib/overcommit/hook/post_commit/yarn_install.rb
|
99
|
+
- lib/overcommit/hook/post_merge/base.rb
|
100
|
+
- lib/overcommit/hook/post_merge/bower_install.rb
|
101
|
+
- lib/overcommit/hook/post_merge/bundle_install.rb
|
102
|
+
- lib/overcommit/hook/post_merge/composer_install.rb
|
103
|
+
- lib/overcommit/hook/post_merge/index_tags.rb
|
104
|
+
- lib/overcommit/hook/post_merge/npm_install.rb
|
105
|
+
- lib/overcommit/hook/post_merge/submodule_status.rb
|
106
|
+
- lib/overcommit/hook/post_merge/yarn_install.rb
|
107
|
+
- lib/overcommit/hook/post_rewrite/base.rb
|
108
|
+
- lib/overcommit/hook/post_rewrite/bower_install.rb
|
109
|
+
- lib/overcommit/hook/post_rewrite/bundle_install.rb
|
110
|
+
- lib/overcommit/hook/post_rewrite/composer_install.rb
|
111
|
+
- lib/overcommit/hook/post_rewrite/index_tags.rb
|
112
|
+
- lib/overcommit/hook/post_rewrite/npm_install.rb
|
113
|
+
- lib/overcommit/hook/post_rewrite/submodule_status.rb
|
114
|
+
- lib/overcommit/hook/post_rewrite/yarn_install.rb
|
115
|
+
- lib/overcommit/hook/pre_commit/author_email.rb
|
116
|
+
- lib/overcommit/hook/pre_commit/author_name.rb
|
117
|
+
- lib/overcommit/hook/pre_commit/base.rb
|
118
|
+
- lib/overcommit/hook/pre_commit/berksfile_check.rb
|
119
|
+
- lib/overcommit/hook/pre_commit/broken_symlinks.rb
|
120
|
+
- lib/overcommit/hook/pre_commit/bundle_audit.rb
|
121
|
+
- lib/overcommit/hook/pre_commit/bundle_check.rb
|
122
|
+
- lib/overcommit/hook/pre_commit/bundle_outdated.rb
|
123
|
+
- lib/overcommit/hook/pre_commit/case_conflicts.rb
|
124
|
+
- lib/overcommit/hook/pre_commit/chamber_compare.rb
|
125
|
+
- lib/overcommit/hook/pre_commit/chamber_security.rb
|
126
|
+
- lib/overcommit/hook/pre_commit/chamber_verification.rb
|
127
|
+
- lib/overcommit/hook/pre_commit/code_spell_check.rb
|
128
|
+
- lib/overcommit/hook/pre_commit/coffee_lint.rb
|
129
|
+
- lib/overcommit/hook/pre_commit/cook_style.rb
|
130
|
+
- lib/overcommit/hook/pre_commit/credo.rb
|
131
|
+
- lib/overcommit/hook/pre_commit/css_lint.rb
|
132
|
+
- lib/overcommit/hook/pre_commit/dogma.rb
|
133
|
+
- lib/overcommit/hook/pre_commit/es_lint.rb
|
134
|
+
- lib/overcommit/hook/pre_commit/execute_permissions.rb
|
135
|
+
- lib/overcommit/hook/pre_commit/fasterer.rb
|
136
|
+
- lib/overcommit/hook/pre_commit/file_size.rb
|
137
|
+
- lib/overcommit/hook/pre_commit/fix_me.rb
|
138
|
+
- lib/overcommit/hook/pre_commit/flay.rb
|
139
|
+
- lib/overcommit/hook/pre_commit/foodcritic.rb
|
140
|
+
- lib/overcommit/hook/pre_commit/forbidden_branches.rb
|
141
|
+
- lib/overcommit/hook/pre_commit/ginkgo_focus.rb
|
142
|
+
- lib/overcommit/hook/pre_commit/go_fmt.rb
|
143
|
+
- lib/overcommit/hook/pre_commit/go_lint.rb
|
144
|
+
- lib/overcommit/hook/pre_commit/go_vet.rb
|
145
|
+
- lib/overcommit/hook/pre_commit/golangci_lint.rb
|
146
|
+
- lib/overcommit/hook/pre_commit/hadolint.rb
|
147
|
+
- lib/overcommit/hook/pre_commit/haml_lint.rb
|
148
|
+
- lib/overcommit/hook/pre_commit/hard_tabs.rb
|
149
|
+
- lib/overcommit/hook/pre_commit/hlint.rb
|
150
|
+
- lib/overcommit/hook/pre_commit/html_hint.rb
|
151
|
+
- lib/overcommit/hook/pre_commit/html_tidy.rb
|
152
|
+
- lib/overcommit/hook/pre_commit/image_optim.rb
|
153
|
+
- lib/overcommit/hook/pre_commit/java_checkstyle.rb
|
154
|
+
- lib/overcommit/hook/pre_commit/js_hint.rb
|
155
|
+
- lib/overcommit/hook/pre_commit/js_lint.rb
|
156
|
+
- lib/overcommit/hook/pre_commit/jscs.rb
|
157
|
+
- lib/overcommit/hook/pre_commit/jsl.rb
|
158
|
+
- lib/overcommit/hook/pre_commit/json_syntax.rb
|
159
|
+
- lib/overcommit/hook/pre_commit/kt_lint.rb
|
160
|
+
- lib/overcommit/hook/pre_commit/license_finder.rb
|
161
|
+
- lib/overcommit/hook/pre_commit/license_header.rb
|
162
|
+
- lib/overcommit/hook/pre_commit/line_endings.rb
|
163
|
+
- lib/overcommit/hook/pre_commit/local_paths_in_gemfile.rb
|
164
|
+
- lib/overcommit/hook/pre_commit/mdl.rb
|
165
|
+
- lib/overcommit/hook/pre_commit/merge_conflicts.rb
|
166
|
+
- lib/overcommit/hook/pre_commit/nginx_test.rb
|
167
|
+
- lib/overcommit/hook/pre_commit/pep257.rb
|
168
|
+
- lib/overcommit/hook/pre_commit/pep8.rb
|
169
|
+
- lib/overcommit/hook/pre_commit/php_cs.rb
|
170
|
+
- lib/overcommit/hook/pre_commit/php_cs_fixer.rb
|
171
|
+
- lib/overcommit/hook/pre_commit/php_lint.rb
|
172
|
+
- lib/overcommit/hook/pre_commit/php_stan.rb
|
173
|
+
- lib/overcommit/hook/pre_commit/pronto.rb
|
174
|
+
- lib/overcommit/hook/pre_commit/puppet_lint.rb
|
175
|
+
- lib/overcommit/hook/pre_commit/puppet_metadata_json_lint.rb
|
176
|
+
- lib/overcommit/hook/pre_commit/pycodestyle.rb
|
177
|
+
- lib/overcommit/hook/pre_commit/pydocstyle.rb
|
178
|
+
- lib/overcommit/hook/pre_commit/pyflakes.rb
|
179
|
+
- lib/overcommit/hook/pre_commit/pylint.rb
|
180
|
+
- lib/overcommit/hook/pre_commit/python_flake8.rb
|
181
|
+
- lib/overcommit/hook/pre_commit/rails_best_practices.rb
|
182
|
+
- lib/overcommit/hook/pre_commit/rails_schema_up_to_date.rb
|
183
|
+
- lib/overcommit/hook/pre_commit/rake_target.rb
|
184
|
+
- lib/overcommit/hook/pre_commit/reek.rb
|
185
|
+
- lib/overcommit/hook/pre_commit/rst_lint.rb
|
186
|
+
- lib/overcommit/hook/pre_commit/rubo_cop.rb
|
187
|
+
- lib/overcommit/hook/pre_commit/ruby_lint.rb
|
188
|
+
- lib/overcommit/hook/pre_commit/ruby_syntax.rb
|
189
|
+
- lib/overcommit/hook/pre_commit/scalariform.rb
|
190
|
+
- lib/overcommit/hook/pre_commit/scalastyle.rb
|
191
|
+
- lib/overcommit/hook/pre_commit/scss_lint.rb
|
192
|
+
- lib/overcommit/hook/pre_commit/semi_standard.rb
|
193
|
+
- lib/overcommit/hook/pre_commit/shell_check.rb
|
194
|
+
- lib/overcommit/hook/pre_commit/slim_lint.rb
|
195
|
+
- lib/overcommit/hook/pre_commit/sqlint.rb
|
196
|
+
- lib/overcommit/hook/pre_commit/standard.rb
|
197
|
+
- lib/overcommit/hook/pre_commit/stylelint.rb
|
198
|
+
- lib/overcommit/hook/pre_commit/swift_lint.rb
|
199
|
+
- lib/overcommit/hook/pre_commit/terraform_format.rb
|
200
|
+
- lib/overcommit/hook/pre_commit/trailing_whitespace.rb
|
201
|
+
- lib/overcommit/hook/pre_commit/travis_lint.rb
|
202
|
+
- lib/overcommit/hook/pre_commit/ts_lint.rb
|
203
|
+
- lib/overcommit/hook/pre_commit/vint.rb
|
204
|
+
- lib/overcommit/hook/pre_commit/w3c_css.rb
|
205
|
+
- lib/overcommit/hook/pre_commit/w3c_html.rb
|
206
|
+
- lib/overcommit/hook/pre_commit/xml_lint.rb
|
207
|
+
- lib/overcommit/hook/pre_commit/xml_syntax.rb
|
208
|
+
- lib/overcommit/hook/pre_commit/yaml_lint.rb
|
209
|
+
- lib/overcommit/hook/pre_commit/yaml_syntax.rb
|
210
|
+
- lib/overcommit/hook/pre_commit/yard_coverage.rb
|
211
|
+
- lib/overcommit/hook/pre_commit/yarn_check.rb
|
212
|
+
- lib/overcommit/hook/pre_push/base.rb
|
213
|
+
- lib/overcommit/hook/pre_push/brakeman.rb
|
214
|
+
- lib/overcommit/hook/pre_push/cargo_test.rb
|
215
|
+
- lib/overcommit/hook/pre_push/go_test.rb
|
216
|
+
- lib/overcommit/hook/pre_push/golangci_lint.rb
|
217
|
+
- lib/overcommit/hook/pre_push/minitest.rb
|
218
|
+
- lib/overcommit/hook/pre_push/php_unit.rb
|
219
|
+
- lib/overcommit/hook/pre_push/pronto.rb
|
220
|
+
- lib/overcommit/hook/pre_push/protected_branches.rb
|
221
|
+
- lib/overcommit/hook/pre_push/pytest.rb
|
222
|
+
- lib/overcommit/hook/pre_push/python_nose.rb
|
223
|
+
- lib/overcommit/hook/pre_push/r_spec.rb
|
224
|
+
- lib/overcommit/hook/pre_push/rake_target.rb
|
225
|
+
- lib/overcommit/hook/pre_push/test_unit.rb
|
226
|
+
- lib/overcommit/hook/pre_rebase/base.rb
|
227
|
+
- lib/overcommit/hook/pre_rebase/merged_commits.rb
|
228
|
+
- lib/overcommit/hook/prepare_commit_msg/base.rb
|
229
|
+
- lib/overcommit/hook/prepare_commit_msg/replace_branch.rb
|
230
|
+
- lib/overcommit/hook/shared/bower_install.rb
|
231
|
+
- lib/overcommit/hook/shared/bundle_install.rb
|
232
|
+
- lib/overcommit/hook/shared/composer_install.rb
|
233
|
+
- lib/overcommit/hook/shared/index_tags.rb
|
234
|
+
- lib/overcommit/hook/shared/npm_install.rb
|
235
|
+
- lib/overcommit/hook/shared/pronto.rb
|
236
|
+
- lib/overcommit/hook/shared/rake_target.rb
|
237
|
+
- lib/overcommit/hook/shared/submodule_status.rb
|
238
|
+
- lib/overcommit/hook/shared/yarn_install.rb
|
239
|
+
- lib/overcommit/hook_context.rb
|
240
|
+
- lib/overcommit/hook_context/base.rb
|
241
|
+
- lib/overcommit/hook_context/commit_msg.rb
|
242
|
+
- lib/overcommit/hook_context/post_checkout.rb
|
243
|
+
- lib/overcommit/hook_context/post_commit.rb
|
244
|
+
- lib/overcommit/hook_context/post_merge.rb
|
245
|
+
- lib/overcommit/hook_context/post_rewrite.rb
|
246
|
+
- lib/overcommit/hook_context/pre_commit.rb
|
247
|
+
- lib/overcommit/hook_context/pre_push.rb
|
248
|
+
- lib/overcommit/hook_context/pre_rebase.rb
|
249
|
+
- lib/overcommit/hook_context/prepare_commit_msg.rb
|
250
|
+
- lib/overcommit/hook_context/run_all.rb
|
251
|
+
- lib/overcommit/hook_loader/base.rb
|
252
|
+
- lib/overcommit/hook_loader/built_in_hook_loader.rb
|
253
|
+
- lib/overcommit/hook_loader/plugin_hook_loader.rb
|
254
|
+
- lib/overcommit/hook_runner.rb
|
255
|
+
- lib/overcommit/hook_signer.rb
|
256
|
+
- lib/overcommit/installer.rb
|
257
|
+
- lib/overcommit/interrupt_handler.rb
|
258
|
+
- lib/overcommit/logger.rb
|
259
|
+
- lib/overcommit/message_processor.rb
|
260
|
+
- lib/overcommit/os.rb
|
261
|
+
- lib/overcommit/printer.rb
|
262
|
+
- lib/overcommit/subprocess.rb
|
263
|
+
- lib/overcommit/utils.rb
|
264
|
+
- lib/overcommit/utils/file_utils.rb
|
265
|
+
- lib/overcommit/utils/messages_utils.rb
|
266
|
+
- lib/overcommit/version.rb
|
267
|
+
- libexec/gerrit-change-id
|
268
|
+
- libexec/index-tags
|
269
|
+
- template-dir/hooks/commit-msg
|
270
|
+
- template-dir/hooks/overcommit-hook
|
271
|
+
- template-dir/hooks/post-checkout
|
272
|
+
- template-dir/hooks/post-commit
|
273
|
+
- template-dir/hooks/post-merge
|
274
|
+
- template-dir/hooks/post-rewrite
|
275
|
+
- template-dir/hooks/pre-commit
|
276
|
+
- template-dir/hooks/pre-push
|
277
|
+
- template-dir/hooks/pre-rebase
|
278
|
+
- template-dir/hooks/prepare-commit-msg
|
279
|
+
homepage: https://github.com/sds/overcommit
|
280
|
+
licenses:
|
281
|
+
- MIT
|
282
|
+
metadata: {}
|
283
|
+
post_install_message: Install hooks by running `overcommit --install` in your Git
|
284
|
+
repository
|
285
|
+
rdoc_options: []
|
286
|
+
require_paths:
|
287
|
+
- lib
|
288
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '2.4'
|
293
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
294
|
+
requirements:
|
295
|
+
- - ">="
|
296
|
+
- !ruby/object:Gem::Version
|
297
|
+
version: '0'
|
298
|
+
requirements: []
|
299
|
+
rubygems_version: 3.0.6
|
300
|
+
signing_key:
|
301
|
+
specification_version: 4
|
302
|
+
summary: Git hook manager
|
303
|
+
test_files: []
|