Skip to content

Commit

Permalink
v0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Verseth committed Jun 3, 2024
1 parent 089cb23 commit 241f766
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.1.9] - 2024-06-03

- Fix the signature of `new` class method

## [0.1.8] - 2024-05-15

- Sort attribute names in the tapioca compiler
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
shale-builder (0.1.8)
shale-builder (0.1.9)
booleans (>= 0.1)
shale (< 2.0)
sorbet-runtime (> 0.5)
Expand Down
4 changes: 2 additions & 2 deletions lib/shale/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def build(&_block)
body
end

sig { abstract.returns(T.attached_class) }
def new; end
sig { abstract.params(props: T.anything).returns(T.attached_class) }
def new(**props); end

sig { abstract.returns(T::Hash[Symbol, Shale::Attribute]) }
def attributes; end
Expand Down
2 changes: 1 addition & 1 deletion lib/shale/builder/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Shale
module Builder
VERSION = '0.1.8'
VERSION = '0.1.9'
end
end

0 comments on commit 241f766

Please sign in to comment.