ingreedy 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module Ingreedy
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
4
4
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ingreedy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
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-26 00:00:00 -04:00
13
+ date: 2011-08-28 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16