Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Release 0.9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorick Peterse committed Oct 13, 2013
1 parent ef7e670 commit 02b7299
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions checksum/ruby-lint-0.9.0.gem.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2b8ad36c7645e348c7469aa93cd00cb8ed9b6a9f7c9f45e2f4579f6b93e17b7216a91dc5cda10493af2b0c90d091ae64799f3ac95aae1adc787c5836bd6e21f5
42 changes: 42 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,47 @@ This document contains a short summary of the various releases of ruby-lint.
For a full list of commits included in each release see the corresponding Git
tags (named after the versions).

## 0.9.0 - 2013-10-13

Although the version number increased by quite a bit this release in itself is
fairly small. Seeing how the ruby-lint internals are slowly becoming more and
more stable I'd like the version numbers to correspond with that. I'm not
jumping to 1.0 right away since I do want to make various changes to the
internals before I release 1.0.

Having said that, this release contains the following:

* Caching of ASTs required for finding externally defined constants.
* An extra CLI command (`plot`) for plotting analysis timings.
* Method call tracking.
* Warnings for unused method/block arguments.
* Support for Rubinius 2.0.

The two most noteworthy changes are the caching system and support for method
call tracking, these are highlighted below.

### Caching

In previous releases ruby-lint would re-parse extra files needed (those that
contain the definitions of referenced constants) every time you'd analyze a
file. This was rather problematic since [parser][parser] sadly isn't the
fastest kid on the block. By caching the resulting ASTs performance of the same
file (assuming it doesn't change between runs) can be increased drastically. If
the analyzed file or an external one is changed the cache is invalidated
automatically.

Caching is enabled by default so you don't need to add any extra command-line
flags or configuration options in your ruby-lint configuration file.

### Method Call Tracking

This new features makes it possible for ruby-lint to keep track of what methods
are called from another method, both in the direction of caller to callee and
the other way around. Currently this isn't used yet for any analysis but I have
some ideas on adding useful analysis using this new feature. Another use case
for this feature is generating Graphviz call graphs without actually having to
run the corresponding Ruby source code.

## 0.0.5 - 2013-09-01

Originally slated for August 1st I decided to push this release back one month
Expand Down Expand Up @@ -121,3 +162,4 @@ Various changes to the old parser.
First public release of ruby-lint.

[yard]: http://yardoc.org/
[parser]: https://github.com/whitequark/parser
2 changes: 1 addition & 1 deletion lib/ruby-lint/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RubyLint
VERSION = '0.0.5'
VERSION = '0.9.0'
end # RubyLint

0 comments on commit 02b7299

Please sign in to comment.