beer_recipe 0.4.17 → 0.4.18

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: 89e5c4f8ae3c177c08b83f1cba371422af32e9ba
4
- data.tar.gz: 407eaa107cac9d91ac9be6b76f6e085c42d64138
3
+ metadata.gz: 2642539038d3d602d78b6c1faab8d58e21dd7ab6
4
+ data.tar.gz: d8ebd40ae5789ccb19648c8c84debacaa924b962
5
5
  SHA512:
6
- metadata.gz: 2bb8337c56101a25b8fc499b5b731ce4fd7ed0b3c0ef103baa0f7224cda485533c7e77fcd33d110e0acb960a90602d47d7be7aa87ef31ea547ebf33e8a223f2f
7
- data.tar.gz: 47367432c4c30270a98417d6c48db4bb16d73668c36d45a26a91e3476d263323ee8d47d9fc75dc3ae200c72c481792474aca45677dcb7ec131b6323aae64ddf3
6
+ metadata.gz: 91762cc479eecc95b8482e01cfaec257146d40105d82d551f1de811cbe2198099a8ef5a1bbb0f99aa1477a71187121f2a1b7eacc9e6215e3b248f3af6532d2df
7
+ data.tar.gz: cc039194f3709e454a42c7d681dbe80c4c5f62c9fa6f948dbdca515af9774f8eeb723d79aefbb2b65fcb2274ba52bb216bef358c07777427e358acc9c3a42aaa
@@ -96,7 +96,7 @@ class BeerRecipe::RecipeWrapper < BeerRecipe::Wrapper
96
96
  end
97
97
 
98
98
  def ibu
99
- @ibu ||= @actual_values && calculated_ibu > 0 ? calculated_ibu : estimated_ibu
99
+ @ibu ||= @actual_values && calculated_ibu > 0 ? calculated_ibu : estimated_ibu || calculated_ibu
100
100
  end
101
101
 
102
102
  def strip_unit(value)
@@ -1,3 +1,3 @@
1
1
  module BeerRecipe
2
- VERSION = '0.4.17'
2
+ VERSION = '0.4.18'
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.17
4
+ version: 0.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olle Johansson