woople-theme 0.5.11 → 0.5.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
- require 'duration'
2
1
  require 'woople_theme_i18n'
3
2
 
4
3
  module WoopleTheme
@@ -22,7 +21,7 @@ module WoopleTheme
22
21
  end
23
22
 
24
23
  def render_essential_duration(&block)
25
- yield(formatted_duration)
24
+ yield(time_total)
26
25
  end
27
26
 
28
27
  private
@@ -30,11 +29,6 @@ module WoopleTheme
30
29
  def formatted_date
31
30
  WoopleThemeI18n.l(completed_on.to_date)
32
31
  end
33
-
34
- def formatted_duration
35
- Duration.format_time(time_total)
36
- end
37
-
38
32
  end
39
33
  end
40
34
  end
@@ -1,3 +1,3 @@
1
1
  module WoopleTheme
2
- VERSION = '0.5.11'
2
+ VERSION = '0.5.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woople-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: