dsl_compose 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31077b216dc51cdf2addc2bb7d094ca58d7cb90ed7ff82897712c3a46b709e10
|
4
|
+
data.tar.gz: 51d663846f488abdd48a57eaf643e8d89bc9cd5db5d8ca4d4914c610debd2ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5cbde44a97a3fb2920c7e9b4bfb669ba535168e09edb68c1597ad80a2bc41aaa61aaa52c7aea233ce740f8304f6a65691d0a92072fc40ebdabb5277f6617f2
|
7
|
+
data.tar.gz: 9f26a35cf368934b91967768870f1c863615746d12790a1334659ee852faab53b6dabc9182a13fe74d525dbefb2f8194a8ff83454ede48d935e9651058036af3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [2.12.0](https://github.com/craigulliott/dsl_compose/compare/v2.11.0...v2.12.0) (2023-09-02)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* adding dsl_name method to execution reader ([54e8a44](https://github.com/craigulliott/dsl_compose/commit/54e8a44b0f7a6fc2fe81a18cd53d3ebe76257348))
|
9
|
+
|
3
10
|
## [2.11.0](https://github.com/craigulliott/dsl_compose/compare/v2.10.0...v2.11.0) (2023-09-02)
|
4
11
|
|
5
12
|
|
@@ -22,6 +22,11 @@ module DSLCompose
|
|
22
22
|
@execution = execution
|
23
23
|
end
|
24
24
|
|
25
|
+
# useful when creating a DSL reader which is usable across multiple DSLs
|
26
|
+
def dsl_name
|
27
|
+
@execution.dsl.name
|
28
|
+
end
|
29
|
+
|
25
30
|
# returns an object which represents the arguments available for this DSL and allows
|
26
31
|
# accessing their values via methods
|
27
32
|
def arguments
|
data/lib/dsl_compose/version.rb
CHANGED
@@ -5,6 +5,7 @@ module DSLCompose
|
|
5
5
|
@execution: Interpreter::Execution
|
6
6
|
|
7
7
|
def initialize: (Interpreter::Execution execution) -> void
|
8
|
+
def dsl_name: -> Symbol
|
8
9
|
def arguments: -> ArgumentsReader
|
9
10
|
def method_called?: (Symbol method_name) -> bool
|
10
11
|
def method_missing: (Symbol method_name) -> (nil | ArgumentsReader | Array[ArgumentsReader])
|