├── .dockerignore ├── .document ├── .github ├── ISSUE_TEMPLATE.md ├── release-drafter.yml └── workflows │ ├── ci.yml │ ├── codeql-analysis.yml │ ├── release-drafter.yml │ └── release.yml ├── .gitignore ├── .overcommit.yml ├── .rbenv-gemsets ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .tool-versions ├── .yardopts ├── AUTHORS.md ├── CHANGELOG.md ├── Gemfile ├── Guardfile ├── LICENSE.txt ├── README.md ├── RELEASE.md ├── Rakefile ├── annotate.gemspec ├── bin └── annotate ├── lib ├── annotate.rb ├── annotate │ ├── active_record_patch.rb │ ├── annotate_models.rb │ ├── annotate_models │ │ └── file_patterns.rb │ ├── annotate_routes.rb │ ├── annotate_routes │ │ ├── header_generator.rb │ │ └── helpers.rb │ ├── constants.rb │ ├── helpers.rb │ ├── parser.rb │ ├── tasks.rb │ └── version.rb ├── generators │ └── annotate │ │ ├── USAGE │ │ ├── install_generator.rb │ │ └── templates │ │ └── auto_annotate_models.rake └── tasks │ ├── annotate_models.rake │ ├── annotate_models_migrate.rake │ └── annotate_routes.rake ├── potato.md └── spec ├── lib ├── annotate │ ├── annotate_models │ │ └── file_patterns_spec.rb │ ├── annotate_models_spec.rb │ ├── annotate_routes_spec.rb │ ├── helpers_spec.rb │ └── parser_spec.rb ├── annotate_spec.rb └── tasks │ ├── annotate_models_migrate_spec.rb │ └── annotate_models_spec.rb └── spec_helper.rb /.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile 2 | coverage 3 | -------------------------------------------------------------------------------- /.document: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.document -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | template: | 2 | ## What's Changed 3 | 4 | $CHANGES 5 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.github/workflows/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.gitignore -------------------------------------------------------------------------------- /.overcommit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.overcommit.yml -------------------------------------------------------------------------------- /.rbenv-gemsets: -------------------------------------------------------------------------------- 1 | .gems 2 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | --format documentation 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 2.7.3 2 | -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- 1 | --no-private 2 | -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/AUTHORS.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/RELEASE.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/Rakefile -------------------------------------------------------------------------------- /annotate.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/annotate.gemspec -------------------------------------------------------------------------------- /bin/annotate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/bin/annotate -------------------------------------------------------------------------------- /lib/annotate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate.rb -------------------------------------------------------------------------------- /lib/annotate/active_record_patch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/active_record_patch.rb -------------------------------------------------------------------------------- /lib/annotate/annotate_models.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/annotate_models.rb -------------------------------------------------------------------------------- /lib/annotate/annotate_models/file_patterns.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/annotate_models/file_patterns.rb -------------------------------------------------------------------------------- /lib/annotate/annotate_routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/annotate_routes.rb -------------------------------------------------------------------------------- /lib/annotate/annotate_routes/header_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/annotate_routes/header_generator.rb -------------------------------------------------------------------------------- /lib/annotate/annotate_routes/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/annotate_routes/helpers.rb -------------------------------------------------------------------------------- /lib/annotate/constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/constants.rb -------------------------------------------------------------------------------- /lib/annotate/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/helpers.rb -------------------------------------------------------------------------------- /lib/annotate/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/parser.rb -------------------------------------------------------------------------------- /lib/annotate/tasks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/tasks.rb -------------------------------------------------------------------------------- /lib/annotate/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/annotate/version.rb -------------------------------------------------------------------------------- /lib/generators/annotate/USAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/generators/annotate/USAGE -------------------------------------------------------------------------------- /lib/generators/annotate/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/generators/annotate/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/annotate/templates/auto_annotate_models.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/generators/annotate/templates/auto_annotate_models.rake -------------------------------------------------------------------------------- /lib/tasks/annotate_models.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/tasks/annotate_models.rake -------------------------------------------------------------------------------- /lib/tasks/annotate_models_migrate.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/tasks/annotate_models_migrate.rake -------------------------------------------------------------------------------- /lib/tasks/annotate_routes.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/lib/tasks/annotate_routes.rake -------------------------------------------------------------------------------- /potato.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/potato.md -------------------------------------------------------------------------------- /spec/lib/annotate/annotate_models/file_patterns_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate/annotate_models/file_patterns_spec.rb -------------------------------------------------------------------------------- /spec/lib/annotate/annotate_models_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate/annotate_models_spec.rb -------------------------------------------------------------------------------- /spec/lib/annotate/annotate_routes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate/annotate_routes_spec.rb -------------------------------------------------------------------------------- /spec/lib/annotate/helpers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate/helpers_spec.rb -------------------------------------------------------------------------------- /spec/lib/annotate/parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate/parser_spec.rb -------------------------------------------------------------------------------- /spec/lib/annotate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/annotate_spec.rb -------------------------------------------------------------------------------- /spec/lib/tasks/annotate_models_migrate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/tasks/annotate_models_migrate_spec.rb -------------------------------------------------------------------------------- /spec/lib/tasks/annotate_models_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/lib/tasks/annotate_models_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctran/annotate_models/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------