avm-tools 0.44.0 → 0.44.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/ruby/rubocop/_configured.rb +4 -3
- data/lib/avm/ruby/rubocop/_gemfile.rb +2 -2
- data/lib/avm/tools/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be68fd9248dde307039746994095610b01d6573d51bcbb10fe5e2ea60401e5f
|
4
|
+
data.tar.gz: 96a8c8a84d42f093c3a9f294c5666a81f5dd4a16c175feb5628cfafddac42d31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6474b6c59010f5e188f80fa6af2680b12f75c6b8c5cc0a944bbe6a8c85beb0be96654fa71eb59f86ebf8937e3cd270a83524b184ea8b7755742752f7c786a59d
|
7
|
+
data.tar.gz: 0cc329cd19e10c92ab7ffc38d1afda69bb03c07524a39e557d8d337084897c1b40330808a514603a64bba20d5185824a2fcc3464ddde5d3f6c32588addae644e
|
@@ -25,9 +25,10 @@ module Avm
|
|
25
25
|
gemfile_path = configuration.if_present { |v| v.read_entry('ruby.rubocop.gemfile') }
|
26
26
|
return nil unless gemfile_path.present?
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
gemfile_path = ::Pathname.new(gemfile_path).expand_path(configuration.storage_path.parent)
|
29
|
+
raise "Gemfile path \"#{gemfile_path}\" does not exist" unless gemfile_path.exist?
|
30
|
+
|
31
|
+
rubocop_command_by_gemfile_path(gemfile_path.parent)
|
31
32
|
end
|
32
33
|
|
33
34
|
private
|
@@ -10,11 +10,11 @@ module Avm
|
|
10
10
|
def gemfile_rubocop_command
|
11
11
|
return nil unless rubocop_gemfile?
|
12
12
|
|
13
|
-
rubocop_command_by_gemfile_path(mygem.
|
13
|
+
rubocop_command_by_gemfile_path(mygem.root)
|
14
14
|
end
|
15
15
|
|
16
16
|
def rubocop_command_by_gemfile_path(path)
|
17
|
-
|
17
|
+
::EacRubyGemsUtils::Gem.new(path).bundle('exec', 'rubocop')
|
18
18
|
end
|
19
19
|
|
20
20
|
def rubocop_gemfile?
|
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.44.
|
4
|
+
version: 0.44.1
|
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: 2020-04-
|
11
|
+
date: 2020-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0.
|
87
|
+
version: '0.3'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '0.
|
94
|
+
version: '0.3'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: eac_ruby_utils
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|