<commit_before># Sqlay [![Build Status](https://travis-ci.org/simi/sqlay.png?branch=master)](https://travis-ci.org/simi/sqlay)

Really simple sqlite3 bindings for ruby. Just for my education purposes.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sqlay'
```

And then execute:

```
$ bundle
```

## Usage

```ruby
query = Sqlay.execute("test.db", "SELECT date('now') AS date;")
query[0]["date"] #=> '27/06/2013'
```

## TODO

* return valid data types based on column's type
* error reporting

## 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'`)<commit_msg>Updated TODO in README.md [ci skip]<commit_after># Sqlay [![Build Status](https://travis-ci.org/simi/sqlay.png?branch=master)](https://travis-ci.org/simi/sqlay)

Really simple sqlite3 bindings for ruby. Just for my education purposes.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sqlay'
```

And then execute:

```
$ bundle
```

## Usage

```ruby
query = Sqlay.execute("test.db", "SELECT date('now') AS date;")
query[0]["date"] #=> '27/06/2013'
```

## DONE

* basic data types works now (integer, float, string and null)

## TODO

* error reporting
* return valid BLOB

## 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'`)
{'fraction_non_alphanumeric': 0.16113416320885202, 'fraction_numerical': 0.017980636237897647, 'mean_word_length': 4.460377358490566, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '7599914', 'n_tokens_mistral': 528, 'n_tokens_neox': 487, 'n_words': 158}