codeclimate-fede 0.85.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/bin/check +18 -0
  3. data/bin/codeclimate +21 -0
  4. data/bin/prep-release +45 -0
  5. data/bin/publish +47 -0
  6. data/bin/release +41 -0
  7. data/bin/validate-release +18 -0
  8. data/config/engines.yml +322 -0
  9. data/lib/cc/analyzer/bridge.rb +106 -0
  10. data/lib/cc/analyzer/composite_container_listener.rb +21 -0
  11. data/lib/cc/analyzer/container/result.rb +74 -0
  12. data/lib/cc/analyzer/container.rb +208 -0
  13. data/lib/cc/analyzer/container_listener.rb +9 -0
  14. data/lib/cc/analyzer/engine.rb +125 -0
  15. data/lib/cc/analyzer/engine_output.rb +74 -0
  16. data/lib/cc/analyzer/engine_output_filter.rb +36 -0
  17. data/lib/cc/analyzer/engine_output_overrider.rb +31 -0
  18. data/lib/cc/analyzer/filesystem.rb +50 -0
  19. data/lib/cc/analyzer/formatters/formatter.rb +53 -0
  20. data/lib/cc/analyzer/formatters/html_formatter.rb +415 -0
  21. data/lib/cc/analyzer/formatters/json_formatter.rb +38 -0
  22. data/lib/cc/analyzer/formatters/plain_text_formatter.rb +101 -0
  23. data/lib/cc/analyzer/formatters/spinner.rb +35 -0
  24. data/lib/cc/analyzer/formatters.rb +21 -0
  25. data/lib/cc/analyzer/issue.rb +69 -0
  26. data/lib/cc/analyzer/issue_sorter.rb +30 -0
  27. data/lib/cc/analyzer/issue_validations/category_validation.rb +32 -0
  28. data/lib/cc/analyzer/issue_validations/check_name_presence_validation.rb +15 -0
  29. data/lib/cc/analyzer/issue_validations/content_validation.rb +21 -0
  30. data/lib/cc/analyzer/issue_validations/description_presence_validation.rb +15 -0
  31. data/lib/cc/analyzer/issue_validations/location_format_validation.rb +72 -0
  32. data/lib/cc/analyzer/issue_validations/other_locations_format_validation.rb +41 -0
  33. data/lib/cc/analyzer/issue_validations/path_existence_validation.rb +15 -0
  34. data/lib/cc/analyzer/issue_validations/path_is_file_validation.rb +15 -0
  35. data/lib/cc/analyzer/issue_validations/path_presence_validation.rb +15 -0
  36. data/lib/cc/analyzer/issue_validations/relative_path_validation.rb +32 -0
  37. data/lib/cc/analyzer/issue_validations/remediation_points_validation.rb +25 -0
  38. data/lib/cc/analyzer/issue_validations/severity_validation.rb +39 -0
  39. data/lib/cc/analyzer/issue_validations/type_validation.rb +15 -0
  40. data/lib/cc/analyzer/issue_validations/validation.rb +35 -0
  41. data/lib/cc/analyzer/issue_validations.rb +26 -0
  42. data/lib/cc/analyzer/issue_validator.rb +11 -0
  43. data/lib/cc/analyzer/location_description.rb +45 -0
  44. data/lib/cc/analyzer/logging_container_listener.rb +24 -0
  45. data/lib/cc/analyzer/measurement.rb +22 -0
  46. data/lib/cc/analyzer/measurement_validations/name_validation.rb +23 -0
  47. data/lib/cc/analyzer/measurement_validations/type_validation.rb +15 -0
  48. data/lib/cc/analyzer/measurement_validations/validation.rb +27 -0
  49. data/lib/cc/analyzer/measurement_validations/value_validation.rb +21 -0
  50. data/lib/cc/analyzer/measurement_validations.rb +16 -0
  51. data/lib/cc/analyzer/measurement_validator.rb +11 -0
  52. data/lib/cc/analyzer/mounted_path.rb +80 -0
  53. data/lib/cc/analyzer/raising_container_listener.rb +32 -0
  54. data/lib/cc/analyzer/source_buffer.rb +47 -0
  55. data/lib/cc/analyzer/source_extractor.rb +79 -0
  56. data/lib/cc/analyzer/source_fingerprint.rb +40 -0
  57. data/lib/cc/analyzer/statsd_container_listener.rb +51 -0
  58. data/lib/cc/analyzer/validator.rb +38 -0
  59. data/lib/cc/analyzer.rb +50 -0
  60. data/lib/cc/cli/analyze/engine_failure.rb +11 -0
  61. data/lib/cc/cli/analyze.rb +90 -0
  62. data/lib/cc/cli/command.rb +85 -0
  63. data/lib/cc/cli/console.rb +12 -0
  64. data/lib/cc/cli/engines/engine_command.rb +15 -0
  65. data/lib/cc/cli/engines/install.rb +35 -0
  66. data/lib/cc/cli/engines/list.rb +18 -0
  67. data/lib/cc/cli/engines.rb +5 -0
  68. data/lib/cc/cli/file_store.rb +42 -0
  69. data/lib/cc/cli/global_cache.rb +47 -0
  70. data/lib/cc/cli/global_config.rb +35 -0
  71. data/lib/cc/cli/help.rb +51 -0
  72. data/lib/cc/cli/output.rb +34 -0
  73. data/lib/cc/cli/prepare.rb +98 -0
  74. data/lib/cc/cli/runner.rb +75 -0
  75. data/lib/cc/cli/validate_config.rb +84 -0
  76. data/lib/cc/cli/version.rb +16 -0
  77. data/lib/cc/cli/version_checker.rb +107 -0
  78. data/lib/cc/cli.rb +39 -0
  79. data/lib/cc/config/checks_adapter.rb +40 -0
  80. data/lib/cc/config/default_adapter.rb +54 -0
  81. data/lib/cc/config/engine.rb +41 -0
  82. data/lib/cc/config/engine_set.rb +47 -0
  83. data/lib/cc/config/json_adapter.rb +17 -0
  84. data/lib/cc/config/prepare.rb +92 -0
  85. data/lib/cc/config/validation/check_validator.rb +34 -0
  86. data/lib/cc/config/validation/engine_validator.rb +93 -0
  87. data/lib/cc/config/validation/fetch_validator.rb +78 -0
  88. data/lib/cc/config/validation/file_validator.rb +112 -0
  89. data/lib/cc/config/validation/hash_validations.rb +52 -0
  90. data/lib/cc/config/validation/json.rb +31 -0
  91. data/lib/cc/config/validation/prepare_validator.rb +40 -0
  92. data/lib/cc/config/validation/yaml.rb +66 -0
  93. data/lib/cc/config/yaml_adapter.rb +73 -0
  94. data/lib/cc/config.rb +70 -0
  95. data/lib/cc/engine_registry.rb +74 -0
  96. data/lib/cc/resolv.rb +39 -0
  97. data/lib/cc/workspace/exclusion.rb +34 -0
  98. data/lib/cc/workspace/path_tree/dir_node.rb +67 -0
  99. data/lib/cc/workspace/path_tree/file_node.rb +31 -0
  100. data/lib/cc/workspace/path_tree.rb +49 -0
  101. data/lib/cc/workspace.rb +39 -0
  102. metadata +279 -0
metadata ADDED
@@ -0,0 +1,279 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: codeclimate-fede
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.85.21
5
+ platform: ruby
6
+ authors:
7
+ - Code Climate
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.1.3
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 5.1.3
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: tty-spinner
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.1.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.1.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: highline
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.7'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 1.7.2
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '1.7'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 1.7.2
67
+ - !ruby/object:Gem::Dependency
68
+ name: posix-spawn
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '0.3'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.3.11
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.3'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.3.11
87
+ - !ruby/object:Gem::Dependency
88
+ name: pry
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: 0.10.1
94
+ type: :runtime
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: 0.10.1
101
+ - !ruby/object:Gem::Dependency
102
+ name: rainbow
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - "~>"
106
+ - !ruby/object:Gem::Version
107
+ version: '2.0'
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 2.0.0
111
+ type: :runtime
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.0'
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: 2.0.0
121
+ - !ruby/object:Gem::Dependency
122
+ name: redcarpet
123
+ requirement: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '3.2'
128
+ type: :runtime
129
+ prerelease: false
130
+ version_requirements: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '3.2'
135
+ - !ruby/object:Gem::Dependency
136
+ name: uuid
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '2.3'
142
+ type: :runtime
143
+ prerelease: false
144
+ version_requirements: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - "~>"
147
+ - !ruby/object:Gem::Version
148
+ version: '2.3'
149
+ description: Code Climate command line tool
150
+ email: hello@codeclimate.com
151
+ executables: []
152
+ extensions: []
153
+ extra_rdoc_files: []
154
+ files:
155
+ - bin/check
156
+ - bin/codeclimate
157
+ - bin/prep-release
158
+ - bin/publish
159
+ - bin/release
160
+ - bin/validate-release
161
+ - config/engines.yml
162
+ - lib/cc/analyzer.rb
163
+ - lib/cc/analyzer/bridge.rb
164
+ - lib/cc/analyzer/composite_container_listener.rb
165
+ - lib/cc/analyzer/container.rb
166
+ - lib/cc/analyzer/container/result.rb
167
+ - lib/cc/analyzer/container_listener.rb
168
+ - lib/cc/analyzer/engine.rb
169
+ - lib/cc/analyzer/engine_output.rb
170
+ - lib/cc/analyzer/engine_output_filter.rb
171
+ - lib/cc/analyzer/engine_output_overrider.rb
172
+ - lib/cc/analyzer/filesystem.rb
173
+ - lib/cc/analyzer/formatters.rb
174
+ - lib/cc/analyzer/formatters/formatter.rb
175
+ - lib/cc/analyzer/formatters/html_formatter.rb
176
+ - lib/cc/analyzer/formatters/json_formatter.rb
177
+ - lib/cc/analyzer/formatters/plain_text_formatter.rb
178
+ - lib/cc/analyzer/formatters/spinner.rb
179
+ - lib/cc/analyzer/issue.rb
180
+ - lib/cc/analyzer/issue_sorter.rb
181
+ - lib/cc/analyzer/issue_validations.rb
182
+ - lib/cc/analyzer/issue_validations/category_validation.rb
183
+ - lib/cc/analyzer/issue_validations/check_name_presence_validation.rb
184
+ - lib/cc/analyzer/issue_validations/content_validation.rb
185
+ - lib/cc/analyzer/issue_validations/description_presence_validation.rb
186
+ - lib/cc/analyzer/issue_validations/location_format_validation.rb
187
+ - lib/cc/analyzer/issue_validations/other_locations_format_validation.rb
188
+ - lib/cc/analyzer/issue_validations/path_existence_validation.rb
189
+ - lib/cc/analyzer/issue_validations/path_is_file_validation.rb
190
+ - lib/cc/analyzer/issue_validations/path_presence_validation.rb
191
+ - lib/cc/analyzer/issue_validations/relative_path_validation.rb
192
+ - lib/cc/analyzer/issue_validations/remediation_points_validation.rb
193
+ - lib/cc/analyzer/issue_validations/severity_validation.rb
194
+ - lib/cc/analyzer/issue_validations/type_validation.rb
195
+ - lib/cc/analyzer/issue_validations/validation.rb
196
+ - lib/cc/analyzer/issue_validator.rb
197
+ - lib/cc/analyzer/location_description.rb
198
+ - lib/cc/analyzer/logging_container_listener.rb
199
+ - lib/cc/analyzer/measurement.rb
200
+ - lib/cc/analyzer/measurement_validations.rb
201
+ - lib/cc/analyzer/measurement_validations/name_validation.rb
202
+ - lib/cc/analyzer/measurement_validations/type_validation.rb
203
+ - lib/cc/analyzer/measurement_validations/validation.rb
204
+ - lib/cc/analyzer/measurement_validations/value_validation.rb
205
+ - lib/cc/analyzer/measurement_validator.rb
206
+ - lib/cc/analyzer/mounted_path.rb
207
+ - lib/cc/analyzer/raising_container_listener.rb
208
+ - lib/cc/analyzer/source_buffer.rb
209
+ - lib/cc/analyzer/source_extractor.rb
210
+ - lib/cc/analyzer/source_fingerprint.rb
211
+ - lib/cc/analyzer/statsd_container_listener.rb
212
+ - lib/cc/analyzer/validator.rb
213
+ - lib/cc/cli.rb
214
+ - lib/cc/cli/analyze.rb
215
+ - lib/cc/cli/analyze/engine_failure.rb
216
+ - lib/cc/cli/command.rb
217
+ - lib/cc/cli/console.rb
218
+ - lib/cc/cli/engines.rb
219
+ - lib/cc/cli/engines/engine_command.rb
220
+ - lib/cc/cli/engines/install.rb
221
+ - lib/cc/cli/engines/list.rb
222
+ - lib/cc/cli/file_store.rb
223
+ - lib/cc/cli/global_cache.rb
224
+ - lib/cc/cli/global_config.rb
225
+ - lib/cc/cli/help.rb
226
+ - lib/cc/cli/output.rb
227
+ - lib/cc/cli/prepare.rb
228
+ - lib/cc/cli/runner.rb
229
+ - lib/cc/cli/validate_config.rb
230
+ - lib/cc/cli/version.rb
231
+ - lib/cc/cli/version_checker.rb
232
+ - lib/cc/config.rb
233
+ - lib/cc/config/checks_adapter.rb
234
+ - lib/cc/config/default_adapter.rb
235
+ - lib/cc/config/engine.rb
236
+ - lib/cc/config/engine_set.rb
237
+ - lib/cc/config/json_adapter.rb
238
+ - lib/cc/config/prepare.rb
239
+ - lib/cc/config/validation/check_validator.rb
240
+ - lib/cc/config/validation/engine_validator.rb
241
+ - lib/cc/config/validation/fetch_validator.rb
242
+ - lib/cc/config/validation/file_validator.rb
243
+ - lib/cc/config/validation/hash_validations.rb
244
+ - lib/cc/config/validation/json.rb
245
+ - lib/cc/config/validation/prepare_validator.rb
246
+ - lib/cc/config/validation/yaml.rb
247
+ - lib/cc/config/yaml_adapter.rb
248
+ - lib/cc/engine_registry.rb
249
+ - lib/cc/resolv.rb
250
+ - lib/cc/workspace.rb
251
+ - lib/cc/workspace/exclusion.rb
252
+ - lib/cc/workspace/path_tree.rb
253
+ - lib/cc/workspace/path_tree/dir_node.rb
254
+ - lib/cc/workspace/path_tree/file_node.rb
255
+ homepage: https://codeclimate.com
256
+ licenses:
257
+ - AGPL
258
+ metadata: {}
259
+ post_install_message:
260
+ rdoc_options: []
261
+ require_paths:
262
+ - lib
263
+ required_ruby_version: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - "~>"
266
+ - !ruby/object:Gem::Version
267
+ version: '2.5'
268
+ required_rubygems_version: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ requirements: []
274
+ rubyforge_project:
275
+ rubygems_version: 2.6.13
276
+ signing_key:
277
+ specification_version: 4
278
+ summary: Code Climate CLI
279
+ test_files: []