dsl_compose 2.9.0 → 2.10.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: f1a63126e260fbca1433946b983adcc053c1d457f0356114bd8a8a07cd347399
|
|
4
|
+
data.tar.gz: 633636a2d3935493452b3b594bb87f27cba96bfe383be8d3948905a1c56b26a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de52f063d8fd04e95e8c389cd91f95c6fc2fb7e346a56fae7ee5f433385c52499412a37d7197c9f60c2886f4f7f194c57b0f0b93232a6993c1fe7c8f4e0fbe61
|
|
7
|
+
data.tar.gz: 6e66853fb176c9de01f637e83f83536a3a59872175a9ce13a1aeafcfd004f012d27dc6b83068db6fb8a72a69b76d2a1fed6bf93a9fb9cd4a3d8f7129912ad868
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.10.0](https://github.com/craigulliott/dsl_compose/compare/v2.9.0...v2.10.0) (2023-09-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* adding a `has_argument?` method to the DSL reader base class ([4a5db6a](https://github.com/craigulliott/dsl_compose/commit/4a5db6ab258283960fc909bdf46c75837475aa59))
|
|
9
|
+
|
|
3
10
|
## [2.9.0](https://github.com/craigulliott/dsl_compose/compare/v2.8.0...v2.9.0) (2023-08-31)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -27,6 +27,11 @@ module DSLCompose
|
|
|
27
27
|
@argument_values.arguments[argument.name]
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
# returns true if the DSL has an argument with the provided name
|
|
31
|
+
def has_argument? argument_name
|
|
32
|
+
@arguments.has_argument? argument_name
|
|
33
|
+
end
|
|
34
|
+
|
|
30
35
|
def respond_to_missing? method_name
|
|
31
36
|
@arguments.has_argument? method_name
|
|
32
37
|
end
|
data/lib/dsl_compose/version.rb
CHANGED
|
@@ -8,6 +8,7 @@ module DSLCompose
|
|
|
8
8
|
|
|
9
9
|
def initialize: (DSL::Arguments arguments, Interpreter::Execution::Arguments argument_values) -> void
|
|
10
10
|
def method_missing: (Symbol method_name) -> (ArgumentsReader | nil)
|
|
11
|
+
def has_argument?: (Symbol method_name) -> bool
|
|
11
12
|
def respond_to_missing?: (Symbol method_name) -> bool
|
|
12
13
|
end
|
|
13
14
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dsl_compose
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Craig Ulliott
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: class_spec_helper
|