Commits on Jun 30, 2016
  1. Release 2.3.0

    committed Jun 30, 2016
  2. Merge pull request #192 from mvidner/changelog

    Changelog since 2.2.0
    committed on GitHub Jun 30, 2016
  3. @mvidner

    Wrote the changelog since 2.2.0.

    mvidner committed Jun 30, 2016
  4. @mvidner
  5. @mvidner
Commits on Jun 28, 2016
  1. Merge pull request #189 from mvidner/yardoc-improvements

    Yardoc improvements
    committed on GitHub Jun 28, 2016
  2. Merge pull request #188 from mvidner/absolute-constant-lookup

    Absolute constant lookup (::Foo)
    committed on GitHub Jun 28, 2016
  3. @mvidner

    Remove RubyLint::ConstantPath#root_node

    It is no longer used since 971a7da
    mvidner committed Jun 28, 2016
  4. @mvidner
  5. @mvidner @mvidner
  6. @mvidner @mvidner

    Test ::Foo lookup.

    mvidner committed with mvidner Jun 25, 2016
  7. @mvidner @mvidner

    Yardoc improvements.

    mvidner committed with mvidner Jun 25, 2016
  8. @mvidner

    Distinguish data from processors in the flow diagram.

    Box = data, applied to Source and Report
    Oval = processor
    mvidner committed Jun 7, 2016
Commits on Jun 27, 2016
  1. @mvidner @mvidner
  2. @mvidner @mvidner
  3. @mvidner @mvidner

    Fix loading absolute constants.

    mvidner committed with mvidner Jun 24, 2016
  4. @mvidner @mvidner
  5. Merge pull request #184 from mvidner/load-unqualified-constants

    Load constant Foo::Bar when Bar is seen inside Foo.
    committed on GitHub Jun 27, 2016
  6. Merge pull request #187 from mvidner/not-enough-argument-definitions

    Fix 'Not enough argument definitions' exception when parsing less usual constructs
    committed on GitHub Jun 27, 2016
  7. @mvidner

    Recognize more language constructs: regexp, dstr, yield (fixes #173).

    Of course, (regexp ...) (dstr ...) and (yield) are actually pretty common.
    The virtual machine has ignored these constructs but it has worked
    in most cases because child nodes provided the value.
    
    ```rb
    puts //            # (regexp (regopt))
    /foo/i             # (regexp (str "foo") (regopt :i))
    puts <<EOS         # (dstr)
    EOS
    puts "foo#{bar}"   # (dstr (str "foo") (begin (send nil :bar)))
    ```
    mvidner committed Jun 27, 2016
  8. @mvidner

    Test analyzing more language constructs.

    (regexp), (yield), (dstr)
    //, yield, <<EOS
    EOS
    mvidner committed Jun 27, 2016
Commits on Jun 25, 2016
  1. @mvidner
  2. @mvidner @mvidner
  3. @mvidner @mvidner

    Use a private registry so that Foo::Bar is independent across tests.

    otherwise there would be a conflict between
      spec/ruby-lint/constant_loader_spec.rb
      spec/ruby-lint/virtual_machine/classes/extending_spec.rb
    mvidner committed with mvidner Jun 24, 2016
  4. Merge pull request #185 from mvidner/fix_nested_loops

    Handle nested loops correctly (fixes #178)
    committed on GitHub Jun 25, 2016
  5. Merge pull request #186 from mvidner/regexp_fix

    Do not crash for '$10' and bigger (fixes #175)
    committed on GitHub Jun 25, 2016
  6. @jreidinger @mvidner
  7. @jreidinger @mvidner
  8. @mvidner @mvidner

    Test loading scoped constants (Foo::Bar)

    If we have a definition with
    
        RubyLint.registry.register('Foo::Bar')
    
    and code like
    
        module Foo
          Bar.baz
        end
    
    then ruby-lint should load "Foo::Bar" first, only then try "Bar".
    mvidner committed with mvidner Jun 24, 2016
  9. @mvidner @mvidner
Commits on Jun 8, 2016
  1. Merge pull request #177 from mvidner/syntax-error-without-return

    Do not stop parsing all files on a syntax warning (#148).
    committed Jun 8, 2016
  2. @mvidner

    Do not stop parsing all files(!) on a syntax warning (#148).

    This effectively reverts commit 310111a.
    
    Travis tests do not show a problem with syntactically erroneous test
    files (spec/fixtures/syntax_error.rb)
    
    If the Racc problems were to resurface, we should
    - bail out on syntax errors but not warnings
    - resume parsing the next file (possibly using one parser per one file)
    - if all else fails, explicitly tell the user we could not complete the
      parse
    mvidner committed Jun 8, 2016
  3. Merge pull request #172 from mvidner/method-name-in-argument-amount

    Mention method name in argument_amount report.
    committed Jun 8, 2016
  4. Merge pull request #176 from mvidner/pathname-sorting

    Sorting reports by whole pathname, and column numbers
    committed Jun 8, 2016
  5. @mvidner