beer_recipe 0.4.16 → 0.4.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b71236b39d6959ee06a0c70878d36d2e2cfd2c62
4
- data.tar.gz: 3a31d59a4ce551a119b05d037cc99d8c3fc4a58c
3
+ metadata.gz: 89e5c4f8ae3c177c08b83f1cba371422af32e9ba
4
+ data.tar.gz: 407eaa107cac9d91ac9be6b76f6e085c42d64138
5
5
  SHA512:
6
- metadata.gz: 7c1871a69e79ad5c2acc473e54cf24c53b8d96d842a542e6d70c831b836e6a590934f7cf58221ad9bbf90e6d6c5b44a04989bce2ceda48638fe87c34f9a2beeb
7
- data.tar.gz: a7723d13437ae71c8ad1b4ac1db5941ed75673acf0fc35e4cb284bce604722a1d9b74e1a277ccda45c47a5768c8cfb3d75605ad5488acf7ea7d2f97c639d3ae4
6
+ metadata.gz: 2bb8337c56101a25b8fc499b5b731ce4fd7ed0b3c0ef103baa0f7224cda485533c7e77fcd33d110e0acb960a90602d47d7be7aa87ef31ea547ebf33e8a223f2f
7
+ data.tar.gz: 47367432c4c30270a98417d6c48db4bb16d73668c36d45a26a91e3476d263323ee8d47d9fc75dc3ae200c72c481792474aca45677dcb7ec131b6323aae64ddf3
@@ -72,11 +72,11 @@ class BeerRecipe::RecipeWrapper < BeerRecipe::Wrapper
72
72
  end
73
73
 
74
74
  def og
75
- @og ||= @actual_values && actual_og > 0 ? actual_og : estimated_og || 0
75
+ @og ||= @actual_values && actual_og > 0 ? actual_og : estimated_og || actual_og || 0
76
76
  end
77
77
 
78
78
  def fg
79
- @fg ||= @actual_values && actual_fg > 0 ? actual_fg : estimated_fg || 0
79
+ @fg ||= @actual_values && actual_fg > 0 ? actual_fg : estimated_fg || actual_fg || 0
80
80
  end
81
81
 
82
82
  def actual_abv
@@ -1,3 +1,3 @@
1
1
  module BeerRecipe
2
- VERSION = '0.4.16'
2
+ VERSION = '0.4.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beer_recipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.16
4
+ version: 0.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olle Johansson