simplecov-html 0.3.7 → 0.3.8
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/VERSION +1 -1
- data/assets/app.js +7 -0
- data/assets/favicon.png +0 -0
- data/lib/simplecov-html.rb +1 -0
- data/simplecov-html.gemspec +2 -1
- data/views/layout.erb +2 -0
- data/views/source_file.erb +1 -1
- metadata +3 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.8
|
data/assets/app.js
CHANGED
@@ -12,6 +12,7 @@ $(document).ready(function() {
|
|
12
12
|
null
|
13
13
|
]
|
14
14
|
});
|
15
|
+
|
15
16
|
$('.source_table tbody tr:odd').addClass('odd');
|
16
17
|
$('.source_table tbody tr:even').addClass('even');
|
17
18
|
|
@@ -36,6 +37,7 @@ $(document).ready(function() {
|
|
36
37
|
$(this).blur();
|
37
38
|
});
|
38
39
|
|
40
|
+
var favicon_path = $('link[rel="shortcut icon"]').attr('href')
|
39
41
|
$('.group_tabs a').live('click', function(){
|
40
42
|
if (!$(this).parent().hasClass('active')) {
|
41
43
|
$('.group_tabs a').parent().removeClass('active');
|
@@ -43,6 +45,11 @@ $(document).ready(function() {
|
|
43
45
|
$('.file_list_container').hide();
|
44
46
|
$(".file_list_container" + $(this).attr('href')).show();
|
45
47
|
window.location.href = window.location.href.split('#')[0] + $(this).attr('href').replace('#', '#_');
|
48
|
+
|
49
|
+
// Force favicon reload - otherwise the location change containing anchor would drop the favicon...
|
50
|
+
// Works only on firefox, but still... - Anyone know a better solution to force favicon?
|
51
|
+
$('link[rel="shortcut icon"]').remove();
|
52
|
+
$('head').append('<link rel="shortcut icon" type="image/png" href="'+ favicon_path +'" />');
|
46
53
|
};
|
47
54
|
return false;
|
48
55
|
});
|
data/assets/favicon.png
ADDED
Binary file
|
data/lib/simplecov-html.rb
CHANGED
data/simplecov-html.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{simplecov-html}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Christoph Olszowka"]
|
@@ -46,6 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
"assets/fancybox/fancybox.png",
|
47
47
|
"assets/fancybox/jquery.fancybox-1.3.1.css",
|
48
48
|
"assets/fancybox/jquery.fancybox-1.3.1.pack.js",
|
49
|
+
"assets/favicon.png",
|
49
50
|
"assets/jquery-1.4.2.min.js",
|
50
51
|
"assets/jquery.dataTables.min.js",
|
51
52
|
"assets/jquery.timeago.js",
|
data/views/layout.erb
CHANGED
@@ -12,6 +12,8 @@
|
|
12
12
|
<link href='<%= assets_path('stylesheet.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
13
13
|
<link href='<%= assets_path('fancybox/jquery.fancybox-1.3.1.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
14
14
|
<link href='<%= assets_path('smoothness/jquery-ui-1.8.4.custom.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
15
|
+
<link rel="shortcut icon" type="image/png" href="<%= assets_path('favicon.png') %>" />
|
16
|
+
<link rel="icon" type="image/png" href="<%= assets_path('favicon.png') %>" />
|
15
17
|
</head>
|
16
18
|
|
17
19
|
<body>
|
data/views/source_file.erb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 8
|
9
|
+
version: 0.3.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christoph Olszowka
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- assets/fancybox/fancybox.png
|
72
72
|
- assets/fancybox/jquery.fancybox-1.3.1.css
|
73
73
|
- assets/fancybox/jquery.fancybox-1.3.1.pack.js
|
74
|
+
- assets/favicon.png
|
74
75
|
- assets/jquery-1.4.2.min.js
|
75
76
|
- assets/jquery.dataTables.min.js
|
76
77
|
- assets/jquery.timeago.js
|