evt-dependency 2.1.0.0 → 2.2.0.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: ff033acf6c67587536b9b5ba8749d5b3c8ccada620c81bd0bf20fbe96808e1e6
4
- data.tar.gz: 6fe7875d5104e2b12539aeaa6a1d66f164018862b24de5eeeceaa75113b4c89a
3
+ metadata.gz: 919ca87d5147a33f9c93f1b92f106be0dcbd65e0b24039ba07932c7a2cc90f84
4
+ data.tar.gz: cb4952bc38f41022270a11bd4daa992bdb011889ae1d2c587d0abe20c47299d0
5
5
  SHA512:
6
- metadata.gz: d887296ed15c015110ba1ce301dfcbb14b01e80b0c3d441c1c19fbe2586e6cbd02ea32ee8c190ebb5b58a8103aa2315e99f08a0765d3ab7da9afa19be51dccf6
7
- data.tar.gz: ea677fdf1c19b2ef1dc9ee0ba4255c7d992a76337f3abcaa4aefa39e372a4bd94d4c975eea15afd1ff829717860ecb6600ad8fd52c2d12384b487628bb72a4ee
6
+ metadata.gz: ce000fdf6648744af44f634be14a35bde56f770aae9f1bb91f7baee31ec052cc869ba15c349aa65468614843ea00a1344d7f31524db1873f4bec437fc8763294
7
+ data.tar.gz: 44755e45c9840282794256bb3ff2acaa7c4b8e5859be9ce1306055e576ed993ea98ea8fa76d0c75b2198863dbb52c803eeb7d286b529c8925a85e1de987dc361
@@ -1,7 +1,7 @@
1
1
  module Dependency
2
2
  module Attribute
3
- def self.define(receiver, attr_name, interface=nil)
4
- SubstAttr::Attribute.define(receiver, attr_name, interface)
3
+ def self.define(receiver, attr_name, interface=nil, record=nil)
4
+ SubstAttr::Attribute.define(receiver, attr_name, interface, record)
5
5
  end
6
6
  end
7
7
  end
@@ -3,11 +3,13 @@ module Dependency
3
3
  class Example
4
4
  include ::Dependency
5
5
 
6
- dependency :specialized_substitute_attr, Dependency::Example
6
+ dependency :null_object_substitute_attr
7
7
 
8
- dependency :strict_substitute_attr, Dependency::NoSubstitute::Example
8
+ dependency :mimic_substitute_attr, Dependency::NoSubstituteModule::Example
9
+ dependency :no_recorder_mimic_substitute_attr, Dependency::NoSubstituteModule::Example, record: false
10
+ dependency :mixed_in_mimic_substitute_attr, Dependency::MixinSubstitute::Example
9
11
 
10
- dependency :weak_substitute_attr
12
+ dependency :constructed_substitute_attr, Dependency::Example
11
13
 
12
14
  def self.build
13
15
  new.tap do |instance|
@@ -1,7 +1,7 @@
1
1
  module Dependency
2
2
  module Macro
3
- def dependency_macro(attr_name, interface=nil)
4
- Attribute.define(self, attr_name, interface)
3
+ def dependency_macro(attr_name, interface=nil, record: nil)
4
+ Attribute.define(self, attr_name, interface, record)
5
5
  end
6
6
  alias :dependency :dependency_macro
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-dependency
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.0
4
+ version: 2.2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2023-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-subst_attr
@@ -74,8 +74,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
- rubygems_version: 3.2.15
77
+ rubygems_version: 3.4.6
78
78
  signing_key:
79
79
  specification_version: 4
80
- summary: Declare dependencies that have null object or substitute default values
80
+ summary: Declare dependency attributes that have default implementations that are
81
+ diagnostic substitutes or null objects
81
82
  test_files: []