eac_tools 0.22.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +60 -60
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/avm.gemspec +3 -3
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value.rb +55 -0
- data/sub/avm/lib/avm/entries/base.rb +2 -0
- data/sub/avm/lib/avm/entries/entry.rb +10 -1
- data/sub/avm/lib/avm/entries/uri_builder.rb +4 -0
- data/sub/avm/lib/avm/instances/base/auto_values/install.rb +5 -13
- data/sub/avm/lib/avm/instances/base.rb +1 -1
- data/sub/avm/lib/avm/instances/entry_keys.rb +2 -1
- data/sub/avm/lib/avm/sources/base/application.rb +34 -0
- data/sub/avm/lib/avm/sources/base/configuration.rb +2 -0
- data/sub/avm/lib/avm/sources/base/testing.rb +1 -1
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/instances/base_spec.rb +16 -0
- data/sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml +6 -0
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +5 -5
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb +13 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances.rb +11 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +3 -3
- data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb +2 -2
- data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +2 -2
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb +13 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances.rb +11 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb +1 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +2 -2
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +2 -2
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +4 -4
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +27 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances.rb +11 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +1 -1
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +2 -2
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +6 -6
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +48 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances.rb +11 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners/base.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners.rb +11 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources.rb +11 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb +8 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile.lock +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/_gitignore +2 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile.lock +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/_gitignore +2 -0
- data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +4 -4
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb +26 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +61 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/dump.rb +65 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb +57 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data.rb +19 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb +13 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
- data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +3 -3
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/base.rb +2 -2
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
- data/sub/avm-tools/avm-tools.gemspec +3 -3
- data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +10 -8
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/eac_config/eac_config.gemspec +2 -2
- data/sub/eac_config/lib/eac_config/entry_path.rb +6 -1
- data/sub/eac_config/lib/eac_config/version.rb +1 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +9 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +5 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +17 -2
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb +32 -82
- metadata +49 -61
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb +0 -11
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb +0 -11
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +0 -25
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instance.rb +0 -57
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb +0 -24
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb +0 -62
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/dump.rb +0 -63
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/load.rb +0 -55
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data.rb +0 -17
@@ -7,6 +7,13 @@ module Avm
|
|
7
7
|
class Runner
|
8
8
|
class AppSrc
|
9
9
|
class Info
|
10
|
+
SOURCE_PROPERTIES = {
|
11
|
+
path: 'Path',
|
12
|
+
application: 'Application',
|
13
|
+
class: 'Stereotype',
|
14
|
+
scm: 'SCM'
|
15
|
+
}.freeze
|
16
|
+
|
10
17
|
runner_with :help do
|
11
18
|
desc 'Show information about local project instance.'
|
12
19
|
bool_opt '-p', '--parent', 'Show the parent source.'
|
@@ -14,7 +21,6 @@ module Avm
|
|
14
21
|
end
|
15
22
|
|
16
23
|
def run
|
17
|
-
show_instance
|
18
24
|
show_source
|
19
25
|
show_parent
|
20
26
|
show_test_commands
|
@@ -22,11 +28,6 @@ module Avm
|
|
22
28
|
|
23
29
|
private
|
24
30
|
|
25
|
-
def show_instance
|
26
|
-
infov 'Path', instance.path
|
27
|
-
infov 'Launcher stereotypes', instance.stereotypes.map(&:label).join(', ')
|
28
|
-
end
|
29
|
-
|
30
31
|
def show_parent
|
31
32
|
return unless parsed.parent?
|
32
33
|
|
@@ -34,8 +35,9 @@ module Avm
|
|
34
35
|
end
|
35
36
|
|
36
37
|
def show_source
|
37
|
-
|
38
|
-
|
38
|
+
SOURCE_PROPERTIES.each do |property, label|
|
39
|
+
infov label, runner_context.call(:subject).send(property)
|
40
|
+
end
|
39
41
|
end
|
40
42
|
|
41
43
|
def show_test_commands
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'addressable'
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'addressable', '~> 2.8'
|
16
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.100'
|
17
17
|
|
18
18
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
19
19
|
end
|
@@ -29,8 +29,16 @@ module EacRubyUtils
|
|
29
29
|
@values.values.map(&:value)
|
30
30
|
end
|
31
31
|
|
32
|
+
def values_with_blank
|
33
|
+
[blank_value.value] + values
|
34
|
+
end
|
35
|
+
|
32
36
|
def options
|
33
|
-
@values.values.map
|
37
|
+
@values.values.map(&:to_option)
|
38
|
+
end
|
39
|
+
|
40
|
+
def options_with_blank
|
41
|
+
[blank_value.to_option] + options
|
34
42
|
end
|
35
43
|
|
36
44
|
def method_missing(name, *args, &block)
|
@@ -1,18 +1,33 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Object
|
4
|
-
def pretty_debug
|
4
|
+
def pretty_debug(options = {})
|
5
|
+
print_debug_title(options)
|
6
|
+
|
5
7
|
STDERR.write(pretty_inspect)
|
6
8
|
|
7
9
|
self
|
8
10
|
end
|
9
11
|
|
10
|
-
def print_debug
|
12
|
+
def print_debug(options = {})
|
13
|
+
print_debug_title(options)
|
11
14
|
STDERR.write(to_debug + "\n")
|
12
15
|
|
13
16
|
self
|
14
17
|
end
|
15
18
|
|
19
|
+
def print_debug_title(title)
|
20
|
+
if title.is_a?(::Hash)
|
21
|
+
return unless title[:title]
|
22
|
+
|
23
|
+
title = title[:title]
|
24
|
+
end
|
25
|
+
char = '='
|
26
|
+
STDERR.write(char * (4 + title.length) + "\n")
|
27
|
+
STDERR.write("#{char} #{title} #{char}\n")
|
28
|
+
STDERR.write(char * (4 + title.length) + "\n")
|
29
|
+
end
|
30
|
+
|
16
31
|
def to_debug
|
17
32
|
"|#{::Object.instance_method(:to_s).bind(self).call}|#{self}|"
|
18
33
|
end
|
@@ -179,88 +179,38 @@ RSpec.describe ::EacRubyUtils::Listable do
|
|
179
179
|
describe 'instance label and descriptions' do
|
180
180
|
let(:instance) { stub_class.new }
|
181
181
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
it { expect(instance.code_description).to eq('Código A Descr.') }
|
215
|
-
end
|
216
|
-
|
217
|
-
context 'when code value is B' do
|
218
|
-
before { instance.code = stub_class::CODE_B }
|
219
|
-
|
220
|
-
it { expect(instance.code_label).to eq('Código B') }
|
221
|
-
it { expect(instance.code_description).to eq('Código B Descr.') }
|
222
|
-
end
|
223
|
-
|
224
|
-
context 'when code value is blank' do
|
225
|
-
before { instance.code = nil }
|
226
|
-
|
227
|
-
it { expect(instance.code_label).to eq('') }
|
228
|
-
it { expect(instance.code_description).to eq('') }
|
229
|
-
end
|
230
|
-
|
231
|
-
context 'when cadeia value is A' do
|
232
|
-
before { instance.cadeia = stub_class::CADEIA_A }
|
233
|
-
|
234
|
-
it { expect(instance.cadeia_label).to eq('Cadeia AAA') }
|
235
|
-
it { expect(instance.cadeia_description).to eq('Cadeia AAA Descr.') }
|
236
|
-
end
|
237
|
-
|
238
|
-
context 'when cadeia value is B' do
|
239
|
-
before { instance.cadeia = stub_class::CADEIA_B }
|
240
|
-
|
241
|
-
it { expect(instance.cadeia_label).to eq('Cadeia BB') }
|
242
|
-
it { expect(instance.cadeia_description).to eq('Cadeia BB Descr.') }
|
243
|
-
end
|
244
|
-
|
245
|
-
context 'when cadeia value is C' do
|
246
|
-
before { instance.cadeia = stub_class::CADEIA_C }
|
247
|
-
|
248
|
-
it { expect(instance.cadeia_label).to eq('Cadeia C') }
|
249
|
-
it { expect(instance.cadeia_description).to eq('Cadeia C Descr.') }
|
250
|
-
end
|
251
|
-
|
252
|
-
context 'when type value is A' do
|
253
|
-
before { instance.type = stub_class::TYPE_A }
|
254
|
-
|
255
|
-
it { expect(instance.type_label).to eq('Tipo A') }
|
256
|
-
it { expect(instance.type_description).to eq('Tipo A Descr.') }
|
257
|
-
end
|
258
|
-
|
259
|
-
context 'when type value is B' do
|
260
|
-
before { instance.type = stub_class::TYPE_B }
|
261
|
-
|
262
|
-
it { expect(instance.type_label).to eq('Tipo B') }
|
263
|
-
it { expect(instance.type_description).to eq('Tipo B Descr.') }
|
182
|
+
{
|
183
|
+
inteiro: {
|
184
|
+
INTEIRO_A: ['Inteiro A', 'Inteiro A Descr.'],
|
185
|
+
INTEIRO_B: ['Inteiro BB', 'Inteiro BB Descr.'],
|
186
|
+
INTEIRO_C: ['Inteiro CCC', 'Inteiro CCC Descr.'],
|
187
|
+
nil => ['Inteiro em branco', 'Inteiro em branco Descr.']
|
188
|
+
},
|
189
|
+
code: {
|
190
|
+
CODE_A: ['Código A', 'Código A Descr.'],
|
191
|
+
CODE_B: ['Código B', 'Código B Descr.'],
|
192
|
+
nil => ['', '']
|
193
|
+
},
|
194
|
+
cadeia: {
|
195
|
+
CADEIA_A: ['Cadeia AAA', 'Cadeia AAA Descr.'],
|
196
|
+
CADEIA_B: ['Cadeia BB', 'Cadeia BB Descr.'],
|
197
|
+
CADEIA_C: ['Cadeia C', 'Cadeia C Descr.']
|
198
|
+
},
|
199
|
+
type: {
|
200
|
+
TYPE_A: ['Tipo A', 'Tipo A Descr.'],
|
201
|
+
TYPE_B: ['Tipo B', 'Tipo B Descr.']
|
202
|
+
}
|
203
|
+
}.each do |attr, attr_values|
|
204
|
+
attr_values.each do |attr_value_const, expected_values|
|
205
|
+
context "when #{attr} value is #{attr_value_const}" do
|
206
|
+
let(:attr_value) { attr_value_const ? stub_class.const_get(attr_value_const) : nil }
|
207
|
+
|
208
|
+
before { instance.send("#{attr}=", attr_value) }
|
209
|
+
|
210
|
+
it { expect(instance.send("#{attr}_label")).to eq(expected_values[0]) }
|
211
|
+
it { expect(instance.send("#{attr}_description")).to eq(expected_values[1]) }
|
212
|
+
end
|
213
|
+
end
|
264
214
|
end
|
265
215
|
end
|
266
216
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,34 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.35.1
|
19
|
+
version: '0.38'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.35.1
|
26
|
+
version: '0.38'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: avm-eac_asciidoctor_base0
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
33
|
+
version: '0.5'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
40
|
+
version: '0.5'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: avm-eac_generic_base0
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +61,7 @@ dependencies:
|
|
67
61
|
version: '0.1'
|
68
62
|
- - ">="
|
69
63
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.1.
|
64
|
+
version: 0.1.2
|
71
65
|
type: :runtime
|
72
66
|
prerelease: false
|
73
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -77,61 +71,49 @@ dependencies:
|
|
77
71
|
version: '0.1'
|
78
72
|
- - ">="
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.1.
|
74
|
+
version: 0.1.2
|
81
75
|
- !ruby/object:Gem::Dependency
|
82
76
|
name: avm-eac_rails_base0
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
84
78
|
requirements:
|
85
79
|
- - "~>"
|
86
80
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0.
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.6.1
|
81
|
+
version: '0.7'
|
91
82
|
type: :runtime
|
92
83
|
prerelease: false
|
93
84
|
version_requirements: !ruby/object:Gem::Requirement
|
94
85
|
requirements:
|
95
86
|
- - "~>"
|
96
87
|
- !ruby/object:Gem::Version
|
97
|
-
version: '0.
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 0.6.1
|
88
|
+
version: '0.7'
|
101
89
|
- !ruby/object:Gem::Dependency
|
102
90
|
name: avm-eac_rails_base1
|
103
91
|
requirement: !ruby/object:Gem::Requirement
|
104
92
|
requirements:
|
105
93
|
- - "~>"
|
106
94
|
- !ruby/object:Gem::Version
|
107
|
-
version: '0.
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.4.2
|
95
|
+
version: '0.5'
|
111
96
|
type: :runtime
|
112
97
|
prerelease: false
|
113
98
|
version_requirements: !ruby/object:Gem::Requirement
|
114
99
|
requirements:
|
115
100
|
- - "~>"
|
116
101
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0.
|
118
|
-
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: 0.4.2
|
102
|
+
version: '0.5'
|
121
103
|
- !ruby/object:Gem::Dependency
|
122
104
|
name: avm-eac_redmine_base0
|
123
105
|
requirement: !ruby/object:Gem::Requirement
|
124
106
|
requirements:
|
125
107
|
- - "~>"
|
126
108
|
- !ruby/object:Gem::Version
|
127
|
-
version: '0.
|
109
|
+
version: '0.12'
|
128
110
|
type: :runtime
|
129
111
|
prerelease: false
|
130
112
|
version_requirements: !ruby/object:Gem::Requirement
|
131
113
|
requirements:
|
132
114
|
- - "~>"
|
133
115
|
- !ruby/object:Gem::Version
|
134
|
-
version: '0.
|
116
|
+
version: '0.12'
|
135
117
|
- !ruby/object:Gem::Dependency
|
136
118
|
name: avm-eac_redmine_plugin_base0
|
137
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,6 +135,9 @@ dependencies:
|
|
153
135
|
- - "~>"
|
154
136
|
- !ruby/object:Gem::Version
|
155
137
|
version: '0.19'
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.19.1
|
156
141
|
type: :runtime
|
157
142
|
prerelease: false
|
158
143
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -160,26 +145,23 @@ dependencies:
|
|
160
145
|
- - "~>"
|
161
146
|
- !ruby/object:Gem::Version
|
162
147
|
version: '0.19'
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 0.19.1
|
163
151
|
- !ruby/object:Gem::Dependency
|
164
152
|
name: avm-eac_webapp_base0
|
165
153
|
requirement: !ruby/object:Gem::Requirement
|
166
154
|
requirements:
|
167
155
|
- - "~>"
|
168
156
|
- !ruby/object:Gem::Version
|
169
|
-
version: '0.
|
170
|
-
- - ">="
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 0.3.1
|
157
|
+
version: '0.4'
|
173
158
|
type: :runtime
|
174
159
|
prerelease: false
|
175
160
|
version_requirements: !ruby/object:Gem::Requirement
|
176
161
|
requirements:
|
177
162
|
- - "~>"
|
178
163
|
- !ruby/object:Gem::Version
|
179
|
-
version: '0.
|
180
|
-
- - ">="
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: 0.3.1
|
164
|
+
version: '0.4'
|
183
165
|
- !ruby/object:Gem::Dependency
|
184
166
|
name: avm-eac_wordpress_base0
|
185
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,7 +171,7 @@ dependencies:
|
|
189
171
|
version: '0.1'
|
190
172
|
- - ">="
|
191
173
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0.1.
|
174
|
+
version: 0.1.2
|
193
175
|
type: :runtime
|
194
176
|
prerelease: false
|
195
177
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -199,41 +181,35 @@ dependencies:
|
|
199
181
|
version: '0.1'
|
200
182
|
- - ">="
|
201
183
|
- !ruby/object:Gem::Version
|
202
|
-
version: 0.1.
|
184
|
+
version: 0.1.2
|
203
185
|
- !ruby/object:Gem::Dependency
|
204
186
|
name: avm-tools
|
205
187
|
requirement: !ruby/object:Gem::Requirement
|
206
188
|
requirements:
|
207
189
|
- - "~>"
|
208
190
|
- !ruby/object:Gem::Version
|
209
|
-
version: '0.
|
210
|
-
- - ">="
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
version: 0.132.1
|
191
|
+
version: '0.133'
|
213
192
|
type: :runtime
|
214
193
|
prerelease: false
|
215
194
|
version_requirements: !ruby/object:Gem::Requirement
|
216
195
|
requirements:
|
217
196
|
- - "~>"
|
218
197
|
- !ruby/object:Gem::Version
|
219
|
-
version: '0.
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.132.1
|
198
|
+
version: '0.133'
|
223
199
|
- !ruby/object:Gem::Dependency
|
224
200
|
name: eac_ruby_utils
|
225
201
|
requirement: !ruby/object:Gem::Requirement
|
226
202
|
requirements:
|
227
203
|
- - "~>"
|
228
204
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0.
|
205
|
+
version: '0.100'
|
230
206
|
type: :runtime
|
231
207
|
prerelease: false
|
232
208
|
version_requirements: !ruby/object:Gem::Requirement
|
233
209
|
requirements:
|
234
210
|
- - "~>"
|
235
211
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0.
|
212
|
+
version: '0.100'
|
237
213
|
- !ruby/object:Gem::Dependency
|
238
214
|
name: eac_ruby_gem_support
|
239
215
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,7 +240,8 @@ files:
|
|
264
240
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb
|
265
241
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb
|
266
242
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb
|
267
|
-
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/
|
243
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances.rb
|
244
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb
|
268
245
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners.rb
|
269
246
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners/base.rb
|
270
247
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
|
@@ -334,7 +311,8 @@ files:
|
|
334
311
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb
|
335
312
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb
|
336
313
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb
|
337
|
-
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/
|
314
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances.rb
|
315
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb
|
338
316
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb
|
339
317
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb
|
340
318
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/source_generators/base.rb
|
@@ -380,7 +358,8 @@ files:
|
|
380
358
|
- sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
|
381
359
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
|
382
360
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb
|
383
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/
|
361
|
+
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances.rb
|
362
|
+
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb
|
384
363
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb
|
385
364
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb
|
386
365
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb
|
@@ -408,14 +387,16 @@ files:
|
|
408
387
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb
|
409
388
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/data_unit.rb
|
410
389
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/deploy.rb
|
411
|
-
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/
|
390
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances.rb
|
412
391
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb
|
413
392
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb
|
414
393
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb
|
415
394
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb
|
416
395
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb
|
417
396
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/rest_api.rb
|
397
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners.rb
|
418
398
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners/base.rb
|
399
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources.rb
|
419
400
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
|
420
401
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb
|
421
402
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb
|
@@ -510,12 +491,16 @@ files:
|
|
510
491
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir4/false_command.rb
|
511
492
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb
|
512
493
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile
|
494
|
+
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile.lock
|
495
|
+
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/_gitignore
|
513
496
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/dashed-mygem.gemspec
|
514
497
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem.rb
|
515
498
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem/version.rb
|
516
499
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/spec/rubocop_spec.rb
|
517
500
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/spec/spec_helper.rb
|
518
501
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile
|
502
|
+
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile.lock
|
503
|
+
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/_gitignore
|
519
504
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem.rb
|
520
505
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem/version.rb
|
521
506
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/mygem.gemspec
|
@@ -549,14 +534,15 @@ files:
|
|
549
534
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb
|
550
535
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/version.rb
|
551
536
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
552
|
-
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/
|
553
|
-
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/
|
537
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb
|
538
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
|
539
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb
|
540
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data.rb
|
541
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/dump.rb
|
542
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb
|
554
543
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner.rb
|
555
544
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_host.rb
|
556
545
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_path.rb
|
557
|
-
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data.rb
|
558
|
-
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/dump.rb
|
559
|
-
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/load.rb
|
560
546
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/deploy.rb
|
561
547
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb
|
562
548
|
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb
|
@@ -786,6 +772,7 @@ files:
|
|
786
772
|
- sub/avm/lib/avm/entries/auto_values/entry.rb
|
787
773
|
- sub/avm/lib/avm/entries/auto_values/uri_entry.rb
|
788
774
|
- sub/avm/lib/avm/entries/base.rb
|
775
|
+
- sub/avm/lib/avm/entries/base/uri_component_entry_value.rb
|
789
776
|
- sub/avm/lib/avm/entries/entry.rb
|
790
777
|
- sub/avm/lib/avm/entries/uri_builder.rb
|
791
778
|
- sub/avm/lib/avm/executables.rb
|
@@ -846,6 +833,7 @@ files:
|
|
846
833
|
- sub/avm/lib/avm/source_generators/runner.rb
|
847
834
|
- sub/avm/lib/avm/sources.rb
|
848
835
|
- sub/avm/lib/avm/sources/base.rb
|
836
|
+
- sub/avm/lib/avm/sources/base/application.rb
|
849
837
|
- sub/avm/lib/avm/sources/base/configuration.rb
|
850
838
|
- sub/avm/lib/avm/sources/base/instance.rb
|
851
839
|
- sub/avm/lib/avm/sources/base/locale.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/sources/base'
|
4
|
-
require 'avm/eac_webapp_base0/instance'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacRailsBase1
|
8
|
-
class Instance < ::Avm::EacWebappBase0::Instance
|
9
|
-
DEFAULT_RAILS_ENVIRONMENT = 'production'
|
10
|
-
|
11
|
-
def bundle(*args)
|
12
|
-
the_gem.bundle(*args).chdir_root.envvar('RAILS_ENV', DEFAULT_RAILS_ENVIRONMENT)
|
13
|
-
end
|
14
|
-
|
15
|
-
def rake(*args)
|
16
|
-
bundle('exec', 'rake', *args)
|
17
|
-
end
|
18
|
-
|
19
|
-
def the_gem
|
20
|
-
@the_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(::File.join(read_entry('fs_path')))
|
21
|
-
.env_set(host_env)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|