Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.0.1a1
Commits on Nov 13, 2012
  1. Version 0.0.1a1.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Default values for token/definition attributes.

    authored
    Various attributes, such as RubyLint::Token::BlockToken#parameters would not
    have a defualt value other than `nil`. This would cause code that relies on
    these attributes to have non nil values to blow up.
    
    Another example are line numbers and column numbers. Before this commit these
    were set to `nil` by default meaning that any type of mathematical expression
    would fail since NilClass does not respond to `>`, `-` and so on.
    
    This commit resolves the problem described in issue #2 but I'll leave it open
    for a bit longer so I can test some other stdlib code to make sure ruby-lint
    doesn't blow up again.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  3. Renamed left over references to "rlint".

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  4. Updated the YARD configuration file.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  5. Renamed Rlint to RubyLint.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  6. Added the --pre switch to the installation guide.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  7. Updated a require call in the README.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  8. Renamed files/folders to "ruby-lint".

    authored
    Various files and folders have been renamed so that their names match the
    Rubygem's name.
    
    This commit fixes #3.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 12, 2012
  1. Usage and design in the README.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Added a TODO section to the README.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  3. Task for generating the MANIFEST file.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  4. Updated the Rake for the new gem name.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  5. Renamed the Gem and updated the README.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  6. CLI interface without Shebang.

    authored
    The Rlint CLI interface has been rewritten and no longe relies on Shebang.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  7. Method validation.

    authored
    Rlint::Analyze::MethodValidation is a new class that is used to validate method
    calls. In the future it will also validate specified parameters and such.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 9, 2012
  1. Minor code cleanups.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Use setter for assigning definition tokens.

    authored
    When creating a new instance of Rlint::Definition the setter method #token=
    should be used to set the token as this removes some duplicate code.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  3. Cleaned up Rlint::Definition.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  4. Removed Rlint::Callback#options.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 7, 2012
  1. Warnings for shadowing local variables.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 6, 2012
  1. Merged Rlint::Scope and Rlint::Definition.

    authored
    These two classes served almost identical purposes.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. rbenv uses .rbenv-version instead of .ruby-version

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 5, 2012
  1. Errors for undefined variables.

    authored
    A new class has been introduced: Rlint::Analyze::UndefinedVariables. This class
    is used to check for the use of undefined variables and will add errors for
    each occurence.
    
    While working on this system I realized that separating data in
    Rlint::Definition and Rlint::Scope gets really confusing and requires a few
    hoops to work around various issues. These two classes will be merged into
    Rlint::Scope in the following commits.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Clarify the gem name on Rubygems.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 4, 2012
  1. Warnings for unused variables.

    authored
    Adding warnings for unused variables is handled by the class
    Rlint::Analyze::UnusedVariables in combination with two new helper modules:
    Rlint::Helper::Scoping and Rlint::Helper::ScopeResolver.
    
    The new approach of keeping track of unused variables means that
    Rlint::Token::Token#used and Rlint::Token::Token#reported are no longer needed
    and thus these attributes have been removed.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Including/extending modules into classes.

    authored
    The new version of Rlint::Analyze::Definitions is now able to build a list of
    definitions that were added by including or extending a module into a class.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Nov 1, 2012
  1. Definition list for modules.

    authored
    The new version of Rlint::Analyze::Definitions is now capable of building a
    list of defined modules and their associated data.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Oct 31, 2012
  1. Rewriting Rlint::Analyze::Definitions from scratch

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Oct 29, 2012
  1. Share data between callback classes.

    authored
    Callback classes bound to the same instance of Rlint::Iterator can now share
    data by storing it in a Hash that is stored in the `@storage` instance
    variable.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Oct 24, 2012
  1. Process iterator callback classes in sequence.

    authored
    Instead of calling the callback method for each callback class for the current
    node Rlint::Iterator will now process an *entire* AST before moving on to the
    next class.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Oct 23, 2012
  1. Warn for unused variables.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  2. Assign VariableTokens to variables in a scope.

    authored
    Instead of saving the value of a variable during assignment the entire
    VariableToken instance is saved.
    
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Commits on Oct 17, 2012
  1. Don't add errors for default global variables.

    authored
    Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Something went wrong with that request. Please try again.