Permalink
Browse files

Moving it to GitHub

  • Loading branch information...
0 parents commit b62710798f2df7f052402ef82e8f6ea79c8945b5 Jarred Sumner committed Nov 16, 2011
Showing 346 changed files with 186,412 additions and 0 deletions.
@@ -0,0 +1,2 @@
+---
+BUNDLE_WITHOUT: production
1 .rspec
@@ -0,0 +1 @@
+--colour
@@ -0,0 +1,8 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+
+# Uncomment if you are using Rails' asset pipeline
+# load 'deploy/assets'
+
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
47 Gemfile
@@ -0,0 +1,47 @@
+source 'http://rubygems.org'
+
+# Ruby on Rails
+gem 'rails'
+
+# Documents
+gem 'rscribd'
+
+# Attachments
+gem 'paperclip'
+
+# Better Forms
+gem 'formtastic'
+
+# Easier Debugging
+gem 'pry'
+
+# Authentication
+gem 'devise'
+
+# Database
+gem 'sqlite3'
+
+# User Roles
+gem 'cancan'
+
+# Views & Assets
+gem 'sass-rails'
+gem 'coffee-rails'
+gem 'uglifier'
+gem 'jquery-rails'
+
+# Amazon S3
+gem 'aws-s3'
+
+# Javascript Library
+gem 'execjs'
+
+# Deployment
+gem 'capistrano'
+
+group :test do
+ gem 'steak'
+end
+
+gem 'pg'
+gem 'therubyracer'
@@ -0,0 +1,230 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.1)
+ actionpack (= 3.1.1)
+ mail (~> 2.3.0)
+ actionpack (3.1.1)
+ activemodel (= 3.1.1)
+ activesupport (= 3.1.1)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.2)
+ rack-cache (~> 1.1)
+ rack-mount (~> 0.8.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.0.2)
+ activemodel (3.1.1)
+ activesupport (= 3.1.1)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.1)
+ activemodel (= 3.1.1)
+ activesupport (= 3.1.1)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.1.1)
+ activemodel (= 3.1.1)
+ activesupport (= 3.1.1)
+ activesupport (3.1.1)
+ multi_json (~> 1.0)
+ arel (2.2.1)
+ aws-s3 (0.6.2)
+ builder
+ mime-types
+ xml-simple
+ bcrypt-ruby (3.0.1)
+ bcrypt-ruby (3.0.1-x86-mingw32)
+ builder (3.0.0)
+ cancan (1.6.7)
+ capistrano (2.9.0)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
+ capybara (1.1.1)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (~> 2.0)
+ xpath (~> 0.1.4)
+ childprocess (0.2.2)
+ ffi (~> 1.0.6)
+ cocaine (0.2.0)
+ coderay (0.9.8)
+ coffee-rails (3.1.1)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.1.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.1.2)
+ devise (1.4.9)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.0.3)
+ warden (~> 1.0.3)
+ diff-lcs (1.1.3)
+ erubis (2.7.0)
+ execjs (1.2.9)
+ multi_json (~> 1.0)
+ ffi (1.0.9)
+ ffi (1.0.9-x86-mingw32)
+ formtastic (2.0.2)
+ rails (~> 3.0)
+ highline (1.6.5)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.16)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.6.1)
+ json_pure (1.6.1)
+ libv8 (3.3.10.2)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ method_source (0.6.7)
+ ruby_parser (>= 2.3.1)
+ mime-types (1.17.2)
+ multi_json (1.0.3)
+ net-scp (1.0.4)
+ net-ssh (>= 1.99.1)
+ net-sftp (2.0.5)
+ net-ssh (>= 2.0.9)
+ net-ssh (2.2.1)
+ net-ssh-gateway (1.1.0)
+ net-ssh (>= 1.99.1)
+ nokogiri (1.5.0)
+ nokogiri (1.5.0-x86-mingw32)
+ orm_adapter (0.0.5)
+ paperclip (2.4.5)
+ activerecord (>= 2.3.0)
+ activesupport (>= 2.3.2)
+ cocaine (>= 0.0.2)
+ mime-types
+ pg (0.11.0)
+ polyglot (0.3.3)
+ pry (0.9.7.3)
+ coderay (~> 0.9.8)
+ method_source (~> 0.6.7)
+ ruby_parser (>= 2.3.1)
+ slop (~> 2.1.0)
+ pry (0.9.7.3-x86-mingw32)
+ coderay (~> 0.9.8)
+ method_source (~> 0.6.7)
+ ruby_parser (>= 2.3.1)
+ slop (~> 2.1.0)
+ win32console (~> 1.3.0)
+ rack (1.3.5)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-mount (0.8.3)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.1.1)
+ actionmailer (= 3.1.1)
+ actionpack (= 3.1.1)
+ activerecord (= 3.1.1)
+ activeresource (= 3.1.1)
+ activesupport (= 3.1.1)
+ bundler (~> 1.0)
+ railties (= 3.1.1)
+ railties (3.1.1)
+ actionpack (= 3.1.1)
+ activesupport (= 3.1.1)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.11)
+ json (~> 1.4)
+ rscribd (1.3.0)
+ mime-types
+ rspec (2.7.0)
+ rspec-core (~> 2.7.0)
+ rspec-expectations (~> 2.7.0)
+ rspec-mocks (~> 2.7.0)
+ rspec-core (2.7.1)
+ rspec-expectations (2.7.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.7.0)
+ rspec-rails (2.7.0)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.7.0)
+ ruby_parser (2.3.1)
+ sexp_processor (~> 3.0)
+ rubyzip (0.9.4)
+ sass (3.1.10)
+ sass-rails (3.1.4)
+ actionpack (~> 3.1.0)
+ railties (~> 3.1.0)
+ sass (>= 3.1.4)
+ sprockets (~> 2.0.0)
+ tilt (~> 1.3.2)
+ selenium-webdriver (2.10.0)
+ childprocess (>= 0.2.1)
+ ffi (= 1.0.9)
+ json_pure
+ rubyzip
+ sexp_processor (3.0.7)
+ slop (2.1.0)
+ sprockets (2.0.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.4)
+ sqlite3 (1.3.4-x86-mingw32)
+ steak (2.0.0)
+ capybara (>= 1.0.0)
+ rspec-rails (>= 2.5.0)
+ therubyracer (0.9.8)
+ libv8 (~> 3.3.10)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.30)
+ uglifier (1.0.4)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ warden (1.0.6)
+ rack (>= 1.0)
+ win32console (1.3.0-x86-mingw32)
+ xml-simple (1.1.1)
+ xpath (0.1.4)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+ x86-mingw32
+
+DEPENDENCIES
+ aws-s3
+ cancan
+ capistrano
+ coffee-rails
+ devise
+ execjs
+ formtastic
+ jquery-rails
+ paperclip
+ pg
+ pry
+ rails
+ rscribd
+ sass-rails
+ sqlite3
+ steak
+ therubyracer
+ uglifier
@@ -0,0 +1,11 @@
+{
+ "folders":
+ [
+ {
+ "path": "/D/Programming/Jantire"
+ },
+ {
+ "path": "/Volumes/Storage/Programming/Jantire"
+ }
+ ]
+}
9 README
@@ -0,0 +1,9 @@
+== Jantire
+
+Jantire was a digital turn-in box for homework that's graded on completion.
+
+I'm not working on it anymore.
+
+Feel free to do whatever you want with it.
+
+Beware, I didn't write any tests and there are several UX issues.
@@ -0,0 +1,9 @@
+#!/usr/bin/env rake
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require 'rake/dsl_definition'
+require 'rake'
+require File.expand_path('../config/application', __FILE__)
+
+Jantire::Application.load_tasks
@@ -0,0 +1 @@
+Up arrow - http://www.iconfinder.com/icondetails/63448/128/arrow_up_upload_icon
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,2 @@
+http://www.iconfinder.com/icondetails/2461/128/minus_red_remove_icon
+http://www.iconfinder.com/icondetails/22608/64/add_health_new_plus_icon
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,26 @@
+$("#turn_in").ready ->
+ $("#file").mouseenter ->
+ $("#turn_in_box").css "border", "2px solid #D9D9D9"
+ $("#turn_in_box").css "background", "#D9D9D9"
+ $("#turn_in_box").css "color", "#393939"
+ $("#turn_in_box").css "cursor", "pointer"
+ $("#turn_in_box").css "box-shadow" ,"0px 0px 0px transparent"
+ $("#file").mouseleave ->
+ $("#turn_in_box").css "border", "2px solid #D9D9D9"
+ $("#turn_in_box").css "background", "#393939"
+ $("#turn_in_box").css "color", "#D9D9D9"
+ $("#turn_in_box").css "cursor", "default"
+ $("#file").bind 'dragover', (evt) ->
+ evt.stopPropagation()
+ evt.preventDefault()
+ $("#file").bind 'drop', ->
+ $("#drag").css "display", "none"
+ $("#turn_in_assignment").text "Turning In Assignment..."
+ document.getElementById("submit").click()
+ $("#file").bind 'change', ->
+ $("#drag").css "display", "none"
+ $("#turn_in_assignment").text "Turning In Assignment..."
+ document.getElementById("submit").click()
+$("#assignments").ready ->
+ $(".assignment").click ->
+ window.location.pathname = $(this).attr("href")
@@ -0,0 +1,5 @@
+$("#index").ready ->
+ $(".course").click ->
+ window.location.pathname = $(this).attr("href")
+ $(".student").click ->
+ window.location.pathname = $(this).attr("href") unless $(this).hasClass("no_hover")
Oops, something went wrong.

0 comments on commit b627107

Please sign in to comment.