Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 11, 2011
  1. @joachimm

    Added language keyshortcut for citrus grammar, added matching for rul…

    joachimm authored
    …e references and super + proper punctuation scopes for module names
Commits on Feb 7, 2011
  1. Bumped version to 2.3.5

    authored
  2. Removed Match#fetch

    authored
  3. Added docs

    authored
  4. Removed Match#to_ary

    authored
    Ruby gives special meaning to #to_ary that is used in many places that
    are difficult to predict. This can be the source of obscure bugs and
    should not be used as an alias for #to_a.
Commits on Feb 5, 2011
  1. Small style tweak

    authored
Commits on Feb 4, 2011
Commits on Jan 27, 2011
  1. Tweaked Calc example

    authored
  2. Simplified Calc example

    authored
Commits on Jan 25, 2011
  1. Accept relative paths

    authored
  2. Doc tweak

    authored
Commits on Jan 18, 2011
  1. Renames example test files

    authored
    This is to avoid requiring the .rb file when using require inside the ip
    .citrus files.
  2. Minor style tweaks

    authored
Commits on Jan 17, 2011
  1. Bumped version to 2.3.4

    authored
  2. Added CHANGES file

    authored
  3. Bumped version to 2.3.3

    authored
  4. Tweaked some docs

    authored
Commits on Jan 13, 2011
Commits on Jan 11, 2011
  1. Adds self to Match#captures

    authored
    A common point of confusion for some Citrus users is that they are not
    able to retrieve a match by calling its own name on itself. This commit
    adds self to the internal @captures Hash in the first position.
    
    Also, Match#to_a and Match#[] were added for convenience when retrieving
    captures and submatches.
Commits on Jan 9, 2011
  1. Repeat doesn't need a Range

    authored
Commits on Jan 7, 2011
  1. Fix test name

    authored
Commits on Jan 5, 2011
  1. Clarified logic

    authored
  2. Style tweak

    authored
  3. Use consistent test style for examples

    authored
    All example test suites are run with the default Rake test task. This
    ensures that examples are always working with the current version of the
    code.
    
    Also, Citrus.require should raise Citrus::LoadError if it cannot find a
    suitable file to load.
Commits on Jan 4, 2011
  1. Refactored terminal rule

    authored
  2. Style tweak

    authored
  3. Updated some docs

    authored
  4. Added Citrus.require

    authored
    Added the ability for require statements inside Citrus files to require
    other Citrus files that may be in the $LOAD_PATH. Also, modified the
    behavior of Citrus.load to cache the result of already loaded files so
    that we don't load the same file twice.
    
    Modified examples/ipaddress.citrus to demonstrate the use of require
    from within Citrus files.
  5. Return an empty array by default

    authored
    The Hash returned by Match#captures now returns empty arrays for unknown
    keys. This supports a more natural flow of programming when using it in
    semantic blocks.
Something went wrong with that request. Please try again.