Skip to content

Commit

Permalink
0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tcd committed Nov 28, 2019
1 parent 0ec1b48 commit 1eba4d7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
20 changes: 17 additions & 3 deletions CHANGELOG.md
@@ -1,12 +1,26 @@
# Changelog

## master (unreleased)
<!-- ## master (unreleased) -->

### Changed
## 0.5.0 (2019-11-28)

### Added

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

### Changed

- Update *description* and *documentation_uri* in gemspec.

### Fixed

- Fix doc comment in `Ginny.symbolize_keys` that was causing `yard gems` to give this warning:
```
[warn]: @param tag has unknown parameter name: obj
in file `lib/food_truck/symbolize.rb' near line 10
```

## 0.4.0 (2019-11-21)

### Added
Expand All @@ -32,7 +46,7 @@
- Generate Functions with Yard doc comments. (`Ginny::Func`)
- Generate Function Parameters. (`Ginny::Param`)
- Add support for generating classes with inheritance.
- Add `ginny` executable (WIP).
- Add `food_truck` executable (WIP).

### Changed

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ginny (0.4.0)
ginny (0.5.0)
dry-inflector (~> 0.2.0)

GEM
Expand Down
1 change: 1 addition & 0 deletions ginny.gemspec
Expand Up @@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
spec.metadata = {
"homepage_uri" => spec.homepage,
"source_code_uri" => spec.homepage,
"documentation_uri" => "https://www.rubydoc.info/gems/ginny/#{spec.version}",
"changelog_uri" => "https://github.com/tcd/ginny/blob/master/CHANGELOG.md",
"yard.run" => "yri", # use "yard" to build full HTML docs.
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ginny/symbolize.rb
Expand Up @@ -5,7 +5,7 @@ module Ginny
# - [original code](https://avdi.codes/recursively-symbolize-keys/)
# - [array support](https://gist.github.com/neektza/8585746)
#
# @param obj [Hash,Array]
# @param arg [Hash,Array]
# @return [Hash,Array]
def self.symbolize_keys(arg)
if arg.is_a?(Hash)
Expand Down
2 changes: 1 addition & 1 deletion lib/ginny/version.rb
@@ -1,3 +1,3 @@
module Ginny
VERSION = "0.4.0".freeze
VERSION = "0.5.0".freeze
end

0 comments on commit 1eba4d7

Please sign in to comment.