Skip to content

Commit

Permalink
Added CHANGES file
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Jan 17, 2011
1 parent 8074bbb commit ea358d0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
= 2.3.3 / 2011-01-17

* Added self to Match#captures hash. This means that a Match may retrieve a
reference to itself by using its own label, proxy name, or index 0 in the
hash.

* Match#captures returns an empty array for unknown Symbol keys, coerces
String keys to Symbols, and returns nil for unknown Numeric keys.

* Moved Citrus::VERSION to its own file.

* Citrus::LoadError is raised when Citrus is unable to load a file from the
file system because it cannot be found or it is not readable.

* Citrus::SyntaxError is raised when Citrus::File is unable to parse some
Citrus syntax.

* Added Citrus.require for requiring .citrus grammar files in a similar way
to Ruby's Kernel.require. Also, overloaded the require operator in Citrus
grammar files to failover to Citrus.require when Kernel.require raises a
LoadError.

* Improved UTF-8 support.
4 changes: 2 additions & 2 deletions citrus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ Gem::Specification.new do |s|
Dir['extras/**'] +
Dir['lib/**/*.rb'] +
Dir['test/**/*'] +
%w< citrus.gemspec Rakefile README >
%w< citrus.gemspec Rakefile README CHANGES >

s.test_files = s.files.select {|path| path =~ /^test\/.*_test.rb/ }

s.add_development_dependency('rake')

s.has_rdoc = true
s.rdoc_options = %w< --line-numbers --inline-source --title Citrus --main Citrus >
s.extra_rdoc_files = %w< README >
s.extra_rdoc_files = %w< README CHANGES >

s.homepage = 'http://mjijackson.com/citrus'
end

0 comments on commit ea358d0

Please sign in to comment.