All Versions
20
Latest Version
Avg Release Cycle
90 days
Latest Release
2764 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v2.2.2 Changes
August 29, 2012- ๐ Bugfix: Stricter magic comment regex to avoid false positives (#31)
-
v2.2.1 Changes
August 26, 2012- ๐ Bugfix: parallel option can be set in rake tasks
-
v2.2.0 Changes
August 01, 2012- Gracefully handle ambiguous options like
-abc-max
(#27) - Provide the
--parallel
option to use all processors. This will be faster on larger projects, but slower on smaller ones (#28)
- Gracefully handle ambiguous options like
-
v2.1.0 Changes
- ๐ Support for user-defined checks (#30)
-
v2.0.0 Changes
August 19, 2012- ABC check labels
MyClass = Struct.new {}
andClass.new
correctly (#20) - ๐ Magic comments (
# encoding: utf-8
) are not recognized as appropriate class documentation (#21) - Invalid UTF-8 is handled correctly (#22)
- Gracefully handle unknown options
- ABC check output uses a standard format (
Foo::Bar#method
rather thanFoo > Bar > method
) - ๐ฅ BREAKING Add
--abc-exclude
,--style-exclude
CLI flags, remove YAML support - ๐ฅ BREAKING-INTERNAL Use hashes rather than explicit violation classes
- ๐ฅ BREAKING-INTERNAL Remove translator class, pass CLI args direct to checks
- INTERNAL Wiring in a new check only requires changing one file (#15)
This snippet will convert your YAML exclusions file to the new CLI syntax:
y = YAML.load(File.read('exclusions.yml')) puts ( y.fetch('abc', []).map {|x| %|--abc-exclude "#{x}"| } + y.fetch('style', []).map {|x| %|--style-exclude "#{x}"| } ).join("\n")
- ABC check labels
-
v1.4.0 Changes
July 02, 2012- ๐ Allow files and methods to be whitelisted (#16)
- ๐ Show total number of violations in output (#14)
-
v1.3.0 Changes
April 20, 2012- โ Remove dependency on tailor. Fewer styles checks are performed, but the three remaining are the only ones I've found useful.
-
v1.2.0 Changes
March 31, 2012- Gracefully handle files with invalid syntax (#1)
- Included class methods in ABC check (#8)
- ๐ Can disable style and doc checks from rake task (#9)
-
v1.1.0 Changes
March 24, 2012- 0๏ธโฃ
app
added to default globs - โ Added
cane/rake_task
- ๐
class << obj
syntax ignore by documentation check - Line length checks no longer include trailing new lines
- โ Add support for a
.cane
file for setting per-project default options.
- 0๏ธโฃ
-
v1.0.0 Changes
January 14, 2012- ๐ Initial release.