yui-on-rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yui-on-rails/tabs.rb +6 -4
- data/yui-on-rails.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/yui-on-rails/tabs.rb
CHANGED
@@ -28,7 +28,7 @@ module YuiOnRails
|
|
28
28
|
|
29
29
|
private # ---------------------------------------------------------------------------
|
30
30
|
def render_tabs
|
31
|
-
content_tag :ul do
|
31
|
+
content_tag :ul, :class=>"yui-nav" do
|
32
32
|
@tabs.collect do |tab|
|
33
33
|
content_tag(:li,link_to(content_tag(:em, tab[1] ), "##{tab[0]}"))
|
34
34
|
end.join
|
@@ -36,9 +36,11 @@ module YuiOnRails
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def render_bodies
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
content_tag :div, :class=>"yui-content" do
|
40
|
+
@tabs.collect do |tab|
|
41
|
+
content_tag(:div,capture(&tab[3]),tab[2].merge(:id => tab[0]))
|
42
|
+
end.join.to_s
|
43
|
+
end
|
42
44
|
end
|
43
45
|
|
44
46
|
def method_missing( *args, &block )
|
data/yui-on-rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{yui-on-rails}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
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"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-18}
|
13
13
|
s.description = %q{Quite a few helpers for yui.}
|
14
14
|
s.email = %q{jeff.durand@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- jeff durand
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-18 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|