Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hschne/minimal-data.rb

A minimal Ruby project for dealing with data. Ideal if you just want to get something done quickly 💎
https://github.com/hschne/minimal-data.rb

Last synced: 13 days ago
JSON representation

A minimal Ruby project for dealing with data. Ideal if you just want to get something done quickly 💎

Awesome Lists containing this project

README

        

# minimal-data.rb

This template contains a minimal Ruby starter for working with data. It includes:
- [CSV](https://github.com/ruby/csv) for importing data ↔️
- [Sqlilte3](https://github.com/sparklemotion/sqlite3-ruby) for storage 💾
- [Sequel](http://sequel.jeremyevans.net/) for querying ❔
- [Rspec](http://rspec.info/) for testing ✅
- [Pry](https://github.com/pry/pry) for debugging 🐞

## Getting Started

The following tasks are supported via [Rake](https://github.com/ruby/rake).

```bash
bundle install
bundle exec rake db:create
bundle exec rake app:run
bundle exec rake db:drop
```

To run tests:

```bash
bundle exec rake spec
```