yui-on-rails 0.1.3 → 0.1.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -17,9 +17,9 @@ module YuiOnRails
17
17
  yield self
18
18
  end
19
19
 
20
- def create(tab_id,tab_text,options={},&block)
20
+ def create(tab_id,tab_text,li_options={},options={},&block)
21
21
  raise "Block needed for TabsRenderer#CREATE" unless block_given?
22
- @tabs << [ tab_id, tab_text, options, block ]
22
+ @tabs << [ tab_id, tab_text, options, block, li_options ]
23
23
  end
24
24
 
25
25
  def render
@@ -30,7 +30,7 @@ module YuiOnRails
30
30
  def render_tabs
31
31
  content_tag :ul, :class=>"yui-nav" do
32
32
  @tabs.collect do |tab|
33
- content_tag(:li,link_to(content_tag(:em, tab[1] ), "##{tab[0]}"))
33
+ content_tag(:li,link_to(content_tag(:em, tab[1],tab[4]), "##{tab[0]}"))
34
34
  end.join
35
35
  end
36
36
  end
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.3"
8
+ s.version = "0.1.4"
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
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand