lib/rubocop/git/file_violation.rb in rubocop-git2-0.1.4 vs lib/rubocop/git/file_violation.rb in rubocop-git2-0.1.5
- old
+ new
@@ -1,5 +1,2 @@
-module RuboCop::Git
# ref. https://github.com/thoughtbot/hound/blob/d2f3933/app/models/file_violation.rb
-class FileViolation < Struct.new(:filename, :offenses)
-end
-end
+RuboCop::Git::FileViolation = Struct.new(:filename, :offenses)