yui-on-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -23,21 +23,21 @@ module YuiOnRails
23
23
  end
24
24
 
25
25
  def render
26
- content_tag(:div,(render_tabs+render_bodies),{:id=>:tabs}.merge(@options))
26
+ content_tag(:div,(render_tabs+render_bodies),{:id=>:tabs, :class=>"tabber"}.merge(@options))
27
27
  end
28
28
 
29
29
  private # ---------------------------------------------------------------------------
30
30
  def render_tabs
31
31
  content_tag :ul do
32
32
  @tabs.collect do |tab|
33
- content_tag( :li, link_to( content_tag( :span, tab[1] ), "##{tab[0]}" ) )
33
+ content_tag(:li,link_to(content_tag(:em, tab[1] ), "##{tab[0]}"))
34
34
  end.join
35
35
  end
36
36
  end
37
37
 
38
38
  def render_bodies
39
39
  @tabs.collect do |tab|
40
- content_tag( :div, capture( &tab[3] ), tab[2].merge( :id => tab[0] ) )
40
+ content_tag(:div,capture(&tab[3]),tab[2].merge(:id => tab[0]))
41
41
  end.join.to_s
42
42
  end
43
43
 
data/yui-on-rails.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yui-on-rails}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand