<commit_before># SocialProfile

Wrapper for Omniauth profile hash https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema.

## Installation

Add this line to your application's Gemfile:

    gem 'social_profile'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install social_profile

## Usage

  profile = SocialProfile.get(auth_hash)
  profile.picture_url   # http://profile.ak.fbcdn.net/h..._4963049_s.jpg
  profile.gender        # 0 - unknown, 1 - female, 2 - male
  profile.profile_url   # http://www.facebook.com/develop.rails
  profile.provider      # facebook


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Use ruby helper<commit_after># SocialProfile

Wrapper for Omniauth profile hash https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema.

## Installation

Add this line to your application's Gemfile:

    gem 'social_profile'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install social_profile

## Usage

``` ruby
profile = SocialProfile.get(auth_hash)
profile.picture_url   # http://profile.ak.fbcdn.net/h..._4963049_s.jpg
profile.gender        # 0 - unknown, 1 - female, 2 - male
profile.profile_url   # http://www.facebook.com/develop.rails
profile.provider      # facebook
```


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.10855457227138643, 'fraction_numerical': 0.017699115044247787, 'mean_word_length': 3.486772486772487, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7669117', 'n_tokens_mistral': 563, 'n_tokens_neox': 517, 'n_words': 168}