oauth2_facebook_grantable 0.5.0

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 (75) hide show
  1. data/.gitignore +5 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +8 -0
  4. data/LICENSE.txt +19 -0
  5. data/README.md +81 -0
  6. data/Rakefile +1 -0
  7. data/lib/devise/oauth2_facebook_grantable/models/oauth2_facebook_grantable.rb +23 -0
  8. data/lib/devise/oauth2_facebook_grantable/strategies/facebook_grant_type.rb +25 -0
  9. data/lib/devise/oauth2_facebook_grantable/version.rb +5 -0
  10. data/lib/generators/oauth2_facebook_grantable/install_generator.rb +32 -0
  11. data/lib/generators/oauth2_facebook_grantable/templates/migration_add_column.rb +6 -0
  12. data/lib/oauth2_facebook_grantable.rb +43 -0
  13. data/oauth2_facebook_grantable.gemspec +25 -0
  14. data/spec/spec_helper.rb +8 -0
  15. data/tests/.gitignore +15 -0
  16. data/tests/Gemfile +41 -0
  17. data/tests/README.rdoc +261 -0
  18. data/tests/Rakefile +7 -0
  19. data/tests/app/assets/images/rails.png +0 -0
  20. data/tests/app/assets/javascripts/application.js +15 -0
  21. data/tests/app/assets/stylesheets/application.css +13 -0
  22. data/tests/app/controllers/application_controller.rb +3 -0
  23. data/tests/app/helpers/application_helper.rb +2 -0
  24. data/tests/app/mailers/.gitkeep +0 -0
  25. data/tests/app/models/.gitkeep +0 -0
  26. data/tests/app/models/user.rb +12 -0
  27. data/tests/app/views/layouts/application.html.erb +14 -0
  28. data/tests/config.ru +4 -0
  29. data/tests/config/application.rb +59 -0
  30. data/tests/config/boot.rb +6 -0
  31. data/tests/config/database.yml +25 -0
  32. data/tests/config/environment.rb +5 -0
  33. data/tests/config/environments/development.rb +37 -0
  34. data/tests/config/environments/production.rb +67 -0
  35. data/tests/config/environments/test.rb +37 -0
  36. data/tests/config/initializers/backtrace_silencers.rb +7 -0
  37. data/tests/config/initializers/devise.rb +223 -0
  38. data/tests/config/initializers/inflections.rb +15 -0
  39. data/tests/config/initializers/mime_types.rb +5 -0
  40. data/tests/config/initializers/secret_token.rb +7 -0
  41. data/tests/config/initializers/session_store.rb +8 -0
  42. data/tests/config/initializers/wrap_parameters.rb +14 -0
  43. data/tests/config/locales/devise.en.yml +57 -0
  44. data/tests/config/locales/en.yml +5 -0
  45. data/tests/config/routes.rb +61 -0
  46. data/tests/config/yetting.yml +12 -0
  47. data/tests/db/migrate/20120426123002_devise_create_users.rb +49 -0
  48. data/tests/db/migrate/20120426123040_create_devise_oauth2_providable_schema.devise_oauth2_providable.rb +55 -0
  49. data/tests/db/migrate/20120426124308_add_facebook_identifier_to_users.rb +6 -0
  50. data/tests/db/schema.rb +91 -0
  51. data/tests/db/seeds.rb +7 -0
  52. data/tests/doc/README_FOR_APP +2 -0
  53. data/tests/lib/assets/.gitkeep +0 -0
  54. data/tests/lib/tasks/.gitkeep +0 -0
  55. data/tests/log/.gitkeep +0 -0
  56. data/tests/public/404.html +26 -0
  57. data/tests/public/422.html +26 -0
  58. data/tests/public/500.html +25 -0
  59. data/tests/public/favicon.ico +0 -0
  60. data/tests/public/index.html +241 -0
  61. data/tests/public/robots.txt +5 -0
  62. data/tests/script/rails +6 -0
  63. data/tests/test/fixtures/.gitkeep +0 -0
  64. data/tests/test/fixtures/users.yml +26 -0
  65. data/tests/test/functional/.gitkeep +0 -0
  66. data/tests/test/integration/.gitkeep +0 -0
  67. data/tests/test/integration/facebook_oauth_test.rb +69 -0
  68. data/tests/test/performance/browsing_test.rb +12 -0
  69. data/tests/test/test_helper.rb +13 -0
  70. data/tests/test/unit/.gitkeep +0 -0
  71. data/tests/test/unit/user_test.rb +7 -0
  72. data/tests/vendor/assets/javascripts/.gitkeep +0 -0
  73. data/tests/vendor/assets/stylesheets/.gitkeep +0 -0
  74. data/tests/vendor/plugins/.gitkeep +0 -0
  75. metadata +214 -0
File without changes
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class UserTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
File without changes
File without changes
File without changes
metadata ADDED
@@ -0,0 +1,214 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: oauth2_facebook_grantable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Pierre-Luc Simard
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: koala
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.4.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.1
30
+ - !ruby/object:Gem::Dependency
31
+ name: devise_oauth2_providable
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 1.1.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.1.0
46
+ description: Add facebook as a grant_type to the authentication done through devise_oauth2_providable
47
+ email:
48
+ - p-l@6x9.ca
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - .gitignore
54
+ - .rspec
55
+ - Gemfile
56
+ - LICENSE.txt
57
+ - README.md
58
+ - Rakefile
59
+ - lib/devise/oauth2_facebook_grantable/.DS_Store
60
+ - lib/devise/oauth2_facebook_grantable/models/oauth2_facebook_grantable.rb
61
+ - lib/devise/oauth2_facebook_grantable/strategies/facebook_grant_type.rb
62
+ - lib/devise/oauth2_facebook_grantable/version.rb
63
+ - lib/generators/.DS_Store
64
+ - lib/generators/oauth2_facebook_grantable/.DS_Store
65
+ - lib/generators/oauth2_facebook_grantable/install_generator.rb
66
+ - lib/generators/oauth2_facebook_grantable/templates/migration_add_column.rb
67
+ - lib/oauth2_facebook_grantable.rb
68
+ - oauth2_facebook_grantable.gemspec
69
+ - spec/spec_helper.rb
70
+ - tests/.gitignore
71
+ - tests/Gemfile
72
+ - tests/README.rdoc
73
+ - tests/Rakefile
74
+ - tests/app/assets/images/rails.png
75
+ - tests/app/assets/javascripts/application.js
76
+ - tests/app/assets/stylesheets/application.css
77
+ - tests/app/controllers/application_controller.rb
78
+ - tests/app/helpers/application_helper.rb
79
+ - tests/app/mailers/.gitkeep
80
+ - tests/app/models/.gitkeep
81
+ - tests/app/models/user.rb
82
+ - tests/app/views/layouts/application.html.erb
83
+ - tests/config.ru
84
+ - tests/config/application.rb
85
+ - tests/config/boot.rb
86
+ - tests/config/database.yml
87
+ - tests/config/environment.rb
88
+ - tests/config/environments/development.rb
89
+ - tests/config/environments/production.rb
90
+ - tests/config/environments/test.rb
91
+ - tests/config/initializers/backtrace_silencers.rb
92
+ - tests/config/initializers/devise.rb
93
+ - tests/config/initializers/inflections.rb
94
+ - tests/config/initializers/mime_types.rb
95
+ - tests/config/initializers/secret_token.rb
96
+ - tests/config/initializers/session_store.rb
97
+ - tests/config/initializers/wrap_parameters.rb
98
+ - tests/config/locales/devise.en.yml
99
+ - tests/config/locales/en.yml
100
+ - tests/config/routes.rb
101
+ - tests/config/yetting.yml
102
+ - tests/db/migrate/20120426123002_devise_create_users.rb
103
+ - tests/db/migrate/20120426123040_create_devise_oauth2_providable_schema.devise_oauth2_providable.rb
104
+ - tests/db/migrate/20120426124308_add_facebook_identifier_to_users.rb
105
+ - tests/db/schema.rb
106
+ - tests/db/seeds.rb
107
+ - tests/doc/README_FOR_APP
108
+ - tests/lib/assets/.gitkeep
109
+ - tests/lib/tasks/.gitkeep
110
+ - tests/log/.gitkeep
111
+ - tests/public/404.html
112
+ - tests/public/422.html
113
+ - tests/public/500.html
114
+ - tests/public/favicon.ico
115
+ - tests/public/index.html
116
+ - tests/public/robots.txt
117
+ - tests/script/rails
118
+ - tests/test/fixtures/.gitkeep
119
+ - tests/test/fixtures/users.yml
120
+ - tests/test/functional/.gitkeep
121
+ - tests/test/integration/.gitkeep
122
+ - tests/test/integration/facebook_oauth_test.rb
123
+ - tests/test/performance/browsing_test.rb
124
+ - tests/test/test_helper.rb
125
+ - tests/test/unit/.gitkeep
126
+ - tests/test/unit/user_test.rb
127
+ - tests/vendor/assets/javascripts/.gitkeep
128
+ - tests/vendor/assets/stylesheets/.gitkeep
129
+ - tests/vendor/plugins/.gitkeep
130
+ homepage: http://github.com/p-l/oauth2_facebook_grantable
131
+ licenses: []
132
+ post_install_message:
133
+ rdoc_options: []
134
+ require_paths:
135
+ - lib
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ requirements: []
149
+ rubyforge_project: oauth2_facebook_grantable
150
+ rubygems_version: 1.8.24
151
+ signing_key:
152
+ specification_version: 3
153
+ summary: Facebook grant type for OAuth2 authentication
154
+ test_files:
155
+ - spec/spec_helper.rb
156
+ - tests/Gemfile
157
+ - tests/README.rdoc
158
+ - tests/Rakefile
159
+ - tests/app/assets/images/rails.png
160
+ - tests/app/assets/javascripts/application.js
161
+ - tests/app/assets/stylesheets/application.css
162
+ - tests/app/controllers/application_controller.rb
163
+ - tests/app/helpers/application_helper.rb
164
+ - tests/app/mailers/.gitkeep
165
+ - tests/app/models/.gitkeep
166
+ - tests/app/models/user.rb
167
+ - tests/app/views/layouts/application.html.erb
168
+ - tests/config.ru
169
+ - tests/config/application.rb
170
+ - tests/config/boot.rb
171
+ - tests/config/database.yml
172
+ - tests/config/environment.rb
173
+ - tests/config/environments/development.rb
174
+ - tests/config/environments/production.rb
175
+ - tests/config/environments/test.rb
176
+ - tests/config/initializers/backtrace_silencers.rb
177
+ - tests/config/initializers/devise.rb
178
+ - tests/config/initializers/inflections.rb
179
+ - tests/config/initializers/mime_types.rb
180
+ - tests/config/initializers/secret_token.rb
181
+ - tests/config/initializers/session_store.rb
182
+ - tests/config/initializers/wrap_parameters.rb
183
+ - tests/config/locales/devise.en.yml
184
+ - tests/config/locales/en.yml
185
+ - tests/config/routes.rb
186
+ - tests/config/yetting.yml
187
+ - tests/db/migrate/20120426123002_devise_create_users.rb
188
+ - tests/db/migrate/20120426123040_create_devise_oauth2_providable_schema.devise_oauth2_providable.rb
189
+ - tests/db/migrate/20120426124308_add_facebook_identifier_to_users.rb
190
+ - tests/db/schema.rb
191
+ - tests/db/seeds.rb
192
+ - tests/doc/README_FOR_APP
193
+ - tests/lib/assets/.gitkeep
194
+ - tests/lib/tasks/.gitkeep
195
+ - tests/log/.gitkeep
196
+ - tests/public/404.html
197
+ - tests/public/422.html
198
+ - tests/public/500.html
199
+ - tests/public/favicon.ico
200
+ - tests/public/index.html
201
+ - tests/public/robots.txt
202
+ - tests/script/rails
203
+ - tests/test/fixtures/.gitkeep
204
+ - tests/test/fixtures/users.yml
205
+ - tests/test/functional/.gitkeep
206
+ - tests/test/integration/.gitkeep
207
+ - tests/test/integration/facebook_oauth_test.rb
208
+ - tests/test/performance/browsing_test.rb
209
+ - tests/test/test_helper.rb
210
+ - tests/test/unit/.gitkeep
211
+ - tests/test/unit/user_test.rb
212
+ - tests/vendor/assets/javascripts/.gitkeep
213
+ - tests/vendor/assets/stylesheets/.gitkeep
214
+ - tests/vendor/plugins/.gitkeep