lib/rubocop/git.rb in rubocop-git2-0.1.4 vs lib/rubocop/git.rb in rubocop-git2-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
-require_relative 'git/version'
require 'rubocop'
module RuboCop::Git
+ autoload :CLI, "#{__dir__}/git/cli"
autoload :Commit, "#{__dir__}/git/commit"
autoload :CommitFile, "#{__dir__}/git/commit_file"
autoload :DiffParser, "#{__dir__}/git/diff_parser"
autoload :FileViolation, "#{__dir__}/git/file_violation"
autoload :Line, "#{__dir__}/git/line"
@@ -12,6 +12,7 @@
autoload :PseudoPullRequest, "#{__dir__}/git/pseudo_pull_request"
autoload :PseudoResource, "#{__dir__}/git/pseudo_resource"
autoload :Runner, "#{__dir__}/git/runner"
autoload :StyleChecker, "#{__dir__}/git/style_checker"
autoload :StyleGuide, "#{__dir__}/git/style_guide"
+ autoload :VERSION, "#{__dir__}/git/version"
end