rubocop-eightyfourcodes 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +9 -0
  4. data/CHANGELOG.md +9 -0
  5. data/Gemfile +9 -3
  6. data/Gemfile.lock +68 -0
  7. data/LICENSE.md +7 -5
  8. data/README.md +13 -61
  9. data/Rakefile +32 -0
  10. data/config/default.yml +11 -6
  11. data/lib/rubocop/cop/{eightyfourcodes → eighty_four_codes}/command_literal_injection.rb +4 -2
  12. data/lib/rubocop/cop/eighty_four_codes/ensure_redirect.rb +48 -0
  13. data/lib/rubocop/cop/eighty_four_codes/ruby_version_file.rb +44 -0
  14. data/lib/rubocop/cop/eightyfourcodes_cops.rb +5 -0
  15. data/lib/rubocop/eightyfourcodes/inject.rb +5 -1
  16. data/lib/rubocop/eightyfourcodes/version.rb +1 -4
  17. data/lib/rubocop/eightyfourcodes.rb +6 -1
  18. data/lib/rubocop-eightyfourcodes.rb +5 -16
  19. data/sig/rubocop/eightyfourcodes.rbs +6 -0
  20. metadata +22 -44
  21. data/CONTRIBUTING.md +0 -3
  22. data/lib/rubocop/cop/eightyfourcodes/cop.rb +0 -70
  23. data/lib/rubocop/eightyfourcodes/concept.rb +0 -34
  24. data/lib/rubocop/eightyfourcodes/config_formatter.rb +0 -33
  25. data/lib/rubocop/eightyfourcodes/description_extractor.rb +0 -72
  26. data/lib/rubocop/eightyfourcodes/example.rb +0 -32
  27. data/lib/rubocop/eightyfourcodes/example_group.rb +0 -95
  28. data/lib/rubocop/eightyfourcodes/hook.rb +0 -49
  29. data/lib/rubocop/eightyfourcodes/language/node_pattern.rb +0 -20
  30. data/lib/rubocop/eightyfourcodes/language.rb +0 -118
  31. data/lib/rubocop/eightyfourcodes/top_level_describe.rb +0 -57
  32. data/lib/rubocop/eightyfourcodes/util.rb +0 -19
  33. data/lib/rubocop/eightyfourcodes/wording.rb +0 -81
  34. data/rubocop-eightyfourcodes.gemspec +0 -35
@@ -1,35 +0,0 @@
1
- $LOAD_PATH.unshift File.expand_path('lib', __dir__)
2
- require 'rubocop/eightyfourcodes/version'
3
-
4
- Gem::Specification.new do |spec|
5
- spec.name = 'rubocop-eightyfourcodes'
6
- spec.summary = 'Basic security checks for projects'
7
- spec.description = <<~DESCRIPTION
8
- Basic security checking for Ruby files.
9
- A plugin for the RuboCop code style enforcing & linting tool.
10
- DESCRIPTION
11
- spec.homepage = 'https://github.com/84codes/rubocop-eightyfourcodes/'
12
- spec.authors = ['Anders Bälter', 'Brian Neel']
13
- spec.email = [
14
- 'anders@eightyfourcodes.com',
15
- 'brian@gitlab.com'
16
- ]
17
- spec.licenses = ['MIT']
18
-
19
- spec.version = RuboCop::EightyFourCodes::Version::STRING
20
- spec.platform = Gem::Platform::RUBY
21
- spec.required_ruby_version = '>= 2.3.0'
22
-
23
- spec.require_paths = ['lib']
24
- spec.files = Dir[
25
- '{config,lib}/**/*',
26
- '*.md',
27
- '*.gemspec',
28
- 'Gemfile'
29
- ]
30
- spec.extra_rdoc_files = ['LICENSE.md', 'README.md']
31
-
32
- spec.add_runtime_dependency 'rubocop', '>= 0.51'
33
-
34
- spec.add_development_dependency 'rake'
35
- end