checkoff 0.5.5 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +119 -12
  3. data/.envrc +2 -0
  4. data/.git-hooks/pre_commit/circle_ci.rb +21 -0
  5. data/.gitignore +50 -1
  6. data/.overcommit.yml +53 -0
  7. data/.rubocop.yml +64 -168
  8. data/.yamllint.yml +8 -0
  9. data/CODE_OF_CONDUCT.md +120 -36
  10. data/DEVELOPMENT.md +28 -0
  11. data/Gemfile.lock +130 -0
  12. data/{LICENSE.txt → LICENSE} +7 -6
  13. data/Makefile +48 -18
  14. data/README.md +15 -2
  15. data/Rakefile +2 -9
  16. data/bin/bump +29 -0
  17. data/bin/checkoff +29 -0
  18. data/bin/overcommit +29 -0
  19. data/bin/rake +29 -0
  20. data/checkoff.gemspec +9 -5
  21. data/coverage/.last_run.json +2 -1
  22. data/docs/cookiecutter_input.json +13 -0
  23. data/fix.sh +299 -0
  24. data/lib/checkoff/cli.rb +9 -1
  25. data/lib/checkoff/config_loader.rb +43 -3
  26. data/lib/checkoff/projects.rb +5 -5
  27. data/lib/checkoff/sections.rb +48 -11
  28. data/lib/checkoff/tasks.rb +1 -1
  29. data/lib/checkoff/version.rb +1 -1
  30. data/lib/checkoff/workspaces.rb +4 -3
  31. data/metrics/bigfiles_high_water_mark +1 -1
  32. data/metrics/rubocop_high_water_mark +1 -1
  33. data/{lib/tasks → rakelib}/ci.rake +0 -0
  34. data/{lib/tasks → rakelib}/clear_metrics.rake +1 -1
  35. data/{lib/tasks → rakelib}/default.rake +0 -0
  36. data/rakelib/gem_tasks.rake +3 -0
  37. data/{lib/tasks → rakelib}/localtest.rake +1 -1
  38. data/rakelib/overcommit.rake +6 -0
  39. data/rakelib/quality.rake +4 -0
  40. data/{lib/tasks → rakelib}/test.rake +0 -0
  41. data/rakelib/undercover.rake +8 -0
  42. data/requirements_dev.txt +2 -0
  43. metadata +93 -25
  44. data/.ruby-version +0 -1
  45. data/.travis.yml +0 -22
  46. data/lib/tasks/feature.rake +0 -9
  47. data/lib/tasks/quality.rake +0 -9
  48. data/lib/tasks/spec.rake +0 -9
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.6.6
data/.travis.yml DELETED
@@ -1,22 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- before_install:
4
- # https://bundler.io/blog/2019/05/14/
5
- # solutions-for-cant-find-gem-bundler-with-executable-bundle.html
6
- - gem update --system
7
- - gem install bundler
8
- rvm:
9
- # JRuby error with native code build - possibly can be overcome?
10
- # checking for main() in -lstdc++... RuntimeError: The compiler failed to generate
11
- # https://travis-ci.com/apiology/pronto-punchlist/jobs/264907931
12
- # - jruby-head
13
-
14
- # These are currently pending ruby-asana fixes:
15
- #
16
- # https://github.com/Asana/ruby-asana/pull/99
17
- #
18
- # - ruby-head
19
- # - ruby-3.0
20
- - ruby-2.7
21
- - ruby-2.6
22
- - ruby-2.5
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'rspec/core/rake_task'
4
-
5
- desc 'Run features'
6
- RSpec::Core::RakeTask.new(:feature) do |task|
7
- task.pattern = 'feature/**/*_spec.rb'
8
- task.rspec_opts = '--format doc'
9
- end
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'quality/rake/task'
4
-
5
- Quality::Rake::Task.new do |task|
6
- task.skip_tools = %w[reek cane eslint jscs pycodestyle rails_best_practices flake8]
7
- task.output_dir = 'metrics'
8
- task.exclude_files = ['docs/example_project.png', '.rubocop.yml']
9
- end
data/lib/tasks/spec.rake DELETED
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'rspec/core/rake_task'
4
-
5
- desc 'Run specs'
6
- RSpec::Core::RakeTask.new(:spec) do |task|
7
- task.pattern = 'spec/**/*_spec.rb'
8
- task.rspec_opts = '--format doc'
9
- end