Permalink
Commits on Feb 21, 2016
  1. Merge pull request #55 from andrew/patch-1

    Add MIT license attribute to gemspec
    blambeau committed Feb 21, 2016
Commits on Feb 13, 2016
Commits on Feb 19, 2015
  1. Version 3.0.2

    committed Feb 19, 2015
Commits on Jan 25, 2015
  1. Merge pull request #49 from emancu/patch-1

    Fix Ruby 2.2.0 Warnings for named arguments
    blambeau committed Jan 25, 2015
  2. Fix Ruby 2.2.0 Warnings for named arguments

    Issue #47
    emancu committed Jan 25, 2015
Commits on Jan 24, 2015
  1. Update website/repo URLs

    committed Jan 24, 2015
Commits on Mar 14, 2014
  1. Version 3.0.1

    committed Mar 14, 2014
  2. Merge remote-tracking branch 'blambeau/no-method-missing'

    Conflicts:
    	lib/citrus.rb
    	lib/citrus/version.rb
    committed Mar 14, 2014
  3. Version 3.0.0

    committed Mar 14, 2014
  4. Updated CHANGES

    blambeau committed with Mar 13, 2014
  5. Require citrus in core_ext.rb

    blambeau committed with Mar 10, 2014
  6. Releasing 2.5.0

    blambeau committed with Mar 13, 2014
  7. Add warning about deprecated stuff for 3.0

    Conflicts:
    	lib/citrus.rb
    blambeau committed with Mar 13, 2014
  8. Updated CHANGES

    blambeau committed with Mar 13, 2014
  9. Rephrase CHANGES.

    blambeau committed Mar 14, 2014
  10. Remove Match#method_missing, add Match#capture(name)

    Match#method_missing is unsafe as illustrated in Github issue #41.
    In particular, it makes composing a grammar with aribitrary gems
    unsafe when the latter make core extensions, leads to unexpected
    results with labels matching Kernel methods (e.g. `p`), and
    prevents the Match class from getting new methods in a backward
    compatible way. This commit therefore removes it.
    
    A convenient method is provided to get a single capture by label
    name. Calling string operators must now be done via Match#to_str.
    blambeau committed Mar 14, 2014
  11. Show why Match#method_missing is unsafe with a test.

    The added test case shows that Kernel::p is actually called in place
    of Match#method_missing when 'p' is used as a label or rule name.
    
    As any gem might contribute private methods to Object, using Citrus
    labels (or even rule names, actually) in semantic productions without
    doing so with Match#captures is unsafe.
    
    Moreover, the addition of any method/helper to the Match class may
    potentially break an existing grammar, so it breaks Citrus's public
    API and should probably increment the MAJOR version number.
    blambeau committed Feb 22, 2012
Commits on Mar 13, 2014
  1. Updated CHANGES

    blambeau committed Mar 13, 2014
  2. Releasing 2.5.0

    blambeau committed Mar 13, 2014
  3. Updated CHANGES

    blambeau committed Mar 13, 2014
Commits on Mar 10, 2014
  1. Merge pull request #44 from blambeau/master

    Move core extensions to lib/core_ext.rb
    committed Mar 10, 2014
  2. Require citrus in core_ext.rb

    blambeau committed Mar 10, 2014
Commits on Mar 6, 2014
Commits on Dec 9, 2013
  1. Merge pull request #42 from tbuehlmann/master

    Removed Ruby warnings
    committed Dec 9, 2013
Commits on May 2, 2013
  1. Removed Ruby warnings.

    Tobias B��hlmann committed May 2, 2013
Commits on Feb 24, 2012
Commits on Feb 22, 2012
  1. Updated CHANGES

    committed Feb 22, 2012
  2. Minor syntactical changes

    committed Feb 22, 2012
  3. Minor syntactical changes

    committed Feb 22, 2012