dependency_spy 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -0
- data/.rubocop.yml +69 -63
- data/.rubocop_todo.yml +34 -0
- data/Gemfile.lock +39 -34
- data/dependency_spy.gemspec +2 -1
- data/lib/dependency_spy/version.rb +1 -1
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb58e1e3a80a6baba1c4c5386805977e22efba6b5a3e2631f732d08846034a2e
|
4
|
+
data.tar.gz: 989f3375b5eed793e0711592b17aafa2444de743cdf5a234fb9888fe309a26bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d1be8417cab3fb934aab4d31a531f6a3da7587e09565080afbf0ef91d76e70bb48c054b8d470e8d80dcd6e5e80292ffd73e31372f08df00a3dc1b9b1e0dda19
|
7
|
+
data.tar.gz: 467f4211c000f6439701f3ec494f09928daa4f858300f837d5366b77b2dbd306586cb3636bbaca4e095a307a606836359c6645a1e9b7311e6a3036a2045b7eb8
|
data/.circleci/config.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,59 +1,65 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
require:
|
4
|
+
- rubocop-performance
|
5
|
+
- rubocop-rspec
|
6
|
+
|
1
7
|
AllCops:
|
2
8
|
# Include common Ruby source files.
|
3
9
|
Include:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
10
|
+
- "**/*.builder"
|
11
|
+
- "**/*.fcgi"
|
12
|
+
- "**/*.gemspec"
|
13
|
+
- "**/*.god"
|
14
|
+
- "**/*.jb"
|
15
|
+
- "**/*.jbuilder"
|
16
|
+
- "**/*.mspec"
|
17
|
+
- "**/*.opal"
|
18
|
+
- "**/*.pluginspec"
|
19
|
+
- "**/*.podspec"
|
20
|
+
- "**/*.rabl"
|
21
|
+
- "**/*.rake"
|
22
|
+
- "**/*.rb"
|
23
|
+
- "**/*.rbuild"
|
24
|
+
- "**/*.rbw"
|
25
|
+
- "**/*.rbx"
|
26
|
+
- "**/*.ru"
|
27
|
+
- "**/*.ruby"
|
28
|
+
- "**/*.spec"
|
29
|
+
- "**/*.thor"
|
30
|
+
- "**/*.watchr"
|
31
|
+
- "**/.irbrc"
|
32
|
+
- "**/.pryrc"
|
33
|
+
- "**/buildfile"
|
34
|
+
- "**/config.ru"
|
35
|
+
- "**/Appraisals"
|
36
|
+
- "**/Berksfile"
|
37
|
+
- "**/Brewfile"
|
38
|
+
- "**/Buildfile"
|
39
|
+
- "**/Capfile"
|
40
|
+
- "**/Cheffile"
|
41
|
+
- "**/Dangerfile"
|
42
|
+
- "**/Deliverfile"
|
43
|
+
- "**/Fastfile"
|
44
|
+
- "**/*Fastfile"
|
45
|
+
- "**/Gemfile"
|
46
|
+
- "**/Guardfile"
|
47
|
+
- "**/Jarfile"
|
48
|
+
- "**/Mavenfile"
|
49
|
+
- "**/Podfile"
|
50
|
+
- "**/Puppetfile"
|
51
|
+
- "**/Rakefile"
|
52
|
+
- "**/Snapfile"
|
53
|
+
- "**/Thorfile"
|
54
|
+
- "**/Vagabondfile"
|
55
|
+
- "**/Vagrantfile"
|
50
56
|
Exclude:
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
+
- "database/**/*"
|
58
|
+
- "db/**/*"
|
59
|
+
- "tmp/**/*"
|
60
|
+
- "vendor/**/*"
|
61
|
+
- "bin/**/*"
|
62
|
+
- "log/**/*"
|
57
63
|
DefaultFormatter: progress
|
58
64
|
UseCache: false
|
59
65
|
DisplayCopNames: false
|
@@ -82,7 +88,7 @@ Layout/EmptyLinesAroundClassBody:
|
|
82
88
|
Enabled: true
|
83
89
|
EnforcedStyle: empty_lines_except_namespace
|
84
90
|
Exclude:
|
85
|
-
|
91
|
+
- "lib/dependency_spy/dtos/dependency.rb"
|
86
92
|
|
87
93
|
Layout/EmptyLinesAroundMethodBody:
|
88
94
|
Enabled: true
|
@@ -94,18 +100,18 @@ Layout/EmptyLinesAroundModuleBody:
|
|
94
100
|
Layout/ExtraSpacing:
|
95
101
|
Enabled: true
|
96
102
|
|
97
|
-
Layout/
|
103
|
+
Layout/FirstArgumentIndentation:
|
98
104
|
Enabled: true
|
99
105
|
EnforcedStyle: consistent
|
100
106
|
IndentationWidth: 2
|
101
107
|
|
102
|
-
Layout/
|
108
|
+
Layout/FirstArrayElementIndentation:
|
103
109
|
Enabled: true
|
104
110
|
|
105
|
-
Layout/
|
111
|
+
Layout/AssignmentIndentation:
|
106
112
|
Enabled: true
|
107
113
|
|
108
|
-
Layout/
|
114
|
+
Layout/FirstHashElementIndentation:
|
109
115
|
Enabled: true
|
110
116
|
|
111
117
|
Layout/MultilineHashBraceLayout:
|
@@ -122,7 +128,7 @@ Layout/MultilineOperationIndentation:
|
|
122
128
|
Layout/SpaceAfterComma:
|
123
129
|
Enabled: true
|
124
130
|
|
125
|
-
Layout/
|
131
|
+
Layout/ParameterAlignment:
|
126
132
|
Enabled: true
|
127
133
|
EnforcedStyle: with_fixed_indentation
|
128
134
|
|
@@ -153,7 +159,7 @@ Lint/UselessAccessModifier:
|
|
153
159
|
Lint/UselessAssignment:
|
154
160
|
Enabled: true
|
155
161
|
|
156
|
-
Lint/
|
162
|
+
Lint/SuppressedException:
|
157
163
|
Enabled: true
|
158
164
|
|
159
165
|
Metrics/AbcSize:
|
@@ -164,7 +170,7 @@ Metrics/BlockLength:
|
|
164
170
|
Enabled: true
|
165
171
|
Max: 51
|
166
172
|
Exclude:
|
167
|
-
|
173
|
+
- "spec/snyk_io_spec.rb"
|
168
174
|
|
169
175
|
Metrics/ClassLength:
|
170
176
|
Enabled: false
|
@@ -174,7 +180,7 @@ Metrics/CyclomaticComplexity:
|
|
174
180
|
Enabled: false
|
175
181
|
Max: 15
|
176
182
|
|
177
|
-
|
183
|
+
Layout/LineLength:
|
178
184
|
Enabled: false
|
179
185
|
Max: 147
|
180
186
|
|
@@ -316,10 +322,10 @@ Style/TrailingCommaInHashLiteral:
|
|
316
322
|
Enabled: true
|
317
323
|
EnforcedStyleForMultiline: no_comma
|
318
324
|
|
319
|
-
Style/
|
325
|
+
Style/RedundantInterpolation:
|
320
326
|
Enabled: true
|
321
327
|
|
322
|
-
Style/
|
328
|
+
Style/RedundantPercentQ:
|
323
329
|
Enabled: true
|
324
330
|
|
325
331
|
Style/WhileUntilDo:
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config --auto-gen-only-exclude`
|
3
|
+
# on 2020-01-01 22:58:30 +0000 using RuboCop version 0.78.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 4
|
10
|
+
# Configuration parameters: Max.
|
11
|
+
RSpec/ExampleLength:
|
12
|
+
Exclude:
|
13
|
+
- 'spec/dependency_spy_cli_spec.rb'
|
14
|
+
- 'spec/dependency_spy_spec.rb'
|
15
|
+
|
16
|
+
# Offense count: 2
|
17
|
+
# Configuration parameters: CustomTransform, IgnoreMethods.
|
18
|
+
RSpec/FilePath:
|
19
|
+
Exclude:
|
20
|
+
- 'spec/dependency_spy_cli_spec.rb'
|
21
|
+
- 'spec/dependency_spy_spec.rb'
|
22
|
+
|
23
|
+
# Offense count: 5
|
24
|
+
# Configuration parameters: .
|
25
|
+
# SupportedStyles: have_received, receive
|
26
|
+
RSpec/MessageSpies:
|
27
|
+
EnforcedStyle: receive
|
28
|
+
|
29
|
+
# Offense count: 3
|
30
|
+
# Configuration parameters: Max, AggregateFailuresByDefault.
|
31
|
+
RSpec/MultipleExpectations:
|
32
|
+
Exclude:
|
33
|
+
- 'spec/dependency_spy_cli_spec.rb'
|
34
|
+
- 'spec/dependency_spy_spec.rb'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dependency_spy (0.6.
|
4
|
+
dependency_spy (0.6.1)
|
5
5
|
bibliothecary (~> 6.6)
|
6
6
|
colorize (= 0.8.1)
|
7
7
|
semantic_range (~> 2.2)
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
specs:
|
14
14
|
ansi (1.5.0)
|
15
15
|
ast (2.4.0)
|
16
|
-
bibliothecary (6.8.
|
16
|
+
bibliothecary (6.8.5)
|
17
17
|
commander
|
18
18
|
deb_control
|
19
19
|
librariesio-gem-parser
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
toml-rb (~> 1.0)
|
25
25
|
typhoeus
|
26
26
|
citrus (3.0.2)
|
27
|
-
codacy-coverage (2.
|
27
|
+
codacy-coverage (2.2.0)
|
28
28
|
simplecov
|
29
29
|
colorize (0.8.1)
|
30
30
|
commander (4.4.7)
|
@@ -35,47 +35,51 @@ GEM
|
|
35
35
|
ethon (0.12.0)
|
36
36
|
ffi (>= 1.3.0)
|
37
37
|
execjs (2.7.0)
|
38
|
-
ffi (1.11.
|
38
|
+
ffi (1.11.3)
|
39
39
|
highline (2.0.3)
|
40
|
-
jaro_winkler (1.5.
|
41
|
-
json (2.
|
42
|
-
kramdown (2.
|
40
|
+
jaro_winkler (1.5.4)
|
41
|
+
json (2.3.0)
|
42
|
+
kramdown (2.3.0)
|
43
|
+
rexml
|
43
44
|
librariesio-gem-parser (1.0.0)
|
44
|
-
libv8 (3.16.14.19)
|
45
|
+
libv8 (3.16.14.19-x86_64-linux)
|
45
46
|
oga (2.15)
|
46
47
|
ast
|
47
48
|
ruby-ll (~> 2.1)
|
48
|
-
ox (2.
|
49
|
-
parallel (1.
|
50
|
-
parser (2.
|
49
|
+
ox (2.12.0)
|
50
|
+
parallel (1.19.1)
|
51
|
+
parser (2.7.0.2)
|
51
52
|
ast (~> 2.4.0)
|
52
53
|
rainbow (3.0.0)
|
53
|
-
rake (
|
54
|
+
rake (13.0.1)
|
54
55
|
ref (2.0.0)
|
55
|
-
|
56
|
-
|
57
|
-
rspec-
|
58
|
-
rspec-
|
59
|
-
|
56
|
+
rexml (3.2.4)
|
57
|
+
rspec (3.9.0)
|
58
|
+
rspec-core (~> 3.9.0)
|
59
|
+
rspec-expectations (~> 3.9.0)
|
60
|
+
rspec-mocks (~> 3.9.0)
|
61
|
+
rspec-collection_matchers (1.2.0)
|
60
62
|
rspec-expectations (>= 2.99.0.beta1)
|
61
|
-
rspec-core (3.
|
62
|
-
rspec-support (~> 3.
|
63
|
-
rspec-expectations (3.
|
63
|
+
rspec-core (3.9.1)
|
64
|
+
rspec-support (~> 3.9.1)
|
65
|
+
rspec-expectations (3.9.0)
|
64
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
-
rspec-support (~> 3.
|
66
|
-
rspec-mocks (3.
|
67
|
+
rspec-support (~> 3.9.0)
|
68
|
+
rspec-mocks (3.9.1)
|
67
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
-
rspec-support (~> 3.
|
69
|
-
rspec-support (3.
|
70
|
-
rubocop (0.
|
70
|
+
rspec-support (~> 3.9.0)
|
71
|
+
rspec-support (3.9.2)
|
72
|
+
rubocop (0.79.0)
|
71
73
|
jaro_winkler (~> 1.5.1)
|
72
74
|
parallel (~> 1.10)
|
73
|
-
parser (>= 2.
|
75
|
+
parser (>= 2.7.0.1)
|
74
76
|
rainbow (>= 2.2.2, < 4.0)
|
75
77
|
ruby-progressbar (~> 1.7)
|
76
78
|
unicode-display_width (>= 1.4.0, < 1.7)
|
77
|
-
rubocop-
|
78
|
-
rubocop (>= 0.
|
79
|
+
rubocop-performance (1.5.2)
|
80
|
+
rubocop (>= 0.71.0)
|
81
|
+
rubocop-rspec (1.37.1)
|
82
|
+
rubocop (>= 0.68.1)
|
79
83
|
ruby-ll (2.1.2)
|
80
84
|
ansi
|
81
85
|
ast
|
@@ -83,16 +87,16 @@ GEM
|
|
83
87
|
sdl4r (0.9.11)
|
84
88
|
semantic_interval (0.1.0)
|
85
89
|
semantic_range (2.2.1)
|
86
|
-
simplecov (0.17.
|
90
|
+
simplecov (0.17.1)
|
87
91
|
docile (~> 1.1)
|
88
92
|
json (>= 1.8, < 3)
|
89
93
|
simplecov-html (~> 0.10.0)
|
90
94
|
simplecov-html (0.10.2)
|
91
|
-
strings (0.1.
|
95
|
+
strings (0.1.8)
|
92
96
|
strings-ansi (~> 0.1)
|
93
97
|
unicode-display_width (~> 1.5)
|
94
98
|
unicode_utils (~> 1.4)
|
95
|
-
strings-ansi (0.
|
99
|
+
strings-ansi (0.2.0)
|
96
100
|
therubyracer (0.12.3)
|
97
101
|
libv8 (~> 3.16.14.15)
|
98
102
|
ref
|
@@ -103,7 +107,7 @@ GEM
|
|
103
107
|
ethon (>= 0.9.0)
|
104
108
|
unicode-display_width (1.6.0)
|
105
109
|
unicode_utils (1.4.0)
|
106
|
-
yavdb (0.5.
|
110
|
+
yavdb (0.5.5)
|
107
111
|
execjs (~> 2.7)
|
108
112
|
json (~> 2.2)
|
109
113
|
kramdown (~> 2.1)
|
@@ -119,12 +123,13 @@ PLATFORMS
|
|
119
123
|
DEPENDENCIES
|
120
124
|
codacy-coverage
|
121
125
|
dependency_spy!
|
122
|
-
rake (~>
|
126
|
+
rake (~> 13.0)
|
123
127
|
rspec (~> 3.8)
|
124
128
|
rspec-collection_matchers (~> 1.1)
|
125
129
|
rubocop (~> 0.59)
|
130
|
+
rubocop-performance (~> 1.5)
|
126
131
|
rubocop-rspec (~> 1.29)
|
127
132
|
simplecov
|
128
133
|
|
129
134
|
BUNDLED WITH
|
130
|
-
1.
|
135
|
+
2.1.4
|
data/dependency_spy.gemspec
CHANGED
@@ -24,13 +24,14 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
# Development
|
26
26
|
spec.add_development_dependency 'codacy-coverage'
|
27
|
-
spec.add_development_dependency 'rake',
|
27
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
28
28
|
spec.add_development_dependency 'rspec', ['~> 3.8']
|
29
29
|
spec.add_development_dependency 'rspec-collection_matchers', ['~> 1.1']
|
30
30
|
spec.add_development_dependency 'simplecov'
|
31
31
|
|
32
32
|
# Linters
|
33
33
|
spec.add_development_dependency 'rubocop', ['~> 0.59']
|
34
|
+
spec.add_development_dependency 'rubocop-performance', ['~> 1.5']
|
34
35
|
spec.add_development_dependency 'rubocop-rspec', ['~> 1.29']
|
35
36
|
|
36
37
|
# Runtime
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependency_spy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Fernandes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codacy-coverage
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
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: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.59'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-performance
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.5'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.5'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rubocop-rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,6 +208,7 @@ files:
|
|
194
208
|
- ".gitignore"
|
195
209
|
- ".rspec"
|
196
210
|
- ".rubocop.yml"
|
211
|
+
- ".rubocop_todo.yml"
|
197
212
|
- ".ruby-version"
|
198
213
|
- CODE_OF_CONDUCT.md
|
199
214
|
- CONTRIBUTING.md
|