citrus 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES +27 -0
  2. data/citrus.gemspec +2 -2
  3. data/lib/citrus/version.rb +1 -1
  4. metadata +4 -2
data/CHANGES ADDED
@@ -0,0 +1,27 @@
1
+ = 2.3.4 / 2011-01-17
2
+
3
+ * Added CHANGES file.
4
+
5
+ = 2.3.3 / 2011-01-17
6
+
7
+ * Added self to Match#captures hash. This means that a Match may retrieve a
8
+ reference to itself by using its own label, proxy name, or index 0 in the
9
+ hash.
10
+
11
+ * Match#captures returns an empty array for unknown Symbol keys, coerces
12
+ String keys to Symbols, and returns nil for unknown Numeric keys.
13
+
14
+ * Moved Citrus::VERSION to its own file.
15
+
16
+ * Citrus::LoadError is raised when Citrus is unable to load a file from the
17
+ file system because it cannot be found or it is not readable.
18
+
19
+ * Citrus::SyntaxError is raised when Citrus::File is unable to parse some
20
+ Citrus syntax.
21
+
22
+ * Added Citrus.require for requiring .citrus grammar files in a similar way
23
+ to Ruby's Kernel.require. Also, overloaded the require operator in Citrus
24
+ grammar files to failover to Citrus.require when Kernel.require raises a
25
+ LoadError.
26
+
27
+ * Improved UTF-8 support.
data/citrus.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  Dir['extras/**'] +
22
22
  Dir['lib/**/*.rb'] +
23
23
  Dir['test/**/*'] +
24
- %w< citrus.gemspec Rakefile README >
24
+ %w< citrus.gemspec Rakefile README CHANGES >
25
25
 
26
26
  s.test_files = s.files.select {|path| path =~ /^test\/.*_test.rb/ }
27
27
 
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.has_rdoc = true
31
31
  s.rdoc_options = %w< --line-numbers --inline-source --title Citrus --main Citrus >
32
- s.extra_rdoc_files = %w< README >
32
+ s.extra_rdoc_files = %w< README CHANGES >
33
33
 
34
34
  s.homepage = 'http://mjijackson.com/citrus'
35
35
  end
@@ -1,6 +1,6 @@
1
1
  module Citrus
2
2
  # The current version of Citrus as [major, minor, patch].
3
- VERSION = [2, 3, 3]
3
+ VERSION = [2, 3, 4]
4
4
 
5
5
  # Returns the current version of Citrus as a string.
6
6
  def self.version
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 3
8
- - 3
9
- version: 2.3.3
8
+ - 4
9
+ version: 2.3.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Jackson
@@ -38,6 +38,7 @@ extensions: []
38
38
 
39
39
  extra_rdoc_files:
40
40
  - README
41
+ - CHANGES
41
42
  files:
42
43
  - benchmark/seqpar.citrus
43
44
  - benchmark/seqpar.gnuplot
@@ -92,6 +93,7 @@ files:
92
93
  - citrus.gemspec
93
94
  - Rakefile
94
95
  - README
96
+ - CHANGES
95
97
  has_rdoc: true
96
98
  homepage: http://mjijackson.com/citrus
97
99
  licenses: []