fbuser 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/javascripts/fbuser/application.js +13 -0
  5. data/app/assets/javascripts/fbuser/authentication.js +2 -0
  6. data/app/assets/stylesheets/fbuser/application.css +15 -0
  7. data/app/assets/stylesheets/fbuser/authentication.css +4 -0
  8. data/app/controllers/fbuser/api/v1/application_controller.rb +5 -0
  9. data/app/controllers/fbuser/api/v1/authentication_controller.rb +56 -0
  10. data/app/controllers/fbuser/api/v1/users_controller.rb +100 -0
  11. data/app/controllers/fbuser/application_controller.rb +4 -0
  12. data/app/facebook/fbuser/facebook.rb +50 -0
  13. data/app/helpers/fbuser/application_helper.rb +4 -0
  14. data/app/helpers/fbuser/authentication_helper.rb +4 -0
  15. data/app/models/fbuser/user.rb +4 -0
  16. data/app/models/fbuser/v1/user.rb +32 -0
  17. data/app/serializers/fbuser/v1/user_serializer.rb +41 -0
  18. data/app/views/layouts/fbuser/default/application.html.erb +14 -0
  19. data/config/routes.rb +27 -0
  20. data/db/migrate/20141026184428_create_fbuser_users.rb +11 -0
  21. data/lib/fbuser.rb +4 -0
  22. data/lib/fbuser/engine.rb +5 -0
  23. data/lib/fbuser/version.rb +3 -0
  24. data/lib/generators/fbuser/admin/USAGE +8 -0
  25. data/lib/generators/fbuser/admin/admin_generator.rb +16 -0
  26. data/lib/generators/fbuser/admin/templates/active_admin.rb +84 -0
  27. data/lib/generators/fbuser/all/USAGE +8 -0
  28. data/lib/generators/fbuser/all/all_generator.rb +17 -0
  29. data/lib/generators/fbuser/authorizations/USAGE +8 -0
  30. data/lib/generators/fbuser/authorizations/authorizations_generator.rb +19 -0
  31. data/lib/generators/fbuser/authorizations/templates/user.rb +66 -0
  32. data/lib/generators/fbuser/tests/USAGE +8 -0
  33. data/lib/generators/fbuser/tests/templates/authentication_requests.rb +48 -0
  34. data/lib/generators/fbuser/tests/templates/authentication_routing.rb +20 -0
  35. data/lib/generators/fbuser/tests/templates/fbuser_user_1_factory.rb +18 -0
  36. data/lib/generators/fbuser/tests/templates/model_user_spec.rb +53 -0
  37. data/lib/generators/fbuser/tests/templates/requests_user_spec.rb +138 -0
  38. data/lib/generators/fbuser/tests/templates/routing_user_spec.rb +47 -0
  39. data/lib/generators/fbuser/tests/tests_generator.rb +21 -0
  40. data/lib/tasks/fbuser_tasks.rake +4 -0
  41. data/test/dummy/README.rdoc +28 -0
  42. data/test/dummy/Rakefile +6 -0
  43. data/test/dummy/app/assets/javascripts/application.js +13 -0
  44. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  45. data/test/dummy/app/controllers/application_controller.rb +5 -0
  46. data/test/dummy/app/helpers/application_helper.rb +2 -0
  47. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  48. data/test/dummy/bin/bundle +3 -0
  49. data/test/dummy/bin/rails +4 -0
  50. data/test/dummy/bin/rake +4 -0
  51. data/test/dummy/config.ru +4 -0
  52. data/test/dummy/config/application.rb +23 -0
  53. data/test/dummy/config/boot.rb +5 -0
  54. data/test/dummy/config/database.yml +25 -0
  55. data/test/dummy/config/environment.rb +5 -0
  56. data/test/dummy/config/environments/development.rb +37 -0
  57. data/test/dummy/config/environments/production.rb +78 -0
  58. data/test/dummy/config/environments/test.rb +39 -0
  59. data/test/dummy/config/initializers/assets.rb +8 -0
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  62. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/test/dummy/config/initializers/inflections.rb +16 -0
  64. data/test/dummy/config/initializers/mime_types.rb +4 -0
  65. data/test/dummy/config/initializers/session_store.rb +3 -0
  66. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/test/dummy/config/locales/en.yml +23 -0
  68. data/test/dummy/config/routes.rb +4 -0
  69. data/test/dummy/config/secrets.yml +22 -0
  70. data/test/dummy/public/404.html +67 -0
  71. data/test/dummy/public/422.html +67 -0
  72. data/test/dummy/public/500.html +66 -0
  73. data/test/dummy/public/favicon.ico +0 -0
  74. data/test/fbuser_test.rb +7 -0
  75. data/test/fixtures/fbuser/users.yml +9 -0
  76. data/test/helpers/fbuser/authentication_helper_test.rb +6 -0
  77. data/test/integration/navigation_test.rb +10 -0
  78. data/test/lib/generators/fbuser/admin_generator_test.rb +16 -0
  79. data/test/lib/generators/fbuser/all_generator_test.rb +16 -0
  80. data/test/lib/generators/fbuser/authorizations_generator_test.rb +16 -0
  81. data/test/lib/generators/fbuser/tests_generator_test.rb +16 -0
  82. data/test/models/fbuser/user_test.rb +9 -0
  83. data/test/test_helper.rb +15 -0
  84. metadata +281 -0
metadata ADDED
@@ -0,0 +1,281 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fbuser
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Cleophus Robinson IV
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails-api
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: type_cartographer
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: arcadex
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: active_model_serializers
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.8.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 0.8.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: annotate
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.6.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.6.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: sqlite3
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: json_voorhees
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: A user class that is created with Facebook
126
+ email:
127
+ - cleor41@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - MIT-LICENSE
133
+ - Rakefile
134
+ - app/assets/javascripts/fbuser/application.js
135
+ - app/assets/javascripts/fbuser/authentication.js
136
+ - app/assets/stylesheets/fbuser/application.css
137
+ - app/assets/stylesheets/fbuser/authentication.css
138
+ - app/controllers/fbuser/api/v1/application_controller.rb
139
+ - app/controllers/fbuser/api/v1/authentication_controller.rb
140
+ - app/controllers/fbuser/api/v1/users_controller.rb
141
+ - app/controllers/fbuser/application_controller.rb
142
+ - app/facebook/fbuser/facebook.rb
143
+ - app/helpers/fbuser/application_helper.rb
144
+ - app/helpers/fbuser/authentication_helper.rb
145
+ - app/models/fbuser/user.rb
146
+ - app/models/fbuser/v1/user.rb
147
+ - app/serializers/fbuser/v1/user_serializer.rb
148
+ - app/views/layouts/fbuser/default/application.html.erb
149
+ - config/routes.rb
150
+ - db/migrate/20141026184428_create_fbuser_users.rb
151
+ - lib/fbuser.rb
152
+ - lib/fbuser/engine.rb
153
+ - lib/fbuser/version.rb
154
+ - lib/generators/fbuser/admin/USAGE
155
+ - lib/generators/fbuser/admin/admin_generator.rb
156
+ - lib/generators/fbuser/admin/templates/active_admin.rb
157
+ - lib/generators/fbuser/all/USAGE
158
+ - lib/generators/fbuser/all/all_generator.rb
159
+ - lib/generators/fbuser/authorizations/USAGE
160
+ - lib/generators/fbuser/authorizations/authorizations_generator.rb
161
+ - lib/generators/fbuser/authorizations/templates/user.rb
162
+ - lib/generators/fbuser/tests/USAGE
163
+ - lib/generators/fbuser/tests/templates/authentication_requests.rb
164
+ - lib/generators/fbuser/tests/templates/authentication_routing.rb
165
+ - lib/generators/fbuser/tests/templates/fbuser_user_1_factory.rb
166
+ - lib/generators/fbuser/tests/templates/model_user_spec.rb
167
+ - lib/generators/fbuser/tests/templates/requests_user_spec.rb
168
+ - lib/generators/fbuser/tests/templates/routing_user_spec.rb
169
+ - lib/generators/fbuser/tests/tests_generator.rb
170
+ - lib/tasks/fbuser_tasks.rake
171
+ - test/dummy/README.rdoc
172
+ - test/dummy/Rakefile
173
+ - test/dummy/app/assets/javascripts/application.js
174
+ - test/dummy/app/assets/stylesheets/application.css
175
+ - test/dummy/app/controllers/application_controller.rb
176
+ - test/dummy/app/helpers/application_helper.rb
177
+ - test/dummy/app/views/layouts/application.html.erb
178
+ - test/dummy/bin/bundle
179
+ - test/dummy/bin/rails
180
+ - test/dummy/bin/rake
181
+ - test/dummy/config.ru
182
+ - test/dummy/config/application.rb
183
+ - test/dummy/config/boot.rb
184
+ - test/dummy/config/database.yml
185
+ - test/dummy/config/environment.rb
186
+ - test/dummy/config/environments/development.rb
187
+ - test/dummy/config/environments/production.rb
188
+ - test/dummy/config/environments/test.rb
189
+ - test/dummy/config/initializers/assets.rb
190
+ - test/dummy/config/initializers/backtrace_silencers.rb
191
+ - test/dummy/config/initializers/cookies_serializer.rb
192
+ - test/dummy/config/initializers/filter_parameter_logging.rb
193
+ - test/dummy/config/initializers/inflections.rb
194
+ - test/dummy/config/initializers/mime_types.rb
195
+ - test/dummy/config/initializers/session_store.rb
196
+ - test/dummy/config/initializers/wrap_parameters.rb
197
+ - test/dummy/config/locales/en.yml
198
+ - test/dummy/config/routes.rb
199
+ - test/dummy/config/secrets.yml
200
+ - test/dummy/public/404.html
201
+ - test/dummy/public/422.html
202
+ - test/dummy/public/500.html
203
+ - test/dummy/public/favicon.ico
204
+ - test/fbuser_test.rb
205
+ - test/fixtures/fbuser/users.yml
206
+ - test/helpers/fbuser/authentication_helper_test.rb
207
+ - test/integration/navigation_test.rb
208
+ - test/lib/generators/fbuser/admin_generator_test.rb
209
+ - test/lib/generators/fbuser/all_generator_test.rb
210
+ - test/lib/generators/fbuser/authorizations_generator_test.rb
211
+ - test/lib/generators/fbuser/tests_generator_test.rb
212
+ - test/models/fbuser/user_test.rb
213
+ - test/test_helper.rb
214
+ homepage: https://github.com/cleor41/fbuser
215
+ licenses:
216
+ - MIT
217
+ metadata: {}
218
+ post_install_message:
219
+ rdoc_options: []
220
+ require_paths:
221
+ - lib
222
+ required_ruby_version: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - '>='
225
+ - !ruby/object:Gem::Version
226
+ version: '0'
227
+ required_rubygems_version: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - '>='
230
+ - !ruby/object:Gem::Version
231
+ version: '0'
232
+ requirements: []
233
+ rubyforge_project:
234
+ rubygems_version: 2.2.2
235
+ signing_key:
236
+ specification_version: 4
237
+ summary: A user class that is created with Facebook
238
+ test_files:
239
+ - test/fixtures/fbuser/users.yml
240
+ - test/integration/navigation_test.rb
241
+ - test/lib/generators/fbuser/admin_generator_test.rb
242
+ - test/lib/generators/fbuser/all_generator_test.rb
243
+ - test/lib/generators/fbuser/authorizations_generator_test.rb
244
+ - test/lib/generators/fbuser/tests_generator_test.rb
245
+ - test/models/fbuser/user_test.rb
246
+ - test/dummy/bin/rake
247
+ - test/dummy/bin/rails
248
+ - test/dummy/bin/bundle
249
+ - test/dummy/public/404.html
250
+ - test/dummy/public/favicon.ico
251
+ - test/dummy/public/422.html
252
+ - test/dummy/public/500.html
253
+ - test/dummy/config.ru
254
+ - test/dummy/config/locales/en.yml
255
+ - test/dummy/config/application.rb
256
+ - test/dummy/config/initializers/mime_types.rb
257
+ - test/dummy/config/initializers/inflections.rb
258
+ - test/dummy/config/initializers/session_store.rb
259
+ - test/dummy/config/initializers/filter_parameter_logging.rb
260
+ - test/dummy/config/initializers/assets.rb
261
+ - test/dummy/config/initializers/backtrace_silencers.rb
262
+ - test/dummy/config/initializers/cookies_serializer.rb
263
+ - test/dummy/config/initializers/wrap_parameters.rb
264
+ - test/dummy/config/routes.rb
265
+ - test/dummy/config/environment.rb
266
+ - test/dummy/config/database.yml
267
+ - test/dummy/config/boot.rb
268
+ - test/dummy/config/environments/test.rb
269
+ - test/dummy/config/environments/development.rb
270
+ - test/dummy/config/environments/production.rb
271
+ - test/dummy/config/secrets.yml
272
+ - test/dummy/Rakefile
273
+ - test/dummy/README.rdoc
274
+ - test/dummy/app/controllers/application_controller.rb
275
+ - test/dummy/app/views/layouts/application.html.erb
276
+ - test/dummy/app/helpers/application_helper.rb
277
+ - test/dummy/app/assets/javascripts/application.js
278
+ - test/dummy/app/assets/stylesheets/application.css
279
+ - test/test_helper.rb
280
+ - test/helpers/fbuser/authentication_helper_test.rb
281
+ - test/fbuser_test.rb