Skip to content

Commit

Permalink
Added various directories and files
Browse files Browse the repository at this point in the history
  • Loading branch information
voidstar69 committed Aug 24, 2012
1 parent 232022a commit aff5e69
Show file tree
Hide file tree
Showing 64 changed files with 2,738 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/views/movies/match_director.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
%h2 Similar Movies to '#{@movie.title}'

%h2 Movies by director '#{@movie.director}'

-# = if @movie.title.empty?
-# %h3 '#{@movie.title}' has no director info
%ul#details
- @similar_movies.each do |movie|
%li
= movie.title
8 changes: 8 additions & 0 deletions config/cucumber.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
7 changes: 7 additions & 0 deletions coverage/.resultset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"RSpec": {
"coverage": {
},
"timestamp": 1345382440
}
}
88 changes: 88 additions & 0 deletions coverage/assets/0.5.3/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
$(document).ready(function() {
// Configuration for fancy sortable tables for source file groups
$('.file_list').dataTable({
"aaSorting": [[ 1, "asc" ]],
"bPaginate": false,
"bJQueryUI": true,
"aoColumns": [
null,
{ "sType": "percent" },
null,
null,
null,
null,
null
]
});

// Syntax highlight all files up front - deactivated
// $('.source_table pre code').each(function(i, e) {hljs.highlightBlock(e, ' ')});

// Syntax highlight source files on first toggle of the file view popup
$("a.src_link").click(function() {
// Get the source file element that corresponds to the clicked element
var source_table = $($(this).attr('href'));

// If not highlighted yet, do it!
if (!source_table.hasClass('highlighted')) {
source_table.find('pre code').each(function(i, e) {hljs.highlightBlock(e, ' ')});
source_table.addClass('highlighted');
};
});

// Set-up of popup for source file views
$("a.src_link").fancybox({
'hideOnContentClick': true,
'centerOnScroll': true,
'width': '90%',
'padding': 0,
'transitionIn': 'elastic'
});

// Hide src files and file list container after load
$('.source_files').hide();
$('.file_list_container').hide();

// Add tabs based upon existing file_list_containers
$('.file_list_container h2').each(function(){
var container_id = $(this).parent().attr('id');
var group_name = $(this).find('.group_name').first().html();
var covered_percent = $(this).find('.covered_percent').first().html();

$('.group_tabs').append('<li><a href="#' + container_id + '">' + group_name + ' ('+ covered_percent +')</a></li>');
});

$('.group_tabs a').each( function() {
$(this).addClass($(this).attr('href').replace('#', ''));
});

// Make sure tabs don't get ugly focus borders when active
$('.group_tabs a').live('focus', function() { $(this).blur(); });

var favicon_path = $('link[rel="shortcut icon"]').attr('href');
$('.group_tabs a').live('click', function(){
if (!$(this).parent().hasClass('active')) {
$('.group_tabs a').parent().removeClass('active');
$(this).parent().addClass('active');
$('.file_list_container').hide();
$(".file_list_container" + $(this).attr('href')).show();
window.location.href = window.location.href.split('#')[0] + $(this).attr('href').replace('#', '#_');

// Force favicon reload - otherwise the location change containing anchor would drop the favicon...
// Works only on firefox, but still... - Anyone know a better solution to force favicon on local file?
$('link[rel="shortcut icon"]').remove();
$('head').append('<link rel="shortcut icon" type="image/png" href="'+ favicon_path +'" />');
};
return false;
});

if (jQuery.url.attr('anchor')) {
$('.group_tabs a.'+jQuery.url.attr('anchor').replace('_', '')).click();
} else {
$('.group_tabs a:first').click();
};

$("abbr.timeago").timeago();
$('#loading').fadeOut();
$('#wrapper').show();
});
Binary file added coverage/assets/0.5.3/fancybox/blank.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_nav_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_se.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_shadow_w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_title_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_title_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_title_over.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancy_title_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancybox-x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancybox-y.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.5.3/fancybox/fancybox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit aff5e69

Please sign in to comment.