Skip to content

Commit f02a501

Browse files
committed
v0.6.2
1 parent 427aaa6 commit f02a501

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.2] - 2025-10-16
9+
10+
[Diff](https://github.com/Verseth/ruby-shale-builder/compare/v0.6.0...v0.6.2)
11+
12+
### Changes
13+
- Fix `Shale::Builder#inject_context`
14+
- Add `Shale::Builder::S` alias to `Shale::Type`
15+
816
## [0.6.0] - 2025-10-16
917

1018
[Diff](https://github.com/Verseth/ruby-shale-builder/compare/v0.5.1...v0.6.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
shale-builder (0.6.1)
4+
shale-builder (0.6.2)
55
booleans (>= 0.1)
66
shale (< 2.0)
77
sorbet-runtime (> 0.5)

lib/shale/builder.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ module Builder
4444
extend T::Sig
4545
extend T::Helpers
4646

47+
S = ::Shale::Type
48+
4749
class << self
4850
extend T::Sig
4951

@@ -235,7 +237,7 @@ def inject_context(**context)
235237
val = public_send(name)
236238
next unless val
237239

238-
val.inject_context(context)
240+
val.inject_context(**context)
239241
end
240242
end
241243

lib/shale/builder/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Shale
44
module Builder
5-
VERSION = '0.6.1'
5+
VERSION = '0.6.2'
66
end
77
end

0 commit comments

Comments
 (0)