rgigya 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -5
- data/VERSION +1 -1
- data/lib/rgigya/base.rb +340 -0
- data/lib/rgigya/hash.rb +19 -0
- data/lib/rgigya/sig_utils.rb +98 -0
- data/lib/rgigya.rb +3 -193
- data/rgigya.gemspec +8 -3
- data/spec/helpers.rb +26 -0
- data/spec/rgigya_secure_spec.rb +18 -0
- data/spec/rgigya_shared_examples.rb +315 -0
- data/spec/rgigya_signature_spec.rb +62 -0
- data/spec/spec_helper.rb +4 -5
- data/test/dummy/Gemfile +0 -1
- data/test/dummy/Gemfile.lock +8 -9
- data/test/dummy/config/environments/development.rb +6 -2
- data/test/dummy/log/development.log +300 -0
- metadata +21 -16
- data/spec/rgigya_spec.rb +0 -310
@@ -1128,3 +1128,303 @@ Served asset /application.js - 304 Not Modified (0ms)
|
|
1128
1128
|
|
1129
1129
|
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-16 11:10:57 -0400
|
1130
1130
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
1131
|
+
Connecting to database specified by database.yml
|
1132
|
+
Connecting to database specified by database.yml
|
1133
|
+
|
1134
|
+
|
1135
|
+
Started GET "/" for 127.0.0.1 at 2013-05-16 16:56:17 -0400
|
1136
|
+
Processing by WelcomeController#index as HTML
|
1137
|
+
Rendered welcome/index.html.erb within layouts/application (2.4ms)
|
1138
|
+
Completed 200 OK in 80ms (Views: 79.2ms | ActiveRecord: 0.0ms)
|
1139
|
+
|
1140
|
+
|
1141
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-16 16:56:17 -0400
|
1142
|
+
Served asset /application.css - 200 OK (4ms)
|
1143
|
+
|
1144
|
+
|
1145
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-16 16:56:17 -0400
|
1146
|
+
Served asset /jquery.js - 200 OK (2ms)
|
1147
|
+
|
1148
|
+
|
1149
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-16 16:56:17 -0400
|
1150
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
1151
|
+
|
1152
|
+
|
1153
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-16 16:56:17 -0400
|
1154
|
+
Served asset /application.js - 200 OK (5ms)
|
1155
|
+
Connecting to database specified by database.yml
|
1156
|
+
|
1157
|
+
|
1158
|
+
Started GET "/" for 127.0.0.1 at 2013-05-16 16:57:27 -0400
|
1159
|
+
Processing by WelcomeController#index as HTML
|
1160
|
+
Rendered welcome/index.html.erb within layouts/application (1.4ms)
|
1161
|
+
Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms)
|
1162
|
+
|
1163
|
+
|
1164
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-16 16:57:27 -0400
|
1165
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
1166
|
+
|
1167
|
+
|
1168
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:27 -0400
|
1169
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
1170
|
+
|
1171
|
+
|
1172
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:27 -0400
|
1173
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
1174
|
+
|
1175
|
+
|
1176
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:27 -0400
|
1177
|
+
Served asset /application.js - 304 Not Modified (19ms)
|
1178
|
+
|
1179
|
+
|
1180
|
+
Started GET "/" for 127.0.0.1 at 2013-05-16 16:57:38 -0400
|
1181
|
+
Processing by WelcomeController#index as HTML
|
1182
|
+
Rendered welcome/index.html.erb within layouts/application (0.0ms)
|
1183
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
1184
|
+
|
1185
|
+
|
1186
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:38 -0400
|
1187
|
+
Served asset /application.js - 200 OK (0ms)
|
1188
|
+
|
1189
|
+
|
1190
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-16 16:57:38 -0400
|
1191
|
+
Served asset /application.css - 200 OK (0ms)
|
1192
|
+
|
1193
|
+
|
1194
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:38 -0400
|
1195
|
+
Served asset /jquery_ujs.js - 200 OK (0ms)
|
1196
|
+
|
1197
|
+
|
1198
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-16 16:57:38 -0400
|
1199
|
+
Served asset /jquery.js - 200 OK (0ms)
|
1200
|
+
Connecting to database specified by database.yml
|
1201
|
+
|
1202
|
+
|
1203
|
+
Started GET "/" for 127.0.0.1 at 2013-05-16 16:58:42 -0400
|
1204
|
+
Processing by WelcomeController#index as HTML
|
1205
|
+
Rendered welcome/index.html.erb within layouts/application (1.5ms)
|
1206
|
+
Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms)
|
1207
|
+
|
1208
|
+
|
1209
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-16 16:58:42 -0400
|
1210
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
1211
|
+
|
1212
|
+
|
1213
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-16 16:58:42 -0400
|
1214
|
+
Served asset /application.js - 304 Not Modified (19ms)
|
1215
|
+
|
1216
|
+
|
1217
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-16 16:58:42 -0400
|
1218
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
1219
|
+
|
1220
|
+
|
1221
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-16 16:58:42 -0400
|
1222
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
1223
|
+
|
1224
|
+
|
1225
|
+
Started GET "/" for 127.0.0.1 at 2013-05-16 16:59:01 -0400
|
1226
|
+
Processing by WelcomeController#index as HTML
|
1227
|
+
Rendered welcome/index.html.erb within layouts/application (0.0ms)
|
1228
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
1229
|
+
|
1230
|
+
|
1231
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-16 16:59:01 -0400
|
1232
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1233
|
+
|
1234
|
+
|
1235
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-16 16:59:01 -0400
|
1236
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1237
|
+
|
1238
|
+
|
1239
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-16 16:59:01 -0400
|
1240
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1241
|
+
|
1242
|
+
|
1243
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-16 16:59:01 -0400
|
1244
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1245
|
+
|
1246
|
+
|
1247
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 10:33:13 -0400
|
1248
|
+
Processing by WelcomeController#index as HTML
|
1249
|
+
Rendered welcome/index.html.erb within layouts/application (0.0ms)
|
1250
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
1251
|
+
|
1252
|
+
|
1253
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:33:13 -0400
|
1254
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
1255
|
+
|
1256
|
+
|
1257
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:13 -0400
|
1258
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1259
|
+
|
1260
|
+
|
1261
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:13 -0400
|
1262
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1263
|
+
|
1264
|
+
|
1265
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:13 -0400
|
1266
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1267
|
+
|
1268
|
+
|
1269
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 10:33:51 -0400
|
1270
|
+
Processing by WelcomeController#index as HTML
|
1271
|
+
Rendered welcome/index.html.erb within layouts/application (0.0ms)
|
1272
|
+
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
1273
|
+
|
1274
|
+
|
1275
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:33:51 -0400
|
1276
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
1277
|
+
|
1278
|
+
|
1279
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:51 -0400
|
1280
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1281
|
+
|
1282
|
+
|
1283
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:51 -0400
|
1284
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1285
|
+
|
1286
|
+
|
1287
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 10:33:51 -0400
|
1288
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1289
|
+
Connecting to database specified by database.yml
|
1290
|
+
|
1291
|
+
|
1292
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 10:36:29 -0400
|
1293
|
+
Processing by WelcomeController#index as HTML
|
1294
|
+
Rendered welcome/index.html.erb within layouts/application (1.5ms)
|
1295
|
+
Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
|
1296
|
+
|
1297
|
+
|
1298
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:36:29 -0400
|
1299
|
+
Served asset /application.css - 200 OK (1ms)
|
1300
|
+
|
1301
|
+
|
1302
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 10:36:29 -0400
|
1303
|
+
Served asset /jquery.js - 200 OK (2ms)
|
1304
|
+
|
1305
|
+
|
1306
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 10:36:29 -0400
|
1307
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
1308
|
+
|
1309
|
+
|
1310
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 10:36:30 -0400
|
1311
|
+
Served asset /application.js - 200 OK (5ms)
|
1312
|
+
|
1313
|
+
|
1314
|
+
Started GET "/welcome.html?provider=facebook&UID=_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I%3D&UIDSig=X1zvBTEfXqPX2kYZevI4dsNkupk%3D×tamp=2013-05-17%2014%3A36%3A30&UIDSignature=Gq0m%2Fu99FcSXrHvdeVRGq89pOSY%3D&signatureTimestamp=1368801390&loginProviderUID=100002922034023&isSiteUID=false&signature=X1zvBTEfXqPX2kYZevI4dsNkupk%3D&nickname=Fred%20Guy&photoURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dlarge&thumbnailURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dsquare&birthDay=16&birthMonth=5&birthYear=1979&gender=m&email=fbt%40fishingmaster.com&proxiedEmail=&country=&state=&city=Orlando%2C%20Florida&zip=&firstName=Fred&lastName=Guy&profileURL=http%3A%2F%2Fwww.facebook.com%2Ffred.guy.79&isLoggedIn=true&isConnected=true&isSiteUser=true&loginProvider=facebook&isTempUser=false" for 127.0.0.1 at 2013-05-17 10:36:32 -0400
|
1315
|
+
Processing by WelcomeController#index as HTML
|
1316
|
+
Parameters: {"provider"=>"facebook", "UID"=>"_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I=", "UIDSig"=>"X1zvBTEfXqPX2kYZevI4dsNkupk=", "timestamp"=>"2013-05-17 14:36:30", "UIDSignature"=>"Gq0m/u99FcSXrHvdeVRGq89pOSY=", "signatureTimestamp"=>"1368801390", "loginProviderUID"=>"100002922034023", "isSiteUID"=>"false", "signature"=>"X1zvBTEfXqPX2kYZevI4dsNkupk=", "nickname"=>"Fred Guy", "photoURL"=>"http://graph.facebook.com/100002922034023/picture?type=large", "thumbnailURL"=>"http://graph.facebook.com/100002922034023/picture?type=square", "birthDay"=>"16", "birthMonth"=>"5", "birthYear"=>"1979", "gender"=>"m", "email"=>"fbt@fishingmaster.com", "proxiedEmail"=>"", "country"=>"", "state"=>"", "city"=>"Orlando, Florida", "zip"=>"", "firstName"=>"Fred", "lastName"=>"Guy", "profileURL"=>"http://www.facebook.com/fred.guy.79", "isLoggedIn"=>"true", "isConnected"=>"true", "isSiteUser"=>"true", "loginProvider"=>"facebook", "isTempUser"=>"false"}
|
1317
|
+
Completed 500 Internal Server Error in 0ms
|
1318
|
+
|
1319
|
+
ArgumentError (comparison of String with :timestamp failed):
|
1320
|
+
app/controllers/welcome_controller.rb:16:in `index'
|
1321
|
+
|
1322
|
+
|
1323
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
1324
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
1325
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
|
1326
|
+
Connecting to database specified by database.yml
|
1327
|
+
|
1328
|
+
|
1329
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 10:37:30 -0400
|
1330
|
+
Processing by WelcomeController#index as HTML
|
1331
|
+
Rendered welcome/index.html.erb within layouts/application (1.6ms)
|
1332
|
+
Completed 200 OK in 17ms (Views: 17.0ms | ActiveRecord: 0.0ms)
|
1333
|
+
|
1334
|
+
|
1335
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:37:30 -0400
|
1336
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
1337
|
+
|
1338
|
+
|
1339
|
+
Started GET "/welcome.html?provider=facebook&UID=_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I%3D&UIDSig=%2FupKrltDDCNwBc0k50Q0aWj4okE%3D×tamp=2013-05-17%2014%3A37%3A30&UIDSignature=aovpWfCJxlj9aAqUyeJo%2BhNqa0g%3D&signatureTimestamp=1368801450&loginProviderUID=100002922034023&isSiteUID=false&signature=%2FupKrltDDCNwBc0k50Q0aWj4okE%3D&nickname=Fred%20Guy&photoURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dlarge&thumbnailURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dsquare&birthDay=16&birthMonth=5&birthYear=1979&gender=m&email=fbt%40fishingmaster.com&proxiedEmail=&country=&state=&city=Orlando%2C%20Florida&zip=&firstName=Fred&lastName=Guy&profileURL=http%3A%2F%2Fwww.facebook.com%2Ffred.guy.79&isLoggedIn=true&isConnected=true&isSiteUser=true&loginProvider=facebook&isTempUser=false" for 127.0.0.1 at 2013-05-17 10:37:32 -0400
|
1340
|
+
Processing by WelcomeController#index as HTML
|
1341
|
+
Parameters: {"provider"=>"facebook", "UID"=>"_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I=", "UIDSig"=>"/upKrltDDCNwBc0k50Q0aWj4okE=", "timestamp"=>"2013-05-17 14:37:30", "UIDSignature"=>"aovpWfCJxlj9aAqUyeJo+hNqa0g=", "signatureTimestamp"=>"1368801450", "loginProviderUID"=>"100002922034023", "isSiteUID"=>"false", "signature"=>"/upKrltDDCNwBc0k50Q0aWj4okE=", "nickname"=>"Fred Guy", "photoURL"=>"http://graph.facebook.com/100002922034023/picture?type=large", "thumbnailURL"=>"http://graph.facebook.com/100002922034023/picture?type=square", "birthDay"=>"16", "birthMonth"=>"5", "birthYear"=>"1979", "gender"=>"m", "email"=>"fbt@fishingmaster.com", "proxiedEmail"=>"", "country"=>"", "state"=>"", "city"=>"Orlando, Florida", "zip"=>"", "firstName"=>"Fred", "lastName"=>"Guy", "profileURL"=>"http://www.facebook.com/fred.guy.79", "isLoggedIn"=>"true", "isConnected"=>"true", "isSiteUser"=>"true", "loginProvider"=>"facebook", "isTempUser"=>"false"}
|
1342
|
+
Rendered welcome/index.html.erb within layouts/application (0.1ms)
|
1343
|
+
Completed 200 OK in 975ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
1344
|
+
|
1345
|
+
|
1346
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:37:33 -0400
|
1347
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
1348
|
+
|
1349
|
+
|
1350
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 10:37:33 -0400
|
1351
|
+
Served asset /jquery.js - 304 Not Modified (4ms)
|
1352
|
+
|
1353
|
+
|
1354
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 10:37:33 -0400
|
1355
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
1356
|
+
|
1357
|
+
|
1358
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 10:37:33 -0400
|
1359
|
+
Served asset /application.js - 304 Not Modified (3ms)
|
1360
|
+
Connecting to database specified by database.yml
|
1361
|
+
|
1362
|
+
|
1363
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 10:38:08 -0400
|
1364
|
+
Processing by WelcomeController#index as HTML
|
1365
|
+
Rendered welcome/index.html.erb within layouts/application (1.4ms)
|
1366
|
+
Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms)
|
1367
|
+
|
1368
|
+
|
1369
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 10:38:08 -0400
|
1370
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
1371
|
+
|
1372
|
+
|
1373
|
+
Started GET "/welcome.html?provider=facebook&UID=_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I%3D&UIDSig=04olk4w4%2FQrTdTKVKZcpc%2Fdpo70%3D×tamp=2013-05-17%2014%3A38%3A08&UIDSignature=lSqlpW78u8qDfinFyycNXYsndag%3D&signatureTimestamp=1368801488&loginProviderUID=100002922034023&isSiteUID=false&signature=04olk4w4%2FQrTdTKVKZcpc%2Fdpo70%3D&nickname=Fred%20Guy&photoURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dlarge&thumbnailURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dsquare&birthDay=16&birthMonth=5&birthYear=1979&gender=m&email=fbt%40fishingmaster.com&proxiedEmail=&country=&state=&city=Orlando%2C%20Florida&zip=&firstName=Fred&lastName=Guy&profileURL=http%3A%2F%2Fwww.facebook.com%2Ffred.guy.79&isLoggedIn=true&isConnected=true&isSiteUser=true&loginProvider=facebook&isTempUser=false" for 127.0.0.1 at 2013-05-17 10:38:10 -0400
|
1374
|
+
Processing by WelcomeController#index as HTML
|
1375
|
+
Parameters: {"provider"=>"facebook", "UID"=>"_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I=", "UIDSig"=>"04olk4w4/QrTdTKVKZcpc/dpo70=", "timestamp"=>"2013-05-17 14:38:08", "UIDSignature"=>"lSqlpW78u8qDfinFyycNXYsndag=", "signatureTimestamp"=>"1368801488", "loginProviderUID"=>"100002922034023", "isSiteUID"=>"false", "signature"=>"04olk4w4/QrTdTKVKZcpc/dpo70=", "nickname"=>"Fred Guy", "photoURL"=>"http://graph.facebook.com/100002922034023/picture?type=large", "thumbnailURL"=>"http://graph.facebook.com/100002922034023/picture?type=square", "birthDay"=>"16", "birthMonth"=>"5", "birthYear"=>"1979", "gender"=>"m", "email"=>"fbt@fishingmaster.com", "proxiedEmail"=>"", "country"=>"", "state"=>"", "city"=>"Orlando, Florida", "zip"=>"", "firstName"=>"Fred", "lastName"=>"Guy", "profileURL"=>"http://www.facebook.com/fred.guy.79", "isLoggedIn"=>"true", "isConnected"=>"true", "isSiteUser"=>"true", "loginProvider"=>"facebook", "isTempUser"=>"false"}
|
1376
|
+
Completed 500 Internal Server Error in 0ms
|
1377
|
+
|
1378
|
+
ArgumentError (comparison of String with :timestamp failed):
|
1379
|
+
app/controllers/welcome_controller.rb:16:in `index'
|
1380
|
+
|
1381
|
+
|
1382
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
1383
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
1384
|
+
Rendered /Users/scottsampson/.rvm/gems/ruby-1.9.3-p125@rgigya/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms)
|
1385
|
+
Connecting to database specified by database.yml
|
1386
|
+
|
1387
|
+
|
1388
|
+
Started GET "/" for 127.0.0.1 at 2013-05-17 11:21:44 -0400
|
1389
|
+
Processing by WelcomeController#index as HTML
|
1390
|
+
Rendered welcome/index.html.erb within layouts/application (1.5ms)
|
1391
|
+
Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms)
|
1392
|
+
|
1393
|
+
|
1394
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 11:21:44 -0400
|
1395
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
1396
|
+
|
1397
|
+
|
1398
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:44 -0400
|
1399
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
1400
|
+
|
1401
|
+
|
1402
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:44 -0400
|
1403
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
1404
|
+
|
1405
|
+
|
1406
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:44 -0400
|
1407
|
+
Served asset /application.js - 304 Not Modified (22ms)
|
1408
|
+
|
1409
|
+
|
1410
|
+
Started GET "/welcome.html?provider=facebook&UID=_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I%3D&UIDSig=EHosXFgDESQM3r9QnWyV8vmmTRA%3D×tamp=2013-05-17%2015%3A21%3A46&UIDSignature=vfBp4BngFthkZ27y8F5hQWis56E%3D&signatureTimestamp=1368804106&loginProviderUID=100002922034023&isSiteUID=false&signature=EHosXFgDESQM3r9QnWyV8vmmTRA%3D&nickname=Fred%20Guy&photoURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dlarge&thumbnailURL=http%3A%2F%2Fgraph.facebook.com%2F100002922034023%2Fpicture%3Ftype%3Dsquare&birthDay=16&birthMonth=5&birthYear=1979&gender=m&email=fbt%40fishingmaster.com&proxiedEmail=&country=&state=&city=Orlando%2C%20Florida&zip=&firstName=Fred&lastName=Guy&profileURL=http%3A%2F%2Fwww.facebook.com%2Ffred.guy.79&isLoggedIn=true&isConnected=true&isSiteUser=true&loginProvider=facebook&isTempUser=false" for 127.0.0.1 at 2013-05-17 11:21:47 -0400
|
1411
|
+
Processing by WelcomeController#index as HTML
|
1412
|
+
Parameters: {"provider"=>"facebook", "UID"=>"_guid_Fl0PNcNBhiBWbQxbhAJHHXqFsI22kJulKl43kwQFO-I=", "UIDSig"=>"EHosXFgDESQM3r9QnWyV8vmmTRA=", "timestamp"=>"2013-05-17 15:21:46", "UIDSignature"=>"vfBp4BngFthkZ27y8F5hQWis56E=", "signatureTimestamp"=>"1368804106", "loginProviderUID"=>"100002922034023", "isSiteUID"=>"false", "signature"=>"EHosXFgDESQM3r9QnWyV8vmmTRA=", "nickname"=>"Fred Guy", "photoURL"=>"http://graph.facebook.com/100002922034023/picture?type=large", "thumbnailURL"=>"http://graph.facebook.com/100002922034023/picture?type=square", "birthDay"=>"16", "birthMonth"=>"5", "birthYear"=>"1979", "gender"=>"m", "email"=>"fbt@fishingmaster.com", "proxiedEmail"=>"", "country"=>"", "state"=>"", "city"=>"Orlando, Florida", "zip"=>"", "firstName"=>"Fred", "lastName"=>"Guy", "profileURL"=>"http://www.facebook.com/fred.guy.79", "isLoggedIn"=>"true", "isConnected"=>"true", "isSiteUser"=>"true", "loginProvider"=>"facebook", "isTempUser"=>"false"}
|
1413
|
+
Rendered welcome/index.html.erb within layouts/application (0.1ms)
|
1414
|
+
Completed 200 OK in 563ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
1415
|
+
|
1416
|
+
|
1417
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:48 -0400
|
1418
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1419
|
+
|
1420
|
+
|
1421
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-17 11:21:48 -0400
|
1422
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1423
|
+
|
1424
|
+
|
1425
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:48 -0400
|
1426
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1427
|
+
|
1428
|
+
|
1429
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-17 11:21:48 -0400
|
1430
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgigya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
16
|
-
requirement: &
|
16
|
+
requirement: &70196975912640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.11.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70196975912640
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jeweler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70196975912060 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.8.4
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70196975912060
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &70196975911400 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70196975911400
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rdoc
|
49
|
-
requirement: &
|
49
|
+
requirement: &70196975910820 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '3.12'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70196975910820
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: bundler
|
60
|
-
requirement: &
|
60
|
+
requirement: &70196975910200 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.3.4
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70196975910200
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
requirement: &
|
71
|
+
requirement: &70196975909580 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70196975909580
|
80
80
|
description: This is a ruby SDK for the Gigya api.
|
81
81
|
email: scott@cloudspace.com
|
82
82
|
executables: []
|
@@ -93,9 +93,14 @@ files:
|
|
93
93
|
- Rakefile
|
94
94
|
- VERSION
|
95
95
|
- lib/rgigya.rb
|
96
|
+
- lib/rgigya/base.rb
|
97
|
+
- lib/rgigya/hash.rb
|
98
|
+
- lib/rgigya/sig_utils.rb
|
96
99
|
- rgigya.gemspec
|
97
100
|
- spec/helpers.rb
|
98
|
-
- spec/
|
101
|
+
- spec/rgigya_secure_spec.rb
|
102
|
+
- spec/rgigya_shared_examples.rb
|
103
|
+
- spec/rgigya_signature_spec.rb
|
99
104
|
- spec/spec_helper.rb
|
100
105
|
- test/dummy/Gemfile
|
101
106
|
- test/dummy/Gemfile.lock
|
@@ -164,7 +169,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
169
|
version: '0'
|
165
170
|
segments:
|
166
171
|
- 0
|
167
|
-
hash:
|
172
|
+
hash: 2968906243181295626
|
168
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
174
|
none: false
|
170
175
|
requirements:
|