chartspec 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chartspec.rb +3 -1
- data/lib/chartspec/ext/turnip/rspec.rb +1 -1
- data/lib/chartspec/formatter.rb +3 -3
- data/lib/chartspec/version.rb +1 -1
- data/templates/chartspec.html.erb +6 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f443152f4af9b7d51d90acb33d2b68ba4492dd5
|
4
|
+
data.tar.gz: 82a31469817588baca2d38f2e14f1e292dfd2e0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 243c877c4be49d7098cf0e20c3778aab349369fcf44df40581342630c44ca423345d80d5eba6f7f7b374c586a7db2583d714ba69a8b7d690d0acfc8d00a2583e
|
7
|
+
data.tar.gz: effddac83c3393a5a2605a5d1f4b16f6c63f72ccad02c10e4bf5a9c79e4ee968c1c67bc9608a95e627a7b1bb20546ddbdd577179286f4134e50941ae4412b1e0
|
data/lib/chartspec.rb
CHANGED
data/lib/chartspec/formatter.rb
CHANGED
@@ -58,7 +58,7 @@ module Chartspec
|
|
58
58
|
|
59
59
|
def example_passed(passed)
|
60
60
|
putc RSpec::Core::Formatters::ConsoleCodes.wrap('.', :success)
|
61
|
-
@printer.print_example_passed(passed.example.description, passed.example.execution_result.run_time, passed.example.metadata[:
|
61
|
+
@printer.print_example_passed(passed.example.description, passed.example.execution_result.run_time, passed.example.metadata[:chartspec_turnip])
|
62
62
|
@db.add(
|
63
63
|
passed.example.metadata[:file_path],
|
64
64
|
passed.example.example_group,
|
@@ -74,12 +74,12 @@ module Chartspec
|
|
74
74
|
@header_red = true
|
75
75
|
end
|
76
76
|
@printer.print_example_failed(@example_number, failure.example.metadata[:file_path], failure.example.description, failure.example.execution_result.run_time,
|
77
|
-
failure.example.exception.message, failure.example.exception.backtrace, failure.example.metadata[:
|
77
|
+
failure.example.exception.message, failure.example.exception.backtrace, failure.example.metadata[:chartspec_turnip])
|
78
78
|
end
|
79
79
|
|
80
80
|
def example_pending(pending)
|
81
81
|
putc RSpec::Core::Formatters::ConsoleCodes.wrap('*', :pending)
|
82
|
-
@printer.print_example_pending(pending.example.description, pending.example.execution_result.pending_message, pending.example.metadata[:
|
82
|
+
@printer.print_example_pending(pending.example.description, pending.example.execution_result.pending_message, pending.example.metadata[:chartspec_turnip])
|
83
83
|
end
|
84
84
|
|
85
85
|
def dump_failures(notification)
|
data/lib/chartspec/version.rb
CHANGED
@@ -62,14 +62,13 @@
|
|
62
62
|
$(window).bind('resize', function(event, ui) {
|
63
63
|
chart.replot( { resetAxes: true } );
|
64
64
|
});
|
65
|
-
|
66
|
-
$(document).ready(function(){
|
67
|
-
$(".show_backtrace").click(function() {
|
68
|
-
$($(this).attr('href')).removeClass('hide');
|
69
|
-
$(this).hide();
|
70
|
-
});
|
71
|
-
});
|
72
65
|
}
|
66
|
+
$(document).ready(function(){
|
67
|
+
$(".show_backtrace").click(function() {
|
68
|
+
$($(this).attr('href')).removeClass('hide');
|
69
|
+
$(this).hide();
|
70
|
+
});
|
71
|
+
});
|
73
72
|
</script>
|
74
73
|
</head>
|
75
74
|
<body>
|