dependency_spy 0.6.0 → 0.6.1

This diff has not been reviewed by any users.
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: 870c1695f62b6c4d5528955daa987ac893ea480a4a2e4ff4416e595170b45fe6
4
- data.tar.gz: eb662a8e9f08dc6b6ce5e996e2be7e217b86eab24bb70bb46d19bf25e00db186
3
+ metadata.gz: bb58e1e3a80a6baba1c4c5386805977e22efba6b5a3e2631f732d08846034a2e
4
+ data.tar.gz: 989f3375b5eed793e0711592b17aafa2444de743cdf5a234fb9888fe309a26bc
5
5
  SHA512:
6
- metadata.gz: 8ed9e7adb7aa849e7e33d7d2d725cb39d53ee33f55e49ddf4fa3a87054ef9e55e40a70345b0dea238769e115982a0d4d2848727dbd49fd7662e407984b790e1b
7
- data.tar.gz: 2fa757046d9bd09f3bfc75d44a13fa760029560f23573bc56ed786a904b89d7e96072b2b0c5370a46a6171f6b16b5fd0f9075e17154503f4d3b581d98ceb2cb5
6
+ metadata.gz: 5d1be8417cab3fb934aab4d31a531f6a3da7587e09565080afbf0ef91d76e70bb48c054b8d470e8d80dcd6e5e80292ffd73e31372f08df00a3dc1b9b1e0dda19
7
+ data.tar.gz: 467f4211c000f6439701f3ec494f09928daa4f858300f837d5366b77b2dbd306586cb3636bbaca4e095a307a606836359c6645a1e9b7311e6a3036a2045b7eb8
@@ -16,6 +16,7 @@ jobs:
16
16
  type: shell
17
17
  command: |
18
18
  sudo gem update --system
19
+ gem install bundler
19
20
  bundle install --path /tmp/vendor/bundle
20
21
 
21
22
  - name: Save cache
@@ -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
- - '**/*.builder'
5
- - '**/*.fcgi'
6
- - '**/*.gemspec'
7
- - '**/*.god'
8
- - '**/*.jb'
9
- - '**/*.jbuilder'
10
- - '**/*.mspec'
11
- - '**/*.opal'
12
- - '**/*.pluginspec'
13
- - '**/*.podspec'
14
- - '**/*.rabl'
15
- - '**/*.rake'
16
- - '**/*.rb'
17
- - '**/*.rbuild'
18
- - '**/*.rbw'
19
- - '**/*.rbx'
20
- - '**/*.ru'
21
- - '**/*.ruby'
22
- - '**/*.spec'
23
- - '**/*.thor'
24
- - '**/*.watchr'
25
- - '**/.irbrc'
26
- - '**/.pryrc'
27
- - '**/buildfile'
28
- - '**/config.ru'
29
- - '**/Appraisals'
30
- - '**/Berksfile'
31
- - '**/Brewfile'
32
- - '**/Buildfile'
33
- - '**/Capfile'
34
- - '**/Cheffile'
35
- - '**/Dangerfile'
36
- - '**/Deliverfile'
37
- - '**/Fastfile'
38
- - '**/*Fastfile'
39
- - '**/Gemfile'
40
- - '**/Guardfile'
41
- - '**/Jarfile'
42
- - '**/Mavenfile'
43
- - '**/Podfile'
44
- - '**/Puppetfile'
45
- - '**/Rakefile'
46
- - '**/Snapfile'
47
- - '**/Thorfile'
48
- - '**/Vagabondfile'
49
- - '**/Vagrantfile'
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
- - 'database/**/*'
52
- - 'db/**/*'
53
- - 'tmp/**/*'
54
- - 'vendor/**/*'
55
- - 'bin/**/*'
56
- - 'log/**/*'
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
- - "lib/dependency_spy/dtos/dependency.rb"
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/IndentFirstArgument:
103
+ Layout/FirstArgumentIndentation:
98
104
  Enabled: true
99
105
  EnforcedStyle: consistent
100
106
  IndentationWidth: 2
101
107
 
102
- Layout/IndentFirstArrayElement:
108
+ Layout/FirstArrayElementIndentation:
103
109
  Enabled: true
104
110
 
105
- Layout/IndentAssignment:
111
+ Layout/AssignmentIndentation:
106
112
  Enabled: true
107
113
 
108
- Layout/IndentFirstHashElement:
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/AlignParameters:
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/HandleExceptions:
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
- - "spec/snyk_io_spec.rb"
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
- Metrics/LineLength:
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/UnneededInterpolation:
325
+ Style/RedundantInterpolation:
320
326
  Enabled: true
321
327
 
322
- Style/UnneededPercentQ:
328
+ Style/RedundantPercentQ:
323
329
  Enabled: true
324
330
 
325
331
  Style/WhileUntilDo:
@@ -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'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dependency_spy (0.6.0)
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.4)
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.1.0)
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.1)
38
+ ffi (1.11.3)
39
39
  highline (2.0.3)
40
- jaro_winkler (1.5.3)
41
- json (2.2.0)
42
- kramdown (2.1.0)
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.11.0)
49
- parallel (1.17.0)
50
- parser (2.6.3.0)
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 (12.3.2)
54
+ rake (13.0.1)
54
55
  ref (2.0.0)
55
- rspec (3.8.0)
56
- rspec-core (~> 3.8.0)
57
- rspec-expectations (~> 3.8.0)
58
- rspec-mocks (~> 3.8.0)
59
- rspec-collection_matchers (1.1.3)
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.8.2)
62
- rspec-support (~> 3.8.0)
63
- rspec-expectations (3.8.4)
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.8.0)
66
- rspec-mocks (3.8.1)
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.8.0)
69
- rspec-support (3.8.2)
70
- rubocop (0.72.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.6)
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-rspec (1.33.0)
78
- rubocop (>= 0.60.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.0)
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.6)
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.1.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.3)
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 (~> 12.3)
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.17.3
135
+ 2.1.4
@@ -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', ['~> 12.3']
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
@@ -16,6 +16,6 @@
16
16
 
17
17
  module DependencySpy
18
18
 
19
- VERSION = '0.6.0'
19
+ VERSION = '0.6.1'
20
20
 
21
21
  end
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.0
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: 2019-10-19 00:00:00.000000000 Z
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: '12.3'
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: '12.3'
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