{"push_id":2048972571,"size":5,"distinct_size":1,"ref":"refs/heads/master","head":"30304b22e778e4e4ac6a022862137e5575e3f6e8","before":"66d9e9cf5fd5b43db6862a234081bb7bc070dfd4","commits":[{"sha":"1c25deb3d8feaf7ff0b7fa7488bfa0bee0c80cb1","author":{"name":"GeorgeSalari","email":"c8d4e2805a52beee49f1cdbf3c02d34330fd7b81@gmail.com"},"message":"add figaro gem","distinct":false,"url":"https://api.github.com/repos/GeorgeSalari/tripadvisor-clone/commits/1c25deb3d8feaf7ff0b7fa7488bfa0bee0c80cb1"},{"sha":"870424896f06c279f294f0aaa70152d1c356ad07","author":{"name":"GeorgeSalari","email":"c8d4e2805a52beee49f1cdbf3c02d34330fd7b81@gmail.com"},"message":"merge\nMerge branch 'master' into feature/user_authentication","distinct":false,"url":"https://api.github.com/repos/GeorgeSalari/tripadvisor-clone/commits/870424896f06c279f294f0aaa70152d1c356ad07"},{"sha":"30f5cdc25765c73facf5f56d704fc21b451ab45b","author":{"name":"GeorgeSalari","email":"c8d4e2805a52beee49f1cdbf3c02d34330fd7b81@gmail.com"},"message":"add gem \"omniauth-google-oauth2\", \"~> 0.2.1\"","distinct":false,"url":"https://api.github.com/repos/GeorgeSalari/tripadvisor-clone/commits/30f5cdc25765c73facf5f56d704fc21b451ab45b"},{"sha":"a9d4c4ba76a5e8b632567c5026f22a068be12be4","author":{"name":"GeorgeSalari","email":"c8d4e2805a52beee49f1cdbf3c02d34330fd7b81@gmail.com"},"message":"1. sign into the Google APIs console\n2. create project modal\n3. enable Contacts API\n4. enable Google+ API\n5. in autorized redirect URIs add http://localhost:3000/auth/google_oauth2/callback\n6. instal figaro\n7. add in aplication.yml google client id and google secret\n8. instal gem \"omniauth-google-oauth2\", \"~> 0.2.1\"\n9. in config initializers create omniauth.rb\n10. add to user next column: provider, uid, oauth_token and oauth_expires_at\n11. set up root get 'auth/:provider/callback', to: 'sessions#create'\n12. ser up root get 'auth/failure', to: redirect('/')\n13. in the user model get from callback information that we need and create user\n14. add in sessions create possibility to create a session with google log in\n15. add button and style for log in via google","distinct":false,"url":"https://api.github.com/repos/GeorgeSalari/tripadvisor-clone/commits/a9d4c4ba76a5e8b632567c5026f22a068be12be4"},{"sha":"30304b22e778e4e4ac6a022862137e5575e3f6e8","author":{"name":"GeorgeSalari","email":"4c807ea9c894582870b5c19937b0dfad4010ac5b@users.noreply.github.com"},"message":"Merge pull request #2 from GeorgeSalari/feature/google_sing_in\n\nFeature/google sing in","distinct":true,"url":"https://api.github.com/repos/GeorgeSalari/tripadvisor-clone/commits/30304b22e778e4e4ac6a022862137e5575e3f6e8"}]}
{"actor":{"display_login":"GeorgeSalari"}}