avm-tools 0.117.2 → 0.119.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/tools/runner/app_src/info.rb +0 -8
  3. data/lib/avm/tools/runner/app_src/subs.rb +71 -0
  4. data/lib/avm/tools/runner/app_src.rb +2 -0
  5. data/lib/avm/tools/runner/eac_redmine_base0/core_update.rb +1 -1
  6. data/lib/avm/tools/version.rb +1 -1
  7. data/sub/avm/lib/avm/sources/base/configuration.rb +13 -6
  8. data/sub/avm/lib/avm/sources/base/subs.rb +55 -0
  9. data/sub/avm/lib/avm/sources/base/subs_paths.rb +32 -0
  10. data/sub/avm/lib/avm/sources/base.rb +10 -5
  11. data/sub/avm/lib/avm/version.rb +1 -1
  12. data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +1 -1
  13. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +27 -0
  14. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  15. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +1 -0
  16. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +27 -0
  17. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  18. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
  19. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb +4 -0
  20. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +27 -0
  21. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  22. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +2 -1
  23. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/depends_on.rb +3 -3
  24. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/gem_conflict.rb +11 -6
  25. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/in_gemfile.rb +3 -3
  26. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/line_buffer.rb +3 -3
  27. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/line_factory.rb +4 -4
  28. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/line_parser_base.rb +1 -1
  29. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser/version_requirement.rb +4 -4
  30. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/bundler/incompatible_parser.rb +2 -2
  31. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +39 -0
  32. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +39 -0
  33. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +7 -2
  34. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +76 -0
  35. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb +19 -0
  36. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb +13 -0
  37. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  38. data/sub/avm-eac_ruby_base1/locale/{en.yaml → en.yml} +0 -0
  39. data/sub/avm-eac_ruby_base1/locale/{pt-BR.yaml → pt-BR.yml} +0 -0
  40. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +7 -0
  41. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +192 -0
  42. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +300 -0
  43. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +245 -0
  44. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +355 -0
  45. metadata +34 -19
  46. data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +0 -82
@@ -0,0 +1,355 @@
1
+ ---
2
+ - :gem_name: actionpack
3
+ :versions_requirements:
4
+ - :requirements_source: ">= 4.0.0, < 5"
5
+ :stack:
6
+ - :gem_name: actionpack-xml_parser
7
+ :version: !ruby/object:Gem::Version
8
+ version: 1.0.2
9
+ - :requirements_source: ">= 4.0.1"
10
+ :stack:
11
+ - :gem_name: haml-rails
12
+ :version: &8 !ruby/object:Gem::Version
13
+ version: 1.0.0
14
+ - :requirements_source: "= 4.2.11.1"
15
+ :stack:
16
+ - :gem_name: rails (= 4.2.11.1)
17
+ :version: &2 !ruby/object:Gem::Version
18
+ version: 4.2.11.1
19
+ - :requirements_source: ">= 4.2"
20
+ :stack:
21
+ - :gem_name: redmine_plugins_helper
22
+ :version: &1 !ruby/object:Gem::Version
23
+ version: 0.9.2
24
+ - :gem_name: rspec-rails
25
+ :version: &9 !ruby/object:Gem::Version
26
+ version: 4.1.2
27
+ - :requirements_source: ">= 4.0"
28
+ :stack:
29
+ - :gem_name: redmine_plugins_helper
30
+ :version: *1
31
+ - :gem_name: sass-rails (~> 5.0)
32
+ :version: &10 !ruby/object:Gem::Version
33
+ version: 5.0.7
34
+ - :gem_name: sprockets-rails (>= 2.0, < 4.0)
35
+ :version: &11 !ruby/object:Gem::Version
36
+ version: 3.2.2
37
+ - :gem_name: activemodel
38
+ :versions_requirements:
39
+ - :requirements_source: "< 6, >= 4.1"
40
+ :stack:
41
+ - :gem_name: redmine_nonproject_modules
42
+ :version: &3 !ruby/object:Gem::Version
43
+ version: 0.3.7
44
+ - :gem_name: eac_rails_utils (~> 0.12, >= 0.12.2)
45
+ :version: &4 !ruby/object:Gem::Version
46
+ version: 0.15.0
47
+ - :gem_name: activemodel-associations (~> 0.2)
48
+ :version: &5 !ruby/object:Gem::Version
49
+ version: 0.2.0
50
+ - :requirements_source: ">= 4.0.1, < 5.0"
51
+ :stack:
52
+ - :gem_name: protected_attributes
53
+ :version: !ruby/object:Gem::Version
54
+ version: 1.1.4
55
+ - :requirements_source: "= 4.2.11.1"
56
+ :stack:
57
+ - :gem_name: rails (= 4.2.11.1)
58
+ :version: *2
59
+ - :requirements_source: ">= 3.0.0"
60
+ :stack:
61
+ - :gem_name: redmine_remotes
62
+ :version: &12 !ruby/object:Gem::Version
63
+ version: 0.15.1
64
+ - :gem_name: validate_url (~> 1.0, >= 1.0.8)
65
+ :version: !ruby/object:Gem::Version
66
+ version: 1.0.15
67
+ - :gem_name: activerecord
68
+ :versions_requirements:
69
+ - :requirements_source: "< 6, >= 4.1"
70
+ :stack:
71
+ - :gem_name: redmine_nonproject_modules
72
+ :version: *3
73
+ - :gem_name: eac_rails_utils (~> 0.12, >= 0.12.2)
74
+ :version: *4
75
+ - :gem_name: activemodel-associations (~> 0.2)
76
+ :version: *5
77
+ - :requirements_source: ">= 3.0, < 8.0"
78
+ :stack:
79
+ - :gem_name: redmine_events_manager
80
+ :version: &6 !ruby/object:Gem::Version
81
+ version: 0.4.11
82
+ - :gem_name: delayed_job_active_record
83
+ :version: &7 !ruby/object:Gem::Version
84
+ version: 4.1.7
85
+ - :requirements_source: "= 4.2.11.1"
86
+ :stack:
87
+ - :gem_name: rails (= 4.2.11.1)
88
+ :version: *2
89
+ - :requirements_source: ">= 3.2"
90
+ :stack:
91
+ - :gem_name: test_after_commit (~> 0.4.2)
92
+ :version: !ruby/object:Gem::Version
93
+ version: 0.4.2
94
+ - :gem_name: activesupport
95
+ :versions_requirements:
96
+ - :requirements_source: "< 6, >= 4.1"
97
+ :stack:
98
+ - :gem_name: redmine_nonproject_modules
99
+ :version: *3
100
+ - :gem_name: eac_rails_utils (~> 0.12, >= 0.12.2)
101
+ :version: *4
102
+ - :gem_name: activemodel-associations (~> 0.2)
103
+ :version: *5
104
+ - :requirements_source: ">= 3.0, < 8.0"
105
+ :stack:
106
+ - :gem_name: redmine_events_manager
107
+ :version: *6
108
+ - :gem_name: delayed_job_active_record
109
+ :version: *7
110
+ - :gem_name: delayed_job (>= 3.0, < 5)
111
+ :version: !ruby/object:Gem::Version
112
+ version: 4.1.10
113
+ - :requirements_source: ">= 4, < 7"
114
+ :stack:
115
+ - :gem_name: notifyme
116
+ :version: !ruby/object:Gem::Version
117
+ version: 0.4.10
118
+ - :gem_name: eac_ruby_utils (~> 0.46)
119
+ :version: !ruby/object:Gem::Version
120
+ version: 0.95.1
121
+ - :requirements_source: ">= 4.0.1"
122
+ :stack:
123
+ - :gem_name: haml-rails
124
+ :version: *8
125
+ - :requirements_source: "= 4.2.11.1"
126
+ :stack:
127
+ - :gem_name: rails (= 4.2.11.1)
128
+ :version: *2
129
+ - :requirements_source: ">= 4.2.0, < 5.0"
130
+ :stack:
131
+ - :gem_name: rails-dom-testing
132
+ :version: !ruby/object:Gem::Version
133
+ version: 1.0.9
134
+ - :requirements_source: ">= 4.2"
135
+ :stack:
136
+ - :gem_name: redmine_plugins_helper
137
+ :version: *1
138
+ - :gem_name: rspec-rails
139
+ :version: *9
140
+ - :requirements_source: ">= 4.0"
141
+ :stack:
142
+ - :gem_name: redmine_plugins_helper
143
+ :version: *1
144
+ - :gem_name: sass-rails (~> 5.0)
145
+ :version: *10
146
+ - :gem_name: sprockets-rails (>= 2.0, < 4.0)
147
+ :version: *11
148
+ - :gem_name: i18n
149
+ :versions_requirements:
150
+ - :requirements_source: "~> 0.7.0"
151
+ :stack: []
152
+ - :requirements_source: "~> 0.7"
153
+ :stack:
154
+ - :gem_name: rails (= 4.2.11.1)
155
+ :version: *2
156
+ - :gem_name: activesupport (= 4.2.11.1)
157
+ :version: *2
158
+ - :requirements_source: ">= 0.7"
159
+ :stack:
160
+ - :gem_name: faker
161
+ :version: !ruby/object:Gem::Version
162
+ version: 2.1.0
163
+ - :gem_name: mail
164
+ :versions_requirements:
165
+ - :requirements_source: "~> 2.6.4"
166
+ :stack: []
167
+ - :requirements_source: "~> 2.5, >= 2.5.4"
168
+ :stack:
169
+ - :gem_name: rails (= 4.2.11.1)
170
+ :version: *2
171
+ - :gem_name: actionmailer (= 4.2.11.1)
172
+ :version: *2
173
+ - :gem_name: nokogiri
174
+ :versions_requirements:
175
+ - :requirements_source: "~> 1.8.1"
176
+ :stack: []
177
+ - :requirements_source: "~> 1.12, >= 1.12.4"
178
+ :stack:
179
+ - :gem_name: redmine_remotes
180
+ :version: *12
181
+ - :gem_name: aranha-parsers (~> 0.14, >= 0.14.1)
182
+ :version: !ruby/object:Gem::Version
183
+ version: 0.14.1
184
+ - :gem_name: rack
185
+ :versions_requirements:
186
+ - :requirements_source: "~> 1.6"
187
+ :stack:
188
+ - :gem_name: rails (= 4.2.11.1)
189
+ :version: *2
190
+ - :gem_name: actionpack (= 4.2.11.1)
191
+ :version: *2
192
+ - :requirements_source: ">= 1.0.0"
193
+ :stack:
194
+ - :gem_name: capybara (~> 2.13)
195
+ :version: &13 !ruby/object:Gem::Version
196
+ version: 2.18.0
197
+ - :requirements_source: "~> 1.6.0"
198
+ :stack:
199
+ - :gem_name: gitlab-grack
200
+ :version: !ruby/object:Gem::Version
201
+ version: 2.0.0.pre
202
+ - :requirements_source: ">= 1.1.0"
203
+ :stack:
204
+ - :gem_name: rack-openid
205
+ :version: !ruby/object:Gem::Version
206
+ version: 1.4.2
207
+ - :requirements_source:
208
+ :stack:
209
+ - :gem_name: rack-parser
210
+ :version: !ruby/object:Gem::Version
211
+ version: 0.7.0
212
+ - :requirements_source: "> 1, < 3"
213
+ :stack:
214
+ - :gem_name: redmine_plugins_helper
215
+ :version: *1
216
+ - :gem_name: sass-rails (~> 5.0)
217
+ :version: *10
218
+ - :gem_name: sprockets (>= 2.8, < 4.0)
219
+ :version: !ruby/object:Gem::Version
220
+ version: 3.7.2
221
+ - :gem_name: rack-test
222
+ :versions_requirements:
223
+ - :requirements_source: "~> 0.6.2"
224
+ :stack:
225
+ - :gem_name: rails (= 4.2.11.1)
226
+ :version: *2
227
+ - :gem_name: actionpack (= 4.2.11.1)
228
+ :version: *2
229
+ - :requirements_source: ">= 0.5.4"
230
+ :stack:
231
+ - :gem_name: capybara (~> 2.13)
232
+ :version: *13
233
+ - :gem_name: rails
234
+ :versions_requirements:
235
+ - :requirements_source: "= 4.2.11.1"
236
+ :stack: []
237
+ - :requirements_source: ">= 4.0.5, < 5.2.0"
238
+ :stack:
239
+ - :gem_name: redmine_nonproject_modules
240
+ :version: *3
241
+ - :gem_name: active_scaffold (~> 3.5)
242
+ :version: !ruby/object:Gem::Version
243
+ version: 3.5.5
244
+ - :requirements_source: ">= 4.2.11"
245
+ :stack:
246
+ - :gem_name: redmine_nonproject_modules
247
+ :version: *3
248
+ - :gem_name: eac_rails_utils (~> 0.12, >= 0.12.2)
249
+ :version: *4
250
+ - :requirements_source:
251
+ :stack:
252
+ - :gem_name: redmine_crm
253
+ :version: !ruby/object:Gem::Version
254
+ version: 0.0.57
255
+ - :requirements_source: ">= 4.2, < 6.2"
256
+ :stack:
257
+ - :gem_name: redmine_extensions
258
+ :version: !ruby/object:Gem::Version
259
+ version: 0.4.4
260
+ - :gem_name: rails-dom-testing
261
+ :versions_requirements:
262
+ - :requirements_source:
263
+ :stack: []
264
+ - :requirements_source: ">= 1, < 3"
265
+ :stack:
266
+ - :gem_name: redmine_nonproject_modules
267
+ :version: *3
268
+ - :gem_name: jquery-rails (~> 4.4)
269
+ :version: &14 !ruby/object:Gem::Version
270
+ version: 4.5.0
271
+ - :gem_name: railties
272
+ :versions_requirements:
273
+ - :requirements_source: ">= 4.0.1"
274
+ :stack:
275
+ - :gem_name: haml-rails
276
+ :version: *8
277
+ - :requirements_source: ">= 4.2.0"
278
+ :stack:
279
+ - :gem_name: redmine_nonproject_modules
280
+ :version: *3
281
+ - :gem_name: jquery-rails (~> 4.4)
282
+ :version: *14
283
+ - :requirements_source: ">= 4"
284
+ :stack:
285
+ - :gem_name: redmine_tasks_scheduler
286
+ :version: !ruby/object:Gem::Version
287
+ version: 0.3.1
288
+ - :gem_name: tasks_scheduler (~> 0.6)
289
+ :version: !ruby/object:Gem::Version
290
+ version: 0.6.10
291
+ - :gem_name: js-routes (~> 1.4, >= 1.4.14)
292
+ :version: !ruby/object:Gem::Version
293
+ version: 1.4.14
294
+ - :requirements_source: "= 4.2.11.1"
295
+ :stack:
296
+ - :gem_name: rails (= 4.2.11.1)
297
+ :version: *2
298
+ - :requirements_source: ">= 3.0, < 5.1"
299
+ :stack:
300
+ - :gem_name: roadie-rails (~> 1.1.1)
301
+ :version: &15 !ruby/object:Gem::Version
302
+ version: 1.1.1
303
+ - :requirements_source: ">= 4.0.0, < 6"
304
+ :stack:
305
+ - :gem_name: redmine_plugins_helper
306
+ :version: *1
307
+ - :gem_name: sass-rails (~> 5.0)
308
+ :version: *10
309
+ - :gem_name: request_store
310
+ :versions_requirements:
311
+ - :requirements_source: "= 1.0.5"
312
+ :stack: []
313
+ - :requirements_source: "~> 1.3"
314
+ :stack:
315
+ - :gem_name: redmine_nonproject_modules
316
+ :version: *3
317
+ - :gem_name: active_scaffold (~> 3.5)
318
+ :version: !ruby/object:Gem::Version
319
+ version: 3.6.10
320
+ - :gem_name: roadie
321
+ :versions_requirements:
322
+ - :requirements_source: "~> 3.2.1"
323
+ :stack: []
324
+ - :requirements_source: "~> 3.1"
325
+ :stack:
326
+ - :gem_name: roadie-rails (~> 1.1.1)
327
+ :version: *15
328
+ - :gem_name: sprockets
329
+ :versions_requirements:
330
+ - :requirements_source: ">= 2.8, < 4.0"
331
+ :stack:
332
+ - :gem_name: redmine_plugins_helper
333
+ :version: *1
334
+ - :gem_name: sass-rails (~> 5.0)
335
+ :version: *10
336
+ - :requirements_source: ">= 3.0.0"
337
+ :stack:
338
+ - :gem_name: redmine_plugins_helper
339
+ :version: *1
340
+ - :gem_name: sass-rails (~> 5.0)
341
+ :version: *10
342
+ - :gem_name: sprockets-rails (>= 2.0, < 4.0)
343
+ :version: *11
344
+ - :gem_name: sprockets-rails
345
+ :versions_requirements:
346
+ - :requirements_source:
347
+ :stack:
348
+ - :gem_name: rails (= 4.2.11.1)
349
+ :version: *2
350
+ - :requirements_source: ">= 2.0, < 4.0"
351
+ :stack:
352
+ - :gem_name: redmine_plugins_helper
353
+ :version: *1
354
+ - :gem_name: sass-rails (~> 5.0)
355
+ :version: *10
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.117.2
4
+ version: 0.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.18'
33
+ version: '0.21'
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.18'
40
+ version: '0.21'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: avm-eac_asciidoctor_base0
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ dependencies:
81
81
  version: '0.5'
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 0.5.1
84
+ version: 0.5.2
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,21 +91,21 @@ dependencies:
91
91
  version: '0.5'
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 0.5.1
94
+ version: 0.5.2
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: avm-eac_ruby_base1
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '0.2'
101
+ version: '0.7'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '0.2'
108
+ version: '0.7'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: avm-eac_ubuntu_base0
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -367,14 +367,6 @@ files:
367
367
  - lib/avm/rails.rb
368
368
  - lib/avm/ruby.rb
369
369
  - lib/avm/ruby/bundler.rb
370
- - lib/avm/ruby/bundler/incompatible_parser.rb
371
- - lib/avm/ruby/bundler/incompatible_parser/depends_on.rb
372
- - lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb
373
- - lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb
374
- - lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb
375
- - lib/avm/ruby/bundler/incompatible_parser/line_factory.rb
376
- - lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb
377
- - lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb
378
370
  - lib/avm/ruby/gems.rb
379
371
  - lib/avm/ruby/gems/generator.rb
380
372
  - lib/avm/stereotypes.rb
@@ -397,7 +389,7 @@ files:
397
389
  - lib/avm/tools/runner/app_src/ruby/bundler.rb
398
390
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
399
391
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb
400
- - lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb
392
+ - lib/avm/tools/runner/app_src/subs.rb
401
393
  - lib/avm/tools/runner/app_src/test.rb
402
394
  - lib/avm/tools/runner/app_src/update.rb
403
395
  - lib/avm/tools/runner/app_src/version_bump.rb
@@ -490,6 +482,7 @@ files:
490
482
  - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb
491
483
  - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb
492
484
  - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb
485
+ - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
493
486
  - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb
494
487
  - sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb
495
488
  - sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf
@@ -516,6 +509,7 @@ files:
516
509
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb
517
510
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
518
511
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
512
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb
519
513
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb
520
514
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb
521
515
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb
@@ -534,6 +528,7 @@ files:
534
528
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instance.rb
535
529
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb
536
530
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/rest_api.rb
531
+ - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
537
532
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb
538
533
  - sub/avm-eac_redmine_base0/spec/rubocop_spec.rb
539
534
  - sub/avm-eac_redmine_base0/spec/spec_helper.rb
@@ -552,19 +547,37 @@ files:
552
547
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb
553
548
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb
554
549
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb
550
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb
551
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb
552
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb
553
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb
554
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb
555
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
556
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
557
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
555
558
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
556
559
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
557
560
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
558
561
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb
559
562
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
560
563
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb
564
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb
565
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb
561
566
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
567
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
568
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
569
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
562
570
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb
563
571
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
564
572
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
565
573
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
566
- - sub/avm-eac_ruby_base1/locale/en.yaml
567
- - sub/avm-eac_ruby_base1/locale/pt-BR.yaml
574
+ - sub/avm-eac_ruby_base1/locale/en.yml
575
+ - sub/avm-eac_ruby_base1/locale/pt-BR.yml
576
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb
577
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out
578
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml
579
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out
580
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml
568
581
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb
569
582
  - sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
570
583
  - sub/avm-eac_ruby_base1/spec/spec_helper.rb
@@ -773,6 +786,8 @@ files:
773
786
  - sub/avm/lib/avm/sources/base/configuration.rb
774
787
  - sub/avm/lib/avm/sources/base/instance.rb
775
788
  - sub/avm/lib/avm/sources/base/parent.rb
789
+ - sub/avm/lib/avm/sources/base/subs.rb
790
+ - sub/avm/lib/avm/sources/base/subs_paths.rb
776
791
  - sub/avm/lib/avm/sources/base/testing.rb
777
792
  - sub/avm/lib/avm/sources/configuration.rb
778
793
  - sub/avm/lib/avm/sources/configuration/locale.rb
@@ -1,82 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/ruby/bundler/incompatible_parser'
4
- require 'eac_ruby_base0/core_ext'
5
-
6
- module Avm
7
- module Tools
8
- class Runner
9
- class AppSrc
10
- class Ruby
11
- class Bundler
12
- class Incompatible
13
- runner_with :help do
14
- desc 'Identify incompatible gems in a "Gemfile.lock" file.'
15
- bool_opt '-l', '--last', 'Process the last \"bundle update\" result.'
16
- end
17
-
18
- def run
19
- infov 'Cache path', fs_cache.content_path
20
- infov 'Cached?', fs_cache.stored?
21
- parser.gems_in_conflict.each do |gem_in_conflict|
22
- print_gem_in_conflict(gem_in_conflict)
23
- end
24
- end
25
-
26
- private
27
-
28
- def bundle_update
29
- infom 'Running "bundle update"...'
30
- instance.ruby_gem.bundle('update').execute[:stdout]
31
- end
32
-
33
- def content_path
34
- fs_cache.write(bundle_update) unless fs_cache.stored? && parsed.last?
35
- fs_cache.content_path
36
- end
37
-
38
- def fs_cache_object_id
39
- instance.path.to_s.variableize
40
- end
41
-
42
- def gem_title(gem_in_conflict)
43
- gem_in_conflict.gem_name
44
- end
45
-
46
- def instance
47
- runner_context.call(:instance)
48
- end
49
-
50
- def parser_uncached
51
- ::Avm::Ruby::Bundler::IncompatibleParser.new(content_path)
52
- end
53
-
54
- def print_gem_in_conflict(gem_in_conflict)
55
- infov 'Gem', gem_title(gem_in_conflict)
56
- gem_in_conflict.versions_requirements.each do |requirement|
57
- print_requirement(requirement)
58
- end
59
- end
60
-
61
- def print_requirement(req)
62
- infov ' ' + requirement_title(req), requirement_value(req)
63
- end
64
-
65
- def requirement_stack(req)
66
- req.stack.map { |d| "#{d.gem_name} (#{d.version})" }.join(' > '.green)
67
- end
68
-
69
- def requirement_title(req)
70
- req.requirements_source.if_present('*')
71
- end
72
-
73
- def requirement_value(req)
74
- requirement_stack(req)
75
- end
76
- end
77
- end
78
- end
79
- end
80
- end
81
- end
82
- end