Installation

# Add this to your shard.yml
dependencies:
  lucky_record:
    github: luckyframework/lucky_record
    version: ~> 0.7.0

Then run:

shards install

shard.yml

Crystal
0.27
License
MIT
Author
Paul Smith <paulcsmith0218@gmail.com>
Target
  • gen.migration from src/precompiled_tasks/gen/migration.cr

Dependencies

Runtime Dependencies

  • db*github: crystal-lang/crystal-db
  • pg~> 0.15github: will/crystal-pg
  • blank*github: kostya/blank
  • habitat~> 0.4.0github: luckyframework/habitat
  • lucky_cli~> 0.12github: luckyframework/lucky_cli
  • wordsmith~> 0.2github: luckyframework/wordsmith

README

# LuckyRecord

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

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
  lucky_record:
    github: luckyframework/lucky_record
```

## Usage

```crystal
require "lucky_record"
```

## Contributing

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

## Testing

To run the tests:

* Install Postgres: ([macOS](https://postgresapp.com)/[Others](https://wiki.postgresql.org/wiki/Detailed_installation_guides))
* Migrate the database using `crystal tasks.cr db.reset`
* Run the tests with `crystal spec`

## Contributors

- [paulcsmith](https://github.com/paulcsmith) Paul Smith - creator, maintainer
- [mikeeus](https://github.com/mikeeus) Mikias Abera - contributor