Sha256: 30b4ca3ea9e09693e4dea32c18accc8249e2a23da14a6b47ca0b26182bd1b5d2

Contents?: true

Size: 586 Bytes

Versions: 8

Compression:

Stored size: 586 Bytes

Contents

require '../lib/checkstyle_filter/git'

# format examples:
# https://gist.github.com/sanemat/5416e4f701922a47773a

# git diff -z --name-only origin/master..HEAD \
# | xargs -0 bundle exec rubocop-select \
# | xargs rubocop \
#     --require rubocop/formatter/checkstyle_formatter \
#     --format RuboCop::Formatter::CheckstyleFormatter \
# | checkstyle_filter-git diff origin/master..HEAD

# raw_xml
# git_diff file_name, line_no_start, line_no_end
# git_diff.files.each |file|
#   file.lines = Set[1,2,5]
# end
# reformed = raw_xml.check_style.file=file.line[1,2,5]
# reformed.to_xml

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
checkstyle_filter-git-1.2.0 example/simple.rb
checkstyle_filter-git-1.1.0 example/simple.rb
checkstyle_filter-git-1.0.3 example/simple.rb
checkstyle_filter-git-1.0.2 example/simple.rb
checkstyle_filter-git-1.0.1 example/simple.rb
checkstyle_filter-git-1.0.0 example/simple.rb
checkstyle_filter-git-0.1.1 example/simple.rb
checkstyle_filter-git-0.1.0 example/simple.rb