summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_model
Commit message (Collapse)AuthorAgeFilesLines
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-231-1/+1
| | | | | | Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to ↵Toshi MARUYAMA2020-12-111-1/+1
| | | | | | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of ↵Toshi MARUYAMA2020-11-211-1/+1
| | | | | | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* redmine_plugin_model_generator improvements (#27659).Jean-Philippe Lang2019-06-202-3/+12
| | | | | | Patch by Javier Menéndez Rizo. git-svn-id: http://svn.redmine.org/redmine/trunk@18298 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing frozen string literals and copyrights (#31508).Go MAEDA2019-06-041-2/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove frozen_string_literal magic comment from files which are not used ↵Go MAEDA2019-03-211-2/+0
| | | | | | when running the application or tests (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes 'unloadable' from plugin templates (#20513).Jean-Philippe Lang2018-01-081-1/+0
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace plugin generator USAGE "script/rails" which are removed by r16868Toshi MARUYAMA2017-12-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set migration version in the plugin migration template (#26610).Jean-Philippe Lang2017-08-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup (#24007).Jean-Philippe Lang2016-11-181-5/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change plugins directory through the configuration.yml file (#24007).Jean-Philippe Lang2016-11-181-1/+5
| | | | | | Patch by Helder Manuel Torres Vieira. git-svn-id: http://svn.redmine.org/redmine/trunk@15963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix plugin generator script name of USAGE on Rails3Toshi MARUYAMA2012-09-031-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes test templates for plugins.Jean-Philippe Lang2012-05-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that plugin model generator does not generate the migration (#11024).Jean-Philippe Lang2012-05-262-2/+39
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-256-66/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2012-04-011-4/+4
| | | | | | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9297 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace RAILS_ROOT to Rails.root at ↵Toshi MARUYAMA2011-06-171-1/+1
| | | | | | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin models and controllers must be unloadable.Eric Davis2010-06-171-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3770 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Plugin generators should display help if no parameter is given (#4609).Jean-Philippe Lang2010-02-281-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3514 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed the generated test in the redmine_plugin_model. (#3927)Eric Davis2009-10-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames template ruby files to erb.Jean-Philippe Lang2008-10-254-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged hooks branch @ r1785 into trunk.Jean-Philippe Lang2008-09-056-0/+59
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1786 e93f8b46-1217-0410-a6f0-8f06a7374b81