canvas-lms/gems/tatl_tael
Landon Wilkins de77840963 allow new .erb outside app/views
test plan:
* see test commits

Change-Id: Iff9b38ad98baed1ad53657192cde69fe6dadba76
Reviewed-on: https://gerrit.instructure.com/102347
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
2017-02-15 23:12:39 +00:00
..
lib allow new .erb outside app/views 2017-02-15 23:12:39 +00:00
spec allow new .erb outside app/views 2017-02-15 23:12:39 +00:00
Gemfile lint: encourage specs, fixes SD-1024 2016-05-02 16:16:44 +00:00
README.md lint: encourage specs, fixes SD-1024 2016-05-02 16:16:44 +00:00
Rakefile lint: encourage specs, fixes SD-1024 2016-05-02 16:16:44 +00:00
tatl_tael.gemspec upgrade many canvas gems to rspec 3 syntax 2016-12-27 18:44:23 +00:00
test.sh incremental linting via dr diff, fixes SD-1521 2016-09-22 20:06:57 +00:00

README.md

TatlTael

TatlTael provides linting on the commit as a whole.

Usage

require "tatl_tael"

linter = TatlTael::Linter.new(git_dir: git_dir)

linter.ensure_specs do
  puts "this will be printed if there are ruby additions or modifications,"\
       " but no spec additions or modifications."
end