Sha256: 3b3ef41bdb25b0bcf58433f0441ee2d2067ad222a856d8994916c72389969720

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

# Changelog

## master (unreleased)

### 0.5.0 (2019-11-25)

- Add [dry-rb/dry-inflector](https://github.com/dry-rb/dry-inflector) dependency.
- Add `file_prefix` argument to `FoodTruck::Class` for String to prepend to the name of the generated file.

## 0.4.0 (2019-11-21)

### Added

- Add `body` argument to `FoodTruck::Class` for code to be generated in the class body.

## 0.3.0 (2019-11-21)

### Added

- Add the option to wrap generated code in modules.

## 0.2.1 (2019-11-18)

### Changed

- Generate function body in `FoodTruck::Func.render`

## 0.2.0 (2019-11-17)

### Added

- Generate Functions with Yard doc comments. (`FoodTruck::Func`)
- Generate Function Parameters. (`FoodTruck::Param`)
- Add support for generating classes with inheritance.
- Add `food_truck` executable (WIP).

### Changed

- Rename `FoodTruck::Klass` to `FoodTruck::Class`
- Rename `FoodTruck::Attribute` to `FoodTruck::Attr`

### Fixed

- Don't use Yard `@!attribute` tags unless the attributes are added dynamically (ex: Rails Models)

## 0.1.0 (2019-11-15)

### Added

- Add changelog
- Implement basic functionality.
    - Generate Classes with Yard doc comments. (`FoodTruck::Klass`)
    - Generate getters/setters (`attr_accessor`s) with Yard doc comments. (`FoodTruck::Attribute`)
    - Load data from YAML/JSON files.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
food_truck-0.5.0 CHANGELOG.md
food_truck-0.4.0 CHANGELOG.md