fbdoorman 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. data/CHANGELOG.md +3 -0
  2. data/LICENSE +21 -0
  3. data/README.md +142 -0
  4. data/Rakefile +27 -0
  5. data/VERSION +1 -0
  6. data/app/controllers/clearance/confirmations_controller.rb +76 -0
  7. data/app/controllers/clearance/facebook_controller.rb +66 -0
  8. data/app/controllers/clearance/passwords_controller.rb +85 -0
  9. data/app/controllers/clearance/sessions_controller.rb +67 -0
  10. data/app/controllers/clearance/users_controller.rb +36 -0
  11. data/app/models/clearance_mailer.rb +21 -0
  12. data/app/views/clearance_mailer/change_password.html.erb +9 -0
  13. data/app/views/clearance_mailer/confirmation.html.erb +5 -0
  14. data/app/views/facebook/_fbjs.html.erb +14 -0
  15. data/app/views/facebook/closed.html.erb +1 -0
  16. data/app/views/passwords/edit.html.erb +23 -0
  17. data/app/views/passwords/new.html.erb +15 -0
  18. data/app/views/sessions/new.html.erb +25 -0
  19. data/app/views/users/_form.html.erb +13 -0
  20. data/app/views/users/new.html.erb +6 -0
  21. data/generators/fbdoorman/USAGE +1 -0
  22. data/generators/fbdoorman/fbdoorman_generator.rb +68 -0
  23. data/generators/fbdoorman/lib/insert_commands.rb +33 -0
  24. data/generators/fbdoorman/lib/rake_commands.rb +22 -0
  25. data/generators/fbdoorman/templates/README +43 -0
  26. data/generators/fbdoorman/templates/clearance.rb +3 -0
  27. data/generators/fbdoorman/templates/facebook.yml +7 -0
  28. data/generators/fbdoorman/templates/factories.rb +13 -0
  29. data/generators/fbdoorman/templates/migrations/create_users.rb +24 -0
  30. data/generators/fbdoorman/templates/migrations/update_users.rb +44 -0
  31. data/generators/fbdoorman/templates/user.rb +3 -0
  32. data/lib/clearance/authentication.rb +143 -0
  33. data/lib/clearance/configuration.rb +25 -0
  34. data/lib/clearance/extensions/errors.rb +6 -0
  35. data/lib/clearance/extensions/rescue.rb +5 -0
  36. data/lib/clearance/routes.rb +55 -0
  37. data/lib/clearance/user.rb +207 -0
  38. data/lib/facebook_helpers.rb +48 -0
  39. data/lib/fbdoorman.rb +27 -0
  40. data/lib/mini_fb.rb +673 -0
  41. data/rails/init.rb +1 -0
  42. metadata +110 -0
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fbdoorman
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - "Fbdoorman: David Pelaez"
14
+ - "MiniFB: Appoxy"
15
+ - "Clearance: Thoughtbot"
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2010-07-27 00:00:00 -05:00
21
+ default_executable:
22
+ dependencies: []
23
+
24
+ description: Painless user registration and sign-in using Facebook single sign-on with JS. Typical email login still works too.
25
+ email: pelaez89@gmail.com
26
+ executables: []
27
+
28
+ extensions: []
29
+
30
+ extra_rdoc_files:
31
+ - LICENSE
32
+ - README.md
33
+ files:
34
+ - CHANGELOG.md
35
+ - LICENSE
36
+ - README.md
37
+ - Rakefile
38
+ - VERSION
39
+ - app/controllers/clearance/confirmations_controller.rb
40
+ - app/controllers/clearance/facebook_controller.rb
41
+ - app/controllers/clearance/passwords_controller.rb
42
+ - app/controllers/clearance/sessions_controller.rb
43
+ - app/controllers/clearance/users_controller.rb
44
+ - app/models/clearance_mailer.rb
45
+ - app/views/clearance_mailer/change_password.html.erb
46
+ - app/views/clearance_mailer/confirmation.html.erb
47
+ - app/views/facebook/_fbjs.html.erb
48
+ - app/views/facebook/closed.html.erb
49
+ - app/views/passwords/edit.html.erb
50
+ - app/views/passwords/new.html.erb
51
+ - app/views/sessions/new.html.erb
52
+ - app/views/users/_form.html.erb
53
+ - app/views/users/new.html.erb
54
+ - generators/fbdoorman/USAGE
55
+ - generators/fbdoorman/fbdoorman_generator.rb
56
+ - generators/fbdoorman/lib/insert_commands.rb
57
+ - generators/fbdoorman/lib/rake_commands.rb
58
+ - generators/fbdoorman/templates/README
59
+ - generators/fbdoorman/templates/clearance.rb
60
+ - generators/fbdoorman/templates/facebook.yml
61
+ - generators/fbdoorman/templates/factories.rb
62
+ - generators/fbdoorman/templates/migrations/create_users.rb
63
+ - generators/fbdoorman/templates/migrations/update_users.rb
64
+ - generators/fbdoorman/templates/user.rb
65
+ - lib/clearance/authentication.rb
66
+ - lib/clearance/configuration.rb
67
+ - lib/clearance/extensions/errors.rb
68
+ - lib/clearance/extensions/rescue.rb
69
+ - lib/clearance/routes.rb
70
+ - lib/clearance/user.rb
71
+ - lib/facebook_helpers.rb
72
+ - lib/fbdoorman.rb
73
+ - lib/mini_fb.rb
74
+ - rails/init.rb
75
+ has_rdoc: true
76
+ homepage: http://github.com/davidpelaez/minifb-clearance
77
+ licenses: []
78
+
79
+ post_install_message:
80
+ rdoc_options:
81
+ - --charset=UTF-8
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ hash: 3
90
+ segments:
91
+ - 0
92
+ version: "0"
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ hash: 3
99
+ segments:
100
+ - 0
101
+ version: "0"
102
+ requirements: []
103
+
104
+ rubyforge_project:
105
+ rubygems_version: 1.3.7
106
+ signing_key:
107
+ specification_version: 3
108
+ summary: Rails authentication with facebook single sign-on OR email & password.
109
+ test_files: []
110
+