avm-tools 0.142.2 → 0.142.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a57aa842873d93a7224d71d56b7376a9fb28c810b49355637a29a5d3e0faacec
4
- data.tar.gz: 1dcf227a98c08616e7b54293a61d3738d92c9b97e522c028ddbd57d874145eda
3
+ metadata.gz: ba8f7d9cd601cf0bfdbbde586dc8c72539eecb3cec051dfe239c7bfd241106df
4
+ data.tar.gz: c5628c40c74ec8d2efeda458b5b440fd212c05d2cae6ef01085527823f012a2a
5
5
  SHA512:
6
- metadata.gz: a4e29bd0ef12d7af1548a01fcbc7d3e12bc1376c66764c53167389da2e22d2d002c39f61b164c0b486dd65e0ae1a48336d46d66932d8c2635247fa0ca34c6f09
7
- data.tar.gz: 6e3f859fcdab28e102ae3af464c4a7628bf902bc0b9155b98452967e0cda70b4cd653080b95766fed4fc09eed8f6252e3d6e35e90c354f579153331a3b5bacd1
6
+ metadata.gz: 2b1538f4a0b2de5f308d9f7d5dfce5fe1743ddb7d8f0ba42c39bb316a3a8140ac881f4827a4eb9491d44ae4793e81fc44898a339d4a6ac5e1441c1c67e8ba495
7
+ data.tar.gz: 2fe6e9a27fbf318d79eca2195581e7fc55465968d4ebbbbd8d35f1de9d3678dc4781bed2089e9857c434e586b0125e962e006b045ae09c53c1a8ba513bdc5359
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/files/formatter'
3
+ require 'avm/file_formats/search_formatter'
4
4
  require 'eac_cli/core_ext'
5
5
  require 'avm/git/launcher/base'
6
6
 
@@ -19,13 +19,13 @@ module Avm
19
19
  end
20
20
 
21
21
  def run
22
- ::Avm::Files::Formatter.new(source_paths, formatter_options).run
22
+ ::Avm::FileFormats::SearchFormatter.new(source_paths, formatter_options).run
23
23
  end
24
24
 
25
25
  def formatter_options
26
- { ::Avm::Files::Formatter::OPTION_APPLY => parsed.apply?,
27
- ::Avm::Files::Formatter::OPTION_RECURSIVE => !parsed.no_recursive?,
28
- ::Avm::Files::Formatter::OPTION_VERBOSE => parsed.verbose? }
26
+ { ::Avm::FileFormats::SearchFormatter::OPTION_APPLY => parsed.apply?,
27
+ ::Avm::FileFormats::SearchFormatter::OPTION_RECURSIVE => !parsed.no_recursive?,
28
+ ::Avm::FileFormats::SearchFormatter::OPTION_VERBOSE => parsed.verbose? }
29
29
  end
30
30
 
31
31
  def git
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_cli/core_ext'
4
- require 'avm/files/formatter'
4
+ require 'avm/file_formats/search_formatter'
5
5
  require 'avm/git/file_auto_fixup'
6
6
  require 'avm/git/auto_commit/rules'
7
7
 
@@ -40,7 +40,9 @@ module Avm
40
40
  return unless parsed.format?
41
41
 
42
42
  infom 'Formating files...'
43
- ::Avm::Files::Formatter.new(files, ::Avm::Files::Formatter::OPTION_APPLY => true).run
43
+ ::Avm::FileFormats::SearchFormatter
44
+ .new(files, ::Avm::FileFormats::SearchFormatter::OPTION_APPLY => true)
45
+ .run
44
46
  end
45
47
 
46
48
  def dirty_files
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/git/launcher/base'
4
- require 'avm/git/commit'
3
+ require 'avm/git/scms/git'
5
4
  require 'eac_config/node'
6
5
 
7
6
  module Avm
@@ -49,7 +48,7 @@ module Avm
49
48
  end
50
49
 
51
50
  def reference_sha1_uncached
52
- git.rev_parse(reference)
51
+ git.git_repo.rev_parse(reference)
53
52
  end
54
53
 
55
54
  def reference
@@ -57,7 +56,7 @@ module Avm
57
56
  end
58
57
 
59
58
  def git_uncached
60
- ::Avm::Git::Launcher::Base.new(git_repository_path)
59
+ ::Avm::Git::Scms::Git.new(git_repository_path)
61
60
  end
62
61
 
63
62
  def git_repository_path
@@ -77,7 +76,7 @@ module Avm
77
76
  end
78
77
 
79
78
  def deploy
80
- ::Avm::Git::Commit.new(git, reference_sha1)
79
+ git.commit(reference_sha1)
81
80
  .deploy_to_url(target_url)
82
81
  .append_templatized_directories(appended_directories)
83
82
  .variables_source_set(variables_source)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.142.2'
5
+ VERSION = '0.142.4'
6
6
  end
7
7
  end
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.142.2
4
+ version: 0.142.4
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-10-20 00:00:00.000000000 Z
11
+ date: 2022-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.14'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.14.3
22
+ version: 0.14.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '0.14'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.14.3
32
+ version: 0.14.4
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: avm
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.51'
39
+ version: '0.53'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.51'
46
+ version: '0.53'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_ruby_base1
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +51,9 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0.26'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.26.1
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,6 +61,9 @@ dependencies:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
63
  version: '0.26'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.26.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: avm-eac_ubuntu_base0
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -78,28 +84,28 @@ dependencies:
78
84
  requirements:
79
85
  - - "~>"
80
86
  - !ruby/object:Gem::Version
81
- version: '0.5'
87
+ version: '0.6'
82
88
  type: :runtime
83
89
  prerelease: false
84
90
  version_requirements: !ruby/object:Gem::Requirement
85
91
  requirements:
86
92
  - - "~>"
87
93
  - !ruby/object:Gem::Version
88
- version: '0.5'
94
+ version: '0.6'
89
95
  - !ruby/object:Gem::Dependency
90
96
  name: avm-git
91
97
  requirement: !ruby/object:Gem::Requirement
92
98
  requirements:
93
99
  - - "~>"
94
100
  - !ruby/object:Gem::Version
95
- version: '0.8'
101
+ version: '0.9'
96
102
  type: :runtime
97
103
  prerelease: false
98
104
  version_requirements: !ruby/object:Gem::Requirement
99
105
  requirements:
100
106
  - - "~>"
101
107
  - !ruby/object:Gem::Version
102
- version: '0.8'
108
+ version: '0.9'
103
109
  - !ruby/object:Gem::Dependency
104
110
  name: clipboard
105
111
  requirement: !ruby/object:Gem::Requirement
@@ -216,48 +222,6 @@ dependencies:
216
222
  - - "~>"
217
223
  - !ruby/object:Gem::Version
218
224
  version: '1.11'
219
- - !ruby/object:Gem::Dependency
220
- name: avm-eac_php_base0
221
- requirement: !ruby/object:Gem::Requirement
222
- requirements:
223
- - - "~>"
224
- - !ruby/object:Gem::Version
225
- version: '0.2'
226
- type: :development
227
- prerelease: false
228
- version_requirements: !ruby/object:Gem::Requirement
229
- requirements:
230
- - - "~>"
231
- - !ruby/object:Gem::Version
232
- version: '0.2'
233
- - !ruby/object:Gem::Dependency
234
- name: avm-eac_python_base0
235
- requirement: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - "~>"
238
- - !ruby/object:Gem::Version
239
- version: '0.1'
240
- type: :development
241
- prerelease: false
242
- version_requirements: !ruby/object:Gem::Requirement
243
- requirements:
244
- - - "~>"
245
- - !ruby/object:Gem::Version
246
- version: '0.1'
247
- - !ruby/object:Gem::Dependency
248
- name: avm-eac_webapp_base0
249
- requirement: !ruby/object:Gem::Requirement
250
- requirements:
251
- - - "~>"
252
- - !ruby/object:Gem::Version
253
- version: '0.11'
254
- type: :development
255
- prerelease: false
256
- version_requirements: !ruby/object:Gem::Requirement
257
- requirements:
258
- - - "~>"
259
- - !ruby/object:Gem::Version
260
- version: '0.11'
261
225
  - !ruby/object:Gem::Dependency
262
226
  name: eac_ruby_gem_support
263
227
  requirement: !ruby/object:Gem::Requirement