css3-progress-bar-rails 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,12 +49,12 @@ module Css3ProgressBarsHelper
49
49
  handle_tiny_classes(html_classes)
50
50
  end
51
51
 
52
- bars = ''
53
- percentages[0..4].each_with_index do |p, i|
54
- bars += bar_div((html_classes[:bar_classes] << bar_colors[i]), bar_style(p))
52
+ mortice_html = content_tag(:div, :class => html_classes[:mortice_classes].join(' ')) do
53
+ percentages[0..4].each_with_index do |p, i|
54
+ concat(bar_div((html_classes[:bar_classes] + [bar_colors[i]]), bar_style(p)))
55
+ end
55
56
  end
56
57
 
57
- mortice_html = mortice_div(bars, html_classes[:mortice_classes])
58
58
  content_tag :div, mortice_html, :class => html_classes[:container_classes].join(' ')
59
59
  end
60
60
 
@@ -2,7 +2,7 @@ module Css3
2
2
  module Progress
3
3
  module Bar
4
4
  module Rails
5
- VERSION = "0.0.5"
5
+ VERSION = "0.0.6"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css3-progress-bar-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nicholas Fine