Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Verseth committed Jul 16, 2024
1 parent 389f7a2 commit a74ab3e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.2.1] - 2024-07-16

- Add additional sorbet type documentation

## [0.2.0] - 2024-06-11

- Add support for `return_type` and `setter_type` in custom primitive shale types
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.2.0)
shale-builder (0.2.1)
booleans (>= 0.1)
shale (< 2.0)
sorbet-runtime (> 0.5)
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.2.0'
VERSION = '0.2.1'
end
end
22 changes: 22 additions & 0 deletions lib/shale/mapper.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# typed: true
# frozen_string_literal: true

class Shale::Mapper
sig { params(block: T.proc.bind(Shale::Mapping::Dict).void).void }
def json(&block); end

sig { params(block: T.proc.bind(Shale::Mapping::Dict).void).void }
def hsh(&block); end

sig { params(block: T.proc.bind(Shale::Mapping::Dict).void).void }
def yaml(&block); end

sig { params(block: T.proc.bind(Shale::Mapping::Dict).void).void }
def toml(&block); end

sig { params(block: T.proc.bind(Shale::Mapping::Dict).void).void }
def csv(&block); end

sig { params(block: T.proc.bind(Shale::Mapping::Xml).void).void }
def xml(&block); end
end
6 changes: 0 additions & 6 deletions sig/shale/builder.rbs

This file was deleted.

0 comments on commit a74ab3e

Please sign in to comment.