Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 98c96d3b3c38f331c85b0d9604425a28f11bf924 @ahmdrefat committed Oct 21, 2012
Showing with 2,212 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +42 −0 Gemfile
  3. +143 −0 Gemfile.lock
  4. +261 −0 README.rdoc
  5. +7 −0 Rakefile
  6. BIN app/assets/images/rails.png
  7. +16 −0 app/assets/javascripts/application.js
  8. +4 −0 app/assets/javascripts/bootstrap.js.coffee
  9. +3 −0 app/assets/javascripts/linkedin.js.coffee
  10. +13 −0 app/assets/stylesheets/application.css
  11. +32 −0 app/assets/stylesheets/bootstrap_and_overrides.css.less
  12. +3 −0 app/assets/stylesheets/linkedin.css.scss
  13. +3 −0 app/controllers/application_controller.rb
  14. +142 −0 app/controllers/linkedin_controller.rb
  15. +2 −0 app/helpers/application_helper.rb
  16. +2 −0 app/helpers/linkedin_helper.rb
  17. 0 app/mailers/.gitkeep
  18. 0 app/models/.gitkeep
  19. +5 −0 app/models/basic_profile.rb
  20. +5 −0 app/models/education.rb
  21. +8 −0 app/models/full_profile.rb
  22. +5 −0 app/models/linkedin_oauth_setting.rb
  23. +5 −0 app/models/position.rb
  24. +15 −0 app/models/user.rb
  25. +12 −0 app/views/devise/confirmations/new.html.erb
  26. +5 −0 app/views/devise/mailer/confirmation_instructions.html.erb
  27. +8 −0 app/views/devise/mailer/reset_password_instructions.html.erb
  28. +7 −0 app/views/devise/mailer/unlock_instructions.html.erb
  29. +16 −0 app/views/devise/passwords/edit.html.erb
  30. +12 −0 app/views/devise/passwords/new.html.erb
  31. +25 −0 app/views/devise/registrations/edit.html.erb
  32. +18 −0 app/views/devise/registrations/new.html.erb
  33. +17 −0 app/views/devise/sessions/new.html.erb
  34. +25 −0 app/views/devise/shared/_links.erb
  35. +12 −0 app/views/devise/unlocks/new.html.erb
  36. +79 −0 app/views/layouts/application.html.erb
  37. +2 −0 app/views/linkedin/index.html.erb
  38. +78 −0 app/views/linkedin/linkedin_profile.html.erb
  39. +4 −0 config.ru
  40. +64 −0 config/application.rb
  41. +6 −0 config/boot.rb
  42. +25 −0 config/database.yml
  43. +5 −0 config/environment.rb
  44. +39 −0 config/environments/development.rb
  45. +67 −0 config/environments/production.rb
  46. +37 −0 config/environments/test.rb
  47. +7 −0 config/initializers/backtrace_silencers.rb
  48. +232 −0 config/initializers/devise.rb
  49. +15 −0 config/initializers/inflections.rb
  50. +5 −0 config/initializers/mime_types.rb
  51. +7 −0 config/initializers/secret_token.rb
  52. +8 −0 config/initializers/session_store.rb
  53. +14 −0 config/initializers/wrap_parameters.rb
  54. +58 −0 config/locales/devise.en.yml
  55. +5 −0 config/locales/en.yml
  56. +67 −0 config/routes.rb
  57. +46 −0 db/migrate/20121017155125_devise_create_users.rb
  58. +11 −0 db/migrate/20121020082005_create_linkedin_oauth_settings.rb
  59. +20 −0 db/migrate/20121020084444_create_basic_profiles.rb
  60. +12 −0 db/migrate/20121020160553_create_full_profiles.rb
  61. +16 −0 db/migrate/20121020160651_create_educations.rb
  62. +15 −0 db/migrate/20121020160732_create_positions.rb
  63. +93 −0 db/schema.rb
  64. +7 −0 db/seeds.rb
  65. +2 −0 doc/README_FOR_APP
  66. 0 lib/assets/.gitkeep
  67. 0 lib/tasks/.gitkeep
  68. 0 log/.gitkeep
  69. +26 −0 public/404.html
  70. +26 −0 public/422.html
  71. +25 −0 public/500.html
  72. 0 public/favicon.ico
  73. +5 −0 public/robots.txt
  74. +6 −0 script/rails
  75. +6 −0 string
  76. 0 test/fixtures/.gitkeep
  77. +29 −0 test/fixtures/basic_profiles.yml
  78. +21 −0 test/fixtures/educations.yml
  79. +13 −0 test/fixtures/full_profiles.yml
  80. +11 −0 test/fixtures/linkedin_oauth_settings.yml
  81. +19 −0 test/fixtures/positions.yml
  82. +11 −0 test/fixtures/users.yml
  83. 0 test/functional/.gitkeep
  84. +9 −0 test/functional/linkedin_controller_test.rb
  85. 0 test/integration/.gitkeep
  86. +12 −0 test/performance/browsing_test.rb
  87. +13 −0 test/test_helper.rb
  88. 0 test/unit/.gitkeep
  89. +7 −0 test/unit/basic_profile_test.rb
  90. +7 −0 test/unit/education_test.rb
  91. +7 −0 test/unit/full_profile_test.rb
  92. +4 −0 test/unit/helpers/linkedin_helper_test.rb
  93. +7 −0 test/unit/linkedin_oauth_setting_test.rb
  94. +7 −0 test/unit/position_test.rb
  95. +7 −0 test/unit/user_test.rb
  96. 0 vendor/assets/javascripts/.gitkeep
  97. 0 vendor/assets/stylesheets/.gitkeep
  98. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
42 Gemfile
@@ -0,0 +1,42 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.8'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.2.3'
+ gem 'coffee-rails', '~> 3.2.1'
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ # gem 'therubyracer', :platforms => :ruby
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+gem 'devise'
+gem 'linkedin'
+gem 'twitter-bootstrap-rails'
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# To use Jbuilder templates for JSON
+# gem 'jbuilder'
+
+# Use unicorn as the app server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'debugger'
@@ -0,0 +1,143 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.8)
+ actionpack (= 3.2.8)
+ mail (~> 2.4.4)
+ actionpack (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.3)
+ activemodel (3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ activerecord (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.3)
+ 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.3.3)
+ commonjs (0.2.6)
+ devise (2.1.2)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.1)
+ railties (~> 3.1)
+ warden (~> 1.2.1)
+ erubis (2.7.0)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ hashie (1.2.0)
+ hike (1.2.1)
+ i18n (0.6.1)
+ journey (1.0.4)
+ jquery-rails (2.1.3)
+ railties (>= 3.1.0, < 5.0)
+ thor (~> 0.14)
+ json (1.7.5)
+ less (2.2.1)
+ commonjs (~> 0.2.6)
+ less-rails (2.2.3)
+ actionpack (>= 3.1)
+ less (~> 2.2.0)
+ libv8 (3.3.10.4)
+ linkedin (0.3.7)
+ hashie (~> 1.2)
+ multi_json (~> 1.0)
+ oauth (~> 0.4)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.19)
+ multi_json (1.3.6)
+ oauth (0.4.7)
+ orm_adapter (0.3.0)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.2)
+ rack (>= 1.0)
+ rails (3.2.8)
+ actionmailer (= 3.2.8)
+ actionpack (= 3.2.8)
+ activerecord (= 3.2.8)
+ activeresource (= 3.2.8)
+ activesupport (= 3.2.8)
+ bundler (~> 1.0)
+ railties (= 3.2.8)
+ railties (3.2.8)
+ actionpack (= 3.2.8)
+ activesupport (= 3.2.8)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ sass (3.2.1)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ therubyracer (0.10.1)
+ libv8 (~> 3.3.10)
+ thor (0.16.0)
+ tilt (1.3.3)
+ treetop (1.4.11)
+ polyglot
+ polyglot (>= 0.3.1)
+ twitter-bootstrap-rails (2.1.1)
+ actionpack (>= 3.1)
+ less-rails (~> 2.2.2)
+ railties (>= 3.1)
+ therubyracer (= 0.10.1)
+ tzinfo (0.3.33)
+ uglifier (1.3.0)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.0, >= 1.0.2)
+ warden (1.2.1)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.2.1)
+ devise
+ jquery-rails
+ linkedin
+ rails (= 3.2.8)
+ sass-rails (~> 3.2.3)
+ sqlite3
+ twitter-bootstrap-rails
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit 98c96d3

Please sign in to comment.