avm-tools 0.142.1 → 0.142.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/tools/runner/files/format.rb +5 -5
- data/lib/avm/tools/runner/git/auto_commit.rb +4 -2
- data/lib/avm/tools/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9b31211e01a87f770421b5081aaf54dae7a7a8152ab040b7f7c203b752da43a
|
4
|
+
data.tar.gz: a01c342492791bc52f7639ba4a6b2c36557915201fcdca1f0b156e998ac54a99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 908421873075250a099ffebbf09e968094bbb10f25d2a8ac96f19a12056747957831417037333ab33f4c92cba0b192b50683b52e47729c73d2085468c5864bc5
|
7
|
+
data.tar.gz: 63ef78a8f6968b88a1cf4194c079496eb63497605f6a2a0fa38b6c336c1278ed98d9334c2345962465a5997e3b80cb22cd2b098b74f2a5225a2bf790fe994bda
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
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::
|
22
|
+
::Avm::FileFormats::SearchFormatter.new(source_paths, formatter_options).run
|
23
23
|
end
|
24
24
|
|
25
25
|
def formatter_options
|
26
|
-
{ ::Avm::
|
27
|
-
::Avm::
|
28
|
-
::Avm::
|
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/
|
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::
|
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
|
data/lib/avm/tools/version.rb
CHANGED
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.
|
4
|
+
version: 0.142.3
|
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-
|
11
|
+
date: 2022-10-25 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.
|
22
|
+
version: 0.14.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,35 +29,41 @@ dependencies:
|
|
29
29
|
version: '0.14'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.14.
|
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.
|
39
|
+
version: '0.52'
|
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.
|
46
|
+
version: '0.52'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: avm-eac_ruby_base1
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
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
|
57
60
|
requirements:
|
58
61
|
- - "~>"
|
59
62
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
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,20 +84,14 @@ dependencies:
|
|
78
84
|
requirements:
|
79
85
|
- - "~>"
|
80
86
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: 0.4.1
|
87
|
+
version: '0.6'
|
85
88
|
type: :runtime
|
86
89
|
prerelease: false
|
87
90
|
version_requirements: !ruby/object:Gem::Requirement
|
88
91
|
requirements:
|
89
92
|
- - "~>"
|
90
93
|
- !ruby/object:Gem::Version
|
91
|
-
version: '0.
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 0.4.1
|
94
|
+
version: '0.6'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: avm-git
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|