dsl_compose 2.9.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b3e6317cc749c3ca13077798521067f9e9a47561184b77d678865b3dcb99679
4
- data.tar.gz: b6a123b99643edd4dfa152064099dfbbeb7c881de4f6bb5cfc437283fdf23a35
3
+ metadata.gz: f1a63126e260fbca1433946b983adcc053c1d457f0356114bd8a8a07cd347399
4
+ data.tar.gz: 633636a2d3935493452b3b594bb87f27cba96bfe383be8d3948905a1c56b26a9
5
5
  SHA512:
6
- metadata.gz: 2e25a2d09a7fe04eda88faeba6bf60249e2dbbfd718bdb39c9f80fd7acf9f123e684062adfc66e9022c3c3b734a36e8c2315e099ddb0c7e5ec6adb83966af4ea
7
- data.tar.gz: 7c11c40bf4828f5d6e862dec367cf0f6c0c96c45651027b0e3f9ec427c4432a10be7a0b7864639d56a2aec5b310d71d497ff5e19936bc77f2018d34b3844c361
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DSLCompose
4
- VERSION = "2.9.0"
4
+ VERSION = "2.10.0"
5
5
  end
@@ -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.9.0
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-08-31 00:00:00.000000000 Z
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