spurs 0.0.5.alpha.5 → 0.0.5.alpha.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,11 @@ module Spurs
33
33
  extra_class = options[:type] ? "alert-#{options[:type]}" : ""
34
34
  alert_content = String.new
35
35
  if options[:title]
36
- alert_content.concat(content_tag(:h4, options[:title], :class => 'alert-heading'))
36
+ titl = options[:title]
37
+ if options[:title_icon]
38
+ titl = "<i class='icon-#{options[:title_icon]}' style='margin-right: 6px'></i>".concat(titl)
39
+ end
40
+ alert_content.concat(content_tag(:h4, titl.html_safe, :class => 'alert-heading'))
37
41
  end
38
42
  if block
39
43
  block_content = capture(nil, &block)
data/lib/spurs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spurs
2
- VERSION = "0.0.5.alpha.5"
2
+ VERSION = "0.0.5.alpha.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spurs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.alpha.5
4
+ version: 0.0.5.alpha.6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-08 00:00:00.000000000 Z
12
+ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  segments:
240
240
  - 0
241
- hash: 4378797560093800221
241
+ hash: -1723139240918093185
242
242
  required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  none: false
244
244
  requirements: