<commit_before>require 'multiauth/rails'
require 'multiauth/views_helper'

module Multiauth
  PROVIDERS = {
    'Google' => {
      :url => 'https://www.google.com/accounts/o8/id'
    },
    'Yahoo' => {
      :url => 'http://yahoo.com/'
    },
    'Twitter' => {
      :url => '/users/sign_in/twitter',
      :real => true
    },
    'Facebook' => {
      :selector => lambda { oauth_authorize_url(resource_name, :facebook) },
      :real => true
    },
    'Launchpad' => {
      :url => 'https://launchpad.net/~{user_name}'
    },
    'Github' => {
      :url => lambda { oauth_authorize_url(resource_name, :github) },
      :real => true
    },
    'AOL' => {
      :user_name_txt => 'screen:name',
      :url => 'http://openid.aol.com/{user_name}'
    },
    'OpenID' => {
      :url => '{user_name}'
    },
    'MyOpenID' => {
      :url => 'http://{user_name}.myopenid.com/'
    },
    'Flickr' => {
      :url => 'http://flickr.com/{user_name}/'
    },
    'Vidoop' => {
      :url => 'http://{user_name}.myvidoop.com/'
    },
    'ClaimID' => {
      :url => 'http://claimid.com/{user_name}'
    },
    'Technorati' => {
      :url => 'http://technorati.com/people/technorati/{user_name}/'
    },
    'Wordpress' => {
      :url => 'http://{user_name}.wordpress.com/'
    },
    'Blogger' => {
      :url => 'http://{user_name}.blogspot.com/'<commit_msg>fix facebook oauth<commit_after>require 'multiauth/rails'
require 'multiauth/views_helper'

module Multiauth
  PROVIDERS = {
    'Google' => {
      :url => 'https://www.google.com/accounts/o8/id'
    },
    'Yahoo' => {
      :url => 'http://yahoo.com/'
    },
    'Twitter' => {
      :url => '/users/sign_in/twitter',
      :real => true
    },
    'Launchpad' => {
      :url => 'https://launchpad.net/~{user_name}'
    },
    'Facebook' => {
      :url => lambda { oauth_authorize_url(resource_name, :facebook) },
      :real => true
    },
    'OpenID' => {
      :url => '{user_name}'
    },
    'Github' => {
      :url => lambda { oauth_authorize_url(resource_name, :github) },
      :real => true
    },
    'AOL' => {
      :user_name_txt => 'screen:name',
      :url => 'http://openid.aol.com/{user_name}'
    },
    'MyOpenID' => {
      :url => 'http://{user_name}.myopenid.com/'
    },
    'Flickr' => {
      :url => 'http://flickr.com/{user_name}/'
    },
    'Vidoop' => {
      :url => 'http://{user_name}.myvidoop.com/'
    },
    'ClaimID' => {
      :url => 'http://claimid.com/{user_name}'
    },
    'Technorati' => {
      :url => 'http://technorati.com/people/technorati/{user_name}/'
    },
    'Wordpress' => {
      :url => 'http://{user_name}.wordpress.com/'
    },
    'Blogger' => {
      :url => 'http://{user_name}.blogspot.com/'
{'fraction_non_alphanumeric': 0.2252384446074835, 'fraction_numerical': 0.0007336757153338225, 'mean_word_length': 2.1894736842105265, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 71, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7413718', 'n_tokens_mistral': 1043, 'n_tokens_neox': 1019, 'n_words': 129}