dependency_spy 0.1.3

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7e74a28d783fd963de5b86a6464384103f5c53d7
4
+ data.tar.gz: 2520ce09ddb9746378a3a77da58790e5d00a2f4f
5
+ SHA512:
6
+ metadata.gz: 12c4bab76fbcb7e588eaf0f3b71c7247caa3c3f8d51ca9b406eb4ac7978b79098c0877eaa7db0b533011c2cd1f703ae30506f10ab222ef947a00592460378a87
7
+ data.tar.gz: 9f818cbda46040e758558c0d7f256a99e253e31be31d7625e488311c4dc1d61df0c8d00f6cecaf26515788bddc105618eed70e8138f7f0f30a2fd90ad627a350
@@ -0,0 +1,41 @@
1
+ version: 2
2
+
3
+ jobs:
4
+ build-lint-test:
5
+ working_directory: ~/dependency_spy
6
+ docker:
7
+ - image: circleci/ruby:2.3.7
8
+ steps:
9
+ - checkout
10
+
11
+ - name: Install Bundler Version
12
+ type: shell
13
+ command: gem install bundler -v 1.16
14
+
15
+ - name: Restore cache
16
+ type: cache-restore
17
+ key: yavdb-{{ checksum "Gemfile.lock" }}
18
+
19
+ - name: Bundle Install
20
+ type: shell
21
+ command: bundle install --path /tmp/vendor/bundle
22
+
23
+ - name: Save cache
24
+ type: cache-save
25
+ key: yavdb-{{ checksum "Gemfile.lock" }}
26
+ paths:
27
+ - /tmp/vendor/bundle
28
+
29
+ - name: Rubocop
30
+ type: shell
31
+ command: bundle exec rubocop
32
+
33
+ - name: Tests
34
+ type: shell
35
+ command: bundle exec rake
36
+
37
+ workflows:
38
+ version: 2
39
+ test-and-publish:
40
+ jobs:
41
+ - build-lint-test
@@ -0,0 +1,114 @@
1
+ # Created by https://www.gitignore.io/api/jetbrains,ruby
2
+
3
+ ### JetBrains ###
4
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
5
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
6
+
7
+ # User-specific stuff:
8
+ .idea/workspace.xml
9
+ .idea/tasks.xml
10
+
11
+ # Sensitive or high-churn files:
12
+ .idea/dataSources/
13
+ .idea/dataSources.ids
14
+ .idea/dataSources.xml
15
+ .idea/dataSources.local.xml
16
+ .idea/sqlDataSources.xml
17
+ .idea/dynamic.xml
18
+ .idea/uiDesigner.xml
19
+
20
+ # Gradle:
21
+ .idea/gradle.xml
22
+ .idea/libraries
23
+
24
+ # Mongo Explorer plugin:
25
+ .idea/mongoSettings.xml
26
+
27
+ ## File-based project format:
28
+ *.iws
29
+
30
+ ## Plugin-specific files:
31
+
32
+ # IntelliJ
33
+ /out/
34
+
35
+ # mpeltonen/sbt-idea plugin
36
+ .idea_modules/
37
+
38
+ # JIRA plugin
39
+ atlassian-ide-plugin.xml
40
+
41
+ # Crashlytics plugin (for Android Studio and IntelliJ)
42
+ com_crashlytics_export_strings.xml
43
+ crashlytics.properties
44
+ crashlytics-build.properties
45
+ fabric.properties
46
+
47
+ ### JetBrains Patch ###
48
+ # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
49
+
50
+ # *.iml
51
+ # modules.xml
52
+ # .idea/misc.xml
53
+ # *.ipr
54
+
55
+
56
+ ### Ruby ###
57
+ *.gem
58
+ *.rbc
59
+ /.config
60
+ /coverage/
61
+ /InstalledFiles
62
+ /pkg/
63
+ /spec/reports/
64
+ /spec/examples.txt
65
+ /test/tmp/
66
+ /test/version_tmp/
67
+ /tmp/
68
+
69
+ # rspec failure tracking
70
+ .rspec_status
71
+
72
+ # Used by dotenv library to load environment variables.
73
+ # .env
74
+
75
+ ## Specific to RubyMotion:
76
+ .dat*
77
+ .repl_history
78
+ build/
79
+ *.bridgesupport
80
+ build-iPhoneOS/
81
+ build-iPhoneSimulator/
82
+
83
+ ## Specific to RubyMotion (use of CocoaPods):
84
+ #
85
+ # We recommend against adding the Pods directory to your .gitignore. However
86
+ # you should judge for yourself, the pros and cons are mentioned at:
87
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
88
+ #
89
+ # vendor/Pods/
90
+
91
+ ## Documentation cache and generated files:
92
+ /.yardoc/
93
+ /_yardoc/
94
+ /doc/
95
+ /rdoc/
96
+
97
+ ## Environment normalization:
98
+ /.bundle/
99
+ /vendor/bundle
100
+ /lib/bundler/man/
101
+
102
+ # for a library or gem, you might want to ignore these files since the code is
103
+ # intended to run in multiple environments; otherwise, check them in:
104
+ # Gemfile.lock
105
+ # .ruby-version
106
+ # .ruby-gemset
107
+
108
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
109
+ .rvmrc
110
+
111
+ .idea/
112
+ *.iml
113
+
114
+ # End of https://www.gitignore.io/api/jetbrains,ruby
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,333 @@
1
+ AllCops:
2
+ # Include common Ruby source files.
3
+ 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'
50
+ Exclude:
51
+ - 'database/**/*'
52
+ - 'db/**/*'
53
+ - 'tmp/**/*'
54
+ - 'vendor/**/*'
55
+ - 'bin/**/*'
56
+ - 'log/**/*'
57
+ DefaultFormatter: progress
58
+ UseCache: false
59
+ DisplayCopNames: false
60
+ TargetRubyVersion: 2.3.7
61
+
62
+ Gemspec/OrderedDependencies:
63
+ Enabled: true
64
+
65
+ Layout/CaseIndentation:
66
+ Enabled: true
67
+ IndentOneStep: true
68
+
69
+ Layout/CommentIndentation:
70
+ Enabled: true
71
+
72
+ Layout/EmptyLineAfterMagicComment:
73
+ Enabled: true
74
+
75
+ Layout/EmptyLinesAroundAccessModifier:
76
+ Enabled: true
77
+
78
+ Layout/EmptyLinesAroundBlockBody:
79
+ Enabled: true
80
+
81
+ Layout/EmptyLinesAroundClassBody:
82
+ Enabled: true
83
+ EnforcedStyle: empty_lines_except_namespace
84
+ Exclude:
85
+ - "lib/dependency_spy/dtos/dependency.rb"
86
+
87
+ Layout/EmptyLinesAroundMethodBody:
88
+ Enabled: true
89
+
90
+ Layout/EmptyLinesAroundModuleBody:
91
+ Enabled: true
92
+ EnforcedStyle: empty_lines_except_namespace
93
+
94
+ Layout/ExtraSpacing:
95
+ Enabled: true
96
+
97
+ Layout/FirstParameterIndentation:
98
+ Enabled: true
99
+ EnforcedStyle: consistent
100
+ IndentationWidth: 2
101
+
102
+ Layout/IndentArray:
103
+ Enabled: true
104
+
105
+ Layout/IndentAssignment:
106
+ Enabled: true
107
+
108
+ Layout/IndentHash:
109
+ Enabled: true
110
+
111
+ Layout/MultilineHashBraceLayout:
112
+ Enabled: true
113
+
114
+ Layout/MultilineMethodCallIndentation:
115
+ Enabled: true
116
+ EnforcedStyle: indented_relative_to_receiver
117
+ IndentationWidth: 2
118
+
119
+ Layout/MultilineOperationIndentation:
120
+ Enabled: true
121
+
122
+ Layout/SpaceAfterComma:
123
+ Enabled: true
124
+
125
+ Layout/AlignParameters:
126
+ Enabled: true
127
+ EnforcedStyle: with_fixed_indentation
128
+
129
+ Layout/SpaceAroundOperators:
130
+ Enabled: true
131
+ AllowForAlignment: true
132
+
133
+ Layout/SpaceInsideBlockBraces:
134
+ Enabled: true
135
+ EnforcedStyle: space
136
+ EnforcedStyleForEmptyBraces: space
137
+
138
+ Layout/SpaceInsideHashLiteralBraces:
139
+ Enabled: true
140
+
141
+ Lint/IneffectiveAccessModifier:
142
+ Enabled: true
143
+
144
+ Lint/LiteralAsCondition:
145
+ Enabled: true
146
+
147
+ Lint/UnusedMethodArgument:
148
+ Enabled: true
149
+
150
+ Lint/UselessAccessModifier:
151
+ Enabled: true
152
+
153
+ Lint/UselessAssignment:
154
+ Enabled: true
155
+
156
+ Lint/HandleExceptions:
157
+ Enabled: true
158
+
159
+ Metrics/AbcSize:
160
+ Enabled: true
161
+ Max: 113
162
+
163
+ Metrics/BlockLength:
164
+ Enabled: true
165
+ Max: 51
166
+ Exclude:
167
+ - "spec/snyk_io_spec.rb"
168
+
169
+ Metrics/ClassLength:
170
+ Enabled: false
171
+ Max: 199
172
+
173
+ Metrics/CyclomaticComplexity:
174
+ Enabled: false
175
+ Max: 15
176
+
177
+ Metrics/LineLength:
178
+ Enabled: false
179
+ Max: 147
180
+
181
+ Metrics/MethodLength:
182
+ Enabled: false
183
+ Max: 94
184
+
185
+ Metrics/ModuleLength:
186
+ Enabled: false
187
+ Max: 2557
188
+
189
+ Metrics/PerceivedComplexity:
190
+ Enabled: false
191
+ Max: 11
192
+
193
+ Metrics/ParameterLists:
194
+ Enabled: true
195
+
196
+ Performance/RedundantBlockCall:
197
+ Enabled: true
198
+
199
+ Security/MarshalLoad:
200
+ Enabled: true
201
+
202
+ Security/YAMLLoad:
203
+ Enabled: true
204
+
205
+ Style/BlockDelimiters:
206
+ Enabled: true
207
+
208
+ Style/BracesAroundHashParameters:
209
+ Enabled: true
210
+
211
+ Style/CaseEquality:
212
+ Enabled: true
213
+
214
+ Style/ClassCheck:
215
+ Enabled: true
216
+
217
+ Style/ColonMethodCall:
218
+ Enabled: true
219
+
220
+ Style/ConditionalAssignment:
221
+ Enabled: true
222
+
223
+ Style/DateTime:
224
+ Enabled: true
225
+
226
+ Style/DefWithParentheses:
227
+ Enabled: true
228
+
229
+ Style/Documentation:
230
+ Enabled: false
231
+
232
+ Style/EmptyElse:
233
+ Enabled: true
234
+
235
+ Style/EmptyLiteral:
236
+ Enabled: true
237
+
238
+ Style/Encoding:
239
+ Enabled: true
240
+
241
+ Style/FrozenStringLiteralComment:
242
+ Enabled: false
243
+
244
+ Style/GuardClause:
245
+ Enabled: true
246
+
247
+ Style/HashSyntax:
248
+ Enabled: true
249
+ EnforcedStyle: hash_rockets
250
+
251
+ Style/IdenticalConditionalBranches:
252
+ Enabled: true
253
+
254
+ Style/IfUnlessModifier:
255
+ Enabled: true
256
+
257
+ Style/InfiniteLoop:
258
+ Enabled: true
259
+
260
+ Style/InverseMethods:
261
+ Enabled: true
262
+
263
+ Style/Lambda:
264
+ Enabled: true
265
+ EnforcedStyle: lambda
266
+
267
+ Style/MultilineBlockChain:
268
+ Enabled: true
269
+
270
+ Style/MutableConstant:
271
+ Enabled: false
272
+
273
+ Style/Next:
274
+ Enabled: true
275
+
276
+ Style/PercentLiteralDelimiters:
277
+ Enabled: true
278
+
279
+ Style/RedundantSelf:
280
+ Enabled: true
281
+
282
+ Style/RegexpLiteral:
283
+ Enabled: true
284
+ EnforcedStyle: percent_r
285
+
286
+ Style/RescueModifier:
287
+ Enabled: true
288
+
289
+ Style/SafeNavigation:
290
+ Enabled: true
291
+
292
+ Style/SpecialGlobalVars:
293
+ Enabled: true
294
+ EnforcedStyle: use_english_names
295
+
296
+ Style/StringLiterals:
297
+ Enabled: true
298
+ EnforcedStyle: single_quotes
299
+ ConsistentQuotesInMultiline: true
300
+
301
+ Style/StructInheritance:
302
+ Enabled: false
303
+
304
+ Style/SymbolProc:
305
+ Enabled: true
306
+
307
+ Style/TrailingCommaInArguments:
308
+ Enabled: true
309
+ EnforcedStyleForMultiline: no_comma
310
+
311
+ Style/TrailingCommaInArrayLiteral:
312
+ Enabled: true
313
+ EnforcedStyleForMultiline: no_comma
314
+
315
+ Style/TrailingCommaInHashLiteral:
316
+ Enabled: true
317
+ EnforcedStyleForMultiline: no_comma
318
+
319
+ Style/UnneededInterpolation:
320
+ Enabled: true
321
+
322
+ Style/UnneededPercentQ:
323
+ Enabled: true
324
+
325
+ Style/WhileUntilDo:
326
+ Enabled: true
327
+
328
+ Style/WordArray:
329
+ Enabled: true
330
+ EnforcedStyle: brackets
331
+
332
+ Style/RescueStandardError:
333
+ Enabled: true