ingreedy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ingreedy/ingreedy_parser.rb +1 -1
- data/lib/ingreedy/version.rb +1 -1
- metadata +2 -2
@@ -16,7 +16,7 @@ class IngreedyParser
|
|
16
16
|
(?<container_size> \(\g<container_amount>\s\g<container_unit>\)) {0}
|
17
17
|
(?<unit_and_ingredient> .+ ) {0}
|
18
18
|
|
19
|
-
(\g<amount>\s?)?(\g<fraction>\s)?(\g<container_size>\s)?\g<unit_and_ingredient>
|
19
|
+
(\g<fraction>\s)?(\g<amount>\s?)?(\g<fraction>\s)?(\g<container_size>\s)?\g<unit_and_ingredient>
|
20
20
|
}x
|
21
21
|
results = ingreedy_regex.match(@query)
|
22
22
|
|
data/lib/ingreedy/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ingreedy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ian C. Anderson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-28 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|