qui-tabs 0.0.2 → 0.0.3
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/Rakefile +1 -1
- data/lib/qui-tabs-main-helper.rb +2 -2
- metadata +4 -4
data/Rakefile
CHANGED
|
@@ -9,7 +9,7 @@ begin
|
|
|
9
9
|
gemspec.email = "marcin@saepia.net"
|
|
10
10
|
gemspec.homepage = "http://q.saepia.net"
|
|
11
11
|
gemspec.authors = ["Marcin Lewandowski"]
|
|
12
|
-
gemspec.version = "0.0.
|
|
12
|
+
gemspec.version = "0.0.3"
|
|
13
13
|
gemspec.files = Rake::FileList.new [ "MIT-LICENSE", "Rakefile", "public/stylesheets/qui/*", "public/javascripts/qui/*", "lib/*", "rails/*", "README.rdoc" ]
|
|
14
14
|
end
|
|
15
15
|
rescue LoadError
|
data/lib/qui-tabs-main-helper.rb
CHANGED
|
@@ -68,7 +68,7 @@ END
|
|
|
68
68
|
elsif tab[:header][:inline]
|
|
69
69
|
header = ERB.new(tab[:header][:inline]).result
|
|
70
70
|
elsif tab[:header][:partial]
|
|
71
|
-
header = capture { render :partial => tab[:header][:partial] }
|
|
71
|
+
header = capture { render :partial => tab[:header][:partial], :locals => tab[:header][:locals] }
|
|
72
72
|
else
|
|
73
73
|
header = ""
|
|
74
74
|
end
|
|
@@ -84,7 +84,7 @@ END
|
|
|
84
84
|
elsif tab[:body][:inline]
|
|
85
85
|
body = ERB.new(tab[:body][:inline]).result
|
|
86
86
|
elsif tab[:body][:partial]
|
|
87
|
-
body = capture { render :partial => tab[:body][:partial] }
|
|
87
|
+
body = capture { render :partial => tab[:body][:partial], :locals => tab[:body][:locals] }
|
|
88
88
|
else
|
|
89
89
|
body = ""
|
|
90
90
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qui-tabs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Marcin Lewandowski
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-27 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|