<commit_before>[![Code Climate](https://codeclimate.com/github/jthibeaux/salesforce_bulk_client.png)](https://codeclimate.com/github/jthibeaux/salesforce_bulk_client) ![CircleCI](https://circleci.com/gh/:owner/:repo.png?circle-token=:circle-token)

# SalesforceBulkClient

Gem to perform data uploads using the Salesforce Bulk API. This library is only intended to support the bulk API, so salesforce authentication will need to be handled independently (we use the [databasedotcom](https://github.com/heroku/databasedotcom) gem)

## Installation

Add this line to your application's Gemfile:

    gem 'salesforce_bulk_client'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install salesforce_bulk_client

## Usage

A simplistic usage example of usage is below.

    connection = SalesforceBulkClient::Connection.new(instance_host, salesforce_client.oauth_token)<commit_msg>fix circleci badge.<commit_after>[![Code Climate](https://codeclimate.com/github/jthibeaux/salesforce_bulk_client.png)](https://codeclimate.com/github/jthibeaux/salesforce_bulk_client) ![CircleCI](https://circleci.com/gh/jthibeaux/salesforce_bulk_client.png?circle-token=<PASSWORD>)

# SalesforceBulkClient

Gem to perform data uploads using the Salesforce Bulk API. This library is only intended to support the bulk API, so salesforce authentication will need to be handled independently (we use the [databasedotcom](https://github.com/heroku/databasedotcom) gem)

## Installation

Add this line to your application's Gemfile:

    gem 'salesforce_bulk_client'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install salesforce_bulk_client

## Usage

A simplistic usage example of usage is below.

    connection = SalesforceBulkClient::Connection.new(instance_host, salesforce_client.oauth_token)
{'fraction_non_alphanumeric': 0.09060955518945635, 'fraction_numerical': 0.0, 'mean_word_length': 5.625454545454545, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 8, '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': '5719193', 'n_tokens_mistral': 572, 'n_tokens_neox': 540, 'n_words': 145}