<commit_before># Vinery

A Ruby interface for [Vine](http://vine.co).

## Installation

Add this line to your application's Gemfile:

    gem 'vinery'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install vinery

## Usage

Vine's API requires _all_ requests to be authenticated (via a session cookie) with a valid Vine username and password. Vinery will authenticate you upon initialization.

To begin, `require` Vinery in your ruby script and then create a new instance of `Vinery::API` by passing your Vine username and password as parameters.

```ruby
require 'vinery'
vinery = Vinery::API.new(vine_username,vine_password)
```

If Vine rejects your credentials, Vinery will raise `InvalidCredentialsError`. If no errors occur, then you have successfully authenticated with Vine and you're ready to go!

To learn more about how to work with `Vinery::API`, [browse the source code](blob/master/lib/vinery/api.rb).

## 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>Fixing the source code link<commit_after># Vinery

A Ruby interface for [Vine](http://vine.co).

## Installation

Add this line to your application's Gemfile:

    gem 'vinery'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install vinery

## Usage

Vine's API requires _all_ requests to be authenticated (via a session cookie) with a valid Vine username and password. Vinery will authenticate you upon initialization.

To begin, `require` Vinery in your ruby script and then create a new instance of `Vinery::API` by passing your Vine username and password as parameters.

```ruby
require 'vinery'
vinery = Vinery::API.new(vine_username,vine_password)
```

If Vine rejects your credentials, Vinery will raise `InvalidCredentialsError`. If no errors occur, then you have successfully authenticated with Vine and you're ready to go!

To learn more about how to work with `Vinery::API`, [browse the source code](lib/vinery/api.rb).

## 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.08466051969823973, 'fraction_numerical': 0.004191114836546521, 'mean_word_length': 4.3640449438202245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6356217', 'n_tokens_mistral': 720, 'n_tokens_neox': 667, 'n_words': 324}