evt-dependency 0.1.2.0 → 0.1.3.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: 943ad57bf64493b75653c632e2f69eb7ef27643355b5ab3903e88a28a3ce0694
4
- data.tar.gz: cbfa2ca746797358feb617782d98ce8c1fec9481e1ea6cf604b46db2403c5ab9
3
+ metadata.gz: c33f713027753d8699b730004c66d5a910f772a79d8da2bfcd5e807b6785e8c7
4
+ data.tar.gz: 39304bd08ebc8e595cd5c7c53ace399c8f1da6b392f72858a36909d1cd937da7
5
5
  SHA512:
6
- metadata.gz: 47e6b826c583787f88ec8354ae54044be19c786d1efc5e0f703b3a56a7f3e12aa3f37bf706174f8363227f10f0bf4e335f798de1635c438f2ddc84df345ea909
7
- data.tar.gz: b933a73439903a79598d601f3af167d65c275e74480dd776c8874beeb2356f15e38e3bb45b40a965a631683438d042d9db615a4d9766451999c514dc7a729cc3
6
+ metadata.gz: 7254c09b997a6bc4b1ac5dd5cd3ccf579b46ff6d597921e97fa98ed4491a006b80eea452f907a0998c1ed49b867136103c7fa1a83b135a227f0601d83ec99d58
7
+ data.tar.gz: bd111e4f373116dd2aa9c585a62618acdb53d0fe88807fc0a4fa0742c2ed47f0a13bd568f7c9f14b8c78af33425a768e88d47c36ed1b5f7e29ebc7967c358cee
@@ -4,3 +4,4 @@ require 'dependency/macro'
4
4
  require 'dependency/activate'
5
5
  require 'dependency/attribute'
6
6
  require 'dependency/substitute'
7
+ require 'dependency/dependency'
@@ -1,4 +1,8 @@
1
1
  require 'subst_attr/controls'
2
2
 
3
3
  require 'dependency/controls/dependency'
4
+
4
5
  require 'dependency/controls/example'
6
+
7
+ require 'dependency/controls/included'
8
+ require 'dependency/controls/extended'
@@ -1,7 +1,7 @@
1
1
  module Dependency
2
2
  module Controls
3
3
  class Example
4
- ::Dependency.activate(self)
4
+ include ::Dependency
5
5
 
6
6
  dependency :some_attr, Dependency::Example
7
7
 
@@ -0,0 +1,11 @@
1
+ module Dependency
2
+ module Controls
3
+ module Extended
4
+ class Example
5
+ extend ::Dependency
6
+
7
+ dependency :some_attr, Dependency::Example
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ module Dependency
2
+ module Controls
3
+ module Included
4
+ Example = Example
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ module Dependency
2
+ def self.included(cls)
3
+ cls.class_exec do
4
+ extend Macro
5
+ end
6
+ end
7
+
8
+ def self.extended(cls)
9
+ cls.class_exec do
10
+ extend Macro
11
+ end
12
+ end
13
+ 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: 0.1.2.0
4
+ version: 0.1.3.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: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-subst_attr
@@ -50,6 +50,9 @@ files:
50
50
  - lib/dependency/controls.rb
51
51
  - lib/dependency/controls/dependency.rb
52
52
  - lib/dependency/controls/example.rb
53
+ - lib/dependency/controls/extended.rb
54
+ - lib/dependency/controls/included.rb
55
+ - lib/dependency/dependency.rb
53
56
  - lib/dependency/macro.rb
54
57
  - lib/dependency/substitute.rb
55
58
  homepage: https://github.com/eventide-project/dependency