avram

A database wrapper for reading, writing, and migrating Postgres databases orm lucky-framework
0.9.0 released
luckyframework/avram
160 64 193
Lucky

Avram

This project is still new. Guides will be posted when things are more complete.

Why Avram?

The name comes from Henriette Avram.

Henriette Davidson Avram (October 7, 1919 – April 22, 2006) was a computer programmer and systems analyst who developed the MARC format (Machine Readable Cataloging), the international data standard for bibliographic and holdings information in libraries.

Installation

Add this to your application's shard.yml:

dependencies:
  avram:
    github: luckyframework/avram

Usage

require "avram"

Contributing

  1. Fork it ( https://github.com/luckyframework/avram/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Install docker and docker-compose: https://docs.docker.com/compose/install/
  4. Run scripts/setup
  5. Make your changes
  6. Run scripts/test to run the specs, build shards, and check formatting
  7. Commit your changes (git commit -am 'Add some feature')
  8. Push to the branch (git push origin my-new-feature)
  9. Create a new Pull Request

Testing

To run the tests:

  1. Install docker and docker-compose: https://docs.docker.com/compose/install/
  2. Run scripts/setup to set up the docker environment
  3. Run scripts/test to run the specs, build shards, and check formatting

You can run individual tests like this: docker-compose run --rm app crystal spec path/to/spec.cr

Remember to run docker-compose down when you're done. This will stop the Crystal container.

Contributors

avram:
  github: luckyframework/avram
  version: ~> 0.9.0
License MIT
Crystal 0.27.2

Authors

Dependencies 7

  • blank
    {'github' => 'kostya/blank'}
  • db
    {'github' => 'crystal-lang/crystal-db'}
  • dexter ~> 0.1
    {'github' => 'luckyframework/dexter', 'version' => '~> 0.1'}
  • habitat ~> 0.4
    {'github' => 'luckyframework/habitat', 'version' => '~> 0.4'}
  • lucky_cli ~> 0.13
    {'github' => 'luckyframework/lucky_cli', 'version' => '~> 0.13'}
  • pg ~> 0.15
    {'github' => 'will/crystal-pg', 'version' => '~> 0.15'}
  • wordsmith ~> 0.2
    {'github' => 'luckyframework/wordsmith', 'version' => '~> 0.2'}

Development Dependencies 0

Dependents 6

Last synced .
search fire star recently