cuporter 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/cuporter/formatters/html.rb +14 -3
- metadata +4 -4
data/Rakefile
CHANGED
@@ -46,13 +46,23 @@ module Cuporter
|
|
46
46
|
$("#collapser").css('cursor', 'pointer');
|
47
47
|
$("#collapser").click(function() {
|
48
48
|
$(TAGS).siblings().hide();
|
49
|
+
$(FEATURES).siblings().hide();
|
49
50
|
});
|
50
51
|
|
51
|
-
$("#
|
52
|
-
$("#
|
52
|
+
$("#expand_tags").css('cursor', 'pointer');
|
53
|
+
$("#expand_tags").click(function() {
|
54
|
+
$(TAGS).siblings().show();
|
55
|
+
$(FEATURES).siblings().hide();
|
56
|
+
});
|
57
|
+
|
58
|
+
$("#expand_all").css('cursor', 'pointer');
|
59
|
+
$("#expand_all").click(function() {
|
53
60
|
$(TAGS).siblings().show();
|
54
61
|
$(FEATURES).siblings().show();
|
55
62
|
});
|
63
|
+
|
64
|
+
// load page with features collapsed
|
65
|
+
$("#expand_tags").click();
|
56
66
|
})
|
57
67
|
|
58
68
|
EOF
|
@@ -77,7 +87,8 @@ module Cuporter
|
|
77
87
|
<h1>Cucumber Tags</h1>
|
78
88
|
</div>
|
79
89
|
<div id="expand-collapse">
|
80
|
-
<p id="
|
90
|
+
<p id="expand_tags">Expand Tags</p>
|
91
|
+
<p id="expand_all">Expand All</p>
|
81
92
|
<p id="collapser">Collapse All</p>
|
82
93
|
</div>
|
83
94
|
</div>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tim Camper
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-24 00:00:00 -04:00
|
19
19
|
default_executable: cuporter
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|