<commit_before># SwiftScriptRunner

[![CI Status](http://img.shields.io/travis/mgrebenets/SwiftScriptRunner.svg?style=flat)](https://travis-ci.org/mgrebenets/SwiftScriptRunner)
[![Version](https://img.shields.io/cocoapods/v/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
[![License](https://img.shields.io/cocoapods/l/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
[![Platform](https://img.shields.io/cocoapods/p/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)

## Requirements

## Installation

SwiftScriptRunner is available through [CocoaPods Rome](https://github.com/neonichu/Rome) and [Carthage](https://github.com/Carthage/Carthage). 

### CocoaPods Rome

Make sure you have [cocoapods-rome](https://github.com/neonichu/Rome) Ruby gem insalled.

Add the following line to your Podfile:

```ruby
pod "SwiftScriptRunner"
```

And run
```bash
pod install --no-integrate
```

### Carthage

Add the following line to your Cartfile:

```ruby
```

And run

```bash
```

## Usage



## Author

<NAME>, <EMAIL>, @mgrebenets

## License

SwiftScriptRunner is available under the MIT license. See the LICENSE file for more info.
<commit_msg>Release 0.1.0<commit_after># SwiftScriptRunner

[![CI Status](http://img.shields.io/travis/mgrebenets/SwiftScriptRunner.svg?style=flat)](https://travis-ci.org/mgrebenets/SwiftScriptRunner)
[![Version](https://img.shields.io/cocoapods/v/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
[![License](https://img.shields.io/cocoapods/l/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
[![Platform](https://img.shields.io/cocoapods/p/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)



## Requirements

- Xcode 7.0.1
- cocoapods gem version 0.38.2
- [cocoapods-rome](https://github.com/neonichu/Rome) gem version 0.2.0
- carthage version 0.8.0

## Installation

SwiftScriptRunner is available through [CocoaPods Rome](https://github.com/neonichu/Rome) and [Carthage](https://github.com/Carthage/Carthage).

### CocoaPods Rome

Make sure you have [cocoapods-rome](https://github.com/neonichu/Rome) Ruby gem installed.

Add the following line to your Podfile:

```ruby
platform :osx, '10.10'
use_frameworks!
plugin 'cocoapods-rome'

pod "SwiftScriptRunner"
```

And run

```bash
pod install --no-integrate
```

### Carthage

Add the following line to your Cartfile:

```ruby
github "mgrebenets/SwiftScriptRunner"
```

And run

```bash
carthage update --platform mac
```

## Usage

Example with [Alamofire](https://github.com/Alamofire/Alamofire).

```swift
// alamofire.swift

import Alamofire
import SwiftScriptRunner

var runner = SwiftScriptRunner()
runner.lock() // Lock

Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"])
         .responseJSON { response in
             print(response.result)   // Result of response serialization
             runner.unlock() // Unlock
         }

runner.wait() // Wait
```

Now you can run it.

```bash
# When using CocoaPods
swift -F Rome alamofire.swift

# When using Carthage
swift -F Carthage/Build/Mac alamofire.swift
```

## Author

<NAME>, <EMAIL>, [@mgrebenets](https://twitter.com/mgrebenets)

## License

SwiftScriptRunner is available under the MIT license. See the LICENSE file for more info.

{'fraction_non_alphanumeric': 0.154979375368297, 'fraction_numerical': 0.0058927519151443725, 'mean_word_length': 4.823327615780446, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 17, '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': '6138649', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1186, 'n_words': 227}