sinatra_omniauth 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.document +5 -0
  2. data/Gemfile +17 -0
  3. data/Gemfile.lock +108 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +111 -0
  6. data/Rakefile +53 -0
  7. data/VERSION +1 -0
  8. data/config.ru +25 -0
  9. data/css/auth.css +47 -0
  10. data/lib/models/authorization.rb +16 -0
  11. data/lib/models/user.rb +14 -0
  12. data/lib/sinatra/omniauth.rb +273 -0
  13. data/models/authentication.rb +12 -0
  14. data/models/user.rb +12 -0
  15. data/omniauth.yml +71 -0
  16. data/public/css/omniauth.css +34 -0
  17. data/public/images/authbuttons/aol_128.png +0 -0
  18. data/public/images/authbuttons/aol_256.png +0 -0
  19. data/public/images/authbuttons/aol_32.png +0 -0
  20. data/public/images/authbuttons/aol_64.png +0 -0
  21. data/public/images/authbuttons/basecamp_128.png +0 -0
  22. data/public/images/authbuttons/basecamp_256.png +0 -0
  23. data/public/images/authbuttons/basecamp_32.png +0 -0
  24. data/public/images/authbuttons/basecamp_64.png +0 -0
  25. data/public/images/authbuttons/campfire_128.png +0 -0
  26. data/public/images/authbuttons/campfire_256.png +0 -0
  27. data/public/images/authbuttons/campfire_32.png +0 -0
  28. data/public/images/authbuttons/campfire_64.png +0 -0
  29. data/public/images/authbuttons/facebook_128.png +0 -0
  30. data/public/images/authbuttons/facebook_256.png +0 -0
  31. data/public/images/authbuttons/facebook_32.png +0 -0
  32. data/public/images/authbuttons/facebook_64.png +0 -0
  33. data/public/images/authbuttons/github_128.png +0 -0
  34. data/public/images/authbuttons/github_256.png +0 -0
  35. data/public/images/authbuttons/github_32.png +0 -0
  36. data/public/images/authbuttons/github_64.png +0 -0
  37. data/public/images/authbuttons/google_128.png +0 -0
  38. data/public/images/authbuttons/google_256.png +0 -0
  39. data/public/images/authbuttons/google_32.png +0 -0
  40. data/public/images/authbuttons/google_64.png +0 -0
  41. data/public/images/authbuttons/linkedin_128.png +0 -0
  42. data/public/images/authbuttons/linkedin_256.png +0 -0
  43. data/public/images/authbuttons/linkedin_32.png +0 -0
  44. data/public/images/authbuttons/linkedin_64.png +0 -0
  45. data/public/images/authbuttons/myspace_128.png +0 -0
  46. data/public/images/authbuttons/myspace_256.png +0 -0
  47. data/public/images/authbuttons/myspace_32.png +0 -0
  48. data/public/images/authbuttons/myspace_64.png +0 -0
  49. data/public/images/authbuttons/openid_128.png +0 -0
  50. data/public/images/authbuttons/openid_256.png +0 -0
  51. data/public/images/authbuttons/openid_32.png +0 -0
  52. data/public/images/authbuttons/openid_64.png +0 -0
  53. data/public/images/authbuttons/presently_128.png +0 -0
  54. data/public/images/authbuttons/presently_256.png +0 -0
  55. data/public/images/authbuttons/presently_32.png +0 -0
  56. data/public/images/authbuttons/presently_64.png +0 -0
  57. data/public/images/authbuttons/twitter_128.png +0 -0
  58. data/public/images/authbuttons/twitter_256.png +0 -0
  59. data/public/images/authbuttons/twitter_32.png +0 -0
  60. data/public/images/authbuttons/twitter_64.png +0 -0
  61. data/public/images/authbuttons/yahoo_128.png +0 -0
  62. data/public/images/authbuttons/yahoo_256.png +0 -0
  63. data/public/images/authbuttons/yahoo_32.png +0 -0
  64. data/public/images/authbuttons/yahoo_64.png +0 -0
  65. data/sinatra_omniauth.gemspec +137 -0
  66. data/test/helper.rb +18 -0
  67. data/test/test_sinatra_omniauth.rb +7 -0
  68. data/views/auth.haml +62 -0
  69. metadata +292 -0
metadata ADDED
@@ -0,0 +1,292 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sinatra_omniauth
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 0
10
+ version: 0.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Clifford Heath
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-08-05 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ none: false
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ hash: 3
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ prerelease: false
31
+ type: :runtime
32
+ requirement: *id001
33
+ name: sinatra
34
+ - !ruby/object:Gem::Dependency
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ hash: 3
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ prerelease: false
45
+ type: :runtime
46
+ requirement: *id002
47
+ name: omniauth
48
+ - !ruby/object:Gem::Dependency
49
+ version_requirements: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ hash: 3
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ prerelease: false
59
+ type: :runtime
60
+ requirement: *id003
61
+ name: dm-core
62
+ - !ruby/object:Gem::Dependency
63
+ version_requirements: &id004 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ prerelease: false
73
+ type: :runtime
74
+ requirement: *id004
75
+ name: dm-migrations
76
+ - !ruby/object:Gem::Dependency
77
+ version_requirements: &id005 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
85
+ version: "0"
86
+ prerelease: false
87
+ type: :runtime
88
+ requirement: *id005
89
+ name: dm-postgres-adapter
90
+ - !ruby/object:Gem::Dependency
91
+ version_requirements: &id006 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ hash: 3
97
+ segments:
98
+ - 0
99
+ version: "0"
100
+ prerelease: false
101
+ type: :runtime
102
+ requirement: *id006
103
+ name: sqlite3
104
+ - !ruby/object:Gem::Dependency
105
+ version_requirements: &id007 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ prerelease: false
115
+ type: :runtime
116
+ requirement: *id007
117
+ name: rack-flash
118
+ - !ruby/object:Gem::Dependency
119
+ version_requirements: &id008 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ hash: 23
125
+ segments:
126
+ - 1
127
+ - 0
128
+ - 0
129
+ version: 1.0.0
130
+ prerelease: false
131
+ type: :development
132
+ requirement: *id008
133
+ name: bundler
134
+ - !ruby/object:Gem::Dependency
135
+ version_requirements: &id009 !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ~>
139
+ - !ruby/object:Gem::Version
140
+ hash: 11
141
+ segments:
142
+ - 1
143
+ - 6
144
+ - 2
145
+ version: 1.6.2
146
+ prerelease: false
147
+ type: :development
148
+ requirement: *id009
149
+ name: jeweler
150
+ - !ruby/object:Gem::Dependency
151
+ version_requirements: &id010 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
160
+ prerelease: false
161
+ type: :development
162
+ requirement: *id010
163
+ name: rcov
164
+ - !ruby/object:Gem::Dependency
165
+ version_requirements: &id011 !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ hash: 31
171
+ segments:
172
+ - 2
173
+ - 4
174
+ - 0
175
+ version: 2.4.0
176
+ prerelease: false
177
+ type: :development
178
+ requirement: *id011
179
+ name: rdoc
180
+ description: This Sinatra extension, derived from omniauth_pure by Marcus Proske, adds OmniAuth authorization to your Sinatra application, so your users can login using FaceBook, Twitter and many other authorization providers, as long as you supply the API keys. It uses DataMapper and HAML.
181
+ email: clifford.heath@gmail.com
182
+ executables: []
183
+
184
+ extensions: []
185
+
186
+ extra_rdoc_files:
187
+ - LICENSE.txt
188
+ - README.rdoc
189
+ files:
190
+ - .document
191
+ - Gemfile
192
+ - Gemfile.lock
193
+ - LICENSE.txt
194
+ - README.rdoc
195
+ - Rakefile
196
+ - VERSION
197
+ - config.ru
198
+ - css/auth.css
199
+ - lib/models/authorization.rb
200
+ - lib/models/user.rb
201
+ - lib/sinatra/omniauth.rb
202
+ - models/authentication.rb
203
+ - models/user.rb
204
+ - omniauth.yml
205
+ - public/css/omniauth.css
206
+ - public/images/authbuttons/aol_128.png
207
+ - public/images/authbuttons/aol_256.png
208
+ - public/images/authbuttons/aol_32.png
209
+ - public/images/authbuttons/aol_64.png
210
+ - public/images/authbuttons/basecamp_128.png
211
+ - public/images/authbuttons/basecamp_256.png
212
+ - public/images/authbuttons/basecamp_32.png
213
+ - public/images/authbuttons/basecamp_64.png
214
+ - public/images/authbuttons/campfire_128.png
215
+ - public/images/authbuttons/campfire_256.png
216
+ - public/images/authbuttons/campfire_32.png
217
+ - public/images/authbuttons/campfire_64.png
218
+ - public/images/authbuttons/facebook_128.png
219
+ - public/images/authbuttons/facebook_256.png
220
+ - public/images/authbuttons/facebook_32.png
221
+ - public/images/authbuttons/facebook_64.png
222
+ - public/images/authbuttons/github_128.png
223
+ - public/images/authbuttons/github_256.png
224
+ - public/images/authbuttons/github_32.png
225
+ - public/images/authbuttons/github_64.png
226
+ - public/images/authbuttons/google_128.png
227
+ - public/images/authbuttons/google_256.png
228
+ - public/images/authbuttons/google_32.png
229
+ - public/images/authbuttons/google_64.png
230
+ - public/images/authbuttons/linkedin_128.png
231
+ - public/images/authbuttons/linkedin_256.png
232
+ - public/images/authbuttons/linkedin_32.png
233
+ - public/images/authbuttons/linkedin_64.png
234
+ - public/images/authbuttons/myspace_128.png
235
+ - public/images/authbuttons/myspace_256.png
236
+ - public/images/authbuttons/myspace_32.png
237
+ - public/images/authbuttons/myspace_64.png
238
+ - public/images/authbuttons/openid_128.png
239
+ - public/images/authbuttons/openid_256.png
240
+ - public/images/authbuttons/openid_32.png
241
+ - public/images/authbuttons/openid_64.png
242
+ - public/images/authbuttons/presently_128.png
243
+ - public/images/authbuttons/presently_256.png
244
+ - public/images/authbuttons/presently_32.png
245
+ - public/images/authbuttons/presently_64.png
246
+ - public/images/authbuttons/twitter_128.png
247
+ - public/images/authbuttons/twitter_256.png
248
+ - public/images/authbuttons/twitter_32.png
249
+ - public/images/authbuttons/twitter_64.png
250
+ - public/images/authbuttons/yahoo_128.png
251
+ - public/images/authbuttons/yahoo_256.png
252
+ - public/images/authbuttons/yahoo_32.png
253
+ - public/images/authbuttons/yahoo_64.png
254
+ - sinatra_omniauth.gemspec
255
+ - test/helper.rb
256
+ - test/test_sinatra_omniauth.rb
257
+ - views/auth.haml
258
+ homepage: http://github.com/cjheath/sinatra_omniauth
259
+ licenses:
260
+ - MIT
261
+ post_install_message:
262
+ rdoc_options: []
263
+
264
+ require_paths:
265
+ - lib
266
+ required_ruby_version: !ruby/object:Gem::Requirement
267
+ none: false
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ hash: 3
272
+ segments:
273
+ - 0
274
+ version: "0"
275
+ required_rubygems_version: !ruby/object:Gem::Requirement
276
+ none: false
277
+ requirements:
278
+ - - ">="
279
+ - !ruby/object:Gem::Version
280
+ hash: 3
281
+ segments:
282
+ - 0
283
+ version: "0"
284
+ requirements: []
285
+
286
+ rubyforge_project:
287
+ rubygems_version: 1.8.5
288
+ signing_key:
289
+ specification_version: 3
290
+ summary: A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)
291
+ test_files: []
292
+