Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update the findit to 3.2.12

  • Loading branch information...
commit 6453ce074368c1a2cd2a6610569aafbe0c728983 1 parent 06ab3cc
hongbo zhang hbzhang authored
70 Gemfile
View
@@ -1,59 +1,41 @@
source 'http://rubygems.org'
-gem 'rails', '3.0.10'
-
-# Bundle edge Rails instead:
-# gem 'rails', :git => 'git://github.com/rails/rails.git'
-
-gem 'sqlite3-ruby', :require => 'sqlite3'
-gem 'mail'
-
-# Use unicorn as the web server
-# gem 'unicorn'
-
-# Deploy with Capistrano
-# gem 'capistrano'
-
-# To use debugger
-# gem 'ruby-debug'
-
-# Bundle the extra gems:
-# gem 'bj'
-# gem 'nokogiri'
-# gem 'sqlite3-ruby', :require => 'sqlite3'
-# gem 'aws-s3', :require => 'aws/s3'
-
-# Bundle gems for the local environment. Make sure to
-# put test-only gems in this group so their generators
-# and rake tasks are available in development mode:
-# group :development, :test do
-# gem 'webrat'
-# end
-gem 'omniauth', '0.2.6'
+gem 'rails', '3.2.12'
+gem 'mysql2'
+gem 'devise'
+gem 'omniauth'
+gem 'omniauth-cas'
gem "simple_form"
gem 'jquery-rails'
+gem 'jquery-ui-rails'
gem "will_paginate"
-group :production do
- gem 'fastercsv'
-end
gem "mail"
-gem 'thor'
gem 'comma'
-gem 'formtastic'
+gem 'capistrano'
+gem 'formtastic', '2.0.2'
+gem 'fastercsv'
-gem "rspec-rails", :group => [:test, :development]
group :development, :test do
- gem 'factory_girl_rails'
- gem "guard-test"
- gem "guard-livereload"
- gem "growl"
- gem 'web-app-theme', '>= 0.6.2'
+ gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
gem "capybara"
+ gem 'factory_girl_rails', '1.7.0'
gem "guard-rspec"
gem "launchy"
+ gem "capybara-webkit"
+ gem 'rspec-rails'
+ gem "mocha"
+ gem 'forgery', '0.5.0'
+end
+
+group :test do
gem "cucumber-rails"
gem "database_cleaner"
- gem "capybara-webkit"
+ gem "rake"
end
-gem "nifty-generators", :group => :development
-gem "mocha", :group => :test
+
+gem "twitter-bootstrap-rails"
+gem 'therubyracer', :platform => :ruby
+gem 'sass-rails', '~> 3.2.3'
+gem 'coffee-rails', '~> 3.2.1'
+gem 'uglifier', '>= 1.0.3'
+
418 Gemfile.lock
View
@@ -1,251 +1,267 @@
GEM
remote: http://rubygems.org/
specs:
- abstract (1.0.0)
- actionmailer (3.0.10)
- actionpack (= 3.0.10)
- mail (~> 2.2.19)
- actionpack (3.0.10)
- activemodel (= 3.0.10)
- activesupport (= 3.0.10)
- builder (~> 2.1.2)
- erubis (~> 2.6.6)
- i18n (~> 0.5.0)
- rack (~> 1.2.1)
- rack-mount (~> 0.6.14)
- rack-test (~> 0.5.7)
- tzinfo (~> 0.3.23)
- activemodel (3.0.10)
- activesupport (= 3.0.10)
- builder (~> 2.1.2)
- i18n (~> 0.5.0)
- activerecord (3.0.10)
- activemodel (= 3.0.10)
- activesupport (= 3.0.10)
- arel (~> 2.0.10)
- tzinfo (~> 0.3.23)
- activeresource (3.0.10)
- activemodel (= 3.0.10)
- activesupport (= 3.0.10)
- activesupport (3.0.10)
- addressable (2.2.4)
- arel (2.0.10)
- builder (2.1.2)
- capybara (1.1.2)
+ actionmailer (3.2.12)
+ actionpack (= 3.2.12)
+ mail (~> 2.4.4)
+ actionpack (3.2.12)
+ activemodel (= 3.2.12)
+ activesupport (= 3.2.12)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.5)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.2.1)
+ activemodel (3.2.12)
+ activesupport (= 3.2.12)
+ builder (~> 3.0.0)
+ activerecord (3.2.12)
+ activemodel (= 3.2.12)
+ activesupport (= 3.2.12)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.12)
+ activemodel (= 3.2.12)
+ activesupport (= 3.2.12)
+ activesupport (3.2.12)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ addressable (2.3.2)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.4)
+ capistrano (2.14.2)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
+ capybara (2.0.2)
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)
- capybara-webkit (0.10.1)
- capybara (>= 1.0.0, < 1.2)
+ xpath (~> 1.0.0)
+ capybara-webkit (0.14.1)
+ capybara (~> 2.0, >= 2.0.2)
json
- childprocess (0.2.3)
- ffi (~> 1.0.6)
- comma (0.4.3)
- activesupport (>= 2.2.2)
- fastercsv
- cucumber (1.0.6)
+ childprocess (0.3.8)
+ ffi (~> 1.0, >= 1.0.11)
+ coderay (1.0.8)
+ coffee-rails (3.2.2)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.4.0)
+ comma (3.0.4)
+ cucumber (1.2.1)
builder (>= 2.1.2)
- diff-lcs (>= 1.1.2)
- gherkin (~> 2.4.18)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.11.0)
json (>= 1.4.6)
- term-ansicolor (>= 1.0.6)
- cucumber-rails (1.0.2)
- capybara (>= 1.0.0)
- cucumber (~> 1.0.0)
- nokogiri (>= 1.4.6)
- database_cleaner (0.7.1)
- diff-lcs (1.1.3)
- em-websocket (0.3.5)
- addressable (>= 2.1.1)
- eventmachine (>= 0.12.9)
- erubis (2.6.6)
- abstract (>= 1.0.0)
- eventmachine (0.12.10)
- factory_girl (2.2.0)
- activesupport
- factory_girl_rails (1.3.0)
- factory_girl (~> 2.2.0)
+ cucumber-rails (1.3.0)
+ capybara (>= 1.1.2)
+ cucumber (>= 1.1.8)
+ nokogiri (>= 1.5.0)
+ database_cleaner (0.9.1)
+ devise (2.2.3)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.1)
+ railties (~> 3.1)
+ warden (~> 1.2.1)
+ diff-lcs (1.2.1)
+ erubis (2.7.0)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ factory_girl (2.6.4)
+ activesupport (>= 2.3.9)
+ factory_girl_rails (1.7.0)
+ factory_girl (~> 2.6.0)
railties (>= 3.0.0)
- faraday (0.6.1)
- addressable (~> 2.2.4)
- multipart-post (~> 1.1.0)
- rack (>= 1.1.0, < 2)
- fastercsv (1.5.4)
- ffi (1.0.11)
+ fastercsv (1.5.5)
+ ffi (1.3.1)
+ forgery (0.5.0)
formtastic (2.0.2)
rails (~> 3.0)
- gherkin (2.4.21)
- json (>= 1.4.6)
- growl (1.0.3)
- guard (0.8.8)
- thor (~> 0.14.6)
- guard-livereload (0.3.1)
- em-websocket (>= 0.2.0)
- guard (>= 0.4.0)
- multi_json (~> 1.0.3)
- guard-rspec (0.5.9)
- guard (>= 0.8.4)
- guard-test (0.4.1)
- guard (>= 0.4)
- test-unit (~> 2.2)
- i18n (0.5.0)
- jquery-rails (1.0.17)
- railties (~> 3.0)
- thor (~> 0.14)
- json (1.6.1)
- json_pure (1.6.3)
- launchy (2.0.3)
- mail (2.2.19)
- activesupport (>= 2.3.6)
+ gherkin (2.11.6)
+ json (>= 1.7.6)
+ guard (1.6.2)
+ listen (>= 0.6.0)
+ lumberjack (>= 1.0.2)
+ pry (>= 0.9.10)
+ terminal-table (>= 1.4.3)
+ thor (>= 0.14.6)
+ guard-rspec (1.2.1)
+ guard (>= 1.1)
+ hashie (1.2.0)
+ highline (1.6.15)
+ hike (1.2.1)
+ i18n (0.6.1)
+ journey (1.0.4)
+ jquery-rails (2.2.1)
+ railties (>= 3.0, < 5.0)
+ thor (>= 0.14, < 2.0)
+ jquery-ui-rails (4.0.1)
+ jquery-rails
+ railties (>= 3.1.0)
+ json (1.7.7)
+ launchy (2.2.0)
+ addressable (~> 2.3)
+ libv8 (3.11.8.13)
+ listen (0.7.2)
+ lumberjack (1.0.2)
+ mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.1)
- mime-types (1.17.2)
- mocha (0.10.0)
+ method_source (0.8.1)
+ mime-types (1.21)
+ mocha (0.13.2)
metaclass (~> 0.0.1)
- multi_json (1.0.3)
- multi_xml (0.2.2)
- multipart-post (1.1.3)
- net-ldap (0.2.2)
- nifty-generators (0.4.6)
- nokogiri (1.4.7)
- oa-basic (0.2.6)
- oa-core (= 0.2.6)
- rest-client (~> 1.6.0)
- oa-core (0.2.6)
- oa-enterprise (0.2.6)
- addressable (= 2.2.4)
- net-ldap (~> 0.2.2)
- nokogiri (~> 1.4.2)
- oa-core (= 0.2.6)
- pyu-ruby-sasl (~> 0.0.3.1)
- rubyntlm (~> 0.1.1)
- oa-more (0.2.6)
- multi_json (~> 1.0.0)
- oa-core (= 0.2.6)
- rest-client (~> 1.6.0)
- oa-oauth (0.2.6)
- faraday (~> 0.6.1)
- multi_json (~> 1.0.0)
- multi_xml (~> 0.2.2)
- oa-core (= 0.2.6)
- oauth (~> 0.4.0)
- oauth2 (~> 0.4.1)
- oa-openid (0.2.6)
- oa-core (= 0.2.6)
- rack-openid (~> 1.3.1)
- ruby-openid-apps-discovery (~> 1.2.0)
- oauth (0.4.5)
- oauth2 (0.4.1)
- faraday (~> 0.6.1)
- multi_json (>= 0.0.5)
- omniauth (0.2.6)
- oa-basic (= 0.2.6)
- oa-core (= 0.2.6)
- oa-enterprise (= 0.2.6)
- oa-more (= 0.2.6)
- oa-oauth (= 0.2.6)
- oa-openid (= 0.2.6)
+ multi_json (1.6.1)
+ mysql2 (0.3.11)
+ net-scp (1.1.0)
+ net-ssh (>= 2.6.5)
+ net-sftp (2.1.1)
+ net-ssh (>= 2.6.5)
+ net-ssh (2.6.5)
+ net-ssh-gateway (1.2.0)
+ net-ssh (>= 2.6.5)
+ nokogiri (1.5.6)
+ omniauth (1.1.3)
+ hashie (~> 1.2)
+ rack
+ omniauth-cas (1.0.1)
+ addressable (~> 2.3)
+ nokogiri (~> 1.5)
+ omniauth (~> 1.1.0)
+ orm_adapter (0.4.0)
polyglot (0.3.3)
- pyu-ruby-sasl (0.0.3.3)
- rack (1.2.4)
- rack-mount (0.6.14)
- rack (>= 1.0.0)
- rack-openid (1.3.1)
- rack (>= 1.1.0)
- ruby-openid (>= 2.1.8)
- rack-test (0.5.7)
+ pry (0.9.12)
+ coderay (~> 1.0.5)
+ method_source (~> 0.8)
+ slop (~> 3.4)
+ rack (1.4.5)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.3)
+ rack
+ rack-test (0.6.2)
rack (>= 1.0)
- rails (3.0.10)
- actionmailer (= 3.0.10)
- actionpack (= 3.0.10)
- activerecord (= 3.0.10)
- activeresource (= 3.0.10)
- activesupport (= 3.0.10)
+ rails (3.2.12)
+ actionmailer (= 3.2.12)
+ actionpack (= 3.2.12)
+ activerecord (= 3.2.12)
+ activeresource (= 3.2.12)
+ activesupport (= 3.2.12)
bundler (~> 1.0)
- railties (= 3.0.10)
- railties (3.0.10)
- actionpack (= 3.0.10)
- activesupport (= 3.0.10)
+ railties (= 3.2.12)
+ railties (3.2.12)
+ actionpack (= 3.2.12)
+ activesupport (= 3.2.12)
+ rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
- thor (~> 0.14.4)
- rake (0.9.2.2)
- rdoc (3.11)
+ thor (>= 0.14.6, < 2.0)
+ rake (10.0.3)
+ rdoc (3.12.1)
json (~> 1.4)
- rest-client (1.6.7)
- mime-types (>= 1.16)
- 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-openid (2.1.8)
- ruby-openid-apps-discovery (1.2.0)
- ruby-openid (>= 2.1.7)
- rubyntlm (0.1.1)
- rubyzip (0.9.5)
- selenium-webdriver (2.13.0)
- childprocess (>= 0.2.1)
- ffi (~> 1.0.9)
- json_pure
+ ref (1.0.2)
+ rspec (2.0.1)
+ rspec-core (~> 2.0.1)
+ rspec-expectations (~> 2.0.1)
+ rspec-mocks (~> 2.0.1)
+ rspec-core (2.0.1)
+ rspec-expectations (2.0.1)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.1)
+ rspec-core (~> 2.0.1)
+ rspec-expectations (~> 2.0.1)
+ rspec-rails (2.0.1)
+ rspec (~> 2.0.0)
+ rubyzip (0.9.9)
+ sass (3.2.5)
+ sass-rails (3.2.6)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ selenium-webdriver (2.29.0)
+ childprocess (>= 0.2.5)
+ multi_json (~> 1.0)
rubyzip
- simple_form (1.5.2)
+ websocket (~> 1.0.4)
+ simple_form (2.0.4)
actionpack (~> 3.0)
activemodel (~> 3.0)
- sqlite3 (1.3.4)
- sqlite3-ruby (1.3.3)
- sqlite3 (>= 1.3.3)
- term-ansicolor (1.0.7)
- test-unit (2.4.1)
- thor (0.14.6)
- treetop (1.4.10)
+ slop (3.4.3)
+ sprockets (2.2.2)
+ hike (~> 1.2)
+ multi_json (~> 1.0)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.7)
+ terminal-table (1.4.5)
+ therubyracer (0.11.3)
+ libv8 (~> 3.11.8.12)
+ ref
+ thor (0.17.0)
+ tilt (1.3.3)
+ treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
- tzinfo (0.3.31)
- web-app-theme (0.7.0)
- will_paginate (3.0.2)
- xpath (0.1.4)
+ twitter-bootstrap-rails (2.2.3)
+ actionpack (>= 3.1)
+ execjs
+ railties (>= 3.1)
+ tzinfo (0.3.35)
+ uglifier (1.3.0)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.0, >= 1.0.2)
+ warden (1.2.1)
+ rack (>= 1.0)
+ websocket (1.0.7)
+ will_paginate (3.0.4)
+ xpath (1.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
+ capistrano
capybara
capybara-webkit
+ coffee-rails (~> 3.2.1)
comma
cucumber-rails
database_cleaner
- factory_girl_rails
+ devise
+ factory_girl_rails (= 1.7.0)
fastercsv
- formtastic
- growl
- guard-livereload
+ forgery (= 0.5.0)
+ formtastic (= 2.0.2)
guard-rspec
- guard-test
jquery-rails
+ jquery-ui-rails
launchy
mail
mocha
- nifty-generators
- omniauth (= 0.2.6)
- rails (= 3.0.10)
+ mysql2
+ omniauth
+ omniauth-cas
+ rails (= 3.2.12)
+ rake
rspec-rails
+ sass-rails (~> 3.2.3)
simple_form
- sqlite3-ruby
- thor
- web-app-theme (>= 0.6.2)
+ sqlite3
+ therubyracer
+ twitter-bootstrap-rails
+ uglifier (>= 1.0.3)
will_paginate
1  config/application.rb
View
@@ -6,6 +6,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
+
module Findit
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
2  config/boot.rb
View
@@ -1,4 +1,6 @@
require 'rubygems'
+#require 'yaml'
+#YAML::ENGINE.yamler= 'syck' if defined?(YAML::ENGINE)
# Set up gems listed in the Gemfile.
gemfile = File.expand_path('../../Gemfile', __FILE__)
6 config/initializers/omniauth.rb
View
@@ -1,4 +1,8 @@
+#Rails.application.config.middleware.use OmniAuth::Builder do
+# provider :cas, :server=>"https://auth.vt.edu", :cas_server=>"https://auth.vt.edu"
+#end
+
Rails.application.config.middleware.use OmniAuth::Builder do
- provider :cas, :server=>"https://auth.vt.edu", :cas_server=>"https://auth.vt.edu"
+ provider :cas, :host=>"auth.vt.edu", :ssl=>true
end
Please sign in to comment.
Something went wrong with that request. Please try again.