ice_cube_english 0.2 → 0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ module IceCube
|
|
4
4
|
module English
|
5
5
|
grammar RuleGrammar
|
6
6
|
rule recurrence_rule
|
7
|
-
first_clause:recurrence_clause rest_clauses:( WS+ recurrence_clause )* {
|
7
|
+
WS* first_clause:recurrence_clause rest_clauses:( WS+ recurrence_clause )* WS* {
|
8
8
|
def clauses
|
9
9
|
[first_clause] + rest_clauses
|
10
10
|
end
|
@@ -7,7 +7,7 @@ module IceCube
|
|
7
7
|
|
8
8
|
# Multiple recurrence rules
|
9
9
|
rule recurrence_rules
|
10
|
-
first_rule:recurrence_rule rest_rules:( comma_or_semicolon_joiner recurrence_rule )* "."? {
|
10
|
+
first_rule:recurrence_rule rest_rules:( comma_or_semicolon_joiner recurrence_rule )* "."? WS* {
|
11
11
|
def rules
|
12
12
|
[first_rule] + rest_rules
|
13
13
|
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ice_cube_english
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 3
|
9
|
+
version: "0.3"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Dwayne Litzenberger
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-12-
|
17
|
+
date: 2011-12-22 00:00:00 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: treetop
|