eac_tools 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -26
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/avm.gemspec +6 -6
- data/sub/avm/lib/avm/instances/runner.rb +4 -2
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/lib/avm/with/application_stereotype.rb +1 -3
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +3 -3
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +6 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/bundle_update.rb +23 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb +1 -1
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +2 -4
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb +7 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-tools/avm-tools.gemspec +10 -10
- data/sub/avm-tools/lib/avm/tools/runner/instance.rb +3 -1
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04cbda8d8b53185b46e806e22d26098771f627a4574eb028e9836905e700a27d
|
4
|
+
data.tar.gz: 7862b02bf94a320aee41d7ef63052b2049484a5f1540392268b41402b4eb6ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51e79b98e8a886236b82b1cafbbe7e3f817cf4dcc18bce329f19d4d5a176a2ae10c78ed5ca871d6de8e79b31244687bccfd0a4fdca71bf88e9e806aa6faab28
|
7
|
+
data.tar.gz: 42d8f5266e63f7dac0bf2f952bea10d9ad342fd223c1f41ea7984aeb3f37bce37dc5389bd00da9411607badf39bfed74f24b3fac04dd4bd6a3b3b4a2b55c4736
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.35)
|
4
|
+
eac_tools (0.22.0)
|
5
|
+
avm (~> 0.35, >= 0.35.1)
|
6
6
|
avm-eac_asciidoctor_base0 (~> 0.4)
|
7
7
|
avm-eac_generic_base0 (~> 0.5)
|
8
8
|
avm-eac_latex_base0 (~> 0.1, >= 0.1.1)
|
@@ -10,10 +10,10 @@ PATH
|
|
10
10
|
avm-eac_rails_base1 (~> 0.4, >= 0.4.2)
|
11
11
|
avm-eac_redmine_base0 (~> 0.11)
|
12
12
|
avm-eac_redmine_plugin_base0 (~> 0.3)
|
13
|
-
avm-eac_ruby_base1 (~> 0.
|
13
|
+
avm-eac_ruby_base1 (~> 0.19)
|
14
14
|
avm-eac_webapp_base0 (~> 0.3, >= 0.3.1)
|
15
15
|
avm-eac_wordpress_base0 (~> 0.1, >= 0.1.1)
|
16
|
-
avm-tools (~> 0.132)
|
16
|
+
avm-tools (~> 0.132, >= 0.132.1)
|
17
17
|
eac_ruby_utils (~> 0.98)
|
18
18
|
|
19
19
|
PATH
|
@@ -80,10 +80,10 @@ PATH
|
|
80
80
|
PATH
|
81
81
|
remote: sub/avm-eac_ruby_base1
|
82
82
|
specs:
|
83
|
-
avm-eac_ruby_base1 (0.
|
84
|
-
avm (~> 0.
|
85
|
-
avm-eac_generic_base0 (~> 0.
|
86
|
-
eac_ruby_utils (~> 0.
|
83
|
+
avm-eac_ruby_base1 (0.19.0)
|
84
|
+
avm (~> 0.35, >= 0.35.1)
|
85
|
+
avm-eac_generic_base0 (~> 0.5)
|
86
|
+
eac_ruby_utils (~> 0.98)
|
87
87
|
|
88
88
|
PATH
|
89
89
|
remote: sub/avm-eac_webapp_base0
|
@@ -106,33 +106,33 @@ PATH
|
|
106
106
|
PATH
|
107
107
|
remote: sub/avm-tools
|
108
108
|
specs:
|
109
|
-
avm-tools (0.132.
|
110
|
-
aranha-parsers (~> 0.
|
111
|
-
avm (~> 0.
|
112
|
-
avm-eac_ruby_base1 (~> 0.
|
109
|
+
avm-tools (0.132.1)
|
110
|
+
aranha-parsers (~> 0.14, >= 0.14.1)
|
111
|
+
avm (~> 0.35, >= 0.35.1)
|
112
|
+
avm-eac_ruby_base1 (~> 0.19)
|
113
113
|
avm-eac_ubuntu_base0 (~> 0.3)
|
114
|
-
avm-files (~> 0.
|
115
|
-
avm-git (~> 0.
|
116
|
-
clipboard (~> 1.3, >= 1.3.
|
117
|
-
curb (~> 0.9.
|
114
|
+
avm-files (~> 0.3, >= 0.3.2)
|
115
|
+
avm-git (~> 0.4)
|
116
|
+
clipboard (~> 1.3, >= 1.3.6)
|
117
|
+
curb (~> 0.9, >= 0.9.11)
|
118
118
|
eac_git (~> 0.12, >= 0.12.1)
|
119
|
-
eac_ruby_base0 (~> 0.16, >= 0.16.
|
119
|
+
eac_ruby_base0 (~> 0.16, >= 0.16.6)
|
120
120
|
eac_templates (~> 0.3, >= 0.3.1)
|
121
|
-
git (~> 1.
|
122
|
-
ruby-progressbar (~> 1.
|
121
|
+
git (~> 1.11)
|
122
|
+
ruby-progressbar (~> 1.11)
|
123
123
|
|
124
124
|
PATH
|
125
125
|
remote: sub/avm
|
126
126
|
specs:
|
127
|
-
avm (0.35.
|
128
|
-
eac_cli (~> 0.27, >= 0.27.
|
127
|
+
avm (0.35.1)
|
128
|
+
eac_cli (~> 0.27, >= 0.27.8)
|
129
129
|
eac_config (~> 0.10)
|
130
|
-
eac_docker (~> 0.
|
131
|
-
eac_git (~> 0.
|
132
|
-
eac_ruby_utils (~> 0.
|
133
|
-
eac_templates (~> 0.
|
130
|
+
eac_docker (~> 0.4, >= 0.4.2)
|
131
|
+
eac_git (~> 0.12, >= 0.12.1)
|
132
|
+
eac_ruby_utils (~> 0.98)
|
133
|
+
eac_templates (~> 0.3, >= 0.3.1)
|
134
134
|
filesize (~> 0.2)
|
135
|
-
htmlbeautifier (~> 1.
|
135
|
+
htmlbeautifier (~> 1.4, >= 1.4.2)
|
136
136
|
minitar (~> 0.9)
|
137
137
|
|
138
138
|
PATH
|
data/lib/eac_tools/version.rb
CHANGED
data/sub/avm/avm.gemspec
CHANGED
@@ -12,14 +12,14 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'eac_cli', '~> 0.27', '>= 0.27.
|
15
|
+
s.add_dependency 'eac_cli', '~> 0.27', '>= 0.27.8'
|
16
16
|
s.add_dependency 'eac_config', '~> 0.10'
|
17
|
-
s.add_dependency 'eac_docker', '~> 0.
|
18
|
-
s.add_dependency 'eac_git', '~> 0.
|
19
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
20
|
-
s.add_dependency 'eac_templates', '~> 0.
|
17
|
+
s.add_dependency 'eac_docker', '~> 0.4', '>= 0.4.2'
|
18
|
+
s.add_dependency 'eac_git', '~> 0.12', '>= 0.12.1'
|
19
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.98'
|
20
|
+
s.add_dependency 'eac_templates', '~> 0.3', '>= 0.3.1'
|
21
21
|
s.add_dependency 'filesize', '~> 0.2'
|
22
|
-
s.add_dependency 'htmlbeautifier', '~> 1.
|
22
|
+
s.add_dependency 'htmlbeautifier', '~> 1.4', '>= 1.4.2'
|
23
23
|
s.add_dependency 'minitar', '~> 0.9'
|
24
24
|
|
25
25
|
s.add_development_dependency 'aranha-parsers', '~> 0.14', '~> 0.14.1'
|
@@ -7,10 +7,12 @@ module Avm
|
|
7
7
|
module Instances
|
8
8
|
class Runner < ::Avm::Runners::Base
|
9
9
|
class << self
|
10
|
-
def
|
11
|
-
::Avm.
|
10
|
+
def application_stereotype
|
11
|
+
::Avm::Registry.application_stereotypes.detect(stereotype_name)
|
12
12
|
end
|
13
13
|
|
14
|
+
delegate :instance_class, to: :application_stereotype
|
15
|
+
|
14
16
|
def stereotype_module
|
15
17
|
::Avm.const_get(stereotype_name)
|
16
18
|
end
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,locale,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
16
|
-
s.add_dependency 'avm-eac_generic_base0', '~> 0.
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.35', '>= 0.35.1'
|
16
|
+
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.98'
|
18
18
|
|
19
19
|
s.add_development_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.1'
|
20
20
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'avm/eac_generic_base0/sources/base'
|
4
4
|
require 'avm/eac_ruby_base1/sources/base/bundle_command'
|
5
|
+
require 'avm/eac_ruby_base1/sources/bundle_update'
|
5
6
|
require 'eac_ruby_utils/core_ext'
|
6
7
|
|
7
8
|
module Avm
|
@@ -18,6 +19,11 @@ module Avm
|
|
18
19
|
.envvar_gemfile
|
19
20
|
end
|
20
21
|
|
22
|
+
# @return [Avm::EacRubyBase1::Sources::BundleUpdate]
|
23
|
+
def bundle_update
|
24
|
+
::Avm::EacRubyBase1::Sources::BundleUpdate.new(self)
|
25
|
+
end
|
26
|
+
|
21
27
|
# @return [String]
|
22
28
|
def configured_gemfile_path
|
23
29
|
configuration_entry(CONFIGURED_GEMFILE_PATH_ENTRY_KEY).value
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacRubyBase1
|
7
|
+
module Sources
|
8
|
+
class BundleUpdate
|
9
|
+
common_constructor :source
|
10
|
+
delegate :bundle, to: :source
|
11
|
+
|
12
|
+
def execute!
|
13
|
+
bundle('update').execute! + bundle('install').execute!
|
14
|
+
end
|
15
|
+
|
16
|
+
def system!
|
17
|
+
bundle('update').system!
|
18
|
+
bundle('install').system!
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -14,10 +14,8 @@ module Avm
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def bundle_update
|
17
|
-
infom 'Running "bundle update"...'
|
18
|
-
source.
|
19
|
-
infom 'Running "bundle install"...'
|
20
|
-
source.bundle('install').execute!
|
17
|
+
infom 'Running "bundle update && bundle install"...'
|
18
|
+
source.bundle_update.execute!
|
21
19
|
end
|
22
20
|
|
23
21
|
protected
|
data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb
CHANGED
@@ -35,9 +35,16 @@ module Avm
|
|
35
35
|
::Avm::EacRubyBase1::Rubygems::Gemspec.from_file(source.gemspec_path)
|
36
36
|
end
|
37
37
|
|
38
|
+
def parent_bundle
|
39
|
+
return unless source.parent.if_present { |v| v.is_a?(::Avm::EacRubyBase1::Sources::Base) }
|
40
|
+
|
41
|
+
source.parent.bundle_update.execute!
|
42
|
+
end
|
43
|
+
|
38
44
|
def update_code
|
39
45
|
update_gemspec
|
40
46
|
source.bundle.system!
|
47
|
+
parent_bundle
|
41
48
|
end
|
42
49
|
|
43
50
|
def update_gemspec
|
@@ -14,19 +14,19 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.bindir = 'exe'
|
15
15
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
16
16
|
|
17
|
-
s.add_dependency 'aranha-parsers', '~> 0.
|
18
|
-
s.add_dependency 'avm', '~> 0.
|
19
|
-
s.add_dependency 'avm-eac_ruby_base1', '~> 0.
|
17
|
+
s.add_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.1'
|
18
|
+
s.add_dependency 'avm', '~> 0.35', '>= 0.35.1'
|
19
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.19'
|
20
20
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
21
|
-
s.add_dependency 'avm-files', '~> 0.
|
22
|
-
s.add_dependency 'avm-git', '~> 0.
|
23
|
-
s.add_dependency 'clipboard', '~> 1.3', '>= 1.3.
|
24
|
-
s.add_dependency 'curb', '~> 0.9.
|
21
|
+
s.add_dependency 'avm-files', '~> 0.3', '>= 0.3.2'
|
22
|
+
s.add_dependency 'avm-git', '~> 0.4'
|
23
|
+
s.add_dependency 'clipboard', '~> 1.3', '>= 1.3.6'
|
24
|
+
s.add_dependency 'curb', '~> 0.9', '>= 0.9.11'
|
25
25
|
s.add_dependency 'eac_git', '~> 0.12', '>= 0.12.1'
|
26
|
-
s.add_dependency 'eac_ruby_base0', '~> 0.16', '>= 0.16.
|
26
|
+
s.add_dependency 'eac_ruby_base0', '~> 0.16', '>= 0.16.6'
|
27
27
|
s.add_dependency 'eac_templates', '~> 0.3', '>= 0.3.1'
|
28
|
-
s.add_dependency 'git', '~> 1.
|
29
|
-
s.add_dependency 'ruby-progressbar', '~> 1.
|
28
|
+
s.add_dependency 'git', '~> 1.11'
|
29
|
+
s.add_dependency 'ruby-progressbar', '~> 1.11'
|
30
30
|
|
31
31
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
32
32
|
end
|
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.22.0
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.35'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.35.1
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0.35'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.35.1
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: avm-eac_asciidoctor_base0
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,14 +152,14 @@ dependencies:
|
|
146
152
|
requirements:
|
147
153
|
- - "~>"
|
148
154
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0.
|
155
|
+
version: '0.19'
|
150
156
|
type: :runtime
|
151
157
|
prerelease: false
|
152
158
|
version_requirements: !ruby/object:Gem::Requirement
|
153
159
|
requirements:
|
154
160
|
- - "~>"
|
155
161
|
- !ruby/object:Gem::Version
|
156
|
-
version: '0.
|
162
|
+
version: '0.19'
|
157
163
|
- !ruby/object:Gem::Dependency
|
158
164
|
name: avm-eac_webapp_base0
|
159
165
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,6 +207,9 @@ dependencies:
|
|
201
207
|
- - "~>"
|
202
208
|
- !ruby/object:Gem::Version
|
203
209
|
version: '0.132'
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 0.132.1
|
204
213
|
type: :runtime
|
205
214
|
prerelease: false
|
206
215
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -208,6 +217,9 @@ dependencies:
|
|
208
217
|
- - "~>"
|
209
218
|
- !ruby/object:Gem::Version
|
210
219
|
version: '0.132'
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 0.132.1
|
211
223
|
- !ruby/object:Gem::Dependency
|
212
224
|
name: eac_ruby_utils
|
213
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -465,6 +477,7 @@ files:
|
|
465
477
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb
|
466
478
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubygems.rb
|
467
479
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
|
480
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/bundle_update.rb
|
468
481
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
|
469
482
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
|
470
483
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb
|