Skip to content

Commit

Permalink
Merge pull request #25 from crystal-garage/fix/crystal-nightly
Browse files Browse the repository at this point in the history
fix nested module
  • Loading branch information
mamantoha authored Apr 18, 2024
2 parents a2cd109 + c1d3e2f commit 8be17f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: clear

version: 0.8.18
version: 0.8.19

crystal: ">= 1.0.0, < 1.13.0"
crystal: ">= 1.0.0"

authors:
- Yacine Petitprez <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/clear/extensions/enum/migration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module Clear::Migration
end
end

module Clear::Migration::Helper
module Helper
def create_enum(name, arr : Enumerable(T)) forall T
self.add_operation(CreateEnum.new(name.to_s, arr.map(&.to_s)))
end
Expand Down

0 comments on commit 8be17f0

Please sign in to comment.