omniauth-facebook-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -17,6 +17,22 @@ export FACEBOOK_APP_KEY=123456
17
17
  export FACEBOOK_APP_SECRET=abcdef
18
18
  ```
19
19
 
20
+ Move the migration files:
21
+
22
+ ```
23
+ rake omniauth_facebook:setup
24
+ ```
25
+
26
+ Then, migrate then:
27
+
28
+ ```
29
+ rake db:migrate
30
+ ```
31
+
32
+ It will add the fields to your users table if it already exists,
33
+ otherwise it will create it.
34
+
35
+
20
36
  It is heavily recommended for you to change railsties order in
21
37
  `config/application.rb`:
22
38
 
@@ -33,6 +33,6 @@ class AddFacebookOmniauthFields < ActiveRecord::Migration
33
33
  t.string "email"
34
34
  t.string "photo_url"
35
35
  t.string "access_token"
36
- t.string "extra"
36
+ t.text "extra"
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module OmniauthFacebookRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1449,3 +1449,246 @@ updated_time: ''2011-07-19T00:05:20+0000''
1449
1449
   (0.0ms) RELEASE SAVEPOINT active_record_1
1450
1450
   (0.1ms) SELECT COUNT(*) FROM "users" 
1451
1451
   (0.4ms) rollback transaction
1452
+ Connecting to database specified by database.yml
1453
+  (1.3ms) begin transaction
1454
+  (0.1ms) SAVEPOINT active_record_1
1455
+ SQL (26.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "100003045769261"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1457
+ Processing by SessionsController#create as HTML
1458
+ Parameters: {"provider"=>"facebook"}
1459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '100003045769261' LIMIT 1
1460
+  (0.0ms) SAVEPOINT active_record_1
1461
+  (0.3ms) UPDATE "users" SET "name" = 'Dejurema Jockifort', "email" = 'contato@startupdev.com.br', "photo_url" = 'http://graph.facebook.com/100003045769261/picture?type=square', "access_token" = 'AAADvZADZBnlLABAMVZAUX1s7ptC0m9HZCaaIkMw8AMxFBtV3uZCmjflQDKba5PPt3kqZAgVlmZCeA6tXAUaBlLEInggas8lAGIzXzP4azfrsgZDZD', "updated_at" = '2012-12-04 19:18:33.900825' WHERE "users"."id" = 1
1462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1463
+ Redirected to http://test.host/
1464
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
1465
+  (0.4ms) rollback transaction
1466
+  (0.0ms) begin transaction
1467
+  (0.0ms) SAVEPOINT active_record_1
1468
+ SQL (0.5ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "100003045769261"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1470
+ Processing by SessionsController#create as HTML
1471
+ Parameters: {"provider"=>"facebook"}
1472
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '100003045769261' LIMIT 1
1473
+  (0.0ms) SAVEPOINT active_record_1
1474
+  (0.3ms) UPDATE "users" SET "name" = 'Dejurema Jockifort', "email" = 'contato@startupdev.com.br', "photo_url" = 'http://graph.facebook.com/100003045769261/picture?type=square', "access_token" = 'AAADvZADZBnlLABAMVZAUX1s7ptC0m9HZCaaIkMw8AMxFBtV3uZCmjflQDKba5PPt3kqZAgVlmZCeA6tXAUaBlLEInggas8lAGIzXzP4azfrsgZDZD', "updated_at" = '2012-12-04 19:18:33.908922' WHERE "users"."id" = 1
1475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1476
+ Redirected to http://test.host/
1477
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1478
+  (0.5ms) rollback transaction
1479
+  (0.0ms) begin transaction
1480
+  (0.0ms) SAVEPOINT active_record_1
1481
+ SQL (0.5ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "100003045769261"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1483
+ Processing by SessionsController#create as HTML
1484
+ Parameters: {"provider"=>"facebook"}
1485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '100003045769261' LIMIT 1
1486
+  (0.0ms) SAVEPOINT active_record_1
1487
+  (0.4ms) UPDATE "users" SET "name" = 'Dejurema Jockifort', "email" = 'contato@startupdev.com.br', "photo_url" = 'http://graph.facebook.com/100003045769261/picture?type=square', "access_token" = 'AAADvZADZBnlLABAMVZAUX1s7ptC0m9HZCaaIkMw8AMxFBtV3uZCmjflQDKba5PPt3kqZAgVlmZCeA6tXAUaBlLEInggas8lAGIzXzP4azfrsgZDZD', "updated_at" = '2012-12-04 19:18:33.915629' WHERE "users"."id" = 1
1488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1489
+ Redirected to http://test.host/
1490
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
1491
+  (0.4ms) rollback transaction
1492
+  (0.0ms) begin transaction
1493
+  (0.0ms) SAVEPOINT active_record_1
1494
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "100003045769261"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1496
+ Processing by SessionsController#create as HTML
1497
+ Parameters: {"provider"=>"facebook"}
1498
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '100003045769261' LIMIT 1
1499
+  (0.0ms) SAVEPOINT active_record_1
1500
+  (0.3ms) UPDATE "users" SET "name" = 'Dejurema Jockifort', "email" = 'contato@startupdev.com.br', "photo_url" = 'http://graph.facebook.com/100003045769261/picture?type=square', "access_token" = 'AAADvZADZBnlLABAMVZAUX1s7ptC0m9HZCaaIkMw8AMxFBtV3uZCmjflQDKba5PPt3kqZAgVlmZCeA6tXAUaBlLEInggas8lAGIzXzP4azfrsgZDZD', "updated_at" = '2012-12-04 19:18:33.922241' WHERE "users"."id" = 1
1501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1502
+ Redirected to http://test.host/this/path
1503
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1504
+  (0.4ms) rollback transaction
1505
+  (0.1ms) begin transaction
1506
+ Processing by SessionsController#failure as HTML
1507
+ Redirected to http://test.host/
1508
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1509
+  (0.1ms) rollback transaction
1510
+  (0.0ms) begin transaction
1511
+ Processing by SessionsController#failure as HTML
1512
+ Redirected to http://test.host/
1513
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1514
+  (0.0ms) rollback transaction
1515
+  (0.0ms) begin transaction
1516
+ Processing by SessionsController#failure as HTML
1517
+ Redirected to http://test.host/this/path
1518
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1519
+  (0.0ms) rollback transaction
1520
+  (0.0ms) begin transaction
1521
+ Processing by SessionsController#destroy as HTML
1522
+ Redirected to http://test.host/
1523
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1524
+  (0.1ms) rollback transaction
1525
+  (0.0ms) begin transaction
1526
+ Processing by SessionsController#destroy as HTML
1527
+ Redirected to http://test.host/
1528
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1529
+  (0.0ms) rollback transaction
1530
+  (0.0ms) begin transaction
1531
+ Processing by SessionsController#destroy as HTML
1532
+ Redirected to http://test.host/
1533
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1534
+  (0.0ms) rollback transaction
1535
+  (0.0ms) begin transaction
1536
+  (0.1ms) SELECT COUNT(*) FROM "users"
1537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1538
+  (0.0ms) SAVEPOINT active_record_1
1539
+ SQL (0.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.0ms) SAVEPOINT active_record_1
1542
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.946754' WHERE "users"."id" = 1
1543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.1ms) SELECT COUNT(*) FROM "users"
1545
+  (0.5ms) rollback transaction
1546
+  (0.0ms) begin transaction
1547
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1548
+  (0.0ms) SAVEPOINT active_record_1
1549
+ SQL (0.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1551
+  (0.0ms) SAVEPOINT active_record_1
1552
+  (0.2ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.951692' WHERE "users"."id" = 1
1553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1554
+  (0.4ms) rollback transaction
1555
+  (0.1ms) begin transaction
1556
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1557
+  (0.0ms) SAVEPOINT active_record_1
1558
+ SQL (0.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1560
+  (0.0ms) SAVEPOINT active_record_1
1561
+  (0.4ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.955878' WHERE "users"."id" = 1
1562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1563
+  (0.4ms) rollback transaction
1564
+  (0.1ms) begin transaction
1565
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1566
+  (0.0ms) SAVEPOINT active_record_1
1567
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1569
+  (0.0ms) SAVEPOINT active_record_1
1570
+  (0.4ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.960821' WHERE "users"."id" = 1
1571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1572
+  (0.4ms) rollback transaction
1573
+  (0.0ms) begin transaction
1574
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1575
+  (0.0ms) SAVEPOINT active_record_1
1576
+ SQL (0.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1578
+  (0.0ms) SAVEPOINT active_record_1
1579
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.965217' WHERE "users"."id" = 1
1580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1581
+  (0.6ms) rollback transaction
1582
+  (0.1ms) begin transaction
1583
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1584
+  (0.0ms) SAVEPOINT active_record_1
1585
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.0ms) SAVEPOINT active_record_1
1588
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.970492' WHERE "users"."id" = 1
1589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1590
+  (0.4ms) rollback transaction
1591
+  (0.0ms) begin transaction
1592
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1593
+  (0.0ms) SAVEPOINT active_record_1
1594
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1596
+  (0.0ms) SAVEPOINT active_record_1
1597
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.974865' WHERE "users"."id" = 1
1598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1599
+  (0.5ms) rollback transaction
1600
+  (0.0ms) begin transaction
1601
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1602
+  (0.0ms) SAVEPOINT active_record_1
1603
+ SQL (0.3ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", nil], ["extra", nil], ["name", nil], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1605
+  (0.0ms) SAVEPOINT active_record_1
1606
+  (0.2ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.979264' WHERE "users"."id" = 1
1607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1608
+  (0.5ms) rollback transaction
1609
+  (0.0ms) begin transaction
1610
+  (0.0ms) SAVEPOINT active_record_1
1611
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1613
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1614
+  (0.0ms) SAVEPOINT active_record_1
1615
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.984015' WHERE "users"."id" = 1
1616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1617
+  (0.5ms) rollback transaction
1618
+  (0.0ms) begin transaction
1619
+  (0.0ms) SAVEPOINT active_record_1
1620
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1622
+  (0.1ms) SELECT COUNT(*) FROM "users"
1623
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1624
+  (0.1ms) SAVEPOINT active_record_1
1625
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.989675' WHERE "users"."id" = 1
1626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1627
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1628
+  (0.3ms) rollback transaction
1629
+  (0.1ms) begin transaction
1630
+  (0.1ms) SAVEPOINT active_record_1
1631
+ SQL (0.5ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1633
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1634
+  (0.0ms) SAVEPOINT active_record_1
1635
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:33.996224' WHERE "users"."id" = 1
1636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1637
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1638
+  (0.4ms) rollback transaction
1639
+  (0.0ms) begin transaction
1640
+  (0.0ms) SAVEPOINT active_record_1
1641
+ SQL (0.7ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:33 UTC +00:00]]
1642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1643
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1644
+  (0.0ms) SAVEPOINT active_record_1
1645
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:34.002888' WHERE "users"."id" = 1
1646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1647
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1648
+  (0.3ms) rollback transaction
1649
+  (0.0ms) begin transaction
1650
+  (0.0ms) SAVEPOINT active_record_1
1651
+ SQL (0.6ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00]]
1652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1653
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1654
+  (0.0ms) SAVEPOINT active_record_1
1655
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:34.008857' WHERE "users"."id" = 1
1656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1657
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1658
+  (0.3ms) rollback transaction
1659
+  (0.1ms) begin transaction
1660
+  (0.0ms) SAVEPOINT active_record_1
1661
+ SQL (0.5ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00]]
1662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1663
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1664
+  (0.0ms) SAVEPOINT active_record_1
1665
+  (0.2ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:34.014708' WHERE "users"."id" = 1
1666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1667
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1668
+  (0.5ms) rollback transaction
1669
+  (0.1ms) begin transaction
1670
+  (0.0ms) SAVEPOINT active_record_1
1671
+ SQL (0.4ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00]]
1672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1673
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1674
+  (0.0ms) SAVEPOINT active_record_1
1675
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:34.019663' WHERE "users"."id" = 1
1676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1677
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1678
+  (0.4ms) rollback transaction
1679
+  (0.0ms) begin transaction
1680
+  (0.0ms) SAVEPOINT active_record_1
1681
+ SQL (0.6ms) INSERT INTO "users" ("access_token", "created_at", "email", "extra", "name", "photo_url", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", nil], ["created_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00], ["email", "my@old.me"], ["extra", nil], ["name", "My old name"], ["photo_url", nil], ["provider", "facebook"], ["uid", "123456"], ["updated_at", Tue, 04 Dec 2012 19:18:34 UTC +00:00]]
1682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1683
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'facebook' AND "users"."uid" = '123456' LIMIT 1
1684
+  (0.0ms) SAVEPOINT active_record_1
1685
+  (0.3ms) UPDATE "users" SET "name" = 'Sylvestre Mergulhão', "email" = 'mergulhao83@gmail.com', "photo_url" = 'http://graph.facebook.com/526830634/picture?type=square', "access_token" = 'AAADv', "updated_at" = '2012-12-04 19:18:34.025557' WHERE "users"."id" = 1
1686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1687
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1688
+  (0.5ms) rollback transaction
1689
+  (0.1ms) begin transaction
1690
+  (0.0ms) rollback transaction
1691
+  (0.0ms) begin transaction
1692
+  (0.1ms) rollback transaction
1693
+  (0.1ms) begin transaction
1694
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: omniauth-facebook-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Pedro Nascimento
@@ -161,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: -490056415748890864
164
+ hash: -3876430817975025091
165
165
  none: false
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  segments:
172
172
  - 0
173
- hash: -490056415748890864
173
+ hash: -3876430817975025091
174
174
  none: false
175
175
  requirements: []
176
176
  rubyforge_project: