README.md in danger-pronto-0.2.1 vs README.md in danger-pronto-0.3.0

- old
+ new

@@ -23,30 +23,29 @@ gem 'pronto-scss' ``` ## Usage -Run Files through Pronto. +Pronto runs the checks on a diff between the current HEAD and the provided commit-ish (default is master). Results are passed out as a table in markdown. Specifying custom config file. ```ruby pronto.lint ``` -Lint specific files in a folder, when they change +Run checks on a diff between the current HEAD and a specified commit ```ruby -public_files = (modified_files + added_files).select { |path| path.include?("/public/") } -pronto.lint public_files +pronto.lint("e757913") ``` #### Methods -`lint(files: String)` +`lint(commit: String)` - Runs files through Pronto. Generates a `markdown` list of warnings. + Runs checks on a diff between the current HEAD and the provided commit-ish (default is master). Generates a `markdown` list of warnings. ## License