bake 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc8a46a50ac43cd0fb5db9d9898327b4c999f3fbe7991b549b7710340268c5a8
4
- data.tar.gz: a299278a280a3613490b0acc96dc826f498d7950abe38289fb56dcd22165f049
3
+ metadata.gz: a7693473d81becf64ea8f5013fe414eb85ecbe82c7924b6aae745c8453eef648
4
+ data.tar.gz: 9f0df220a0530195b8729b2338860dae28ee3b6d1fbddb004659584d4e7dc603
5
5
  SHA512:
6
- metadata.gz: 3b4ff92cffbb0653dfdb7cd8cbddf8d4d117563f3f934d65c12eacdcb2a1da34646706c845565a32b23854335008a6a6b332ec9901a7c43a49b4b3dfa4428435
7
- data.tar.gz: 22d5cd4677921eb326ae85998b365b7ee151abf53a3752acab4d883b048140cf685f4c34037a052ca8e08406dff1636177e2bc99b7c3a95fa7c1700d37de1e28
6
+ metadata.gz: 7b946cde875cd3d8a74fed3d25f9cd5a80ea0ecc7d48868d3f329f1b69ca6184f07f9b0f9df57b529f7b046c96a524321ac9ed02c087bb77c87088d0be620dee
7
+ data.tar.gz: fd987404064a8fd051c671380dbf3f7c24cf7ef8dc83b0bd9664adc3b32ac89a03ab507960dba2a3bcf291f53680a7e0b58c03426be2496093ef8d536ab0f005
data/lib/bake/recipe.rb CHANGED
@@ -96,8 +96,8 @@ module Bake
96
96
  # Consume it:
97
97
  arguments.shift
98
98
 
99
- if type = types[name]
100
- value = types.parse(value)
99
+ if type = types[name.to_sym]
100
+ value = type.parse(value)
101
101
  end
102
102
 
103
103
  options[name.to_sym] = value
@@ -20,7 +20,7 @@
20
20
 
21
21
  module Bake
22
22
  module Types
23
- module Integer
23
+ module Float
24
24
  def self.composite?
25
25
  false
26
26
  end
data/lib/bake/version.rb CHANGED
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Bake
22
- VERSION = "0.5.0"
22
+ VERSION = "0.5.1"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams