k_director 0.10.4 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/CHANGELOG.md +7 -0
- data/lib/k_director/directors/base_director.rb +23 -0
- data/lib/k_director/dsls/nuxt3_dsl.rb +0 -21
- data/lib/k_director/dsls/ruby_gem_dsl.rb +15 -15
- data/lib/k_director/version.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e855ea56fe8350c6d8f348caafec612a3faa998f6f39f0bfd631c0968b5476f
|
4
|
+
data.tar.gz: 3a8ef5a51b2f968d17e688953cf6868a5a387bbe7579a19896fd0c21d4c01b36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf168f42f0a1e1df0bc0e169b824601579c793623458b5d13fbd8b3cf933d2fbe8abacf4e52f76c3c4795585cb32b276a5bae3505fa74d2cc63cb3d839a27341
|
7
|
+
data.tar.gz: c3d3d4fd6fc847d62d23e32c15db3874badce4c8743d28c40111d725eb7a3e5f4d39fdb3442b42c213ae524c262d128ea9de4062e985a044ce4e8c85bba2bae5
|
data/docs/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.10.4](https://github.com/klueless-io/k_director/compare/v0.10.3...v0.10.4) (2022-02-07)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* add active option so that child directors can be suppressed or executed ([8a57617](https://github.com/klueless-io/k_director/commit/8a57617eea20dd9a020aec329bd994b3c444f087))
|
7
|
+
|
1
8
|
## [0.10.3](https://github.com/klueless-io/k_director/compare/v0.10.2...v0.10.3) (2022-02-06)
|
2
9
|
|
3
10
|
|
@@ -133,6 +133,29 @@ module KDirector
|
|
133
133
|
k_builder.play_actions(builder.actions)
|
134
134
|
end
|
135
135
|
|
136
|
+
# Common child directors
|
137
|
+
|
138
|
+
def github(**opts, &block)
|
139
|
+
github = KDirector::Dsls::Children::Github.new(self, **opts)
|
140
|
+
github.instance_eval(&block) if github.active? && block_given?
|
141
|
+
|
142
|
+
self
|
143
|
+
end
|
144
|
+
|
145
|
+
def package_json(**opts, &block)
|
146
|
+
package_json = KDirector::Dsls::Children::PackageJson.new(self, **opts)
|
147
|
+
package_json.instance_eval(&block) if package_json.active? && block_given?
|
148
|
+
|
149
|
+
self
|
150
|
+
end
|
151
|
+
|
152
|
+
def blueprint(**opts, &block)
|
153
|
+
blueprint = KDirector::Dsls::Children::Blueprint.new(self, **opts)
|
154
|
+
blueprint.instance_eval(&block) if blueprint.active? && block_given?
|
155
|
+
|
156
|
+
self
|
157
|
+
end
|
158
|
+
|
136
159
|
def debug
|
137
160
|
debug_options
|
138
161
|
debug_dom
|
@@ -8,27 +8,6 @@ module KDirector
|
|
8
8
|
'nuxt3'
|
9
9
|
end
|
10
10
|
|
11
|
-
def github(**opts, &block)
|
12
|
-
github = KDirector::Dsls::Children::Github.new(self, **opts)
|
13
|
-
github.instance_eval(&block) if github.active? && block_given?
|
14
|
-
|
15
|
-
self
|
16
|
-
end
|
17
|
-
|
18
|
-
def package_json(**opts, &block)
|
19
|
-
package_json = KDirector::Dsls::Children::PackageJson.new(self, **opts)
|
20
|
-
package_json.instance_eval(&block) if package_json.active? && block_given?
|
21
|
-
|
22
|
-
self
|
23
|
-
end
|
24
|
-
|
25
|
-
def blueprint(**opts, &block)
|
26
|
-
blueprint = KDirector::Dsls::Children::Blueprint.new(self, **opts)
|
27
|
-
blueprint.instance_eval(&block) if blueprint.active? && block_given?
|
28
|
-
|
29
|
-
self
|
30
|
-
end
|
31
|
-
|
32
11
|
# def app(**opts, &block)
|
33
12
|
# app = Dsl::Nuxt3App.new(self, **opts)
|
34
13
|
# app.instance_eval(&block)
|
@@ -8,26 +8,26 @@ module KDirector
|
|
8
8
|
'ruby/gem'
|
9
9
|
end
|
10
10
|
|
11
|
-
def github(**opts, &block)
|
12
|
-
|
13
|
-
|
11
|
+
# def github(**opts, &block)
|
12
|
+
# github = KDirector::Dsls::Children::Github.new(self, **opts)
|
13
|
+
# github.instance_eval(&block) if github.active? && block_given?
|
14
14
|
|
15
|
-
|
16
|
-
end
|
15
|
+
# self
|
16
|
+
# end
|
17
17
|
|
18
|
-
def package_json(**opts, &block)
|
19
|
-
|
20
|
-
|
18
|
+
# def package_json(**opts, &block)
|
19
|
+
# package_json = KDirector::Dsls::Children::PackageJson.new(self, **opts)
|
20
|
+
# package_json.instance_eval(&block) if package_json.active? && block_given?
|
21
21
|
|
22
|
-
|
23
|
-
end
|
22
|
+
# self
|
23
|
+
# end
|
24
24
|
|
25
|
-
def blueprint(**opts, &block)
|
26
|
-
|
27
|
-
|
25
|
+
# def blueprint(**opts, &block)
|
26
|
+
# blueprint = KDirector::Dsls::Children::Blueprint.new(self, **opts)
|
27
|
+
# blueprint.instance_eval(&block) if blueprint.active? && block_given?
|
28
28
|
|
29
|
-
|
30
|
-
end
|
29
|
+
# self
|
30
|
+
# end
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
data/lib/k_director/version.rb
CHANGED
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "k_director",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.11.0",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "k_director",
|
9
|
-
"version": "0.
|
9
|
+
"version": "0.11.0",
|
10
10
|
"devDependencies": {
|
11
11
|
"@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
|
12
12
|
"@semantic-release/changelog": "^6.0.1",
|
data/package.json
CHANGED