eac_tools 0.10.0 → 0.12.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 +12 -13
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/application_stereotypes/base.rb +11 -1
- data/sub/avm/lib/avm/applications/base/stereotype.rb +31 -0
- data/sub/avm/lib/avm/applications/base.rb +17 -0
- data/sub/avm/lib/avm/registry/application_stereotypes/build_available.rb +9 -6
- data/sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb +8 -5
- data/sub/avm/lib/avm/registry/application_stereotypes.rb +26 -10
- data/sub/avm/lib/avm/registry/instances.rb +1 -1
- data/sub/avm/lib/avm/registry/source_generators.rb +16 -0
- data/sub/avm/lib/avm/registry.rb +2 -1
- data/sub/avm/lib/avm/scms/base.rb +2 -0
- data/sub/avm/lib/avm/source_generators/base.rb +29 -0
- data/sub/avm/lib/avm/source_generators.rb +9 -0
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/lib/avm/with_application_stereotype.rb +11 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/source_generators/base.rb +13 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Gemfile +11 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Rakefile +8 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/config/manifest.js +3 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/javascripts/application.js +1 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/stylesheets/application.scss +1 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/controllers/application_controller.rb +4 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/controllers/welcome_controller.rb +5 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/views/welcome/index.html.erb +1 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/bundle +5 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/rails +11 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/rake +11 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/yarn +11 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/application.rb +11 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/boot.rb +5 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/cable.yml +8 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/credentials.yml.enc +1 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/environment.rb +7 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/puma.rb +39 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/routes.rb +5 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/spring.rb +8 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config.ru +7 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/db/schema.rb +1 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/lib/ability.rb +20 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/lib/ability_mapping.rb +10 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/public/favicon.ico +0 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/spec/ruby_style_spec.rb +3 -0
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/spec/spec_helper.rb +8 -0
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +14 -0
- data/sub/{avm-tools/lib/avm/tools/runner/eac_redmine_base0 → avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners}/docker.rb +3 -3
- data/sub/{avm-tools/lib/avm/tools/runner/eac_redmine_base0 → avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners}/project_rename.rb +3 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb +13 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners/base.rb +25 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +1 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-tools/README.textile +0 -11
- data/sub/avm-tools/avm-tools.gemspec +1 -3
- data/sub/avm-tools/lib/avm/tools/runner/instance/info.rb +1 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance.rb +6 -1
- data/sub/avm-tools/lib/avm/tools/runner/source_generate.rb +45 -0
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/base.rb +67 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/sub_file.rb +68 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +2 -125
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/{require_sub_spec → require_sub/base_spec}/stubbed_module_a.rb +0 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/{require_sub_spec → require_sub/base_spec}/stubbed_not_module.rb +0 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/{require_sub_spec.rb → require_sub/base_spec.rb} +1 -1
- metadata +57 -16
- data/sub/avm/lib/avm/application_stereotypes/base/by_gem.rb +0 -17
- data/sub/avm/lib/avm/application_stereotypes/base/detection.rb +0 -34
- data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0.rb +0 -15
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.12.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-07-
|
11
|
+
date: 2022-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_generic_base0
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_rails_base1
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.11'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.11'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: avm-eac_redmine_plugin_base0
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
109
|
+
version: '0.127'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
116
|
+
version: '0.127'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: eac_ruby_utils
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,6 +121,9 @@ dependencies:
|
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0.96'
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 0.96.1
|
124
127
|
type: :runtime
|
125
128
|
prerelease: false
|
126
129
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -128,6 +131,9 @@ dependencies:
|
|
128
131
|
- - "~>"
|
129
132
|
- !ruby/object:Gem::Version
|
130
133
|
version: '0.96'
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 0.96.1
|
131
137
|
- !ruby/object:Gem::Dependency
|
132
138
|
name: eac_ruby_gem_support
|
133
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,6 +181,7 @@ files:
|
|
175
181
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb
|
176
182
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb
|
177
183
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb
|
184
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/source_generators/base.rb
|
178
185
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
|
179
186
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb
|
180
187
|
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb
|
@@ -186,6 +193,33 @@ files:
|
|
186
193
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
|
187
194
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
|
188
195
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
196
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Gemfile
|
197
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Rakefile
|
198
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/config/manifest.js
|
199
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/javascripts/application.js
|
200
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/stylesheets/application.scss
|
201
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/controllers/application_controller.rb
|
202
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/controllers/welcome_controller.rb
|
203
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/views/welcome/index.html.erb
|
204
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/bundle
|
205
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/rails
|
206
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/rake
|
207
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/bin/yarn
|
208
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config.ru
|
209
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/application.rb
|
210
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/boot.rb
|
211
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/cable.yml
|
212
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/credentials.yml.enc
|
213
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/environment.rb
|
214
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/puma.rb
|
215
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/routes.rb
|
216
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/config/spring.rb
|
217
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/db/schema.rb
|
218
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/lib/ability.rb
|
219
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/lib/ability_mapping.rb
|
220
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/public/favicon.ico
|
221
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/spec/ruby_style_spec.rb
|
222
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/spec/spec_helper.rb
|
189
223
|
- sub/avm-eac_rails_base1/Gemfile
|
190
224
|
- sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
|
191
225
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
|
@@ -219,8 +253,13 @@ files:
|
|
219
253
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/data_unit.rb
|
220
254
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/deploy.rb
|
221
255
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instance.rb
|
256
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb
|
222
257
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb
|
258
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb
|
259
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb
|
260
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb
|
223
261
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/rest_api.rb
|
262
|
+
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/runners/base.rb
|
224
263
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
|
225
264
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb
|
226
265
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb
|
@@ -420,9 +459,6 @@ files:
|
|
420
459
|
- sub/avm-tools/lib/avm/tools/runner/config.rb
|
421
460
|
- sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
|
422
461
|
- sub/avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb
|
423
|
-
- sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0.rb
|
424
|
-
- sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/docker.rb
|
425
|
-
- sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb
|
426
462
|
- sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb
|
427
463
|
- sub/avm-tools/lib/avm/tools/runner/eac_wordpress_base0.rb
|
428
464
|
- sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb
|
@@ -453,6 +489,7 @@ files:
|
|
453
489
|
- sub/avm-tools/lib/avm/tools/runner/self.rb
|
454
490
|
- sub/avm-tools/lib/avm/tools/runner/self/docker.rb
|
455
491
|
- sub/avm-tools/lib/avm/tools/runner/self/registry.rb
|
492
|
+
- sub/avm-tools/lib/avm/tools/runner/source_generate.rb
|
456
493
|
- sub/avm-tools/lib/avm/tools/self.rb
|
457
494
|
- sub/avm-tools/lib/avm/tools/version.rb
|
458
495
|
- sub/avm-tools/locale/en.yml
|
@@ -969,10 +1006,9 @@ files:
|
|
969
1006
|
- sub/avm/lib/avm.rb
|
970
1007
|
- sub/avm/lib/avm/application_stereotypes.rb
|
971
1008
|
- sub/avm/lib/avm/application_stereotypes/base.rb
|
972
|
-
- sub/avm/lib/avm/application_stereotypes/base/by_gem.rb
|
973
|
-
- sub/avm/lib/avm/application_stereotypes/base/detection.rb
|
974
1009
|
- sub/avm/lib/avm/applications.rb
|
975
1010
|
- sub/avm/lib/avm/applications/base.rb
|
1011
|
+
- sub/avm/lib/avm/applications/base/stereotype.rb
|
976
1012
|
- sub/avm/lib/avm/data/instance.rb
|
977
1013
|
- sub/avm/lib/avm/data/instance/files_unit.rb
|
978
1014
|
- sub/avm/lib/avm/data/instance/package.rb
|
@@ -1023,6 +1059,7 @@ files:
|
|
1023
1059
|
- sub/avm/lib/avm/registry/instances.rb
|
1024
1060
|
- sub/avm/lib/avm/registry/runners.rb
|
1025
1061
|
- sub/avm/lib/avm/registry/scms.rb
|
1062
|
+
- sub/avm/lib/avm/registry/source_generators.rb
|
1026
1063
|
- sub/avm/lib/avm/registry/sources.rb
|
1027
1064
|
- sub/avm/lib/avm/registry/with_path.rb
|
1028
1065
|
- sub/avm/lib/avm/registry/with_path/cache.rb
|
@@ -1039,6 +1076,8 @@ files:
|
|
1039
1076
|
- sub/avm/lib/avm/self/docker_image.rb
|
1040
1077
|
- sub/avm/lib/avm/self/instance.rb
|
1041
1078
|
- sub/avm/lib/avm/self/instance/entry_keys.rb
|
1079
|
+
- sub/avm/lib/avm/source_generators.rb
|
1080
|
+
- sub/avm/lib/avm/source_generators/base.rb
|
1042
1081
|
- sub/avm/lib/avm/sources.rb
|
1043
1082
|
- sub/avm/lib/avm/sources/base.rb
|
1044
1083
|
- sub/avm/lib/avm/sources/base/configuration.rb
|
@@ -1378,6 +1417,8 @@ files:
|
|
1378
1417
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb
|
1379
1418
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
|
1380
1419
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
|
1420
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/base.rb
|
1421
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/sub_file.rb
|
1381
1422
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
|
1382
1423
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb
|
1383
1424
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb
|
@@ -1440,9 +1481,9 @@ files:
|
|
1440
1481
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
|
1441
1482
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb
|
1442
1483
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb
|
1443
|
-
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/
|
1444
|
-
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/
|
1445
|
-
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/
|
1484
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
|
1485
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec/stubbed_module_a.rb
|
1486
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec/stubbed_not_module.rb
|
1446
1487
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb
|
1447
1488
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb
|
1448
1489
|
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Avm
|
4
|
-
module ApplicationStereotypes
|
5
|
-
class Base
|
6
|
-
module ByGem
|
7
|
-
common_concern
|
8
|
-
|
9
|
-
module ClassMethods
|
10
|
-
def by_gem(gem_name)
|
11
|
-
new(gem_name.gsub('-', '/').camelize)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Avm
|
4
|
-
module ApplicationStereotypes
|
5
|
-
class Base
|
6
|
-
module Detection
|
7
|
-
common_concern
|
8
|
-
|
9
|
-
module ClassMethods
|
10
|
-
# @return [Class<Avm::Sources::Base>, nil]
|
11
|
-
def detect(object)
|
12
|
-
return singleton_instance if
|
13
|
-
%w[name instance_class source_class].any? { |t| send("detect_by_#{t}?", object) }
|
14
|
-
end
|
15
|
-
|
16
|
-
# @return [Boolean]
|
17
|
-
def detect_by_instance_class?(object)
|
18
|
-
object.is_a?(::Class) && singleton_instance.instance_class == object
|
19
|
-
end
|
20
|
-
|
21
|
-
# @return [Boolean]
|
22
|
-
def detect_by_name?(object)
|
23
|
-
object.is_a?(::String) && singleton_instance.name == object
|
24
|
-
end
|
25
|
-
|
26
|
-
# @return [Boolean]
|
27
|
-
def detect_by_source_class?(object)
|
28
|
-
object.is_a?(::Class) && singleton_instance.source_class == object
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_rails_base1/runner'
|
4
|
-
require 'avm/eac_redmine_base0'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module Tools
|
9
|
-
class Runner
|
10
|
-
class EacRedmineBase0 < ::Avm::EacRailsBase1::Runner
|
11
|
-
require_sub __FILE__
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|