- 02 Dec, 2019 3 commits
-
-
Daniel Rice authored
ActiveAdmin defaults to false. Add `active_admin` option so people using this gem can more easily enable annotating files in `app/admin`.
-
Hrvoje Šimić authored
Rails 6 has dropped name from ActiveRecord::ConnectionAdapters::ForeignKeyDefinition for Sqlite3 adapter: https://github.com/rails/rails/blob/f2df77709f7e536aaf4d6f984ff21a49d44d34c1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb\#L305-L311 This has caused issues with getting foreign key info and blowing up when trying to annotate models with foreign keys. This commit adds one additional check for name presence and uses column attribute from options instead. Closes #620.
-
Andrew W. Lee authored
Updates the readme to include a note about upgrading the gem to version 3 and that it can default to doing nothing.
-
- 09 Nov, 2019 9 commits
-
-
Matías Orellana authored
-
Alexander Belozerov authored
-
Alexander Belozerov authored
-
Kyle Zhao authored
-
hasimoto1009 authored
-
Andrew W. Lee authored
Reverted tag to to use `v*` prefix instead of `release/v*`.
-
Andrew W. Lee authored
-
Andrew W. Lee authored
-
dependabot[bot] authored
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/flavorjones/loofah/releases) - [Changelog](https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md) - [Commits](https://github.com/flavorjones/loofah/compare/v2.3.0...v2.3.1) Signed-off-by: dependabot[bot] <support@github.com>
-
- 31 Oct, 2019 1 commit
-
-
rhiroshi authored
Setting the default to annotate models as it is the main feature of the gem
-
- 06 Oct, 2019 1 commit
-
-
Cuong Tran authored
-
- 05 Oct, 2019 4 commits
-
-
Cuong Tran authored
-
Cuong Tran authored
-
Matt Brictson authored
Based on the official docs: https://help.github.com/en/articles/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
-
Cuong Tran authored
-
- 03 Oct, 2019 1 commit
-
-
Cuong Tran authored
-
- 02 Oct, 2019 2 commits
-
-
dependabot[bot] authored
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.6.6.2 to 1.10.4. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.6.6.2...v1.10.4) Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot-preview[bot] authored
Updates the requirements on [rake](https://github.com/ruby/rake) to permit the latest version. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](https://github.com/ruby/rake/compare/v10.4.0...v13.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 01 Oct, 2019 1 commit
-
-
Matt Brictson authored
Before, whenever a new file is added to `lib`, the contributor or maintainer has to remember to explicitly add it to the gemspec. If this step is forgotten, it results in a broken release, like #657. This commit makes this process less error prone by using `git ls-files` to automatically include all appropriate files in the gem. This is in line with what is advocated by Bundler's gem template: https://github.com/bundler/bundler/blob/2a4d88a7044528209321fd4441e995ec66f604b9/lib/bundler/templates/newgem/newgem.gemspec.tt#L26
-
- 30 Sep, 2019 1 commit
-
-
Andrew W. Lee authored
Add opening parenthesis
-
- 29 Sep, 2019 3 commits
-
-
Andrew W. Lee authored
-
Andrew W. Lee authored
-
Martins Polakovs authored
Currently the gem released as version 3.0.0 is broken. Fixes #657 The gem is missing constants.rb and parser.rb file
-
- 28 Sep, 2019 1 commit
-
-
Andrew W. Lee authored
Changed references to `--additional_file_patterns` to be `--additional-file-patterns` to make it consistent with other flags.
-
- 27 Sep, 2019 1 commit
-
-
Cuong Tran authored
-
- 26 Sep, 2019 1 commit
-
-
Andrew W. Lee authored
Adds tests for `.include_routes?`, `.include_models?`, `.skip_on_migration?`. Also moves the `TRUE_RE` under the `Annotate::Constants` namespace.
-
- 16 Sep, 2019 1 commit
-
-
rnitta authored
-
- 03 Sep, 2019 5 commits
-
-
Andrew W. Lee authored
-
Andrew W. Lee authored
-
Andrew W. Lee authored
-
Andrew W. Lee authored
Updating tested ruby versions to use latest versions. * Bump ruby 2.4.6 -> 2.4.7 * Bump ruby 2.5.5 -> 2.5.6 * Add ruby 2.6.4 * Remove old versions of 2.6.X
-
Andrew W. Lee authored
Prior to this change, `Annotate.include_models?` returned the inverse of `Annotate.include_routes?`. This made it so annotating models and routes was not possible to do together. This PR adds an explicit `--models` flag and also adds it the option to `lib/generators/annotate/templates/auto_annotate_models.rake` with the default being set to `false`. Fixes #563 and undoes the bug introduced in #485.
-
- 02 Sep, 2019 2 commits
-
-
Andrew W. Lee authored
In looking into #563, I realized there are gaps in test coverage. For example, `bin/annotate` doesn't have any tests. Tidying the spec directory to make it easier to add tests in future work.
-
Prateek Choudhary authored
-
- 08 Aug, 2019 1 commit
-
-
Ryan authored
Add better documentation for new option for additional file patterns. Implemented in #633 and #636.
-
- 06 Aug, 2019 1 commit
-
-
Ryan authored
Adds option for additional file patterns (implemented in #633) in the CLI.
-
- 16 Jul, 2019 1 commit
-
-
Andrew W. Lee authored
Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.
-