ingreedy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ class IngreedyParser
8
8
 
9
9
  def parse
10
10
  ingreedy_regex = %r{
11
- (?<amount> \d+(\.\d+)? ) {0}
11
+ (?<amount> .?\d+(\.\d+)? ) {0}
12
12
  (?<fraction> \d\/\d ) {0}
13
13
 
14
14
  (?<container_amount> \d+(\.\d+)?) {0}
@@ -1,4 +1,4 @@
1
1
  module Ingreedy
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
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.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ian C. Anderson