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 CHANGED
@@ -56,7 +56,7 @@ namespace :cuporter do
56
56
 
57
57
  spec = Gem::Specification.new do |s|
58
58
  s.name = 'cuporter'
59
- s.version = '0.2.6'
59
+ s.version = '0.2.7'
60
60
  s.rubyforge_project = s.name
61
61
 
62
62
  s.platform = Gem::Platform::RUBY
@@ -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
- $("#expander").css('cursor', 'pointer');
52
- $("#expander").click(function() {
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="expander">Expand All</p>
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
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 00:00:00 -04:00
18
+ date: 2010-09-24 00:00:00 -04:00
19
19
  default_executable: cuporter
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency