├── log └── .gitkeep ├── lib ├── tasks │ ├── .gitkeep │ └── test_tasks.rake ├── assets │ └── .gitkeep └── hackn │ └── github.rb ├── public ├── favicon.ico ├── robots.txt ├── 500.html ├── 422.html └── 404.html ├── spec ├── unit │ ├── .gitkeep │ ├── helpers │ │ └── .gitkeep │ ├── user_spec.rb │ ├── authorization_spec.rb │ └── question_spec.rb ├── fixtures │ ├── .gitkeep │ ├── authorizations.yml │ ├── users.yml │ └── questions.yml ├── functional │ ├── .gitkeep │ └── sessions_controller_spec.rb ├── integration │ └── .gitkeep ├── performance │ └── .gitkeep └── spec_helper.rb ├── app ├── helpers │ └── .gitkeep ├── mailers │ └── .gitkeep ├── models │ ├── .gitkeep │ ├── authorization.rb │ ├── user.rb │ └── question.rb ├── twitter-bootstrap-b261f97 │ ├── .travis.yml │ ├── docs │ │ ├── assets │ │ │ ├── img │ │ │ │ ├── bird.png │ │ │ │ ├── browsers.png │ │ │ │ ├── github-16px.png │ │ │ │ ├── icon-css3.png │ │ │ │ ├── icon-github.png │ │ │ │ ├── icon-html5.png │ │ │ │ ├── less-small.png │ │ │ │ ├── icon-twitter.png │ │ │ │ ├── grid-18px-masked.png │ │ │ │ ├── less-logo-large.png │ │ │ │ ├── example-sites │ │ │ │ │ ├── fleetio.png │ │ │ │ │ ├── jshint.png │ │ │ │ │ ├── kippt.png │ │ │ │ │ └── soundready.png │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ ├── bootstrap-mdo-sfmoma-01.jpg │ │ │ │ ├── bootstrap-mdo-sfmoma-02.jpg │ │ │ │ ├── bootstrap-mdo-sfmoma-03.jpg │ │ │ │ ├── glyphicons-halflings-white.png │ │ │ │ ├── responsive-illustrations.png │ │ │ │ ├── examples │ │ │ │ │ ├── bootstrap-example-hero.jpg │ │ │ │ │ ├── bootstrap-example-fluid.jpg │ │ │ │ │ └── bootstrap-example-starter.jpg │ │ │ │ └── glyphicons │ │ │ │ │ ├── glyphicons_009_magic.png │ │ │ │ │ ├── glyphicons_042_group.png │ │ │ │ │ ├── glyphicons_079_podium.png │ │ │ │ │ ├── glyphicons_163_iphone.png │ │ │ │ │ ├── glyphicons_082_roundabout.png │ │ │ │ │ ├── glyphicons_266_book_open.png │ │ │ │ │ ├── glyphicons_214_resize_small.png │ │ │ │ │ └── glyphicons_155_show_thumbnails.png │ │ │ ├── ico │ │ │ │ ├── favicon.ico │ │ │ │ ├── apple-touch-icon-57-precomposed.png │ │ │ │ ├── apple-touch-icon-72-precomposed.png │ │ │ │ ├── apple-touch-icon-114-precomposed.png │ │ │ │ └── apple-touch-icon-144-precomposed.png │ │ │ └── js │ │ │ │ ├── google-code-prettify │ │ │ │ └── prettify.css │ │ │ │ ├── bootstrap-transition.js │ │ │ │ ├── bootstrap-alert.js │ │ │ │ ├── bootstrap-button.js │ │ │ │ ├── bootstrap-dropdown.js │ │ │ │ ├── bootstrap-popover.js │ │ │ │ └── README.md │ │ ├── build │ │ │ ├── package.json │ │ │ └── index.js │ │ ├── templates │ │ │ └── pages │ │ │ │ └── examples.mustache │ │ └── examples │ │ │ └── starter-template.html │ ├── img │ │ ├── glyphicons-halflings.png │ │ └── glyphicons-halflings-white.png │ ├── less │ │ ├── grid.less │ │ ├── utilities.less │ │ ├── component-animations.less │ │ ├── layouts.less │ │ ├── responsive-768px-979px.less │ │ ├── hero-unit.less │ │ ├── responsive-1200px-min.less │ │ ├── breadcrumbs.less │ │ ├── wells.less │ │ ├── scaffolding.less │ │ ├── close.less │ │ ├── pager.less │ │ ├── accordion.less │ │ ├── tests │ │ │ └── css-tests.css │ │ ├── tooltip.less │ │ ├── thumbnails.less │ │ ├── responsive.less │ │ ├── pagination.less │ │ ├── alerts.less │ │ ├── popovers.less │ │ ├── responsive-utilities.less │ │ ├── code.less │ │ ├── bootstrap.less │ │ ├── labels-badges.less │ │ ├── modals.less │ │ ├── carousel.less │ │ ├── progress-bars.less │ │ ├── reset.less │ │ ├── responsive-767px-max.less │ │ └── dropdowns.less │ ├── js │ │ ├── .jshintrc │ │ ├── tests │ │ │ ├── server.js │ │ │ ├── unit │ │ │ │ ├── bootstrap-transition.js │ │ │ │ ├── bootstrap-phantom.js │ │ │ │ ├── bootstrap-carousel.js │ │ │ │ ├── bootstrap-scrollspy.js │ │ │ │ ├── bootstrap-collapse.js │ │ │ │ ├── bootstrap-alert.js │ │ │ │ ├── bootstrap-tab.js │ │ │ │ ├── bootstrap-button.js │ │ │ │ ├── bootstrap-popover.js │ │ │ │ └── bootstrap-dropdown.js │ │ │ ├── index.html │ │ │ └── phantom.js │ │ ├── bootstrap-transition.js │ │ ├── bootstrap-alert.js │ │ ├── bootstrap-button.js │ │ ├── bootstrap-dropdown.js │ │ └── bootstrap-popover.js │ ├── .gitignore │ └── package.json ├── assets │ ├── images │ │ ├── logo.png │ │ ├── madeby.png │ │ ├── paper.png │ │ ├── pawned.png │ │ ├── rails.png │ │ ├── wrong.png │ │ ├── rampage.png │ │ ├── screenbg.png │ │ ├── stripes.png │ │ ├── 9pixelments.png │ │ ├── background.png │ │ ├── logo_shine.png │ │ ├── monsterpawned.png │ │ └── paper-bottom.png │ ├── fonts │ │ ├── slkscr-webfont.eot │ │ ├── slkscr-webfont.ttf │ │ ├── slkscr-webfont.woff │ │ ├── slkscrb-webfont.eot │ │ ├── slkscrb-webfont.ttf │ │ ├── slkscre-webfont.eot │ │ ├── slkscre-webfont.ttf │ │ ├── slkscrb-webfont.woff │ │ ├── slkscre-webfont.woff │ │ ├── slkscreb-webfont.eot │ │ ├── slkscreb-webfont.ttf │ │ ├── slkscreb-webfont.woff │ │ ├── MyUnderwood-webfont.eot │ │ ├── MyUnderwood-webfont.ttf │ │ ├── MyUnderwood-webfont.woff │ │ ├── Kottke Silkscreen License.txt │ │ └── Tension Type Font License.txt │ ├── javascripts │ │ ├── bootstrap.js.coffee │ │ ├── application.js │ │ └── shinylogo.js │ └── stylesheets │ │ ├── underwood.css │ │ ├── application.css │ │ ├── bootstrap_and_overrides.css.less │ │ ├── scaffolds.css.scss │ │ └── slkscr.css ├── views │ ├── questions │ │ ├── new.html.erb │ │ ├── index.html.erb │ │ ├── show.html.erb │ │ └── _form.html.erb │ ├── sessions │ │ └── new.html.erb │ └── layouts │ │ └── application.html.erb └── controllers │ ├── application_controller.rb │ ├── sessions_controller.rb │ └── questions_controller.rb ├── vendor ├── plugins │ └── .gitkeep └── assets │ ├── javascripts │ └── .gitkeep │ └── stylesheets │ └── .gitkeep ├── coverage └── assets │ └── 0.5.3 │ ├── loading.gif │ ├── magnify.png │ ├── favicon_red.png │ ├── fancybox │ ├── blank.gif │ ├── fancybox.png │ ├── fancy_close.png │ ├── fancybox-x.png │ ├── fancybox-y.png │ ├── fancy_loading.png │ ├── fancy_nav_left.png │ ├── fancy_nav_right.png │ ├── fancy_shadow_e.png │ ├── fancy_shadow_n.png │ ├── fancy_shadow_ne.png │ ├── fancy_shadow_nw.png │ ├── fancy_shadow_s.png │ ├── fancy_shadow_se.png │ ├── fancy_shadow_sw.png │ ├── fancy_shadow_w.png │ ├── fancy_title_left.png │ ├── fancy_title_main.png │ ├── fancy_title_over.png │ └── fancy_title_right.png │ ├── favicon_green.png │ ├── favicon_yellow.png │ ├── smoothness │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_cd0a0a_256x240.png │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ ├── highlight.css │ └── app.js ├── config ├── initializers │ ├── omniauth.rb │ ├── mime_types.rb │ ├── backtrace_silencers.rb │ ├── session_store.rb │ ├── secret_token.rb │ ├── wrap_parameters.rb │ └── inflections.rb ├── environment.rb ├── boot.rb ├── locales │ └── en.yml ├── database.yml ├── environments │ ├── development.rb.example │ ├── test.rb │ ├── production.rb.example │ └── production.rb ├── routes.rb └── application.rb ├── config.ru ├── db ├── migrate │ ├── 20120428102224_create_users.rb │ ├── 20120428111947_add_admin_attribute_to_user.rb │ ├── 20120428164303_add_token_and_e_mail_and_name_to_the_model.rb │ ├── 20120428102249_create_authorizations.rb │ └── 20120428094900_create_questions.rb ├── seeds.rb └── schema.rb ├── doc └── README_FOR_APP ├── Rakefile ├── script └── rails ├── .gitignore ├── README.rdoc └── Gemfile /log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/performance/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/unit/helpers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 -------------------------------------------------------------------------------- /spec/unit/user_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe User do 4 | end -------------------------------------------------------------------------------- /spec/unit/authorization_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Authorization do 4 | end -------------------------------------------------------------------------------- /app/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/logo.png -------------------------------------------------------------------------------- /app/assets/images/madeby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/madeby.png -------------------------------------------------------------------------------- /app/assets/images/paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/paper.png -------------------------------------------------------------------------------- /app/assets/images/pawned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/pawned.png -------------------------------------------------------------------------------- /app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/rails.png -------------------------------------------------------------------------------- /app/assets/images/wrong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/wrong.png -------------------------------------------------------------------------------- /app/assets/images/rampage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/rampage.png -------------------------------------------------------------------------------- /app/assets/images/screenbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/screenbg.png -------------------------------------------------------------------------------- /app/assets/images/stripes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/stripes.png -------------------------------------------------------------------------------- /app/assets/images/9pixelments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/9pixelments.png -------------------------------------------------------------------------------- /app/assets/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/background.png -------------------------------------------------------------------------------- /app/assets/images/logo_shine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/logo_shine.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/loading.gif -------------------------------------------------------------------------------- /coverage/assets/0.5.3/magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/magnify.png -------------------------------------------------------------------------------- /app/assets/fonts/slkscr-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscr-webfont.eot -------------------------------------------------------------------------------- /app/assets/fonts/slkscr-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscr-webfont.ttf -------------------------------------------------------------------------------- /app/assets/fonts/slkscr-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscr-webfont.woff -------------------------------------------------------------------------------- /app/assets/fonts/slkscrb-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscrb-webfont.eot -------------------------------------------------------------------------------- /app/assets/fonts/slkscrb-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscrb-webfont.ttf -------------------------------------------------------------------------------- /app/assets/fonts/slkscre-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscre-webfont.eot -------------------------------------------------------------------------------- /app/assets/fonts/slkscre-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscre-webfont.ttf -------------------------------------------------------------------------------- /app/assets/images/monsterpawned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/monsterpawned.png -------------------------------------------------------------------------------- /app/assets/images/paper-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/images/paper-bottom.png -------------------------------------------------------------------------------- /app/assets/fonts/slkscrb-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscrb-webfont.woff -------------------------------------------------------------------------------- /app/assets/fonts/slkscre-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscre-webfont.woff -------------------------------------------------------------------------------- /app/assets/fonts/slkscreb-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscreb-webfont.eot -------------------------------------------------------------------------------- /app/assets/fonts/slkscreb-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscreb-webfont.ttf -------------------------------------------------------------------------------- /app/assets/fonts/slkscreb-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/slkscreb-webfont.woff -------------------------------------------------------------------------------- /coverage/assets/0.5.3/favicon_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/favicon_red.png -------------------------------------------------------------------------------- /app/assets/fonts/MyUnderwood-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/MyUnderwood-webfont.eot -------------------------------------------------------------------------------- /app/assets/fonts/MyUnderwood-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/MyUnderwood-webfont.ttf -------------------------------------------------------------------------------- /app/assets/fonts/MyUnderwood-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/assets/fonts/MyUnderwood-webfont.woff -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/blank.gif -------------------------------------------------------------------------------- /coverage/assets/0.5.3/favicon_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/favicon_green.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/favicon_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/favicon_yellow.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancybox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancybox.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_close.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancybox-x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancybox-x.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancybox-y.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancybox-y.png -------------------------------------------------------------------------------- /app/assets/javascripts/bootstrap.js.coffee: -------------------------------------------------------------------------------- 1 | jQuery -> 2 | $("a[rel=popover]").popover() 3 | $(".tooltip").tooltip() 4 | $("a[rel=tooltip]").tooltip() -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_loading.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_nav_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_nav_left.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_nav_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_nav_right.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_shadow_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_title_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_title_left.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_title_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_title_main.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_title_over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_title_over.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/fancybox/fancy_title_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/fancybox/fancy_title_right.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/bird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/bird.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/ico/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/ico/favicon.ico -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/browsers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/browsers.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/github-16px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/github-16px.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/icon-css3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/icon-css3.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/icon-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/icon-github.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/icon-html5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/icon-html5.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/less-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/less-small.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/icon-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/icon-twitter.png -------------------------------------------------------------------------------- /config/initializers/omniauth.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.middleware.use OmniAuth::Builder do 2 | provider :github, ENV["GITHUB_KEY"], ENV["GITHUB_SECRET"], :scope => "repo" 3 | end -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/grid-18px-masked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/grid-18px-masked.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/less-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/less-logo-large.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/fleetio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/fleetio.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/jshint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/jshint.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/kippt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/kippt.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run NerdpursuitFrontend::Application 5 | -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg -------------------------------------------------------------------------------- /app/models/authorization.rb: -------------------------------------------------------------------------------- 1 | class Authorization < ActiveRecord::Base 2 | attr_accessible :provider, :uid, :user_id, :token 3 | 4 | belongs_to :user 5 | validates_presence_of :provider, :uid 6 | end 7 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/soundready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/example-sites/soundready.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/responsive-illustrations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/responsive-illustrations.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/grid.less: -------------------------------------------------------------------------------- 1 | // Fixed (940px) 2 | #grid > .core(@gridColumnWidth, @gridGutterWidth); 3 | 4 | // Fluid (940px) 5 | #grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth); -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | NerdpursuitFrontend::Application.initialize! 6 | -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | attr_accessible :name, :login, :email 3 | 4 | has_many :authorizations 5 | validates_presence_of :name 6 | has_many :questions 7 | 8 | end 9 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-57-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-57-precomposed.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-72-precomposed.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-hero.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-hero.jpg -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_009_magic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_009_magic.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_042_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_042_group.png -------------------------------------------------------------------------------- /coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-114-precomposed.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/ico/apple-touch-icon-144-precomposed.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-fluid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-fluid.jpg -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_079_podium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_079_podium.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_163_iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_163_iphone.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/build/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-doc-builder" 3 | , "version": "0.0.1" 4 | , "description": "build bootstrap docs" 5 | , "dependencies": { "hogan.js": "1.0.5-dev" } 6 | } 7 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-starter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/examples/bootstrap-example-starter.jpg -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_082_roundabout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_082_roundabout.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_266_book_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_266_book_open.png -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_214_resize_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_214_resize_small.png -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nerds/questionizer/master/app/twitter-bootstrap-b261f97/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png -------------------------------------------------------------------------------- /db/migrate/20120428102224_create_users.rb: -------------------------------------------------------------------------------- 1 | class CreateUsers < ActiveRecord::Migration 2 | def change 3 | create_table :users do |t| 4 | t.string :name 5 | 6 | t.timestamps 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "validthis": true, 3 | "laxcomma" : true, 4 | "laxbreak" : true, 5 | "browser" : true, 6 | "debug" : true, 7 | "boss" : true, 8 | "expr" : true, 9 | "asi" : true 10 | } -------------------------------------------------------------------------------- /spec/fixtures/authorizations.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | one: 4 | provider: MyString 5 | uid: MyString 6 | user_id: 1 7 | 8 | two: 9 | provider: MyString 10 | uid: MyString 11 | user_id: 1 12 | -------------------------------------------------------------------------------- /db/migrate/20120428111947_add_admin_attribute_to_user.rb: -------------------------------------------------------------------------------- 1 | class AddAdminAttributeToUser < ActiveRecord::Migration 2 | def change 3 | add_column :users, :admin, :boolean 4 | add_column :questions, :accepted_at, :datetime 5 | add_column :questions, :rejected_at, :datetime 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /db/migrate/20120428164303_add_token_and_e_mail_and_name_to_the_model.rb: -------------------------------------------------------------------------------- 1 | class AddTokenAndEMailAndNameToTheModel < ActiveRecord::Migration 2 | def change 3 | add_column :users, :login, :string 4 | add_column :users, :email, :string 5 | add_column :authorizations, :token, :string 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | NerdpursuitFrontend::Application.load_tasks 8 | -------------------------------------------------------------------------------- /db/migrate/20120428102249_create_authorizations.rb: -------------------------------------------------------------------------------- 1 | class CreateAuthorizations < ActiveRecord::Migration 2 | def change 3 | create_table :authorizations do |t| 4 | t.string :provider 5 | t.string :uid 6 | t.integer :user_id 7 | 8 | t.timestamps 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/utilities.less: -------------------------------------------------------------------------------- 1 | // UTILITY CLASSES 2 | // --------------- 3 | 4 | // Quick floats 5 | .pull-right { 6 | float: right; 7 | } 8 | .pull-left { 9 | float: left; 10 | } 11 | 12 | // Toggling content 13 | .hide { 14 | display: none; 15 | } 16 | .show { 17 | display: block; 18 | } 19 | 20 | // Visibility 21 | .invisible { 22 | visibility: hidden; 23 | } 24 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // COMPONENT ANIMATIONS 2 | // -------------------- 3 | 4 | .fade { 5 | .opacity(0); 6 | .transition(opacity .15s linear); 7 | &.in { 8 | .opacity(100); 9 | } 10 | } 11 | 12 | .collapse { 13 | position: relative; 14 | height: 0; 15 | overflow: hidden; 16 | .transition(height .35s ease); 17 | &.in { 18 | height: auto; 19 | } 20 | } -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/js/tests/server.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Simple connect server for phantom.js 3 | * Adapted from Modernizr 4 | */ 5 | 6 | var connect = require('connect') 7 | , http = require('http') 8 | , fs = require('fs') 9 | , app = connect() 10 | .use(connect.static(__dirname + '/../../')); 11 | 12 | http.createServer(app).listen(3000); 13 | 14 | fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8') -------------------------------------------------------------------------------- /spec/unit/question_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Question do 4 | 5 | describe "update_file_and_commit" do 6 | 7 | it "should do whatever it should do" 8 | 9 | end 10 | 11 | describe "formatted_created_at" do 12 | 13 | it "should return the formatted created at timestamp" 14 | end 15 | 16 | describe "to_json" do 17 | 18 | it "should return the custom json representation" 19 | 20 | end 21 | end -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/js/tests/unit/bootstrap-transition.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-transition") 4 | 5 | test("should be defined on jquery support object", function () { 6 | ok($.support.transition !== undefined, 'transition object is defined') 7 | }) 8 | 9 | test("should provide an end object", function () { 10 | ok($.support.transition ? $.support.transition.end : true, 'end string is defined') 11 | }) 12 | 13 | }) -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/layouts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Layouts 3 | // Fixed-width and fluid (with sidebar) layouts 4 | // -------------------------------------------- 5 | 6 | 7 | // Container (centered, fixed-width layouts) 8 | .container { 9 | .container-fixed(); 10 | } 11 | 12 | // Fluid layouts (left aligned, with sidebar, min- & max-width content) 13 | .container-fluid { 14 | padding-right: @gridGutterWidth; 15 | padding-left: @gridGutterWidth; 16 | .clearfix(); 17 | } -------------------------------------------------------------------------------- /app/views/questions/new.html.erb: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |
6 |

Questionizer

7 | <%= render :partial => 'form' %> 8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 |
-------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/responsive-768px-979px.less: -------------------------------------------------------------------------------- 1 | // PORTRAIT TABLET TO DEFAULT DESKTOP 2 | // ---------------------------------- 3 | 4 | @media (min-width: 768px) and (max-width: 979px) { 5 | 6 | // Fixed grid 7 | #grid > .core(42px, 20px); 8 | 9 | // Fluid grid 10 | #grid > .fluid(5.801104972%, 2.762430939%); 11 | 12 | // Input grid 13 | #grid > .input(42px, 20px); 14 | 15 | // No need to reset .thumbnails here since it's the same @gridGutterWidth 16 | 17 | } 18 | -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | NerdpursuitFrontend::Application.config.session_store :cookie_store, key: '_nerdpursuit-frontend_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # NerdpursuitFrontend::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | 17 | /config/environments/development.rb -------------------------------------------------------------------------------- /README.rdoc: -------------------------------------------------------------------------------- 1 | ## Todos 2 | 3 | - after a question create - send email to admin 4 | - after accept/reject send email to user/admins 5 | - test 6 | 7 | ## Done so far 8 | 9 | - Dropdowns for question/new view: category, subcatogory, nerd level, right answer dropdown, 10 | - add author/creator details 11 | - change commit message 12 | - format created at 13 | - sort the links on the startpage 14 | - pimp show view 15 | - after accept/reject - remove buttons - or do something 16 | - After accepting a question remove the buttons (view/controller logic) -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/.gitignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.diff 3 | *.err 4 | *.orig 5 | *.log 6 | *.rej 7 | *.swo 8 | *.swp 9 | *.zip 10 | *.vi 11 | *~ 12 | *.sass-cache 13 | 14 | # OS or Editor folders 15 | .DS_Store 16 | ._* 17 | Thumbs.db 18 | .cache 19 | .project 20 | .settings 21 | .tmproj 22 | *.esproj 23 | nbproject 24 | *.sublime-project 25 | *.sublime-workspace 26 | 27 | # Komodo 28 | *.komodoproject 29 | .komodotools 30 | 31 | # Folders to ignore 32 | .hg 33 | .svn 34 | .CVS 35 | .idea 36 | node_modules 37 | -------------------------------------------------------------------------------- /spec/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | <% 1.upto(10) do |i| %> 4 | peter_<%= i %>: 5 | id: <%= i %> 6 | email: peter_<%= i %>@example.com 7 | name: peter_<%= i %> 8 | admin: false 9 | login: peter_<%= i %> 10 | <% end %> 11 | 12 | <% 1.upto(10) do |i| %> 13 | peter_admin_<%= i %>: 14 | id: 600<%= i %> 15 | email: peter_admin_<%= i %>@example.com 16 | name: peter_admin_<%= i %> 17 | admin: true 18 | login: peter_admin_<%= i %> 19 | <% end %> 20 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/hero-unit.less: -------------------------------------------------------------------------------- 1 | // HERO UNIT 2 | // --------- 3 | 4 | .hero-unit { 5 | padding: 60px; 6 | margin-bottom: 30px; 7 | background-color: @heroUnitBackground; 8 | .border-radius(6px); 9 | h1 { 10 | margin-bottom: 0; 11 | font-size: 60px; 12 | line-height: 1; 13 | color: @heroUnitHeadingColor; 14 | letter-spacing: -1px; 15 | } 16 | p { 17 | font-size: 18px; 18 | font-weight: 200; 19 | line-height: @baseLineHeight * 1.5; 20 | color: @heroUnitLeadColor; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | NerdpursuitFrontend::Application.config.secret_token = '4abe8ea3bc553b61fa76a09fbabdb2644b30e18080dfc33df29e18655552b140976b3a2e2848a2fd970dbf89bf62c372850d97afaeaff0d958dd7aaf7a520c02' 8 | -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | 4 | helper_method :current_user 5 | 6 | private 7 | 8 | def current_user 9 | @current_user ||= User.find(session[:user_id]) if session[:user_id] 10 | end 11 | 12 | def user_required 13 | redirect_to login_url unless current_user 14 | end 15 | 16 | def admin_required 17 | user_required 18 | redirect_to root_url unless current_user.admin? 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/responsive-1200px-min.less: -------------------------------------------------------------------------------- 1 | // LARGE DESKTOP & UP 2 | // ------------------ 3 | 4 | @media (min-width: 1200px) { 5 | 6 | // Fixed grid 7 | #grid > .core(70px, 30px); 8 | 9 | // Fluid grid 10 | #grid > .fluid(5.982905983%, 2.564102564%); 11 | 12 | // Input grid 13 | #grid > .input(70px, 30px); 14 | 15 | // Thumbnails 16 | .thumbnails { 17 | margin-left: -30px; 18 | } 19 | .thumbnails > li { 20 | margin-left: 30px; 21 | } 22 | .row-fluid .thumbnails { 23 | margin-left: 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /db/migrate/20120428094900_create_questions.rb: -------------------------------------------------------------------------------- 1 | class CreateQuestions < ActiveRecord::Migration 2 | def change 3 | create_table :questions do |t| 4 | t.string :category 5 | t.string :sub_category 6 | t.integer :nerd_level 7 | t.string :text 8 | t.string :a1 9 | t.string :a2 10 | t.string :a3 11 | t.string :a4 12 | t.string :right_answer 13 | t.string :creator 14 | t.string :creator_twitter 15 | t.string :creator_github 16 | t.integer :user_id 17 | 18 | t.timestamps 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // BREADCRUMBS 2 | // ----------- 3 | 4 | .breadcrumb { 5 | padding: 7px 14px; 6 | margin: 0 0 @baseLineHeight; 7 | list-style: none; 8 | #gradient > .vertical(@white, #f5f5f5); 9 | border: 1px solid #ddd; 10 | .border-radius(3px); 11 | .box-shadow(inset 0 1px 0 @white); 12 | li { 13 | display: inline-block; 14 | .ie7-inline-block(); 15 | text-shadow: 0 1px 0 @white; 16 | } 17 | .divider { 18 | padding: 0 5px; 19 | color: @grayLight; 20 | } 21 | .active a { 22 | color: @grayDark; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/wells.less: -------------------------------------------------------------------------------- 1 | // WELLS 2 | // ----- 3 | 4 | .well { 5 | min-height: 20px; 6 | padding: 19px; 7 | margin-bottom: 20px; 8 | background-color: #f5f5f5; 9 | border: 1px solid #eee; 10 | border: 1px solid rgba(0,0,0,.05); 11 | .border-radius(4px); 12 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 13 | blockquote { 14 | border-color: #ddd; 15 | border-color: rgba(0,0,0,.15); 16 | } 17 | } 18 | 19 | // Sizes 20 | .well-large { 21 | padding: 24px; 22 | .border-radius(6px); 23 | } 24 | .well-small { 25 | padding: 9px; 26 | .border-radius(3px); 27 | } 28 | -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # ActiveSupport::Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | # 12 | # These inflection rules are supported but not enabled by default: 13 | # ActiveSupport::Inflector.inflections do |inflect| 14 | # inflect.acronym 'RESTful' 15 | # end 16 | -------------------------------------------------------------------------------- /app/assets/stylesheets/underwood.css: -------------------------------------------------------------------------------- 1 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on January 17, 2012 08:51:52 AM America/New_York */ 2 | 3 | 4 | 5 | @font-face { 6 | font-family: 'MyUnderwoodRegular'; 7 | src: url('MyUnderwood-webfont.eot'); 8 | src: url('MyUnderwood-webfont.eot?#iefix') format('embedded-opentype'), 9 | url('MyUnderwood-webfont.woff') format('woff'), 10 | url('MyUnderwood-webfont.ttf') format('truetype'), 11 | url('MyUnderwood-webfont.svg#MyUnderwoodRegular') format('svg'); 12 | font-weight: normal; 13 | font-style: normal; 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- 1 | /* 2 | * This is a manifest file that'll be compiled into application.css, which will include all the files 3 | * listed below. 4 | * 5 | * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, 6 | * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. 7 | * 8 | * You're free to add application-wide styles to this file and they'll appear at the top of the 9 | * compiled file, but it's generally better to create a new file per style scope. 10 | * 11 | *= require_self 12 | *= require_tree . 13 | */ 14 | -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- 1 | # SQLite version 3.x 2 | # gem install sqlite3 3 | # 4 | # Ensure the SQLite 3 gem is defined in your Gemfile 5 | # gem 'sqlite3' 6 | development: 7 | adapter: sqlite3 8 | database: db/development.sqlite3 9 | pool: 5 10 | timeout: 5000 11 | 12 | # Warning: The database defined as "test" will be erased and 13 | # re-generated from your development database when you run "rake". 14 | # Do not set this db to the same as development or production. 15 | test: 16 | adapter: sqlite3 17 | database: db/test.sqlite3 18 | pool: 5 19 | timeout: 5000 20 | 21 | production: 22 | adapter: sqlite3 23 | database: db/production.sqlite3 24 | pool: 5 25 | timeout: 5000 26 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/scaffolding.less: -------------------------------------------------------------------------------- 1 | // Scaffolding 2 | // Basic and global styles for generating a grid system, structural layout, and page templates 3 | // ------------------------------------------------------------------------------------------- 4 | 5 | 6 | // Body reset 7 | // ---------- 8 | 9 | body { 10 | margin: 0; 11 | font-family: @baseFontFamily; 12 | font-size: @baseFontSize; 13 | line-height: @baseLineHeight; 14 | color: @textColor; 15 | background-color: @bodyBackground; 16 | } 17 | 18 | 19 | // Links 20 | // ----- 21 | 22 | a { 23 | color: @linkColor; 24 | text-decoration: none; 25 | } 26 | a:hover { 27 | color: @linkColorHover; 28 | text-decoration: underline; 29 | } 30 | -------------------------------------------------------------------------------- /app/assets/stylesheets/bootstrap_and_overrides.css.less: -------------------------------------------------------------------------------- 1 | @import "twitter/bootstrap/bootstrap"; 2 | @import "twitter/bootstrap/responsive"; 3 | 4 | // Set the correct sprite paths 5 | @iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings.png'); 6 | @iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white.png'); 7 | 8 | // Your custom LESS stylesheets goes here 9 | // 10 | // Since bootstrap was imported above you have access to its mixins which 11 | // you may use and inherit here 12 | // 13 | // If you'd like to override bootstrap's own variables, you can do so here as well 14 | // See http://twitter.github.com/bootstrap/less.html for their names and documentation 15 | // 16 | // Example: 17 | // @linkColor: #ff0000; 18 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/close.less: -------------------------------------------------------------------------------- 1 | // CLOSE ICONS 2 | // ----------- 3 | 4 | .close { 5 | float: right; 6 | font-size: 20px; 7 | font-weight: bold; 8 | line-height: @baseLineHeight; 9 | color: @black; 10 | text-shadow: 0 1px 0 rgba(255,255,255,1); 11 | .opacity(20); 12 | &:hover { 13 | color: @black; 14 | text-decoration: none; 15 | cursor: pointer; 16 | .opacity(40); 17 | } 18 | } 19 | 20 | // Additional properties for button version 21 | // iOS requires the button element instead of an anchor tag. 22 | // If you want the anchor version, it requires `href="#"`. 23 | button.close { 24 | padding: 0; 25 | cursor: pointer; 26 | background: transparent; 27 | border: 0; 28 | -webkit-appearance: none; 29 | } -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/pager.less: -------------------------------------------------------------------------------- 1 | // PAGER 2 | // ----- 3 | 4 | .pager { 5 | margin-left: 0; 6 | margin-bottom: @baseLineHeight; 7 | list-style: none; 8 | text-align: center; 9 | .clearfix(); 10 | } 11 | .pager li { 12 | display: inline; 13 | } 14 | .pager a { 15 | display: inline-block; 16 | padding: 5px 14px; 17 | background-color: #fff; 18 | border: 1px solid #ddd; 19 | .border-radius(15px); 20 | } 21 | .pager a:hover { 22 | text-decoration: none; 23 | background-color: #f5f5f5; 24 | } 25 | .pager .next a { 26 | float: right; 27 | } 28 | .pager .previous a { 29 | float: left; 30 | } 31 | .pager .disabled a, 32 | .pager .disabled a:hover { 33 | color: @grayLight; 34 | background-color: #fff; 35 | cursor: default; 36 | } -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap" 3 | , "description": "HTML, CSS, and JS toolkit from Twitter." 4 | , "version": "2.0.3" 5 | , "keywords": ["bootstrap", "css"] 6 | , "homepage": "http://twitter.github.com/bootstrap/" 7 | , "author": "Twitter Inc." 8 | , "scripts": { "test": "make test" } 9 | , "repository": { 10 | "type": "git" 11 | , "url": "https://github.com/twitter/bootstrap.git" 12 | } 13 | , "licenses": [ 14 | { 15 | "type": "Apache-2.0" 16 | , "url": "http://www.apache.org/licenses/LICENSE-2.0" 17 | } 18 | ] 19 | , "devDependencies": { 20 | "uglify-js": "1.2.6" 21 | , "jshint": "0.6.1" 22 | , "recess": "1.0.3" 23 | , "connect": "2.1.3" 24 | } 25 | } -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | We're sorry, but something went wrong (500) 5 | 17 | 18 | 19 | 20 | 21 |
22 |

We're sorry, but something went wrong.

23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /spec/fixtures/questions.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | one: 4 | category: MyString 5 | sub_category: MyString 6 | nerd_level: 1 7 | text: MyString 8 | a1: MyString 9 | a2: MyString 10 | a3: MyString 11 | a4: MyString 12 | right_answer: MyString 13 | creator: MyString 14 | creator_twitter: MyString 15 | creator_github: MyString 16 | user_id: 1 17 | 18 | two: 19 | category: MyString 20 | sub_category: MyString 21 | nerd_level: 1 22 | text: MyString 23 | a1: MyString 24 | a2: MyString 25 | a3: MyString 26 | a4: MyString 27 | right_answer: MyString 28 | creator: MyString 29 | creator_twitter: MyString 30 | creator_github: MyString 31 | user_id: 1 32 | -------------------------------------------------------------------------------- /app/assets/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // This is a manifest file that'll be compiled into application.js, which will include all the files 2 | // listed below. 3 | // 4 | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, 5 | // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. 6 | // 7 | // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the 8 | // the compiled file. 9 | // 10 | // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD 11 | // GO AFTER THE REQUIRES BELOW. 12 | // 13 | //= require jquery 14 | //= require jquery_ujs 15 | //= require twitter/bootstrap 16 | //= require_tree . 17 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/less/accordion.less: -------------------------------------------------------------------------------- 1 | // ACCORDION 2 | // --------- 3 | 4 | 5 | // Parent container 6 | .accordion { 7 | margin-bottom: @baseLineHeight; 8 | } 9 | 10 | // Group == heading + body 11 | .accordion-group { 12 | margin-bottom: 2px; 13 | border: 1px solid #e5e5e5; 14 | .border-radius(4px); 15 | } 16 | .accordion-heading { 17 | border-bottom: 0; 18 | } 19 | .accordion-heading .accordion-toggle { 20 | display: block; 21 | padding: 8px 15px; 22 | } 23 | 24 | // General toggle styles 25 | .accordion-toggle { 26 | cursor: pointer; 27 | } 28 | 29 | // Inner needs the styles because you can't animate properly with any styles on the element 30 | .accordion-inner { 31 | padding: 9px 15px; 32 | border-top: 1px solid #e5e5e5; 33 | } 34 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'rails', '3.2.6' 4 | gem 'jquery-rails' 5 | gem 'twitter-bootstrap-rails', '2.0.3' 6 | gem 'omniauth' 7 | gem 'omniauth-github' 8 | gem 'httparty' 9 | 10 | group :development do 11 | gem 'sqlite3' 12 | gem 'heroku' 13 | end 14 | 15 | group :production do 16 | gem 'pg' 17 | end 18 | 19 | group :test do 20 | gem 'database_cleaner' 21 | gem 'minitest' 22 | gem 'minitest-reporters' 23 | gem 'minitest_should' 24 | gem 'minitest-spec-rails' 25 | gem 'simplecov', :require => false 26 | gem 'webmock' 27 | gem 'mocha' 28 | end 29 | 30 | group :assets do 31 | gem 'sass-rails', '~> 3.2.3' 32 | gem 'coffee-rails', '~> 3.2.1' 33 | gem 'therubyracer', :platform => :ruby 34 | gem 'uglifier', '>= 1.0.3' 35 | end 36 | -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The change you wanted was rejected (422) 5 | 17 | 18 | 19 | 20 | 21 |
22 |

The change you wanted was rejected.

23 |

Maybe you tried to change something you didn't have access to.

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The page you were looking for doesn't exist (404) 5 | 17 | 18 | 19 | 20 | 21 |
22 |

The page you were looking for doesn't exist.

23 |

You may have mistyped the address or the page may have moved.

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/js/tests/unit/bootstrap-phantom.js: -------------------------------------------------------------------------------- 1 | // Logging setup for phantom integration 2 | // adapted from Modernizr 3 | 4 | QUnit.begin = function () { 5 | console.log("Starting test suite") 6 | console.log("================================================\n") 7 | } 8 | 9 | QUnit.moduleDone = function (opts) { 10 | if (opts.failed === 0) { 11 | console.log("\u2714 All tests passed in '" + opts.name + "' module") 12 | } else { 13 | console.log("\u2716 " + opts.failed + " tests failed in '" + opts.name + "' module") 14 | } 15 | } 16 | 17 | QUnit.done = function (opts) { 18 | console.log("\n================================================") 19 | console.log("Tests completed in " + opts.runtime + " milliseconds") 20 | console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.") 21 | } -------------------------------------------------------------------------------- /app/twitter-bootstrap-b261f97/js/tests/unit/bootstrap-carousel.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-carousel") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).carousel, 'carousel method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).carousel()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should not fire sliden when slide is prevented", function () { 14 | $.support.transition = false 15 | stop(); 16 | $('