rails-theme-helper 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bcb2fdf9664c85d68f235a08ca9f18b850742677
|
4
|
+
data.tar.gz: 38f57caf4709886f32522f40657c4c784ab282e3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cc3ead232c6e715d932b8a4a22afaa3f82c68cf2d40b1bdd8301ea92179998858e537313edf98df78fc29f331699ed3d06ec3d4f09668872c92633da84ff5165
|
7
|
+
data.tar.gz: c1e82dc1f7c664d1a9c43319ce4ef27de74d8923a08ea23b8f17d11d1d14a3b731a5d2a06bfcaf94f62325c2ed7ea1ddde725c8e515aaa00c01d9fce181110f8
|
@@ -34,7 +34,7 @@ module RailsTheme
|
|
34
34
|
tab_class = 'tab-pane fade'
|
35
35
|
tab_class << ' active in' if active
|
36
36
|
content_tag :div, class: tab_class, id: tag_id do
|
37
|
-
yield
|
37
|
+
yield active if block_given?
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
@@ -44,12 +44,12 @@ module RailsTheme
|
|
44
44
|
[ link_to_remote_tab(text, url, "##{tag_id}"), { class: li_class } ]
|
45
45
|
end
|
46
46
|
|
47
|
-
def remote_tab_pane url, tag_id, default
|
47
|
+
def remote_tab_pane url, tag_id, default
|
48
48
|
active = current_page?(url) || tag_id == default
|
49
49
|
tab_class = 'tab-pane fade'
|
50
50
|
tab_class << ' active in' if active
|
51
51
|
content_tag :div, class: tab_class, id: tag_id do
|
52
|
-
|
52
|
+
yield active if block_given?
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
metadata
CHANGED
@@ -1,62 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-theme-helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Tse-Ching Ho
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-05-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: railties
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.1.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: jquery-rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rails-i18n
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: This gem helps you build themes for rails
|
@@ -94,32 +87,25 @@ files:
|
|
94
87
|
- rails-theme-helper.gemspec
|
95
88
|
homepage: https://github.com/tsechingho/rails-theme-helper
|
96
89
|
licenses: []
|
90
|
+
metadata: {}
|
97
91
|
post_install_message:
|
98
92
|
rdoc_options: []
|
99
93
|
require_paths:
|
100
94
|
- lib
|
101
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
-
none: false
|
103
96
|
requirements:
|
104
|
-
- -
|
97
|
+
- - '>='
|
105
98
|
- !ruby/object:Gem::Version
|
106
99
|
version: '0'
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
hash: 2562249329077646014
|
110
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
101
|
requirements:
|
113
|
-
- -
|
102
|
+
- - '>='
|
114
103
|
- !ruby/object:Gem::Version
|
115
104
|
version: '0'
|
116
|
-
segments:
|
117
|
-
- 0
|
118
|
-
hash: 2562249329077646014
|
119
105
|
requirements: []
|
120
106
|
rubyforge_project:
|
121
|
-
rubygems_version:
|
107
|
+
rubygems_version: 2.0.0
|
122
108
|
signing_key:
|
123
|
-
specification_version:
|
109
|
+
specification_version: 4
|
124
110
|
summary: helps you build themes for rails
|
125
111
|
test_files: []
|