Permalink
Commits on May 2, 2012
  1. Fix typo, references #534

    lsegal committed May 2, 2012
  2. Fix spec errors in 1.8.x

    lsegal committed May 2, 2012
  3. i18n: create YARD::I18n::Messages and Message

    This commit is corresponding to comment in #527:
    
      lsegal#527 (comment)
    
      One thing I noticed after you documented the code is that
      PotGenerator#messages has a very long type signature. To me, this
      usually implies that the API is equally complex to use. The type:
      Hash{:locations => Array<Array[String, Integer]>, :comments =>
      Array<String>} to me screams of refactoring into a separate class with
      .locations and .comments attributes. That way we can have a properly
      documented Message (would this be the right name? or PotMessage?)
      class component that has meaning in our system, and #messages would
      turn into Hash{String=>Message}, which is much clearer to me. Can you
      do this refactor?
    kou committed May 2, 2012
  4. Allow verifier to treat all objects as having visibility, so --no-pub…

    …lic should hide constants too, now
    lsegal committed May 2, 2012
  5. Add `--api` switch to yardoc in order to generate docs for API tags w…

    …ithout needing `--query` syntax.
    
    Multiple `--api` switches can be used to generate docs for multiple APIs at once
    (they are logically OR'd together).
    
    Closes #532
    lsegal committed May 2, 2012
  6. yard list command should use cache by default

    Closes #533
    lsegal committed May 2, 2012
  7. Allow namespaced tags

    lsegal committed May 2, 2012
  8. Add Docstring.default_parser and Docstring.parser

    Plugin developers can now specify custom parser classes to be
    used when parsing docstrings. These classes must inherit from
    DocstringParser.
    
    This changeset also exposes public methods to DocstringParser
    for better use with subclasses.
    
    References #529
    lsegal committed May 2, 2012
Commits on May 1, 2012
  1. Add specs for after_parse parameter checking and fix broken duplicate…

    … param tag functionality
    lsegal committed May 1, 2012
  2. Serialize method_list with proper filename

    Closes #528
    lsegal committed May 1, 2012
Commits on Apr 30, 2012
  1. Bump version to 0.8.0

    lsegal committed Apr 30, 2012
  2. Update README/WhatsNew

    lsegal committed Apr 30, 2012
  3. Update docs for option tag

    lsegal committed Apr 30, 2012
  4. Update Library class docs

    lsegal committed Apr 30, 2012
  5. Add note about transitive tags

    lsegal committed Apr 30, 2012
  6. i18n: document YARD::I18n::Text

    kou committed Apr 30, 2012
  7. i18n: move YARD::CLI::I18n::* to YARD::I18n::*

    This commit is corresponding to 1. and 3. in #395:
    
      lsegal#395 (comment)
    
      1. I'd like it if you could move your CLI::I18n subclasses into a
      YARD::I18n namespace. I'm not a fan of classes inside of classes,
      organizationally speaking, and it's hard to promote component reuse
      for these classes if they're inside of a CLI namespace. Presumably
      someone might want to use the PotGenerator class directly, for
      instance, and they shouldn't have to go through the CLI. So, I've
      marked those classes as @private for now so that nobody uses them
      from that namespace. Once you move them into a more appropriate
      location, you can remove the @private declaration and we can support
      them as a public API.
    
      3. Ditto for moving the tests for the inner classes like
      PotGenerator and Test into their own files. I'm also not a fan of
      multiple classes in a single _spec.rb file.
    kou committed Apr 30, 2012
  8. Add after_parse callback to check that @param tag names match method …

    …parameters
    
    Closes #526
    lsegal committed Apr 30, 2012
  9. Add Docstring.after_parse callback to perform sanity checks and last …

    …minute modifications on a docstring after it is parsed
    lsegal committed Apr 30, 2012
  10. Add note about 0.7.5 release

    lsegal committed Apr 30, 2012