gergich 1.2.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/{bin → exe}/gergich +0 -0
  3. data/{bin → exe}/master_bouncer +0 -0
  4. data/lib/gergich/capture/androidlint_capture.rb +8 -3
  5. data/lib/gergich/capture/brakeman_capture.rb +3 -2
  6. data/lib/gergich/capture/eslint_capture.rb +2 -1
  7. data/lib/gergich/capture/flake8_capture.rb +1 -1
  8. data/lib/gergich/capture/i18nliner_capture.rb +1 -1
  9. data/lib/gergich/capture/rubocop_capture.rb +19 -3
  10. data/lib/gergich/capture/shellcheck_capture.rb +2 -1
  11. data/lib/gergich/capture/stylelint_capture.rb +2 -5
  12. data/lib/gergich/capture/swiftlint_capture.rb +1 -1
  13. data/lib/gergich/capture/tsc_capture.rb +27 -0
  14. data/lib/gergich/capture/yamllint_capture.rb +8 -2
  15. data/lib/gergich/capture.rb +12 -5
  16. data/lib/gergich/cli/gergich.rb +7 -4
  17. data/lib/gergich/cli/master_bouncer.rb +5 -6
  18. data/lib/gergich/cli.rb +1 -1
  19. data/lib/gergich.rb +21 -25
  20. metadata +43 -33
  21. data/LICENSE +0 -20
  22. data/README.md +0 -178
  23. data/bin/check_coverage +0 -8
  24. data/bin/run_tests.sh +0 -22
  25. data/spec/gergich/capture/androidlint_capture_spec.rb +0 -61
  26. data/spec/gergich/capture/brakeman_capture_spec.rb +0 -91
  27. data/spec/gergich/capture/custom_capture_spec.rb +0 -41
  28. data/spec/gergich/capture/eslint_capture_spec.rb +0 -31
  29. data/spec/gergich/capture/flake8_capture_spec.rb +0 -23
  30. data/spec/gergich/capture/i18nliner_capture_spec.rb +0 -25
  31. data/spec/gergich/capture/rubocop_capture_spec.rb +0 -75
  32. data/spec/gergich/capture/shellcheck_capture_spec.rb +0 -83
  33. data/spec/gergich/capture/stylelint_capture_spec.rb +0 -54
  34. data/spec/gergich/capture/swiftlint_capture_spec.rb +0 -42
  35. data/spec/gergich/capture/yamllint_capture_spec.rb +0 -31
  36. data/spec/gergich/capture_spec.rb +0 -75
  37. data/spec/gergich_spec.rb +0 -396
  38. data/spec/spec_helper.rb +0 -92
  39. data/spec/support/capture_shared_examples.rb +0 -19
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "../../lib/gergich/capture"
4
-
5
- RSpec.shared_examples_for "a captor" do
6
- let(:capture_format) do
7
- Gergich::Capture::BaseCapture.normalize_captor_class_name(described_class)
8
- end
9
-
10
- it "loads" do
11
- captor = Gergich::Capture.load_captor(capture_format)
12
- expect(captor).to eq(described_class)
13
- end
14
-
15
- it "catches errors" do
16
- parsed_comments = subject.run(output)
17
- expect(parsed_comments).to match_array(comments)
18
- end
19
- end