beer_recipe 0.4.4 → 0.4.5

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: e37fba916d446ebaf2a70aeddaa14bed5a57ec92
4
- data.tar.gz: 743c134364ea2f89a41fa2c5e0d51c6a5b74203b
3
+ metadata.gz: eb89a375b81e9acad7770f2e994df045ad10c9f3
4
+ data.tar.gz: 63a0c37c7b5a1ec44c48cae060cd2db42ba297d6
5
5
  SHA512:
6
- metadata.gz: c1bdeb18556929ae818c8429d96a010d1befbe6c40d5b05626385f8c39347ef350812b1f6218bba654e4a4d936b35d6ebf5353a0a8b9289efe91a1d0e020c992
7
- data.tar.gz: d09a7ada40ae086ec201ae8b03a7c21b3b1822e8e1e7b92d1fc9a48ebd414b7691d63c2ed37e31a7a8e383370ee25fc82bd2527faca984bc8ee1899c32bf49dc
6
+ metadata.gz: ac0dd8723e6b20cbe4538651695dd01694f08d7252d73e2d80f776cae2cfe3b11e6b6de7e7fc5e4d1af5423d4bf09f2d7f87fde131deab0770b3d32de4cae574
7
+ data.tar.gz: 48f5a867f24cc40b648921e330b0d04038d2df18142fbb3641e57bdd690c79e0afea55d90a311523def706803de570ea2a19a22bbb4ae96a2b7ac3f406773164
@@ -8,7 +8,7 @@ class BeerRecipe::MiscWrapper < BeerRecipe::Wrapper
8
8
  end
9
9
 
10
10
  def formatted_amount
11
- "#{'%.1f' % (1000 * amount)}"
11
+ "#{'%.0f' % (1000 * amount)}"
12
12
  end
13
13
 
14
14
  def formatted_time
@@ -1,3 +1,3 @@
1
1
  module BeerRecipe
2
- VERSION = '0.4.4'
2
+ VERSION = '0.4.5'
3
3
  end
data/locales/en.yml CHANGED
@@ -86,8 +86,12 @@ misc_use_for: Use for
86
86
  misc_time: Time
87
87
  Fining: Fining
88
88
  Herb: Herb
89
+ Spice: Spice
90
+ Flavor: Flavor
89
91
  Other: Other
90
92
  Secondary: Secondary
91
93
  Yeast Nutrient: Yeast Nutrient
92
94
  Ginger Root: Ginger Root
93
95
  Fermentation: Fermentation
96
+ Coffee: Coffee
97
+ Seeds of Paradise: Seeds of Paradise
data/locales/se.yml CHANGED
@@ -84,9 +84,13 @@ misc_use: Användning
84
84
  misc_use_for: Användningsområde
85
85
  misc_time: Tid
86
86
  Fining: Klarning
87
- Herb: Krydda
87
+ Herb: Ört
88
+ Spice: Krydda
89
+ Flavor: Smak
88
90
  Other: Övrigt
89
91
  Secondary: Sekundär
90
92
  Yeast Nutrient: Jästnäring
91
93
  Ginger Root: Ingefära
92
94
  Fermentation: Jäsning
95
+ Coffee: Kaffe
96
+ Seeds of Paradise: Paradisfrön
@@ -223,6 +223,7 @@
223
223
  </table>
224
224
  </section>
225
225
 
226
+ <% if miscs.count > 0 %>
226
227
  <section class="recipe_miscs">
227
228
  <h2><%= I18n.t(:miscs) %></h2>
228
229
  <table>
@@ -232,6 +233,7 @@
232
233
  <th><%= I18n.t(:misc_amount) %></th>
233
234
  <th><%= I18n.t(:misc_type) %></th>
234
235
  <th><%= I18n.t(:misc_use) %></th>
236
+ <th><%= I18n.t(:misc_time) %></th>
235
237
  </tr>
236
238
  </thead>
237
239
  <tbody>
@@ -249,6 +251,7 @@
249
251
  </tbody>
250
252
  </table>
251
253
  </section>
254
+ <% end %>
252
255
 
253
256
  <section class="recipe_hops">
254
257
  <h2><%= I18n.t(:hops) %></h2>
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.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olle Johansson