Sha256: 25f2cf1fe39b46273e5d2d4282866ef4ba05304a9bc4d92fe8b3b93b63ffc8e3

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 KB

Contents

[gem]: https://rubygems.org/gems/rom-sql
[actions]: https://github.com/rom-rb/rom-sql/actions
[codeclimate]: https://codeclimate.com/github/rom-rb/rom-sql
[inchpages]: http://inch-ci.org/github/rom-rb/rom-sql
[chat]: https://rom-rb.zulipchat.com

# rom-sql [![Join the chat at https://rom-rb.zulipchat.com](https://img.shields.io/badge/rom--rb-join%20chat-942283.svg)][chat]

[![Gem Version](https://badge.fury.io/rb/rom-sql.svg)][gem]
[![CI Status](https://github.com/rom-rb/rom-sql/workflows/ci/badge.svg)][actions]
[![Code Climate](https://codeclimate.com/github/rom-rb/rom-sql/badges/gpa.svg)][codeclimate]
[![Test Coverage](https://codeclimate.com/github/rom-rb/rom-sql/badges/coverage.svg)][codeclimate]
[![Inline docs](http://inch-ci.org/github/rom-rb/rom-sql.svg?branch=master)][inchpages]

SQL support for [rom-rb](https://github.com/rom-rb/rom).

Resources:

- [User Documentation](http://rom-rb.org/learn/sql/)
- [API Documentation](http://rubydoc.info/gems/rom-sql)

## Installation

Add this line to your application's Gemfile:

```ruby
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:

```bash
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:

```bash
docker-compose build gem
bin/run-specs
```

### Stopping the dependencies

In order to stop the dependencies, execute:

```bash
docker-compose down --remove-orphans --volumes
```

## License

See `LICENSE` file.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-sql-3.2.0 README.md
rom-sql-3.1.0 README.md