DNNX / rom-sql

SQL support for rom-rb

Home Page:https://rom-rb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rom-sql Join the chat at https://rom-rb.zulipchat.com

Gem Version Build Status Code Climate Test Coverage Inline docs

SQL support for rom-rb.

Resources:

Installation

Add this line to your application's Gemfile:

gem 'rom-sql'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rom-sql

Docker

Development

In order to have reproducible environment for development, Docker can be used. Provided it's installed, in order to start developing, one can simply execute:

docker-compose run --rm gem "bash"

If this is the first time this command is executed, it will take some time to set up the dependencies and build the rom-sql container. This should happen only on first execution and in case dependency images are removed.

After dependencies are set container will be started in a bash shell.

Testing

In order to test the changes, execute:

docker-compose build gem
docker-compose run --rm gem 'rspec'

Stopping the dependencies

In order to stop the dependencies, execute:

docker-compose down --remove-orphans --volumes

License

See LICENSE file.

About

SQL support for rom-rb

https://rom-rb.org

License:MIT License


Languages

Language:Ruby 100.0%Language:Dockerfile 0.0%