No commit activity in last 3 years
No release in over 3 years
Parlour plugin for generating types for data_mapper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0

Runtime

~> 0.5.1
 Project Readme

parlour-datamapper

A simple Parlour extension to generate types for DataMapper keys. (Associations are currently not supported.)

Usage

Ensure you've required this gem and loaded the program code which defines your DataMapper models in your .parlour file, then add the ParlourDataMapper plugin to plugins. This plugin takes no configuration.

An example .parlour:

output_file: out.rbi

requires:
  - parlour-datamapper

relative_requires:
  - src/main.rb # load models

plugins:
  ParlourDataMapper: {}