rails_cerberus 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/lib/cerberus/controller_helpers.rb +12 -0
  5. data/lib/cerberus/identity.rb +6 -0
  6. data/lib/cerberus/railtie.rb +5 -0
  7. data/lib/cerberus/sessions_controller.rb +22 -0
  8. data/lib/cerberus/version.rb +3 -0
  9. data/lib/cerberus.rb +22 -0
  10. data/lib/db/migrate/2014062501061403671275_create_cerberus_identities.rb +9 -0
  11. data/lib/tasks/cerberus_tasks.rake +17 -0
  12. data/test/cerberus_test.rb +7 -0
  13. data/test/dummy/README.rdoc +28 -0
  14. data/test/dummy/Rakefile +6 -0
  15. data/test/dummy/app/assets/javascripts/application.js +13 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  17. data/test/dummy/app/controllers/application_controller.rb +10 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/models/user.rb +2 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/test/dummy/bin/bundle +3 -0
  22. data/test/dummy/bin/rails +4 -0
  23. data/test/dummy/bin/rake +4 -0
  24. data/test/dummy/config/application.rb +23 -0
  25. data/test/dummy/config/boot.rb +5 -0
  26. data/test/dummy/config/cerberus.yaml +2 -0
  27. data/test/dummy/config/database.yml +25 -0
  28. data/test/dummy/config/environment.rb +5 -0
  29. data/test/dummy/config/environments/development.rb +29 -0
  30. data/test/dummy/config/environments/production.rb +80 -0
  31. data/test/dummy/config/environments/test.rb +36 -0
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  34. data/test/dummy/config/initializers/inflections.rb +16 -0
  35. data/test/dummy/config/initializers/mime_types.rb +5 -0
  36. data/test/dummy/config/initializers/omniauth.rb +3 -0
  37. data/test/dummy/config/initializers/secret_token.rb +12 -0
  38. data/test/dummy/config/initializers/session_store.rb +3 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +23 -0
  41. data/test/dummy/config/routes.rb +4 -0
  42. data/test/dummy/config.ru +4 -0
  43. data/test/dummy/db/development.sqlite3 +0 -0
  44. data/test/dummy/db/migrate/20140625030107_create_users.rb +9 -0
  45. data/test/dummy/db/schema.rb +28 -0
  46. data/test/dummy/db/test.sqlite3 +0 -0
  47. data/test/dummy/jaja +1 -0
  48. data/test/dummy/log/development.log +1868 -0
  49. data/test/dummy/nohup.out +8 -0
  50. data/test/dummy/public/404.html +58 -0
  51. data/test/dummy/public/422.html +58 -0
  52. data/test/dummy/public/500.html +57 -0
  53. data/test/dummy/public/favicon.ico +0 -0
  54. data/test/dummy/test/fixtures/users.yml +7 -0
  55. data/test/dummy/test/models/user_test.rb +7 -0
  56. data/test/test_helper.rb +15 -0
  57. metadata +199 -0
@@ -0,0 +1,28 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 2014062501061403671275) do
15
+
16
+ create_table "cerberus_identities", force: true do |t|
17
+ t.string "provider"
18
+ t.string "uid"
19
+ t.integer "user_id"
20
+ end
21
+
22
+ create_table "users", force: true do |t|
23
+ t.string "email"
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
+ end
27
+
28
+ end
File without changes
data/test/dummy/jaja ADDED
@@ -0,0 +1 @@
1
+ /home/nicolas/Projects/cerberus/test/dummy[]