eac_ruby_base0 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_ruby_base0/runner.rb +3 -3
- data/lib/eac_ruby_base0/version.rb +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: ba1df436f6ab36537990ade6dae5a9b8919d73a41e9dc1fd2955153702846fc8
|
4
|
+
data.tar.gz: d90809a8c86c41d5cf83e2eb4dfa1ec71d73a89732df3abfa9ffd304eda9c895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c83c6f45526779eeb85cc7d201af4b963e016c4199f72d0d0a2827a9efbd426e7b5fa93c4c43a356cc2f47edd4ba2a2ad5694ef332642a1f7caec48fa9f76e5d
|
7
|
+
data.tar.gz: 87ef76dc47d14ef1844c6677a5cf242ab4bab56ef2ef00dc9dba54fd218b799cbe48a187e959eff4d6312a7e71e75a4cb4f90c5e4f1b039d7ca155f0e2858431
|
@@ -65,10 +65,10 @@ module EacRubyBase0
|
|
65
65
|
|
66
66
|
# @return [Array<EacRubyUtils::Struct>]
|
67
67
|
def available_contexts
|
68
|
-
filesystem_available_contexts + [
|
68
|
+
(filesystem_available_contexts + [
|
69
69
|
[:config, ::EacConfig::Node.context, -> { runner_context.call(:application).build_config }],
|
70
70
|
[:speaker, ::EacRubyUtils::Speaker.context, -> { build_speaker }]
|
71
|
-
].map { |row| available_context_row_to_struct(row) }
|
71
|
+
]).map { |row| available_context_row_to_struct(row) }
|
72
72
|
end
|
73
73
|
|
74
74
|
def available_context_row_to_struct(row)
|
@@ -85,7 +85,7 @@ module EacRubyBase0
|
|
85
85
|
def filesystem_available_contexts
|
86
86
|
::EacFs::Contexts::TYPES.map do |type|
|
87
87
|
key = "fs_#{type}".to_sym
|
88
|
-
[key, ::EacFs::Contexts.send(
|
88
|
+
[key, ::EacFs::Contexts.send(type), -> { application.send("self_#{key}") }]
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|