diff --git a/Gemfile.lock b/Gemfile.lock index f653bcd..8735bf1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - danger-checkstyle_format (0.0.4) + danger-checkstyle_format (0.1.0) danger-plugin-api (~> 1.0) ox (~> 2.0) diff --git a/README.md b/README.md index 552ea9b..8257d79 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ checkstyle_format.base_path = Dir.pwd checkstyle_format.report 'app/build/reports/checkstyle/checkstyle.xml' +
Parse the XML text, and let the plugin do your reporting +
+checkstyle_format.base_path = Dir.pwd
+checkstyle_format.report_by_text '
+
+ ## Development 1. Clone this repo diff --git a/lib/checkstyle_format/gem_version.rb b/lib/checkstyle_format/gem_version.rb index 677f908..04b130c 100644 --- a/lib/checkstyle_format/gem_version.rb +++ b/lib/checkstyle_format/gem_version.rb @@ -1,3 +1,3 @@ module CheckstyleFormat - VERSION = "0.0.4".freeze + VERSION = "0.1.0".freeze end diff --git a/lib/checkstyle_format/plugin.rb b/lib/checkstyle_format/plugin.rb index 3facf3e..62a42c7 100644 --- a/lib/checkstyle_format/plugin.rb +++ b/lib/checkstyle_format/plugin.rb @@ -8,6 +8,11 @@ module Danger # checkstyle_format.base_path = Dir.pwd # checkstyle_format.report 'app/build/reports/checkstyle/checkstyle.xml' # + # @example Parse the XML text, and let the plugin do your reporting + # + # checkstyle_format.base_path = Dir.pwd + # checkstyle_format.report_by_text '